Search Results

Showing results 1 to 40 of 133
Search took 0.01 seconds.
Search: Posts Made By: jonifen
Forum: Visual Basic 4 / 5 / 6 13 Hours Ago
Replies: 12
Views: 2,655
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Solved: end process
Views: 563
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
.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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
@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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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
Posted By jonifen
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...
Showing results 1 to 40 of 133

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC