Forum: Visual Basic 4 / 5 / 6 Dec 13th, 2008 |
| Replies: 5 Views: 758 I have a copy of VB6 on order, so will know in a few days and let you know. |
Forum: Visual Basic 4 / 5 / 6 Dec 13th, 2008 |
| Replies: 5 Views: 758 I agree which is why I have asked the question. VB6 I think will be alright, but to convert to VB6 is likel;y to be a big job as there are upward of 250000 line of code. |
Forum: Visual Basic 4 / 5 / 6 Dec 12th, 2008 |
| Replies: 5 Views: 758 Hi Everyone,
Has anyone accessed USB ports from VB5. I support a major realtime program which controls equipment. Currently the equipment is connected to PC via serial ports.
My customer is... |
Forum: Visual Basic 4 / 5 / 6 Dec 12th, 2008 |
| Replies: 4 Views: 2,105 Hi,
Go to microsofts website and search the knowledge base and you should find the code you need. Once you have that, if it does not work then come back and ask us a more specific question..
... |
Forum: Visual Basic 4 / 5 / 6 Dec 12th, 2008 |
| Replies: 15 Views: 2,017 Hi,
I have done it the past by having a query in Access that returns the wanted records. Then call that query from VB and display/access the records.
Hope this helps
Denis |
Forum: Visual Basic 4 / 5 / 6 Jan 9th, 2008 |
| Replies: 5 Views: 1,555 Pardon me for asking, why have a form you can't see ?
Denis |
Forum: Visual Basic 4 / 5 / 6 Jan 9th, 2008 |
| Replies: 19 Views: 7,514 Hi Rockstar,
Two files attached
1) Origfile.zip contains project file and form you need as source for VB5.
2) Rockstar.zip contains install set that you can use to install program on a pc,... |
Forum: Visual Basic 4 / 5 / 6 Jan 5th, 2008 |
| Replies: 2 Views: 586 Hi
Welcome to Daniweb
I would install on each PC because you would have to ensure that all dll's needed are locally installed on each PC, so whilst you are trying to work that one out then... |
Forum: Visual Basic 4 / 5 / 6 Jan 4th, 2008 |
| Replies: 5 Views: 2,848 Here is some code to copy 12 lines across, hopefully will give the idea.
Denis
Dim linne As String
Dim j As Integer
Open "C:\TEST\Infile.txt" For Input As #1 |
Forum: Visual Basic 4 / 5 / 6 Jan 4th, 2008 |
| Replies: 13 Views: 3,583 I have just tried opening them in VB5 but it says they are binary, so I guess it will need to be an earlier version.
Denis |
Forum: Visual Basic 4 / 5 / 6 Jan 3rd, 2008 |
| Replies: 1 Views: 660 Have you tried removing buttons when they are printing so they have no buttons to click ?
Denis |
Forum: Visual Basic 4 / 5 / 6 Jan 3rd, 2008 |
| Replies: 5 Views: 2,848 Hi,
To solve this you need to go back to the early days of programming where data was held in flat files or text files.
For example if your text file has 21 records in, one for each contact,... |
Forum: Visual Basic 4 / 5 / 6 Jan 3rd, 2008 |
| Replies: 13 Views: 3,583 Hi,
Welcome to DaniWeb.
How have you tried to read them ? What have you done so far ?
Denis |
Forum: Visual Basic 4 / 5 / 6 Jan 3rd, 2008 |
| Replies: 19 Views: 7,514 [QUOTE=choudhuryshouvi;502870]
Are you interested in upgrading to VB6? If yes, then you can download the service pack files from here:... |
Forum: Visual Basic 4 / 5 / 6 Dec 30th, 2007 |
| Replies: 5 Views: 1,790 Are your users running XP or Vista ?
If so have you tried using the alternative configuration under the TCP/IP settings because it would seem to do what you want ? I have not tried it but your... |
Forum: Visual Basic 4 / 5 / 6 Dec 30th, 2007 |
| Replies: 19 Views: 7,514 Open and save what rockstar ? |
Forum: Visual Basic 4 / 5 / 6 Dec 28th, 2007 |
| Replies: 5 Views: 1,323 I know it is not answer you want, but I don't believe you can decompile the exe
Denis |
Forum: Visual Basic 4 / 5 / 6 Jul 11th, 2007 |
| Replies: 2 Views: 2,101 Hi,
If you go into access an create the report you want based on a query. Then call query/report from VB6.
Denis |
Forum: Visual Basic 4 / 5 / 6 Jul 10th, 2007 |
| Replies: 2 Views: 2,687 Welcome to the site
Don't worry about your english.
I don't believe you can print directly because USB came after VB5
Denis |
Forum: Visual Basic 4 / 5 / 6 Jul 9th, 2007 |
| Replies: 2 Views: 825 Hi
Simplest way is to append to a text file the logon details when someone logs on and the logoff details when they leave. Unless you have the duration at logoff you will have to post process.... |
Forum: Visual Basic 4 / 5 / 6 Jul 8th, 2007 |
| Replies: 2 Views: 973 Hi
If you open form manually does it update and show correct graph ?
Denis |
Forum: Visual Basic 4 / 5 / 6 Jul 8th, 2007 |
| Replies: 2 Views: 2,303 Hi,
Have you tried redim option.
If you dimension variable at start e.g dim f(1,1,1)
Then when user has entered data redim f(x,y,z) where x,y,z are values entered by user.
This should... |
Forum: Visual Basic 4 / 5 / 6 Jul 5th, 2007 |
| Replies: 10 Views: 2,653 Hi,
A question about each form
1) what are three buttons for ?
2) what file are you going to save them into ?
3) Is this displaying a spreadsheet ? |
Forum: Visual Basic 4 / 5 / 6 Jul 2nd, 2007 |
| Replies: 10 Views: 2,653 Hi,
For those of us who don't remember what are you trying to do ?
Denis |
Forum: Visual Basic 4 / 5 / 6 Jul 2nd, 2007 |
| Replies: 11 Views: 24,180 I assume you will run this if statement twice because you could have both characters at end of line ?
Denis |
Forum: Visual Basic 4 / 5 / 6 Jul 1st, 2007 |
| Replies: 6 Views: 5,516 Brilliant - glad you are sorted.
If it is any help for the future, I tend to leave error trapping out completely, unless it is totally necessary.
Most of my programs don't use error trapping... |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2007 |
| Replies: 6 Views: 5,516 You don't say which of these routines it is erroring from. It would help if the MsgBox error message included subroutine name as well as error message.
However if we take subroutine above then I... |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2007 |
| Replies: 3 Views: 1,990 No problem - glad it works for you.
Denis |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2007 |
| Replies: 7 Views: 1,263 Which country are you referring to ? We don't get this as default in any version of windows, except maybe Windows 3.0
Please fill me in.
Denis |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2007 |
| Replies: 3 Views: 5,206 Glad to hear it worked.
A little tip if I may (don't look if you don't want to) .... |
Forum: Visual Basic 4 / 5 / 6 Jun 30th, 2007 |
| Replies: 6 Views: 5,516 Hi,
When you moved it to other PC how did you do it ? Did you just move .exe ?
If so you need to build application and then move all files it generates and run the setup.exe to install.
Hope... |
Forum: Visual Basic 4 / 5 / 6 Jun 29th, 2007 |
| Replies: 7 Views: 1,263 Do you wish to change default printer or just use another ? How will program know which printer to pick if you don't put dialog box up ?
If your application changes users default printer without... |
Forum: Visual Basic 4 / 5 / 6 Jun 29th, 2007 |
| Replies: 3 Views: 5,206 Try this
dim linne as string
linne = "notepad d:\test\testfile.txt"
shell linne
That should work (obviously replace my file and folder name with yours) |
Forum: Visual Basic 4 / 5 / 6 Jun 29th, 2007 |
| Replies: 3 Views: 1,990 How about producing a random number between 1 and 34 ? This is the index to a 34 line array which contains a-z and 0-9.
Denis |
Forum: Visual Basic 4 / 5 / 6 Jun 27th, 2007 |
| Replies: 4 Views: 1,752 Hi Kshrini,
I have done a quick check and most cards go to 115000bps, but there are some high speed cards available from a supplier I use that are claimed to go faster., and which you may care to... |
Forum: Visual Basic 4 / 5 / 6 Jun 26th, 2007 |
| Replies: 4 Views: 1,752 I don't think you can go beyond 128000 which is down to hardware limitations.
Why do you want to go faster ? |
Forum: Visual Basic 4 / 5 / 6 Jun 25th, 2007 |
| Replies: 4 Views: 1,182 |
Forum: Visual Basic 4 / 5 / 6 Jun 18th, 2007 |
| Replies: 4 Views: 874 Exactly what I had in mind - glad to help and to hear it has worked. |
Forum: Visual Basic 4 / 5 / 6 Jun 17th, 2007 |
| Replies: 4 Views: 874 Sorry this is not the answer you are looking for, but I am pretty sure you will need to put four lines of code, one for each button to change them.
Or use a loop .... |
Forum: Visual Basic 4 / 5 / 6 Jun 14th, 2007 |
| Replies: 6 Views: 1,465 My guess is, but I have not tried it is to allow the mouse clicks but put nothing in subroutine that normally reponds to mouse clicks. |