Topics
-
- 2 replies
- 1.9k views
If you've ever played a first-person shooter, especially if you turned off clipping, you'll understand what I mean. I want to be able to rotate the camera based on input from the mouse, and move forward in the direction the camera is facing. I have searched all over, unable to find this information; thank you for helping. ~ZeldaFreak
Last reply by IngisKahn, -
- 0 replies
- 1.3k views
I'm building a screensaver using C# and Managed DirectX. I would like to use a screenshot of the users screen right before the screensaver started within the screensaver. The problem I'm running into is that under Windows NT/2000/XP the screensaver runs under a desktop named "screensaver", while the main user screen runs under a desktop named "default". If I do a screen capture from the screensaver when it isn't running in preview mode all I get is the background image because explorer and all the users windows are open under the "default" desktop. If I do a call to OpenDesktop to get a handle to the default desktop, and then call SetThreadDesktop to set the current t…
Last reply by lynchbags, -
-
- Leaders
- 3 replies
- 2.2k views
Whaa. It's been so long. I haven't programmed since the last summer. Things have been going great - I was in India for 2-3 months anyways. And then school started....that's when things went downhill. Staying up till 2, barely getting my schoolwork done. School's awesome though, extremely selective enterance exam - 50 kids allowed - but holy crap, I actually meet kids that want to learn, explore, etc. Best part is, I'm taking Robotics, Machine Shop, and Robot Programming as an elective... So for the past 4-6 months I've been into hardware...Anandtech, best site in the world, virtually instantaneous replies and all - it's almost like instant messenger :). What else…
Last reply by dynamic_sysop, -
-
- 4 replies
- 902 views
i have two web forms pages. how do i append values to the querystring in the first page, and then extract them on the second page? i know its easy to pass values in web form pages using properties, but i want to do it using the query string appended to the URL. i want to know how to pass values in from one html page to another and then display the 2nd page. thanks for any help
Last reply by bri189a, -
- 0 replies
- 3.1k views
Hi I am using third party tools infragistics ultra web grid in the application in the window form, i have to display data in the grid but iam getting few duplicate rows so i merged few duplicate cells and displaying in the grid and calculating totals The same grid data i have to export to excel , when i am exporting merging cells in not reflecting and in export to export it is showing duplicate rows. How to eliminate duplicate rows when exporting to excel.
Last reply by dasari, -
- 1 reply
- 1.2k views
My goal is to create a .XLS file (Excel) without the need for the Excel COM Object (and corresponding office .dlls), so this is how I am trying to create my Table (worksheet), by treating it like any other Database. My connection string is as follows "provider=Microsoft.Jet.OLEDB.4.0; data source=" + sDB + "; Extended Properties=Excel 8.0;" (where sDB=ClientTaskTimer.xls) and the code I use is posted below: System.IO.File.Create("ClientTaskTimer.xls"); oDB = new objDB("ClientTaskTimer.xls"); oDB.Write("CREATE TABLE ClientTaskTimer ([CLIENTS] varchar, [ASSIGNMENTS] varchar)"); [/Code] oDB is a class that creates the Database connection (pass in the Database na…
Last reply by FZelle, -
- 2 replies
- 941 views
What is the best way to position an image on an ASP.NET page so it is relative to the size of the window?
Last reply by hassie, -
- 0 replies
- 775 views
I am trying to write an application that can use either an Access or Excel Database file, I found that with the correct Connection Strings you can connect and manipulate either one (which is GREAT). However oddly enough there seems to be a difference when calling/accessing the tables, my Access Database has a table called "Clients" and the Excel Database has a table/worksheet called "Clients" - logically accessing them would be the same... but it is not. For example, the following works: Access = ds = oDB.Read("SELECT DISTINCT [CLIENTS] FROM [Clients] ORDER BY [CLIENTS]"); Excel = ds = oDB.Read("SELECT DISTINCT [CLIENTS] FROM [Clients$] ORDER BY [CLIENTS]"); [/C…
Last reply by Shaitan00, -
-
- Administrators
- 2 replies
- 8.4k views
I have an Application that uses the Excel COM object so I can create/open/read/write/sort an Excel file that I use as a database. Now my application can't have any dependencies on packaged .dlls for things such as Microsoft Office which could cause licensing issues, instead I want my application to use the INSTALLED Microsoft Office on the users PC therefore not breaking any rules. If they do not have Excel installed then the program will prompt them as such and exit [btw - any clue how to check if a program such as EXCEL is installed?] Currently I see at least one .dlls that seem to be required in the same folder as my applications .exe Interop.Excel.dll // This s…
Last reply by Shaitan00, -
-
-
- *Experts*
- 4 replies
- 803 views
Hi, I am currently programming under VB 2005 Express beta 2. I know this is a beta release but I have had no problems up until today. I was running the 2.0 Beta of the .NET framework and upgraded to the final release v2.0. Now when I go to open a project in the IDE it crashes and asks for an error report. This is the same for all projects. I have a project finished and want to get it out the door, but I need to fix this problem. Does anyone know of a fix to this issue, or a link somewhere that will help me stop this program from crashing. Thanks, mayorofgeektown
Last reply by mayorofgeektown, -
-
I do understand how delegates works. I just want to know why use it? What's it's purpose? Thank you.
Last reply by DreamKid, -
-
- Administrators
- *Experts*
- Leaders
- 10 replies
- 2.2k views
How can I go about preventing the toolstrip buttons from getting focus when the mouse is moved over them? I want to have a group of butttons where only one can be checked at a time. If one is checked then I don't want to see the focus button on any other button as this looks exactly the same as the visual indication that a button is checked, so is confusing. Am using the Express Beta 2005 version. Haven't used the older versions of .net, so maybe the Toolstrip is new to this, I don't know.
Last reply by rbulph, -
-
-
- Administrators
- 1 reply
- 1.2k views
Is there something I can do the application is working fine one another server. When I try to run it on this one. I get the following: Server Error in '/corporate_customer/applications/CISS' Application. -------------------------------------------------------------------------------- COM object with CLSID {CF76A644-314B-404D-8D45-F08B51FF990B} is either not valid or not registered. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Runtime.InteropServices.COMException: COM object wi…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 3 replies
- 4.6k views
Oddly enough I was sitting at home writting this application to calculate the Elapsed time worked on a project when all of a sudden the clock went back an hour (daylight savings time), and that got me to thinking.... So, the way it works, when a user presses start I write the timestamp (datetime), when they pause I calculate now-start and save that value as Elapsed, then they can restart/unpause, and finally End. Now I realized something, if they have a project running when we go over a daylight saving time period they will loose/gain an hour, this is unacceptable because I use this process to calcuate the hours worked on a project for billing customers - therefore it…
Last reply by PlausiblyDamp, -
-
-
- Administrators
- Leaders
- 4 replies
- 2k views
Hi Guys, I was just thinking wheather how do i do this I want to do some replace operation, for an example, i want to replace the "\r\n" string with " " So lets say i have this, it works properly. string str = "test\r\n" if i use a replace function here, i get only "test" but lets say i have this string str = "test\r\n\r\n" how do i actually write a small function that find any combination of \r\n and replaces it with " " ? like if the string is "test\r\n\r\n" It should give me "test" Any idea?
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 1 reply
- 2.2k views
Hi Guys, Lets say i have created a windows application file using C#, Based on my understanding, i must have CLR which comes together WITH .net framework in order to run the .exe application.. does it mean that all users that use this application must make sure .net framework is installated on all users pc? just another question And lets say the .exe application, i place it on the server, and i give path to the user for using this application. Meaning user access application by creating a shortcut pointing to \\10.20.12.222\App.exe\ So all users access the application using this path. Is it fine? Is is better for all users (around 50users) to access a file…
Last reply by snarfblam, -
-
- 2 replies
- 908 views
I have seen many websites that have url's like this: http://www.bose.com/q4217 and when the page loads you get a different page and the ID on the query string is, you guessed it, q4217. I want to know how to do that without having to set up a directory for each possible ID. I have also seen ones like this: http://www.pamperedchef.biz/mary where it pulls up a person's website that they customized to suit their business but I know that this company can't have possibly set up over 1000 directories for each rep that they have who has a site with them. So my question is, how can I do this same thing - without setting up a million directories? I want to have …
Last reply by college_amy, -
- 3 replies
- 908 views
Hello there :) I'm creating a multi database interface and one of the things I want to do is let the user change the column name. I am finding huge difficulty in finding the code to alter a columns name. Adding or deleting a column seems a piece of .... So er yeah... can anyone point me in the right direction please? :)
Last reply by bri189a, -
-
- Administrators
- 2 replies
- 807 views
im sending data from a web form to a web service that saves the data to a database. here is a simplified version of the web form code that creates a new row with the inputted data and passes it to the web service method InsertData. DataSet dataset = new System.Data.DataSet(); DataTable table = new DataTable("Feedback"); table.Columns.Add("Name"); table.Columns.Add("Phone"); table.Columns.Add("comment"); DataRow row = table.NewRow(); row["Name"] = this.TextBox1.Text; row["Phone"] = this.TextBox2.Text; row["comment"] = this.TextBox3.Text; table.Rows.Add(row); localhost.Service1 service = new Feedback.localhost.Service1(); dataset.Tables.Add("Fe…
Last reply by fguihen, -
-
-
- Leaders
- 2 replies
- 900 views
If I have a System.Type (called sType say), how can I create an object of the type that it represents from it? I would think either I need something like CreateObject(sType) or sType should have a function to do this, but I can't find either. Hmm.
Last reply by rbulph, -
-
Who's Online 0 Members, 0 Anonymous, 51 Guests (See full list)
- There are no registered users currently online