vitich's Q&A profile
Visual Basic Installing VS 2005 keeps on asking ' Please insert the disk: Visual studio 2005'
The installation process for Visual Studio 2005 prompts ' Please insert the disk: Visual Studio 2005' everytime when I try to install VS2005. This is what I did: * Downloaded VS 2005 from the MSDN members download site. File name: en_vs_2005_pro_dvd.iso (size=2,825,748 KB) * Used MagicISO tool to unpack the files * Used Nero 6 to write the extracted files to the DVD * Created a brand new Virtual PC with Windows XP + SP2 * Start the install process in the VPC by clicking on the setup.exe in \vs on the dvd * Select the default installation options * Installation starts for a long time and then prompts: Please insert the disk: Visual Studio 2005' The screen show: ...Show All
Visual Basic Splash Screen In Visual Studio .net 2005
I wanted to know how do i make the splash screen only show for a few seconds....I can get the splashscreen to display but it seems it will not let me add a timer so i can set how long i want it to show before it calls the exit method......If i should use a Thread to do it can someone give me an example on how to get it done....thanks!!!! The first example does not seem to change the results that I had before which is the splash screen loads and does nothing elese.... I am using Visual Studio .Net 2005 and when i write the code within the splash screen the Timer1 does not show up in the intellisense...And i can not add the Timer component to the splash screen.....Any other idea's on how to get this to work or maybe a lil bit more o ...Show All
Windows Forms Does a menu (strip) and a datagridview can exist together?
Does a menu (strip) and a datagridview can exist together on the Windows form (2.0) When I involve a menu on a windows form with a Designer it is placed directly onto the DGV’s header (I used programmatically formed DGV from an excellent Mark’s example “ Sample Code: DataGridView progress bar column ” and an empty form to place a menu). To dock DGV on bottom (or top) is not a good idea but the header line is visible in this case. Any suggestions Thanks AFT Hi AFT, The answer to your question is yes. When you are adding the DGV programatically, it is the last item added to the form, and its Z-order (what determines which control is on top when controls overlap) is set to be below the Menu ...Show All
Windows Forms WaitCursor and the TextBox
Hi, I have a WinForm application built in VS.NET 2003. The user enters the data on the form and clicks the Submit button to do some processing and the results are displayed in a multiline textbox. I am setting the form Cursor to Cursors.WaitCursor when the user clicks the button and then back to Cursors.Default when the processing is done. While processing, whenever I hover my mouse on the multiline textbox, it is not showing the HourGlass but it is showing on the other areas of the form. How do I make the HourGlass appear on the textbox also Do I have to set it for all the textboxes manually and then back to default after processing Any help is appreciated! Thanks Basani Hi, did you t ...Show All
Visual Basic How to handle US and international phone numbers?
Hi all, I have a Visual Basic Windows application done in Visual Studio 2005. My users need to be able to enter phone numbers, US and international. If it was US phone numbers only it would be easy, I can just use MaskedTextBox. But handling international phone numbers is a different story for the following reasons: -country codes can be anywhere from 1 to 7 characters long -some countries have area codes and some do not. And for the ones that do, an area code can be anywhere from 1 to 7 digits long. -phone numbers vary. For example some countries have 3 digit phone numbers, some have anywhere from 5 to 12 digits long phones. So what I need is a way to handle all possible phone number formats in one. What would be the best w ...Show All
.NET Development Interop layer throws System Exception (cast) when accessing unmanaged COM code
I would appreciate help/comments on the following... I am trying to access a COM component written in Fujitsu NetCOBOL from C#. I have spent many hours (days...) reading the docs, trying various combinations, and looking at the samples but my attempts are failing miserably. The COM .dll is called "AVSCOMSVR" and the embedded TypeLib has been picked up and converted to an Interop Assembly by VS 2005. Here's a picture of the generated interfaces and Classes: http://homepages.ihug.co.nz/~dashwood/dashwood/AVSProject2.jpg I find this a little puzzling... VS2005 seems to have duplicated the interfaces, some above the Class entry and some subordinate to it, but that may be OK and just reflect my limited understandin ...Show All
Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread
When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Well, I've just finished uploading Space Fortress - a remake of Space Zap! from the early 80's. I've still got a list of things I wanted to add, but that I ran out of time for. The quote about adding people to a late project will make it later is very true. I'd started with a team size of three - Me, my wife, and my 3.5 year old playtester, Katrina. Feb 27th we added a new team member - Naomi. I'm just happy my wif ...Show All
Smart Device Development Draw nice line Compact Framework
I want to draw some lines and basic shapes on screen in Compact Framework. I've used the Graphics class and a bitmap, and then added the bitmap to a picturebox. The problem is the lines look like *** when they are not going straight up or to the side, and by *** I mean that it looks like stairs. Anyone know how I can fix this problem Something like this: ScreenBitmap = new Bitmap (640,480); DrawImageGraphics = Graphics .FromImage(ScreenBitmap); Point[] PointsToDraw= new Point[5]; PointsToDraw[0]=new Point(0,0); PointsToDraw[1]=new Point(50,100); PointsToDraw[2]=new Point(300,200); PointsToDraw[3]=new Point(340,10); PointsToDraw[4]= PointsToDraw[0]; ...Show All
Windows Forms Achieving high refresh rate on C# winform application
My current C#.NET project is MDI-based. I am using a user control that has 10 textboxes. This user control is repeated 20 times on a screen. (that gives 200 textboxes on the screen) When I refresh the screen, I can see every textbox being drawn to the screen from top to bottom. The desired behaviour is that the screen should appear in a flash without any rollover effect. Currently, the screen gets refreshed at a rate of 35 milliseconds. We need to minimize this to 2-3 milliseconds. I found that When one textbox of the usercontrol refreshes, internally Paint Event of that control is raised. The textbox Paint Event internally raises its container's (user control's) paint event. Subsequently, the user control raises paint event ...Show All
Visual C# disable second tabpage?
Hi. I have a windows application in c#. In the application i have put a tabcontrol, which has 2 tabpages. In the form load, i want to disable the tabpage2. How to disable the tabpage2 You cannot do that with the built in TabControl or TabPage classes... instead your best bet would simply be to remove the tab page in question and then re-add it to the collection when you want it to be selectable again. //Remove tab page tabControl1.TabPages.Remove(tabPage2); //Insert at index 1 tabControl1.TabPages.Insert(1, tabPage2); ...Show All
Windows Forms datarelation and dataview
Simple q regarding .net 2003 I got several tables A master and e few details/child tables add datarelations to it and bind it to controls... so far so good Now i wan't to filter/search the mastertable, Sound easy but when i use a dataview i lose sync with the detail/child tables Remco Doh! Thanks for posting your findings Remco, knew there must've been a simple way to do it, pity its always right under your nose huh Thanks again! ...Show All
Visual FoxPro Cannot execute program outside VFP9 IDE.
I have built my VFP9 application into both .app and .exe files and when I execute them, the VFP9 IDE starts up and runs the program inside of the VFP9 programming environment. As a result I cannot see how the program behaves on its own as if it were installed on a client's machine who does not have VFP9 installed. Could someone please indicate how I can run an application on its own without it having to run within the VFP9 IDE Thanks Hi, To hide VFP main screen, you can put code below at your main prg _SCREEN.VISIBLE = .F. Or Create file called config.fpw, put the following and include into your project SCREEN=OFF Do make sure that your main screen is set TOP LEVEL FORM. Otherwise, you will not able to se ...Show All
Windows Live Developer Forums Please add these features.....
Here's two features I'd like to see: I'd like a list where you can write actual paragraphs. I'd like a email notification when I get a comment on my blog. OK, I'll quit dreaming now! Tee hee hee! X http://spaces.msn.com/X-Evolutionist I'm still hoping to get these features. X http://x-evolutionist.spaces.live.com/ ...Show All
.NET Development Windows Service gives "5: Access is denied" on startup.
I am writing a Windows service I intend to host a TCP server and communicate with TCP client equipped applications. I used the Windows Service template to start, and wrote some code I knew I'd need to get started. I added the server installation components as described in the help, and set it to run in the LocalService account. I compiled the code as an .exe and used the installutil <servicename.exe> to install it for testing. When I attempted to start it through the service manager, it came back with 5: Access is denied. I originally attempted to start it under the LocalService account, then retried it under the NetworkService account. Same issue. Just as a sanity check, I created a bare Windows Service with no code other than ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Content Importer Questions
writing my Content pipeline importer for a couple of days now and successfully render a Quake 3 map using the Model class in my app. I do have a few questions as the docs on this are rather thin at the moment (either that or what I'm aiming for isnt possible/feasible) Problem 1: Assigning a Texture to the model: - BasicMaterialContent material = new BasicMaterialContent (); string texturefilename = ae.GetString(bsp.Texture[oldTexture].name); texturefilename = texturefilename.Trim( new char [] { '\0' }); texturefilename = fi.DirectoryName+ "\\" + texturefilename; if (System.IO. File .Exists(texturefilename + ".jpg" )) texturefilename = texturefilename + ".jpg" ; els ...Show All
