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: *

  1. nazzaro

    Saving a Word Document in Access 97 Using Visual Basic

    I am trying to store Word Document Objects into Access 97 ole object fields using Visual Basic. If I try to store the document object in the appropriate field in the normal way, such as: rcsDoc.AddNew rcsDoc("Document") = msWord 'where msWord is a Word...
  2. nazzaro

    Using Visual Basic to save Word Document in Access 97

    I am trying to store Word Document Objects into Access 97 ole object fields using Visual Basic. If I try to store the document object in the appropriate field in the normal way, such as: rcsDoc.AddNew rcsDoc("Document") = msWord 'where msWord is a Word...
  3. nazzaro

    Saving a Word.doc in Access

    I would also be interested in learning how to store Word Document Objects into Access 97 ole object fields using Visual Basic. If I try to store the document object in the appropriate field in the normal way, such as: rcsDoc.AddNew rcsDoc("Document") = msWord 'where msWord is a Word...
  4. nazzaro

    Response.ContentType="application/msword"

    Try this: Save a Word 2000 document as html, then use Wordpad or whatever to view the html. Word 2000 can save to and read from html, using xml to save/read pertinent info. See: http://msdn.microsoft.com/workshop/languages/clinic/scripting10162000.asp for some additional info.
  5. nazzaro

    Response.ContentType="application/msword"

    Try this: Save a Word 2000 document as html, then use Wordpad or whatever to view the html. Word 2000 can save to and read from html, using xml to save/read pertinent info. See: http://msdn.microsoft.com/workshop/languages/clinic/scripting10162000.asp for some additional info.
  6. nazzaro

    Response.ContentType="application/msword"

    You're right (subject has correct syntax, but I messed it up in the body. Yes, the document is sent correctly and opens in MsWord, but does not reference the template specified in: <w:AttachedTemplate HRef=&quot;location of template goes here&quot;></w:AttachedTemplate>
  7. nazzaro

    Response.ContentType=&quot;application/msword&quot;

    Has anyone had experience using: <% ResponseContentType=&quot;application/msword&quot; %> to send msword content from asp pages? I'm trying to figure out a way to &quot;send&quot; the proper document template (.dot file) so it gets attached to the document opened in Word by the client. So...
  8. nazzaro

    SQL_DRIVER_NOPROMPT

    Is there any way to cause IIS 4.0 to default to using SQL_DRIVER_NOPROMPT for all ODBC connection strings (not just when a connection string is specified in code)? The situation is: IIS 4.0 on one server (Web Server) Access97 database on another server (Access Database Server) Sql Server 7 on...
  9. nazzaro

    SQL_DRIVER_NOPROMPT

    Is there any way to cause IIS 4.0 to default to using SQL_DRIVER_NOPROMPT for all ODBC connection strings (not just when a connection string is specified in code)? The situation is: IIS 4.0 on one server (Web Server) Access97 database on another server (Access Database Server) Sql Server 7 on...
  10. nazzaro

    Uploading files without a component

    See the following article: http://www.aspzone.com/articles/john/aspUpload/ Don't let the name of the article confuse you. It presents an alternative to using 3rt party components (like AspUpload).
  11. nazzaro

    Error connecting to access tables &quot;linked&quot; to sql server tables

    The application is a massive one (for us, anyway) with dozens of VB and ASP applications that use the Access97 database. Maybe eventually we will code directly to the Sql Server 7.0 database, but for now, we want to get our apps working with the least amount of recoding.
  12. nazzaro

    Error connecting to access tables &quot;linked&quot; to sql server tables

    When calling asp pages that connect to data in an Access97 database with tables linked to a Sql Server 7.0 database, the following error is raised: Error #=80004005 Description = [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'CEMDPS' failed. Source = Microsoft OLE DB Provider...
  13. nazzaro

    Table/Field Descriptions, Formats Upsizing Access to Sql Server

    Those of you with experience upsizing Access 97 to Sql Server 7.0 and linking tables to Access 97: Is there a way to retain the Table and Field descriptions and &quot;special&quot; formats (like &quot;mm/dd/yyyy&quot;, etc.) so that they appear in Access 97 (as linked to Sql Server) the way...
  14. nazzaro

    Regular Expression Question

    Is there a relatively simple way to find out the position in a string where a VbScript &quot;Regular Expression&quot; first fails? I'm using a regular expression to test an entire string, with parentheses set to &quot;capture&quot; submatch info for several substrings. The problem is that the...
  15. nazzaro

    Use of FileSystemObject TextStream

    Thanks, that was the problem.
  16. nazzaro

    Use of FileSystemObject TextStream

    I'm having trouble using the following VbScript (example straight from MS VbScript site): Set fso = CreateObject(&quot;Scripting.FileSystemObject&quot;) Set MyFile = fso.OpenTextFile(&quot;c:\upload\testfile.txt&quot;, ForWriting, True) MyFile.WriteLine &quot;Hello world!&quot...
  17. nazzaro

    Only General Asp Debugging Message Being Sent!!! Help!!!

    Stopping then starting the WWW Svc fixed the problem.
  18. nazzaro

    Only General Asp Debugging Message Being Sent!!! Help!!!

    &quot;Sudddenly&quot; (no apparent changes to any configuration stuff) our IIS 4.0 has stopped sending detailed asp debugging info and started sending the general error message only! The configuration shows that the &quot;Send detailed asp debugging information&quot; radio button is selected on...
  19. nazzaro

    TextArea value property question

    Thanks for the help, I discovered the problem (see my response to myself above). The code is just an example. A real application would send the results of a calculation or check, along with a % complete status. I've optimized the code quite a bit from the example. I now use a function in...
  20. nazzaro

    TextArea value property question

    Tha answer was to add: unescape('%0D') to each line rather than: unescape('%13') which is what I tried. Oh well, I've done dumber things before.

Part and Inventory Search

Back
Top