
Opening up a Access Database, & putting the proper fields into their repsective text boxes.
Hello everyone, and thanks for taking the time to read this :)
I'm a beginning Visual Basic programmer, and VC++ programmer as well.
I'm writing a VB 4.0 program, and am not using the data control. I dropped
the common dialog control on the form, and I can get the FileOpen to work
properly in the sense that it does come up, and if I hit ok, or cancel,
focus returns to my main form.
I have two questions, and of course feel free to answer either or just one
(or neither :)!)
Once I have selected the file from the common dialog box, (and hit "OK")
how to I read back the file name, and send the contents of the table to
each text box? I have no code written for this yet, since I'm stuck,and to
be honest, I'm not sure how to declare that I'm using a Database since I've
seen conflicting code. PLEASE HELP!!! :)
Next question: I have a command button that invokes the print dialog box,
and in turn when pressing ok, prints the contents of a RTB control (my
resume) However when sent to the Win 95 print spooler for the
corresponding printer, it just sits there, and doesn't print. I can't
delete the file, nor will it print. It seems that the printer just locks
up. arggggh! (hehehe)
Thanks for any help that you may have!
P.S. Jay, I copied you this message, in case you hadn't subscribed to this
newsgroup. Eventually, it may help you out (IF) you ever get stuck! :)
If not, it's got some cool stuff!
-Respectfully,
Tony Arguelles
--
/--------------------------------------------------------------------------
-------\
| THERE IS NO BETTER THAN RICKSON GRACIE |
\--------------------------------------------------------------------------
-------/