Been away from vb.net for a while but I believe this is an easy fix.
(1) Open your project.
(2) Select the [Project } tab from top row
(3) Select [ Properties ] which should be at the bottom of the drop down list
(4) If the application form isn't showing select [ Application ] from the left...
Hello
I have a Datagridview which is populated from a sql query. The order of the columns and binding of the grid are handled at runtime. Problem is I cannot find a way to assign the combobox and checkbox to the columns I desire. In the example below column (1) and the last column share the...
Hello
I tried to make thing as simple as possible for clearity
Fisrt I'm working in VB6
I have a simple form with a command buton on it
The project has a reference to Microsoft DAO 3.6 Object Library
There are 2 table in the database ( Patients ) & ( Medications )
Patients has 3 Fields (...
hello
I'm just starting to switch from VB6 to Visual studio 2012 - Visual basic for applications
In the past i've always connected to my access databases with the code listed below
changing the strSQL string to filter my tables. I tried to keep this simply and clear as possible with the...
I'm using VB6 and I have a form with a WebBrowser control and a command button
Private Sub Form_Load()
WebBrowser1.navigate "http://www.google.com/"
End Sub
Starting from google.com webpage, I begin my search
Once I find the website needed I would like to save the url of this new page...
I've been programming with VB6 for quite some time. Problem is with the new windows operating systems( windows 7 & 8 ) I've been having a harder time getting them to run as smoothly. As much as I love VB6, I find I must start moving on if I want to run my applications in the future. Visual...
Hi
I have a table with 5 fields
Dates Date/Time
User_1 Text
User_2 Text
User_3 Text
User_4 Text
When I use the statement below, my recordset consist of every date that has a value in all four of the user fields
SELECT Dates,User_1,User_2,User_3,User_4...
Hi
Setting the form Keypreview to true did not help. The Keypress event was not triggered with the pressing of the
Enter key.
Using the keydown event worked perfect and solved the problem
Thankyou
Hi
I have a form with 2 DateTimePickers controls, DTPicker(1) and DTPicker(2)
I have the procedure below but the pressing of the return key does not trigger the event. If I press a number key the event is triggered. How can I detect if the return key is press if the keyPress event does not work...
I'm using the DTPicker on my form. When the user enters a date that is is out of range I want to disable the DTPicker
till the the user presses the "OK" button on the message that appears. Problem is the Date entry part of the DTPicker is disabled with DTPicker.enabled = False, but the drop...
Thanks
My mistake was reading the msdn example which states
"Symbols and characters that are often considered parts of numeric values, such as dollar signs and commas, are not recognized."
Then there was the example they give that leaves the decimal point out
The following returns the...
Hi
I trying to write a procedure that can extract numbers from a text file, then multiple that value * 2, then parse
the new value back into the text file.
Example of text file ( ORIGINAL )
N1G90G81X-5.75Y1.5Z-.25R.01F2.5
N2X-3.832Y.25
N3Y-1.916Y.35
N4X0Y.45
N5X1.916Y.55
N6X3.832Y.7546...
Hi
I know how to load controls at runtime, but now I would like to add a number of frames at runtime and then add (3) option buttons into each frame all at runtime. ( For each line of info on the form I need to select only 1 of 3 options )
Thanks
Mike
Hi
On a form there are the 3 buttons that control the form
MinButton,MaxButton, and the close form button.
Is there a way to disable the close form button at runtime?
What event is triggered when this button is Pressed?
Thanks Mike
Hi
I have a paper form that I need to fill in with data from the program I've written. I would like to print the form at the same time as filling in the data. I've been trying to find where to start but if I inquire about forms, I get info about building forms on the screen used with...
Thanks for the info about the access file. I tried looking at the assembly code but It's way over my head. Plus there thousands of lines of code and I would not even know where to start looking. My program is getting the same error in all the forms I've written so I do believe it's got...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.