Forum: Visual Basic 4 / 5 / 6 Oct 29th, 2009 |
| Replies: 9 Views: 9,932 October 2001 is the newest MSDN for VB6 - you could search for it in certain places, but it would be wrong of me to condone such activity ;)
As previous posts have said, the MSDN stuff is... |
Forum: Visual Basic 4 / 5 / 6 May 1st, 2009 |
| Replies: 3 Views: 597 Do you mean if you have a VB application which was running, and is killed using task manager - you want that application to return an msgbox to the user saying it has ended?
I don't think that... |
Forum: Visual Basic 4 / 5 / 6 May 1st, 2009 |
| Replies: 3 Views: 632 You say you want to read from an Excel sheet to a text file, but your code shows you opening a text file for input. I don't know how you usually read from an Excel sheet, but I don't think you can... |
Forum: Visual Basic 4 / 5 / 6 Mar 20th, 2009 |
| Replies: 1 Views: 1,103 Hi, sorry for the slow reply.
Just looked in Object Explorer for the Outlook object.
Try Mailobject.SentOn
It is a property that returns the date the email was sent on.
Alternatively,... |
Forum: Visual Basic 4 / 5 / 6 Mar 20th, 2009 |
| Replies: 4 Views: 2,133 You pretty much have it spot on in your first post swappy...
I use this code to check the connection state:
If oConnection.State = adStateOpen Then
oConnection.Close
End If
... |
Forum: Visual Basic 4 / 5 / 6 Mar 15th, 2009 |
| Replies: 18 Views: 2,412 Just noticed Comatose's "Read Me" thread at the top of the VB4/5/6 forum - http://www.daniweb.com/forums/thread41057.html
That'll come in really useful for you :) |
Forum: Visual Basic 4 / 5 / 6 Mar 15th, 2009 |
| Replies: 18 Views: 2,412 I personally use a .mdb database (despite using Access 2007, I use an Access 2000 format database) and I use ADO to connect to the database without any problems.
Unless there is any particular... |
Forum: Visual Basic 4 / 5 / 6 May 26th, 2008 |
| Replies: 2 Views: 1,140 Hi jaasaria,
That error is usually because the connection is not active when you're trying to send the data through.
Best thing to do is to check the Winsock connection is active before... |
Forum: Visual Basic 4 / 5 / 6 Feb 8th, 2008 |
| Replies: 12 Views: 10,115 That's excellent, I've wondered how that was done.
(rep added) |
Forum: Visual Basic 4 / 5 / 6 Feb 2nd, 2008 |
| Replies: 8 Views: 1,128 "key column information is insufficient or incorrect" error appears to suggest that your primary key field (whatever that may be) has either been left empty, or the contents of it is the same as a... |
Forum: Visual Basic 4 / 5 / 6 Feb 1st, 2008 |
| Replies: 7 Views: 2,205 Hi,
Rather than use a listbox, I would say use a FileListBox (shown in the toolbox as a piece of paper with lines across).
After you have added that in, go to the FileListBox's properties and... |
Forum: Visual Basic 4 / 5 / 6 Jan 30th, 2008 |
| Replies: 7 Views: 1,786 I'm glad you got it working in the end :)
Although I'm genuinely unsure how much I helped though, as I didn't even spot the line of code which you changed to resolve the problem. I'm still... |
Forum: Visual Basic 4 / 5 / 6 Jan 30th, 2008 |
| Replies: 5 Views: 838 VB error 2147467259 if I remember right is something to do with database connectivity...
I'd recommend checking the connection string to your database (whether it be SQL or Access). Ensure that the... |
Forum: Visual Basic 4 / 5 / 6 Jan 29th, 2008 |
| Replies: 7 Views: 1,786 Hi,
I've just replicated your app using the code you have supplied and it seems to be working fine for me.
I am using the default Windows firewall (I'm behind a router hence I don't need anything... |
Forum: Visual Basic 4 / 5 / 6 Jan 29th, 2008 |
| Replies: 3 Views: 535 I read the original post as if there is a text box which information gets dumped into, and the OP wants it to automatically scroll down to show the newly added information at the bottom at all times.... |
Forum: Visual Basic 4 / 5 / 6 Jan 28th, 2008 |
| Replies: 3 Views: 940 Hi bushman_222 :)
I've just ran my server/client app which I'm working on and then did a netstat -a at the command prompt to check the ports that are being used...
jcxp is my machine name,... |
Forum: Visual Basic 4 / 5 / 6 Jan 28th, 2008 |
| Replies: 7 Views: 1,786 If the port is open and being used by another application at a particular time, it could interfere yes.
I would not say it is a firewall issue if you are able to use the client/server combination... |
Forum: Visual Basic 4 / 5 / 6 Jan 27th, 2008 |
| Replies: 2 Views: 3,315 Firstly, make sure your VB6 is updated with service pack 6, and then go to Project > Components and tick "Microsoft Windows Common Controls (SP6)"
This will add the slider into your toolbox :)
... |
Forum: Visual Basic 4 / 5 / 6 Jan 26th, 2008 |
| Replies: 7 Views: 1,786 I'm currently learning about Winsock too, but am not advanced enough to help you in much detail.
However, I did find a good link to some example source code which may be of use...... |