Answer Questions
Ted van Hoof Converting from 2005 to 2003
I have a really weird problem. I developed a project in C# using Visual Studio 2005 but the client wants it in Visual Studio 2003. Is there any way to port from 2005 to 2003 in a simple automated way instead of having to manually shifting the code ...Show All
R Gatliff Load Icon from file
How do I set the Icon on the top bar to an exteranl .ico file I want to do it programiticly. you want do it programaticly or just import into your project and use from there the second one is simple so i will asume that your question is the first one 1) open the icon file 2) read all 3)convert to icon object 4) set the From1.icon=theIconYouImported tell us if you manege it ...Show All
Amir Steta display a form at selected mouse coordinates
Objective: (This is not an MDI application) Display a child form containing a datagridview that contains the child records of the selected row in a datagridview. Have this display on a parent form right below the selected row in the datagridview. Problem: I am unable to get the correct location of the cursor on the parent datagridview control passed to the child form so the child form displays correctly. I am passing the location ...Show All
style2joy Saving a Solution
How can I save a solution created in VS 2005, so it can be opened in VS 2003 and compiled Hi. You can't save a solution of VS2005 to VS2003. VS 2003 use .net framework 1.1 where as VS2005 use .net framework 2. So u can't just compile it vs2003. You need to modify your coding. That means you have to do it manually or you can look for third party conversion tool. Regards ...Show All
Ken Byrd Detecting automatically generated files for reading?
Hi, i have a folder e.g c:\mydir in this folder an application is automatically generating text files. Now i can set the names for the files in two manners, either as a counter in which case the files should look like 1.txt, 2.txt, 3.txt etc... Or i can set the names as a title plus a timestamp, like AA2005052211564613.txt AA2005052211564711.txt AA2005052211564711.txt Here AA is the title, 2005 is year, 05 is month, 22 ...Show All
Mai Sy Positioning control on a form
Hello. Your help is very much appreciated. I write Win app using .NET 1.0. I have a form which only has datagrid on it. I want that the datagarid will fill all the space on the form. The dg is always stuck at the top left hand corner. I used the docking property - but it didn't change a thing. this .dg.Dock = DockStyle.Fill; Any suggestions THanks a lot Roy Hi! Strange, Dock=DockStyle.Fill is ...Show All
myhanguk c# and Windows startup
How to start a c# application when windows starts up. Willfin David The guys here have already described a couple of ways for you to do this. Note that starting a C# application on Windows startup is the same as starting ANY application ;o) You could create the c# app as a windows service: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbconintroductiontontservi ...Show All
sameerbhise C# COM question
I have a dll that I use in VB 6. I create a variable called DB, I access the records in the DB like this DB(index).PutStringField("data") when I try that in c# I get an error is a 'property' but is used like a 'method' I have no idea what to do because I have not done any COM interfacing in C#. Is it a simple syntax problem or do I need a different version of the dll that I have always used ANY help is grea ...Show All
Marco Linders VS2005 randomly unable to find classes
Hi I have a problem with Visual Studio 2005, in that it suddenly decides, quite randomly, that it can't find classes that exist within a particular namespace, even if the solution previously compiled ok. I can be quite happily fiddling with one completely unrelated file, but when I try and run the ASP.NET 2.0 C# application, it suddenly decides it can't find the class; even if the file in which it is defined is in the same solution, and e ...Show All
dannycaro OTP: Blinking Cursor
Hi I have a textbox page in a web application. However the cursor isnt blinking when in it. (either its not blinking or blinking at a very fast rate). Its perfect in other pages , for eg. Google etc. I would like to know if i could do anythign regarding this and why this happens. Thanking you ASP.NET questions are off topic here, you need to ask this at www.asp.net . Good luck !! ...Show All
Hugo Pozo explicit operator overload for arrays
I have two classes, Person and Reporter. I created, in the Reporter class, explicit operator overloads going both ways, Person to Reporter and Reporter to Person, and it all works as designed. I can explicitly cast: Person p = new Person(); Reporter r = (Reporter)p; // works great! Now I want to do this: Person[] people = new Person[50]; // some code here to populate the Person array with Person objects, then: Repor ...Show All
DIW Windows-Service StartUP
Hi folks, it is possible to change the Startup Option of a windows service for example from automatic to manuell like in the managment console UPDATE: There's an error in the QUERY_SERVICE_CONFIG struct I posted earlier. The string members should have the MarshalAs attribute set to UnmanagedType.LPStr instead of UnmanagedType.LPWStr Here's the new Struct definition (also updated in original post) public struct ...Show All
MAXamillion Why is the C# team allowing this to Happen? and Why do they close threads on the topic?
Since PJ. van de Sande Closed the last thread I opened : Why is the C# team allowing this to happen I guess because he didn't click the link or he didn't like the topic. I brought the link information here..... So I ask again... Why is the C# team allowing this to happen If he closes it again, please respond here From the Blog link: From Tom Archers blog Why so many examples in Visual Basic ...Show All
Shailja simple multi thread in c#
HI Ok, i understanded what is multithread but can anyone show an example of a simple simple simple program using multi thread or point to a good tutorial Thanks.. You might want to be a little more specific with your question. What are you trying to multithread Are you doing this within a Windows Forms application A web application Each of these scenarios has different factors. And, just to add feul to the fire, I'm of the ...Show All
Claudio Aguilar VB.net verses C#. Which is used more. Which more popular
Does someone have any data on which language is used more and what the percentages might be of developers developing in Visual Studio Is C# used more or VB.net Is there a future trend Is one gaining in popularity over the other Any information on this would be appreciated. Does MS prefer one over the other I am a VB.net developer, contemplating a move to C#. Paul Doma ...Show All
