Forum: Visual Basic 4 / 5 / 6 13 Hours Ago |
| Replies: 12 Views: 2,655 You may have been better opening a new thread rather than adding to an existing (and old one).
It all depends how your barcode reader plugs into the computer. If it has a PS2 keyboard connector,... |
Forum: Visual Basic 4 / 5 / 6 12 Days Ago |
| Replies: 9 Views: 9,397 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 Oct 6th, 2009 |
| Replies: 4 Views: 218 I have seen loads of examples of this kinda thing around the Internet, and plenty of people asking for examples on how to do it too.
Google is your friend on this one... if you're willing to put... |
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2009 |
| Replies: 5 Views: 484 Not all are the same. If they are a serial/rs232 connected scanner, they don't work in this way and will require either a device driver, or as ithelp said, some guidance from the vendor to know how... |
Forum: Visual Basic 4 / 5 / 6 Aug 5th, 2009 |
| Replies: 2 Views: 376 I'll second what vb5prgmr has said about only having connections open when they are needed.
Also, have you monitored to see how much free RAM your PC has remaining when it approaches the time... |
Forum: Visual Basic 4 / 5 / 6 May 23rd, 2009 |
| Replies: 1 Views: 298 As far as I can tell you'd need to work out how to connect to the device first and then send a request to grab the SMS.
If you were only coding it to have a program that does what you need, look... |
Forum: Visual Basic 4 / 5 / 6 May 1st, 2009 |
| Replies: 3 Views: 563 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: 591 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 Apr 23rd, 2009 |
| Replies: 2 Views: 400 Is it a MySQL database?
First you'd need to make sure your host allows connections from outside of their network (I mean this as in my friend's host SQL server only allows internal connections from... |
Forum: Visual Basic 4 / 5 / 6 Apr 21st, 2009 |
| Replies: 4 Views: 685 .Bind is used in UDP to "attach" the application to a particular local port. Whereas .Listen is used in TCP to allow clients to connect according to the LocalPort provided.
There is a bit more... |
Forum: Visual Basic 4 / 5 / 6 Apr 19th, 2009 |
| Replies: 4 Views: 685 Does the client connect to the server OK first of all?
If you cant connect, then its likely to be related to a networking issue (i.e. a firewall stopping the connection going through).
Are you... |
Forum: Visual Basic 4 / 5 / 6 Apr 8th, 2009 |
| Replies: 4 Views: 934 Object Browser within VB6 says:
Say (for example's sake) I have a form called frmMainWindow.
I want to open the form as it is and display it onscreen, so I would do
frmMainWindow.Show
I can... |
Forum: Visual Basic 4 / 5 / 6 Apr 7th, 2009 |
| Replies: 1 Views: 504 If you are using an ADO recordset to get the information from the database, you can put the data pretty much anywhere you like, so a flexgrid should work fine :)
If you're unsure about ADO and... |
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2009 |
| Replies: 4 Views: 1,939 Or... use the strReverse command
Private Sub PalindromeTest(ByVal sWord As String)
Dim sReversedWord As String
sReversedWord = StrReverse(sWord)
If StrComp(sWord,... |
Forum: Visual Basic 4 / 5 / 6 Apr 6th, 2009 |
| Replies: 2 Views: 519 I believe it stores DSN information in the registry, so you could try doing it that way. I don't know how you would do this (never done it before myself) - I'm just offering an idea on how to do what... |
Forum: Visual Basic 4 / 5 / 6 Mar 31st, 2009 |
| Replies: 4 Views: 726 This is what I would recommend also.
You could perhaps have a method which adds the user to the database, and another method which updates the user if they already exist.
Then, you could check if... |
Forum: Visual Basic 4 / 5 / 6 Mar 30th, 2009 |
| Replies: 6 Views: 1,155 @Debasisdas - At my last place of work, they used scanners with an RS232 interface.
These didn't work in the same way as the PS/2 and some USB scanners and we had to use an ActiveX control for the... |
Forum: Visual Basic 4 / 5 / 6 Mar 29th, 2009 |
| Replies: 6 Views: 1,155 Try doing a search on the forums, there are plenty of similar threads about - some of which have responses.
You haven't given us much information to go off really as there are different connection... |
Forum: Visual Basic 4 / 5 / 6 Mar 28th, 2009 |
| Replies: 4 Views: 463 Update - I've found some old code from my previous job (at Woolworths) for the EPoS system functionality - if its similar hardware, I might have a solution already :)
Let us know... |
Forum: Visual Basic 4 / 5 / 6 Mar 27th, 2009 |
| Replies: 5 Views: 526 Not really - you can't really secure an Access file much other than that. Unless you use some sort of Windows directory access and use the front end under a different user which has permissions to... |
Forum: Visual Basic 4 / 5 / 6 Mar 26th, 2009 |
| Replies: 5 Views: 526 You can put a password on the database file so you can't just double click to open it.
Then you would provide the password in your Connection string in VB6 (when connecting to the database) using... |
Forum: Visual Basic 4 / 5 / 6 Mar 26th, 2009 |
| Replies: 4 Views: 463 What brand is the EPOS equipment?
What base operating system are you using on the till? |
Forum: Visual Basic 4 / 5 / 6 Mar 20th, 2009 |
| Replies: 1 Views: 1,018 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: 1,938 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 20th, 2009 |
| Replies: 5 Views: 707 Nice post vb5prgrmr - wish I had though of that when I started using access with vb6 lol :)
As for using Access, Comatose posted a sticky in the VB4/5/6 section about this very subject -... |
Forum: Visual Basic 4 / 5 / 6 Mar 15th, 2009 |
| Replies: 18 Views: 2,371 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,371 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 Sep 9th, 2008 |
| Replies: 1 Views: 587 It depends on the scanner type.
If it is one which plugs in-line with your keyboard (scanner cable plugs into PS2 port on your PC, and keyboard plugs into the scanner cable), then it will just scan... |
Forum: Visual Basic 4 / 5 / 6 Sep 6th, 2008 |
| Replies: 2 Views: 1,084 I got around my problems with Winsock by checking connection state before attempting to connect. If it is in any state other than closed, it would close the connection first and then attempt to... |
Forum: Visual Basic 4 / 5 / 6 Sep 4th, 2008 |
| Replies: 3 Views: 1,299 I love the inability of some people to try the Search functionality on this forum to find what they want.
On page 3 of the VB6 section, there is a link to this...... |
Forum: Visual Basic 4 / 5 / 6 Aug 25th, 2008 |
| Replies: 2 Views: 1,287 Quick update - this appears to be a way of fixing this issue.
I recently reinstalled VB6 on a machine at work following a rebuild. I got the odd font appearing again in the Options screens etc.
I... |
Forum: Promotion and Marketing Plans Aug 23rd, 2008 |
| Replies: 9 Views: 1,999 Apologies... I had not noticed that button (not to mention I've been on the juice tonight aswell :)) I'll remember that in future. |
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2008 |
| Replies: 28 Views: 5,724 I noticed for your new method you did not have an End Sub and the line of hyphens above the next method header did not have a preceding apostrophe to let VB know it is a comment. I've made those... |
Forum: Promotion and Marketing Plans Aug 23rd, 2008 |
| Replies: 9 Views: 1,999 I'm not 100% that this is a VB related question...
Can a mod move it to a more appropriate section on the forum? It might help the OP get a better answer. |
Forum: Visual Basic 4 / 5 / 6 Aug 23rd, 2008 |
| Replies: 1 Views: 454 Hi domyg, welcome to DaniWeb.
VB is alright, but its only really compatible with Windows. C++ is more cross-platform (dependant on the code used) and Java; whilst cross-platform compatible like... |
Forum: Visual Basic 4 / 5 / 6 Aug 18th, 2008 |
| Replies: 28 Views: 5,724 For capturing good/wrong guesses, you could piggy back onto the code which either draws another limb onto the Hangman, or updates the text boxes for a valid guess.
There is something similar in... |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2008 |
| Replies: 28 Views: 5,724 aktharshaik,
I had made my version to work with any length of word. What I didn't take into account was multiple words (to form phrases etc.) - I only really noticed that when I looked at the URL... |
Forum: Visual Basic 4 / 5 / 6 Aug 16th, 2008 |
| Replies: 28 Views: 5,724 You could lock the top text field ("Locked" in the properties when looking at the form in VB) to stop the text field being edited.
Needless to say, if a correct character is entered after the top... |
Forum: Visual Basic 4 / 5 / 6 Aug 13th, 2008 |
| Replies: 28 Views: 5,724 This actually got me thinking... and gave me something to try out.
To be honest, it will come in extremely useful for my son to play on when he gets a little older :)
I've completed it with a bit... |
Forum: Visual Basic 4 / 5 / 6 Aug 9th, 2008 |
| Replies: 28 Views: 5,724 Hm, can't edit my last post... I presume it was a while ago at least.
Apologies if this is a bit rough around the edges, but as I said before, I am a little rough around the edges myself at the... |