Showing results 1 to 40 of 70
Search took 0.01 seconds.
Posts Made By: w00dy
Forum: Visual Basic 4 / 5 / 6 May 24th, 2007
Replies: 9
Views: 1,321
Posted By w00dy
Re: numbering systems

I guess the idea of that is instead of using string functions to find the different combinations in a sorting routine. Say the original string is "chain", then c =0, h = 1, a = 2, i =3, n =4.
So...
Forum: Visual Basic 4 / 5 / 6 May 24th, 2007
Replies: 9
Views: 1,321
Posted By w00dy
Re: numbering systems

What part do you not understand?
Forum: Visual Basic 4 / 5 / 6 May 23rd, 2007
Replies: 9
Views: 1,321
Posted By w00dy
Re: numbering systems

What I want to do is take a string and find all possible combinations of the characters in the string.
I read somewhere of one method that converts the characters to a number, using the number of...
Forum: Visual Basic 4 / 5 / 6 May 23rd, 2007
Replies: 9
Views: 998
Posted By w00dy
Re: where is wrong?

And what do you mean by 'somewhere is highlight' ?
Forum: Visual Basic 4 / 5 / 6 May 23rd, 2007
Replies: 9
Views: 1,321
Posted By w00dy
numbering systems

Is there a VB function to allow you to construct counters using different number systems ie base 3, base 4, base 5, 6, 7 etc ?

I haven't used VB for a while and I'm getting a headache trying to...
Forum: Visual Basic 4 / 5 / 6 Nov 9th, 2005
Replies: 6
Views: 1,502
Posted By w00dy
Re: Code Error.....................

Private Sub cmdCompute_Click()
Dim intNumExemptions As Integer, curIncome As Currency

If lblexemptions.Caption = "" Then
MsgBox "Please enter Exemption", vbExclamation + vbOKOnly, "Enter...
Forum: Visual Basic 4 / 5 / 6 Nov 9th, 2005
Replies: 1
Views: 1,744
Posted By w00dy
Re: Visual Basic Tutorial

here's a few to start with - but if you websearch for "visual basic tutorial" there's plenty...
Forum: Visual Basic 4 / 5 / 6 Nov 9th, 2005
Replies: 6
Views: 1,502
Posted By w00dy
Re: Code Error.....................

or:
If Text1.Text < 10 or Text1.Text > 1000 Then
MsgBox("Entry must be between 10 and 1000")
Text1.Text = ""
Text1.SetFocus
Exit Sub
End If

You have to think of every error a...
Forum: Visual Basic 4 / 5 / 6 Nov 9th, 2005
Replies: 6
Views: 1,502
Posted By w00dy
Re: Code Error.....................

You need error-trapping for your textboxes, for instance:

If Not IsNumeric(Text1.Text) or Not IsNumeric(Text2.Text) Then
MsgBox ("Invalid Entry")
Exit Sub
End If

rejects non-numeric entries...
Forum: Visual Basic 4 / 5 / 6 Nov 8th, 2005
Replies: 2
Views: 3,308
Posted By w00dy
Re: How to detect when Word has closed

Thanks for that, Comatose,
the project I'm working on at the moment could have multiple instances of Word running at once (all launched from my application), but I decided to limit it to one at a...
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2005
Replies: 2
Views: 3,308
Posted By w00dy
How to detect when Word has closed

During the program, Word is opened and displays a document.
When Word is closed by clicking X or selecting File>Exit, the program must detect the event and reset controls.
How is that done, anyone?
Forum: Visual Basic 4 / 5 / 6 Nov 7th, 2005
Replies: 3
Views: 3,488
Posted By w00dy
Re: search for file extension

Hi Comatose,
That's exactly what I was after, you haven't left me much to do !
It even finds stuff thats been 'emptied' from the recycle bin, I had forgotten the power of batch files. Thanks...
Forum: Visual Basic 4 / 5 / 6 Nov 6th, 2005
Replies: 3
Views: 3,488
Posted By w00dy
search for file extension

I need to search the pc for all files with a particular extension. Can anyone point the way ?
Forum: Visual Basic 4 / 5 / 6 Nov 3rd, 2005
Replies: 12
Views: 9,177
Posted By w00dy
Re: problem with Sendkeys

Thanks for those, Comatose, believe it or not I had solved the problem (almost) before I read your last post with this:

Option Explicit
Dim WordApp As Word.Application
Dim WordDoc As...
Forum: Visual Basic 4 / 5 / 6 Nov 2nd, 2005
Replies: 12
Views: 9,177
Posted By w00dy
Re: problem with Sendkeys

Hi Comatose, thanks for the very interesting reply, and the compliment, but I must confess much of the code wasn't mine - I was going to use Shell, but then found an example using API's , and...
Forum: Visual Basic 4 / 5 / 6 Nov 1st, 2005
Replies: 12
Views: 9,177
Posted By w00dy
problem with Sendkeys

The object here is to open a selected Word file and Copy&Paste its contents into a text file. The problem seems to be with the Sendkeys commands having no effect. The project freezes, apparently...
Forum: Visual Basic 4 / 5 / 6 Oct 26th, 2005
Replies: 9
Views: 3,360
Posted By w00dy
Re: Running a VB app on pc without VB installed

After you compiled your project with 'Make', did you use the Package and Deployment Wizard? This collects any dependancy files (.DLL, .OCX etc) and includes them in an Install package.

