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 SkipVought 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: NebA
  • Order by date
  1. NebA

    Setting location and filename for PDF file

    I got it to work in the same way as the Excel method. The only difference was setting the name of the pdf file to open to be the same as the name of the report, and not the name of the database. I have always had problems running reports from Access through code, (docmd doesn't always work) so...
  2. NebA

    Setting location and filename for PDF file

    Yes I can. This is some code that was used to print an excel sheet through distiller. The first thing you need to do is to go into your control panel, and setup where the default path for distiller to "dump" it's files is located. When I was testing this method, I set it up as...
  3. NebA

    Retrieving data using ADBC

    It's hard to make out what it is that you are doing, but it sounds like you are retrieving an array of data from a database of some sort, and then having a problem getting the information back out, or a recordcount. If that's it, then make sure you have it move to the last record first, you...
  4. NebA

    Setting location and filename for PDF file

    Unfortunately, I don't have much experience poking around in the Window's registry through code. Try doing it manually, going through Regedit, adding the string and the value, then printing something to the PDFWriter, see if that works, if it does, then you know that you are on the right tract...
  5. NebA

    Using VB 6.0 to create Acrobat files.

    There was an above question about converting AutoCAD files into PDF through code. Here is the code that I use in my VBA programs to do it. *** PlotPlanPath = <desired output path and filename> Open (&quot;c:\windows\system\pdfwritr.ini&quot;) For Append As #1 Print #1, &quot;PDFFileName =...
  6. NebA

    Merge two or more pdf documents into one

    Acrobat will insert the pages in the same order that they are selected. (ex. If you select a group of files by dragging a window from right to left, it will insert the files starting with the file that is furthest to the right, and vice versa.) If you can figure out a way to control what order...
  7. NebA

    Setting location and filename for PDF file

    Before you send to the printer. Your Win2k login probably doesn't have the rights for editing the registry. Here is the address of the documentation from Adobe that goes into more detail on how to do this...
  8. NebA

    Setting location and filename for PDF file

    Ok, finally hunted down a Win2k machine with Adobe Acrobat 5. It isn't in an .ini file at all. It is in the Windows Registry under H_Key_Current_User\Software\Adobe\Acrobat PDFWriter add a string value called &quot;PDFFileName&quot; and assign the full path and filename that you want as the...
  9. NebA

    Setting location and filename for PDF file

    Well I don't know much about C, but I've had some problems with getting VB to work consistently with the .ini file as well. The only other way I've had success with doing it is to print the file through distiller, and then open the created .pdf file, save it to a location that I want, and then...
  10. NebA

    Setting location and filename for PDF file

    The pdfwritr.ini file is only for Windows 95 and 98. For Windows 2000 (which is NT based) try the file _pdf.ini in the Windows printers directory. Sorry I couldn't be more help, I'm sitting in front of a 98 machine, and don't have access to a NT or 2000 machine to test it out.
  11. NebA

    Figure out what the active form is

    I hope I haven't completely misunderstood you, but here goes. I would have form1 or form2 put it's name into the Tag property of form3. (ex Form3.Tag= &quot;Form1&quot;)You can also put the value of Text1 in here, separating the values with a ~ or something. Then, when you want to return, have...
  12. NebA

    Setting location and filename for PDF file

    I couldn't find a way to do it either, so I scrapped the idea of using Distiller, and went with PDFWriter instead. If you use Open# on the file c:\windows\system\pdfwritr.ini and use Print# to add the line &quot;PDFFileName= <full path and filename that you want&quot; to the end of it, and then...
  13. NebA

    &quot;AcroExch&quot; Not found. Please Help!!

    Actually, Acrobat does support OLE. It just is very confusing and clumsy. I had this same problem when I started poking into adding Acrobat into my programs. The problem is that you are defining the variable as an object. Normally, this would be fine, but, like I said Acrobat is clumsy. You...
  14. NebA

    Hi, I have a slight problem.

    I know this isn't the answer you were looking for, but I ran across a similar problem when writing a VB program for converting files to PDF using PDFWriter for Acrobat 4. There is a file called pdfwritr.ini in the Windows\system folder. If you add the line &quot;PDFFileName =&quot; and then...

Part and Inventory Search

Back
Top