Answer Questions
aleex I need help pls...
I am a beginner in VB.. and i've only programmed a little about it.. is there someone who can tell me how can i learn the VB 2005 with only VB6 as my background can someone pls redirect me to a tutorial or beginner's guide to VB 6, VB.NET, and VB 2005.. plss i hope you won't ignore me... i just nid real help... thnx so much this will help a lot! do u happen to have an address of a beginner's tutorial in VB.net im rily sori for the ...Show All
niceguysfinishlast DataGrid View Hover Picture
Using VS 2005, I am writing a Windows control object which will display a grid of person records. I want it so when the user hovers their mouse over the picture cell, a popup image appears which follows the mouse cursor. I can get the image popping up and actually display on the screen, the only problem is I know the absolute position of the mouse but not where the mouse is in relation to the form. When I set the location for the image box, I n ...Show All
Michael Shorten Most wanted code snippets and resources
Hi Everyone, We'd like to hear your ideas and opinions on Intellisense Code Snippets . - Which new code snippets would be most useful - Which code-snippet categories already in Visual Studio would need additional code snippets - What new snippet categories would you add to the ones already in Visual Studio - Which code snippet resources would you find most useful in your everyday experience using, authorin ...Show All
Maria Welborn How to add to the base class library?
Suppose I have a simple class that I use so frequently that I don't want to have to add a referency to it for each new project, but wrather have it act as if it were part of the base class library. Is there a way to do this I realize that I could create a code snippet but I would wrather not have to see the code in my projects. Thanks, SteveJ You need to create a class library application. This will make a dll you can add as a r ...Show All
buladbanaw VB.net program crashed under Windows Server 2003
Hi guys, I'm new to VB. I developed an application with VB.net 2003 under Windows XP, which runs ok under windows XP. But it crashed when I tried to run it under Windows Servers 2003, the error message says: "Class not registered". Could anyone give me some ideas about the possible cause of this error Thanks in advance! Thank you Guys, Here's a list of my references, I'm not too sure which o ...Show All
David Lundell GetValueByName
In beta1 there was a fantastic way of getting values out of a gridview using: Gridview1.DataKeys(Gridview1.SelectedIndex).GetValueByName("Name").ToString In beta2 this has been removed - how do I achieve the same results I used this alot and will have to change a lot of code, especially if I have to use the reader class. Vince Try instead next (lang=C#): Gridview1.DataKeys[Gridview1.Se ...Show All
Luise7x7x7x7 How to set the recordset of a classic ADODC (Data control) in .NET
rst = goLists.Facilities 'function returns an open recordset Debug.Print( CStr (rst.Collect( "ID" ))) 'this ensure the recordset is really open! me.adoData.Recordset = rst 'error message occurs here Why does this give an error message saying that I need to initialize using the new keyword (or else check for Null before setting the object) I have tried different variations of syntax, including putting this line first: Me . ...Show All
leekitswee Using MSChart COM Component in VB.net
I have successfully used other some 'Com' components in VB.net, eg 'Flexgrid', but have failed to get 'MSChart' to work, without bringing up an Operation Exception, the details of which are: "Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.". I think I understand what it means, but how do I fix it Hi, I am facing a si ...Show All
RoviWil ComboBox selected Item
Hi all I have an application that i am creating that is working fine except for one thing! I have a combo box linked to a data source that when i select a Customer ID from the combo box populates the remaining text boxes on my form. I have the code for this in the selected indexchanged but i always have to select a customer ID twice before the other text boxes are updated! Why is this Any pointers to what i might be doing wrong or a meth ...Show All
MrTovson Creating an image with multiple layers
(please excuse any ignorance to correct terminology - i'm a VB newbie!) I have a number of bitmaps in VB, which I currently write to image files with something like Image.Save(String, ImageFormat) giving the filename to save the image to What I would like to do is save these multiple images to a single file - with each image as a separate layer. Any image format which supports layers would be fine - but I've not had any lu ...Show All
SaranT e.Graphics.FillElipse
Good evening folks: As you probably know, I'm sort of a tinkerer-student developer, and I was working on creating a project where, if you select a radio button, the corresponding text box's background color will change to either red, yellow or green. Therefore, I was wondering if it was possible to change the shape of a textbox from rectangular to circular. Is it possible Thank you. IGFET909 *grin* I don't see the correlation b ...Show All
Geert Porteman How to specify SQL DB location at runtime
This was probably answered before but they were probably talking about something else and for the purpose of clarity I'm starting from a new point of view. My app will ship with a SQL database, however, I want the DB to be placed by the user wherever they like... like on a remote drive How do I move the DB to such a location I thought that if I copied the DB to the new location and changed the path in the connection string it ...Show All
Crux reading text from a document and displaying it
I have TextBox1 (to enter what you want to search), TextBox2 (to display the results), and Button1 (when you press it, it does the whole process thing). I was given this to go by: ================================================================== Theres a couple of steps in a possible approach here. One is to be able to read the contents of a file. If your using VB Express / 2 ...Show All
Alexon Registry Checker
I have problem on my program. How do i know if the registry subkey exist using Visual Basic 2005. I have here a code in Visual Basic 6.0, I don't know how use it in Visual Basic 2005. Can you please help me Example: '============================================================= ' This is a Visual Basic 6.0 code example '============================================================= Public Function DoesKeyExist( ByVal lngRootKe ...Show All
Mukool VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler.
VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler. I have a fairly large project that I migrated from VB6 to VS2005. This is the RTM version of VS2005. There are many issues that I need to fix up in the code, but every time I change one line of code, my system runs 100% CPU for 30 seconds. This is not even close to usable. You might think I have a slow machine, but I am runni ...Show All