Just copying...
Forum: Visual Basic 4 / 5 / 6 Oct 25th, 2005
Replies: 2
Views: 1,598
Posted By w00dy
Solution Re: Using Arrays with list boxes

Hello, and welcome
Try the attached project. Needs a bit of work still, but it basically does what you want.

If you need the data you've entered to still be there when the program is run, you will...
Forum: Visual Basic 4 / 5 / 6 Oct 24th, 2005
Replies: 8
Views: 3,138
Posted By w00dy
Re: Picturebox / Textbox

Try logging in.
:rolleyes:
Forum: Visual Basic 4 / 5 / 6 Oct 21st, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Re: pictureBox problem.. please help me!

Well, the version I sent you didn't have those buttons...
You'll have to post an example of your code
Forum: Visual Basic 4 / 5 / 6 Oct 20th, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Re: pictureBox problem.. please help me!

Hi Macka,
I must admit SStab is something I never heard of either, so I guess I wouldn't be any help to Bang with that, but here it is on...
Forum: Visual Basic 4 / 5 / 6 Oct 19th, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Re: pictureBox problem.. please help me!

Here's the latest effort.
Hope it gets you a bit farther.
Forum: Visual Basic 4 / 5 / 6 Oct 19th, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Re: pictureBox problem.. please help me!

Do you need the first checkbox already in the first picturebox, or should it appear the first time you click Command1?

w00dy
Forum: Visual Basic 4 / 5 / 6 Oct 18th, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Re: pictureBox problem.. please help me!

Forget that last post - that code didn't work for me, instead download and run the attached zip file. The project uses textboxes, but you can just substitute whichever control you want.
You’ll...
Forum: Visual Basic 4 / 5 / 6 Oct 18th, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Solution Re: pictureBox problem.. please help me!

Hi, sorry for the delay - what you need is to use SetParent.

Here are tutorials that will help...
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2005
Replies: 23
Views: 4,174
Posted By w00dy
Solution Re: pictureBox problem.. please help me!

You will need to give a basic explanation of what the program is meant to do. Plain simple language will do fine.
Forum: Visual Basic 4 / 5 / 6 Oct 17th, 2005
Replies: 3
Views: 1,759
Posted By w00dy
Re: Timer help needed.

If all Timer2 does is count down 3 secs then switch to Timer1 then the code needed would be something like this:

Private Sub Command1_Click()
txt2Sec.Text = 3
Timer2.Enabled = True
End...
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2005
Replies: 4
Views: 1,172
Posted By w00dy
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2005
Replies: 3
Views: 1,759
Posted By w00dy
Re: Timer help needed.

Yes, post something of what you've done so far, making it a little clearer what you need to do.
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2005
Replies: 2
Views: 1,285
Posted By w00dy
Re: Need Urgent Solution

This may help:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamsgoutofbounds.asp
Forum: Visual Basic 4 / 5 / 6 Oct 16th, 2005
Replies: 4
Views: 1,172
Posted By w00dy
Solution Re: Please Help Me

It's not really clear what you need. Can you explain a little more?
Forum: Visual Basic 4 / 5 / 6 Oct 11th, 2005
Replies: 6
Views: 2,803
Posted By w00dy
Re: binary counter

Hello, and welcome.
Can you give us a little more information on what you're trying to do?
Forum: Visual Basic 4 / 5 / 6 Oct 10th, 2005
Replies: 13
Views: 2,742
Posted By w00dy
Solution Re: Stopping a timer

Aah...thought you meant you didn't like it, actually I don't, but lets face it, all the info seems to be there if you can find it. Anyway, thanks for enlightening me, I'm sure it won't be the last...
Forum: Visual Basic 4 / 5 / 6 Oct 9th, 2005
Replies: 13
Views: 2,742
Posted By w00dy
Forum: Visual Basic 4 / 5 / 6 Oct 9th, 2005
Replies: 13
Views: 2,742
Posted By w00dy
Re: Stopping a timer

Thanks for that, Invisal
The Mod operator isn't mentioned in any of the books I have. I suppose I should browse MSDN more!
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2005
Replies: 13
Views: 2,742
Posted By w00dy
Re: Stopping a timer

Hi, Invisal, I know I should have done a proper example, like

If x / 2 = Int (x / 2) Then
'it's even so do something
Else
'it's odd, so do something else
End if

Just wondering about...
Forum: Visual Basic 4 / 5 / 6 Oct 8th, 2005
Replies: 13
Views: 2,742
Posted By w00dy
Re: Stopping a timer

Say your variable is called x.

If x / 2 = Int(x / 2) then it's even, otherwise it's odd. That should work for you. The Int function rounds down to the nearest whole number.
Forum: Legacy and Other Languages Oct 4th, 2005
Replies: 66
Views: 11,844
Posted By w00dy
Re: was windows made with BASIC?

It's also said that Gates's DOS was mostly 'dumpster-dived' OS/2, No wonder he grins all the time.
Forum: Visual Basic 4 / 5 / 6 Oct 4th, 2005
Replies: 8
Views: 7,982
Posted By w00dy
Forum: Visual Basic 4 / 5 / 6 Oct 4th, 2005
Replies: 8
Views: 7,982
Posted By w00dy
Re: need a count down timer

[QUOTE=Slavrix]when the hour box is zero, the counter still resets the minutes to 59.
QUOTE]

When the hour box changes from 1 to 0, there are still 59mins 59 secs left to go. But maybe you mean...
Showing results 1 to 40 of 70

 
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:51 am.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC