Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Motts
  • Order by date
  1. Motts

    How do you pass command line arguments to compiled VB programs

    Assuming you are the developer of said VB app, you have to enable the startup object (form or main sub) to accept this argumant. There is a VB function called 'Command$' that does this very thing.<br> <br> The code in your app would look something like this (a form is the startup object in this...
  2. Motts

    how can i pass a vb6 object to word97?

    Oops, the post above was a response to calahans. Apparently I was not logged in when I posted my repsonse.<br> <br> Sorry about that.<br> -Motts
  3. Motts

    How can I send PCL commands to laser printer from VB application?

    I use this in a vb3 project. I can't remember where I got it from. It uses the Windows API function 'Escape'. I place all of the PCL code (commands AND data print) in a string variable (PCLdata$).<br> <br> Const PASSTHROUGH = 19<br> <br> 'i'm not really sure what this line does<br> PCL$ =...
  4. Motts

    Search/Replace in MS Word from VB program

    if you're using WordBasic (word 6/95) then you must change the current view from normal (the default) to header/footer:<br> <br> objWord.viewHeader<br> call SearchReplace<br> <br> 'gotoheaderfooter toggles the view between the two<br> objWord.gotoheaderfooter<br> call SearchReplace<br>...
  5. Motts

    how can i pass a vb6 object to word97?

    I'm using VB6 to automate Word97 without problems, but when I try to establish communication from that Word object back to my VB6 app, GetObject fails. I have used CreateObject(VB6app.class) even when the VB6app is running without a second instance of the VB6app starting. Is this normal?<br>...
  6. Motts

    problems with createobject/getobject in word vba

    I'm using VB6 to automate Word97 without problems, but when I try to establish communication from that Word object back to my VB6 app, GetObject fails. I have used CreateObject(VB6app.class) even when the VB6app is running without a second instance of the VB6app starting. Is this normal?<br>...

Part and Inventory Search

Back
Top