Sadly, that file is gone as well. I don't understand why it was deleted in the first place. The .resx file is missing as well so even though the form1.designer.cs file is there I can't open the design layout. All I have are the .cs C# program files. I guss I would need to recreate the csproj file as well as the resx file. Can that be done as well?:^)
Member_3130247
Posts
-
HOw can I recreate .sln file that was deleted by system restore -
HOw can I recreate .sln file that was deleted by system restoreHi All After trying to do a system restore I noticed that I was not able to load or execute my C# project. It seems Window removed the .sln file. Is there a way I could recreate it and revive my project?
-
Need help with global sttringsYes I know that works. I been programming that way all along but I just upgraded to Vista and downloaded the latest C# version. One of the note I read claimed it does not support it so I'm weary programming that way in xase it sops working in the future. See this link http://tinyurl.com/29o64p http://tinyurl.com/29o64p[^]
-
Need help with global sttringsCan anybody shed some light. I'm a bit confused. Still a noob at C#. I read that Global variables are not supported in C# yet it seems to work for. They recommend you use struct instead but I can't seem to get it to work for me. I'm having a hard time understanding to program a string that can be accessed by any function without having to pass the String contents to the function. Basiccaly I need to access some strings globally. Any suggestions? :^)
-
Weird character in COM port list when compiled in Vista:^)Can anyone shed some light. I have rebuilt my application after installing Vista Premuim and downloading the latest VC++ Express edition (version 8.0.50727.867 ( vista.050727-8600) .Net Framework version 2.0.50727) using the following code sample and I am getting some weird results to the port list which I don't see when running the same code that was compiled in windows XP with VC++Express (Don't know what version I had since my drive crashed - Was downloaded in 2006) This is the code try { // Get a list of serial port names. TRK_PORTNAME_cbox->Items->Clear(); TRK_PORTNAME_cbox->Items->AddRange(TRK_Port->GetPortNames()); } catch (Win32Exception^ ex) { MessageBox::Show(ex->Message); } At this point TRK_PORTNAME_cbox->Items[0-2] contains: "COM3" "COM5鮤" "COM4" I don't know why it's finding Com3 and 5 since I only have a USB to serial adapter at COM4. THat weird character after COM5 doesn't appear when I run my old build in Vista. Help!! LarryD
-
Using serial ports in vs on xpHi I too have been looking for a way to access the comm ports using managed code. I'm pretty new to Visual C++ so I need a little more information regarding how to setup and access a com port connected to a USB-Serial adapter. My comm port shows up as COM7 in windows. I need baby steps for opening, configuring and sending and receiving data. I only need to send about 5 or 6 chars but can possibly receive 10 or up to 512 chars from the serial device I'm interfacing with. All the code I've come across on the web doesn't seem to work with Visual C++ 2005 expess Edition.:confused: