Answer Questions
Aquilax Edit in Gridview
I just started using Gridview. When I click on on Edit button for first time row state dose not change when I click 2nd time it changes . whay is it happening and how to fix it ...Show All
Chintu Launch VB Program Instead of Default Browser
Is there any way to make Windows call a VB program instead of the default Internet browser What I want to do is to use a VB program with buttons down the left-hand side that when clicked will launch that URL in the browser windows of the form. This will prevent users from surfing in places they shouldn't but still allow them to get to the sites they need to get to for their jobs. These buttons could also change based on the username of the pe ...Show All
zeeshan hirani Help with SerialPort
Hi everbody. I am using Visual Basic 2005 and create an application.My application get callerID value. I am add on form SerialPort1 , SerialPort1 PortName value set COM3 and write this function ; Function GetCallerIDValue() As String Dim CallerID As String = "" Using com3Port As IO.Ports.SerialPort = Me .SerialPort1 Me .SerialPort1.Open() Do Dim Incoming As String = com3Port.ReadLine() If Incoming Is ...Show All
Paul Laudeman Question about SaveFileDialog
I can get it to work perfectly, but only if I am overwriting a file. I cannot get it to create a new file then save. Say, I type a filename into the Dialog instead of choosing one from the list. If I do this it won't work. What am I doing wrong. Enjoy! Troy, If the file does not exist you have to create it. Please use the following code as reference. With New SaveFileDialog .CheckFileExists = False .Filter = " ...Show All
metaza Try..Catch not executed in EXE
I have a Shared Sub Main() in my application which, after performing various startup tasks, shows the main form by executing Application.Run(frmMain). All code in Sub Main is encased in a Try..Catch block. If an error occurs further down in the call stack (in the form or another class), then that Try..Catch block catches the error, displays a message, and calls a shutdown routine. This works fine in the development environement. However, in t ...Show All
TGGary Radio Check Options in Menu Strip?
First off, I'm completely new to the world of Visual Basic. I took a little break from programming for about 20 years :) What a change... and THANK GAWD! I'm trying to keep current in my studies and am using VB.NET 2005 beta 2 at the moment and training with App Dev's VB .NET course... I've got the basics down, nagivation, understanding of objects, properties, etc... but for the life of me, i can't find what i'm looking for... and what I THOUGH ...Show All
Dortoh Cursor in a textbox window
I have a complex class full of controls including a Rich Text box and a regular textbook. The class is designed as a tab page to be added once or multiple time to a tab control. This class inherits Windows.Forms.Form. When the page is added, I want the cursor to be in the ordinary text box. It isn’t. There is a prescribed way to do this: To programmatically click the right mo ...Show All
Prashanti Hyperlinks
Hi all. I am now just learning Visual Basic 6.0 in school. I have a question; What code do I use to have a message box with a functional hyperlink Hi, These forums are dedicated to the .NET based languages such as Visual Basic.NET and Visual Basic 2005. For questions on Visual Basic 6.0, please use the MSDN Newsgroups here: http://msdn.microsoft.com/newsgroups/ Regards, Vikram ...Show All
Tim Daplyn Click once requires system to be updated to Crystal...ReportSource Version 10.2.3600.0
Should the click once publisher or the build project have built these references and included them in the build I'm not quite sure what you are asking. If this doesn't answer your question, please help clarify your question. If you are building an application that uses Crystal Reports assemblies, then you need to make sure they are included in your deployment. There is no mechanism in Visual Studio to au ...Show All
tim00 Specifying Registry Value
How does a person specify a registry value that is equal to an existing one without manually entering it. I wish to make a registry key automated during the install, based upon an existing string, or base the string upon the computers name. ...Show All
Gueneal opening files from outside my application (vb.net 2.0)
I have a program that reads .txt and .rtf files, I have made an installer project for the program within vs2005 and I have put the file type and set the command in 'files types' to 'Primary output from OSSUniType (Release Any CPU)'. Now when I compile my program i look in a folder that has .rtf in it and it shows the icon to my file as expected but when I open it from windowsmy program launches but no text is shown but if I open from windows ...Show All
sadi Specifying the 1.1 framework
I have this program that I would like to use another programs SDK to access their proprietary format ( ACT! by Sage ). You can check out the SDK for yourself at here . Unfortunately, all I've got is VB2005 Express and their DLLs. But, I can only use the DLLs on the .NET 1.1 Framework, and not the .NET 2.0 Framework, else I get an AccessViolationException about it not being able to read/write protected memory. However, when I try to specify it v ...Show All
mRW1Zard Retrieving contents of ListView columns? (VB.NET 2003)
I am using VB.NET 2003. I have a ListView that displys records from a Table. I want that as a user presses ENTER on any selected row, the values of the fields should get stored in a variable. In my ListView there are five fields. I want each column value in a separate variable. DMan1, I placed a TextBox on the Form and then tried your code as: TextBox1.Text = Me.ListView1.SelectedItems(0).SubItems(0).Text I wrote the above line in KeyDow ...Show All
jrryfn Strange datagrid paint oddity
Hi there, I have a datagrid which is populated but will be cleared when the system goes into what I call a "modification" mode, which is just database storage. I clear the grid by setting the datasource property to 'Nothing' and also by calling the databindings.Clear() method. The outcome is as expected, the grid is empty EXCEPT when the user has highlighted/selected a cell just before the grid was cleared...in which ...Show All
Biodigit How to keep GUI responsive during DB query?
All right, here's the question...while loading large amounts of data, or querying a DB, my GUI hangs...that's to be expected with single-threaded apps. So what I did is I created a borderless form with a picturebox that has the animated GIF of the progress bar scrolling back and forth, along with a label that gives you a message like "Please wait while the query executes..." I show the form before I call a method that's going to take ...Show All
