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 strongm 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: hrm03
  • Order by date
  1. hrm03

    Connecting to SQLBase

    I was able to work my way through the first error by installing the software that actually uses the SQLBase, but now I have come across another hurdle. It seems like the connection goes through but when I go to read the first line in the RecordSource, I get the error: "Operation is not...
  2. hrm03

    Connecting to SQLBase

    ...in VB using the following connection string: cnConnection.Provider = "SQLBASEOLEDB" cnConnection.ConnectionString = "User ID=*******;Password=******;Data Source=*servername*;Initial Catalog=" & sDatabase cnConnection.ConnectionTimeout = 90 cnConnection.CommandTimeout = 90...
  3. hrm03

    ODBC Driver

    I am trying to do something similar which is importing data from SQLBase to MS SQL through VB, not ColdFusion. I have had the same errors and I am already using the SQLBase85DriverPack.zip file from the Gupta site. I don't know what else to try b/c this is still not working. I am getting the...
  4. hrm03

    File Not Found Error when Word is NOT Active

    Skip, Sorry. That didn't work either. All new errors showed up plus nothing was reading in correctly. Thanks for your thoughts though.
  5. hrm03

    File Not Found Error when Word is NOT Active

    Thanks, I'll give it a try and let you know what I come up with. Thanks again for your help.
  6. hrm03

    File Not Found Error when Word is NOT Active

    I am actually inserting this file into a bookmark in a certain place on another template. That is why I would think I had to use this code (.Insert). I am new to this, obviously, so if there is another (better) way to go about doing this I would be up to try it. And yes, my file names are...
  7. hrm03

    File Not Found Error when Word is NOT Active

    Skip, Upon looking at your code again, I realized that I have done this when first getting the information into these templates. What I am now trying to do, is insert that file. The only way I knew to get that file name inserted (b/c it is variable) was to use the GetObject method hence the...
  8. hrm03

    File Not Found Error when Word is NOT Active

    Skip, FYI: Once I worked through the other one I am still getting the same error messge as before (File not found). Thanks though.
  9. hrm03

    File Not Found Error when Word is NOT Active

    Skip, Thanks for the tip but when I entered that part in, I have another error message: "Method 'Insert File' of Object 'Range' Failed!" Any ideas on that one? Thanks
  10. hrm03

    File Not Found Error when Word is NOT Active

    Skip, The program does what it is supposed to, by opening a template and filling the information, then it is supposed to insert that file, into another template; this is where it goes wrong. This code is what takes the already filled out template and places it into another. On the insert file...
  11. hrm03

    File Not Found Error when Word is NOT Active

    Skip, Any more ideas on this one? Thanks!
  12. hrm03

    File Not Found Error when Word is NOT Active

    I am writing in VB6 and trying to automate word 2000
  13. hrm03

    File Not Found Error when Word is NOT Active

    I'm sorry, maybe I am not being clear. These templates are out there regardless of my application and what it does; I can access them at any time. Only, when I am running the program, and word is not already open (not the document itself, just the application) I get "Run-Time Error '5174'...
  14. hrm03

    File Not Found Error when Word is NOT Active

    Thanks, but can you create an object that already exists? I have these templates setup and I have to use them. So I thought that I had to use GetObject rather than CreateObject. Is that not right? Is there anyway to making the system think that the word application is open and active, without...
  15. hrm03

    File Not Found Error when Word is NOT Active

    Hello. Up until now I have had no problem with what I am trying to do; which is...use the GetObject function to grab a word template from our server, insert information, print it, then close without saving. I want this all to be done in the background without the user even seeing the Word...
  16. hrm03

    Trying to Merge Documents and Keep Header

    Hello. I am trying to merge two word documents together. I am currently doing this by creating three different OBJECTS, one for each document and then the final "merged" one. I am using the line: BMRange.InsertFile GetObject(sInvDocPath + sInvDocName) to actually get the one...
  17. hrm03

    Trying to use DDE to communicate with Fax program!

    I am trying to automatically send a fax number to my fax program so that the user will never have to enter one. I have seen this done using DDE with WinFax, but the same logic is not working for what I need. I have a Lanier Lan-Fax machine and all DDE commands don't seem to work on this...
  18. hrm03

    Trying to close a Word Doc through VB w/o saving

    Tony- Thank you for your help with this. I went ahead and re-created the actual word doc that I was trying to update and now the code is working. I guess there was something wrong with the document not the code. Thanks again! [smile2]
  19. hrm03

    How to close a Word doc w/o saving through VB

    THANK YOU. I don't know what it was, but I went ahead and re-created the document I was trying to update and it WORKED! Thanks for the help!! [smile2]
  20. hrm03

    Trying to close a Word Doc through VB w/o saving

    What this does is take an existing doc and add information into its "bookmarks" then prints the document. The user never sees the document until it is printed. The problem I am having is trying to NOT save the information that is entered into the bookmark area. Thanks for your help...

Part and Inventory Search

Back
Top