Perhaps something like this will have the same effect:
on the Keypress event (to be repeated for all text box controls):
Private Sub txtBox_KeyPress(KeyAscii As Integer)
Dim Char
Char = Chr(KeyAscii)
KeyAscii = Asc(0) or other "empty" ASCII code
End Sub
Let me know the...
At the first glance at your problem I would start as follows:
1. Make a new Project with a starting form.
2. Populate a Listbox on it to the select the right cinema number (from 1 to 6).
3. On the click event of this Listbox, draw a control array of 120 buttons (or as many as needed in the...
1. In order to get the list ordered alphabetically, I suggest you put all separate letters of the word in a (invisible) Listbox with the Property Sorted = True
2. If you also need to display all words made with only 2 letters, loop through the Listbox, take every letter in it and immediately...
I use this code (and it works):
1. In a module I declare:
Public PathStock as String 'so it is available in the entire project
2. Then in a the first start form event: Form_Load() subroutine I have:
Dim strConn as String
Dim cnStcok as ADODB.Connection
PathStock =...
May I suggest you buy a good VB6 book? Too much to explain here ;-)
However:
1. a Timer is a control you put on a form from the tool box. You can change its action rate (property Window: Interval: in milliseconds). The active Timer will execute the code you wrote every "Interval"...
I had the same problem. I think you do not need ADO or other chinese food. I found this and it works (provided Acces is installed on the running PC). Hope you can use it too:
first step: I made a new query in Access to select the records I need (doesn't matter how you name it)
second step: I...
I ever tried this, but have no experience of succes with it. Only if the user name is WALTER (and knowing the IP address of my server with ICQ or similar), it should establish a connection to the database Stock.mdb on my server from his home:
*****************
'allow Walter to log in on the...
I've written in VB6 for my company a complete client/server back-office application using ODBC to Access 2000 databse and all works perfect.
However, we recently had an accountancy program installed on the server using an SQL 7 database, and that f...ing (sorry, he was just doing his job but...
I'm not sure (?) but this could be a right way:
you should save all documents in the same directory/map
1. opening a selected item:
use a combobox (?) or a listbox (?) with two columns declared but display only the file names.
when clicking on a name out of the list, use the Shell (?) command...
try this if you use a bound datagrid to a datacontrol:
1. define the recordsource of the data control, the grid will be automatically filled with all records
2. by clicking on the list box, add a new record to your table, fill in the fields of that record, and "refresh" the data...
In my opinion, and in order to avoid redondant data (data mentioned several times in a same table) you should use two different Access tables called f.i. INVOICE_HEADERS (containing all information about the customer's id., date of the invoice and all other unique fields on the invoice) and...
I had the same problem. I think you do not need ADO or other chinese food. I found this and it works (provided Acees is installed on the running PC). Hope you can use it too:
first step: I made a new query in Access to select the records I need (doesn't matter how you name it)
second step: I...
Unfortunately, there is no such a thing as a variable type called "InputDataFromMyTestSessionOnThisParticularCase".
But you can create it. Nice? Easy? Yup:
Create your new type of variable, called e.g. TestResult (or anything you want), composed of several conventional variable types...
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.