Answer Questions
bobbye third-party installer for choice and security
Does vb.net express offer a way for the developer or user to decide where an app would be installed or is a third-party installer necessary If so, any recommendations I am sure you believe you have acted in our best interests; but, taking choice away from developers is not what I would call engaging the development community . Yes, in the past, MS was very supportive of the community. However, ...Show All
Yonathan Masovich MSScriptcontrol And VB 2005
When i try to do an addobject through the Microsoft Scriptcontrol like... Scriptcontrol1.addobject("Form",Me) Scriptcontrol1.addobject("Form",Me,True) Scriptcontrol1.addobject("Form",ctype(Me,Form),True) it just makes an "Specified cast is not valid" i would realy appreciate some help i fell like i have tryed everything posible to make it work Hi, was there ever any solution to this problem wit ...Show All
phousley17 Why is FileLogTraceListener under Microsoft.VisualBasic namespace?
Hi! Microsoft.VisualBasic.Logging.FileLogTraceListener provides great functionality to write stuff in log files. It supports date specific files, file-in-use handling, size maintenance etc. Combining it with <system.diagnostics><sources> section of app.config, the administrator can add several listeners to write the entries written by the application, like Windows Event Log, XML files etc. Does anybody know why it is under the Micro ...Show All
Giri Accessing a running program's ram
I want my program to access a program's ram (when the program is running in memory) so I can debug it explicitly. I know how to edit a file by storing it in a buffer but how would I do this when a program is running. If suggestions or code samples are given, please make sure they are for vb.net and they are explained. Thanks. How you get this offsets Really interesting. In sample you provide about VB Trainer - author already know offs ...Show All
Jams Turn off green coloring after filling out a snippet?
Hi there Tryed searching for an answer 'cause I really cant understand that Im the only one that have this 'luxury' problem. Is there any way to turn off the green coloring after having filled out the snippet information other than closing down VS2005 I wanted to let you know that we have actually changed this behavior in the next version of Visual Basic (Visual Studio Codename "Orcas"). In tha ...Show All
entrance80 Run, Message, Delete
Ok heress what i want to happen when i click a button, its saves a .bat file(which i already have working) Next it runs the bat file when the operation is done a message comes up saying "Done" Once that is done it deletes the .bat file No, to do that, you'd need to wait for the process to stop. Process.Start returns a Process. You would use it's WaitForExit method to wait f ...Show All
Alan Grosz ODBC Error in VB.NET after upgrade from VB6
I have recently converted my VB6 app to VB.NET. When i try to open one of my form,i'm getting the following error [Microsoft] [ODBC Driver Manager] Data source name not found and no default driver specified" I'm using ADODC control and sheridian datagrid control in this form. The error happens in the following routines, Public Sub VB6_AddADODataBinding() dbgrid1.DataSource = CType(datacontrol1, msdatasrc.DataSource ...Show All
Ron Giles Passing DataGridView record
Hello, Using VS2005, I created a dataset that grabs some data and populates it in a datagridview, is it possible to capture the highligted record and then write some code to a button that will pass that data to another form so 1)Load list 2)Select Record 3)Press Button So far so good but now I need to know how to capture the record that is highlited. Please can someone help Regards, Pace im not too sure how to be able ...Show All
SMap Lock against application event log prevent app log from being read properly
Lock against application event log prevent app log from being read properly Running Windows3k Enterprise server Sporadically, I cannot access Application event log getting message "unable to read the contents of this event log" and refreshing App Evt log will also give same error message. When this happens, I also get "Cannot open application: Error while opening key" message when trying to access "HKEY_L ...Show All
Dave the Developer Insert float to SQL from VB 2005
Hi. I have a Windows Form to insert/edit/delete records from a SQL 2000 database. I have a problem when i insert a float (for example 11,35) to the SQL Server. Visual Basic 2005 insert 11,359999656677246 value in the database. I need to do something Where i can configure the number of decimals If i write (11,344) i want to insert in the database 11,344.... if i write (11,34) i want to insert 11,34. Thanks a lot!!! ...Show All
Marco Perreau help control
i developed a small accounting applin in vb2005. now i want to provide context help to users of my appln, ie when user clicks on help ( ) button and clicks on any other control like menu or textbox, it should open a .chm file having detailed information about that control. how can i implement this Hi, Each control within your form has an event called HelpRequested . This event is triggered whe ...Show All
daniel testa Help.
How do I create a grid of pictureboxes (25 x 25) on Visual Basic 2005 and auto-name them pbx(row)_(column) for the picture boxes It is to slow and hard to manually rename all 625 of them. Ok question answered, thanks. New question: OK, I ran into another problem. I want it be so that if I click the picture box with the person in it, you can move him by clicking on another tile. How do I do this (I tried (got from Dustin_H 's sample code) : ...Show All
Anand Kalyanam Manage seconds <<
Hi, I have a problem regards keeping track of seconds elapsed. As shown below I have a loop where it must only enter while less then 5 seconds have passed from when it started. The problem is that if the code is run at 55 seconds or more, the (Waiting + 5) will be 61, 62, 63... and not 1, 2, 3... Dim serialWaiting As Integer Do While Now.Second < (serialWaiting + 5) Loop Can someone pl ...Show All
nomad I just want to learn Visual Basic.... Can't find "Windows Application' Template
Hello all, I am trying to re-learn programming after a long hiatus, so I decided to start with the newest version of Visual Basic(VisualBasic 2005). I am trying the 'Create Your First Application' Tutorial, and it tells me to go to File>New Project and choose 'Windows Application'. This isn't an available choice... My choices are: 'Class Library', 'My Movie Collection Starter Kit', 'Screen Saver Starter Kit', and 'Search Templates' ...Show All
Yogesh Ramakrishna Windows APIs
Hi, I want to know what are APIs and if they can be used in my programs.I want my application to show the preview of the different color schemes like the appperance tab of display properties in windows.Should i use any dlls If so can you please tell me which one and how.I also want to be able to reflect them back onto my system.   ...Show All
