VB Gurus.

Lazarus

Part of the furniture
Joined
Dec 22, 2003
Messages
2,874
Guys,

Trying to tackle a simple problem with the use of VB (6.3)

Heres the scenario :

I have a number of check boxes :

CB1
CB2
CB3
CB4
CB5 etc

and one Text box

TB1

After selecting the required Check boxes, I click on an EXECUTE button and I would like the following to happen :

1. If TB1 = <null> return an error
2. If TB1 <> <nul> then :
2.1 Identify if a word file (.doc) alread exists with the value from TB1. If it does - warn about duplicate file and return to document
2.2 If it doesnt :
2.2.1 Create new Document (File --> New)
2.2.2 File --> save as --> Whatever text was contained within TB1

Other questions :

1. How do I specifcy a working directory path
2. ......



TIA Laz
 

Users who are viewing this thread

Top Bottom