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

    Access output to Autocad

    Hi, See Todd's great FAQ http://www.tek-tips.com/faqs.cfm?fid=5800 HTH Han
  2. HanKleppe

    Access output to Autocad

    Hi Todd, How are you doing? Hope this is the right thread to post this question. Do you know how to export automatically a JPG/WMF file from AutoCAD. I tried this code, but it gives an failure and on internet/google we're no good examples AutoCAD.AcadApplication.ActiveDocument.Export ("c:\"...
  3. HanKleppe

    Access output to Autocad

    Hi Todd, That's really cool (My dad is a couple of years older, I mean 43 but he never say cool :o) so helping 19year old students keeps you young :-D) It works amazing fast, I think the whole proces, opening AutoCAD, the good drawing, checking how much prints he must make, saving and closing...
  4. HanKleppe

    Access output to Autocad

    Hay Todd, I made it working: Y = "C:\Program Files\AutoCAD 2004\acad.exe /b Import " & [Forms]![AutoCAD Updater]![Tekst31] Just the space between the /b and Import It works great!!!! Thanks!!!!! Han
  5. HanKleppe

    Access output to Autocad

    Hi Todd, This is so weird, I try it several times with several quotes but it haven't the good effect... I have a better solution. How can I run the script automatically on startup? (so no switches) Then I load the original script: Y = "C:\Program Files\AutoCAD 2004\acad.exe" &...
  6. HanKleppe

    Access output to Autocad

    Hi Todd, And just another doublepost :o) we make steps further, it gives now the following error: (exactly) - " import C:\AutoCAD\Tekeningen\250000.dwg" - What is chr(34)? TIF Han
  7. HanKleppe

    Access output to Autocad

    Hi Todd, That was what we called a 'doublepost' :o) Does it work by you? It gives by me still the same error. TIF Han
  8. HanKleppe

    Access output to Autocad

    Hi Todd, Hopefully this time I'm smart :o) Dim X, Y Y = Chr(34) & "C:\Program Files\AutoCAD 2004\acad.exe" & Chr(34) & " /b " & Chr(34) & "import" & Chr(34) & [Forms]![AutoCAD Updater]![Tekst31] X = Shell(Y, 1) End Function I tried it like this way but it gives the same error...
  9. HanKleppe

    Access output to Autocad

    Hi Todd, Means you're 37? Private Function UpdateAutocad() DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70 Chr (34) & "C:\Program Files\AutoCAD 2004\acad.exe" & Chr(34) & " /b " & Chr(34) & "import" & Chr(34) & [Forms]![AutoCAD Updater]![Tekst31] End Function It...
  10. HanKleppe

    Access output to Autocad

    Hi Todd, Oops I THOUGH I was smart :o) So there's no solution from my side TIF Han
  11. HanKleppe

    Access output to Autocad

    Hi Todd, I have the solution: AutoCAD.AcadApplication.RunMacro ("acad.dvb!import") When I run it separatelly it works, cause else AutoCAD is opening. Do you know the code for waiting/delay of 6 seconds, or something? TIF Han
  12. HanKleppe

    Access output to Autocad

    Hi Todd, I guess you're the one with the most knowlegde at AutoCAD customazium (hope I spell it correct :)) How old/young are you? I had to say I learned a lot in the past period. You're solution is perfectly working in the shortcut. (I edit the scriptfile to add a , to simultain an enter)...
  13. HanKleppe

    Access output to Autocad

    Hi Todd, Sorry for my bad explanation about the script. This is what the script do: -import -save -exit I loaded the script in acad.dvb like also the export script. Now I want a shortcut so autocad start automatically the script, saves and exit. So it's not allowed to run on every startup. I...
  14. HanKleppe

    Access output to Autocad

    Hi Todd, Do you know how to handle the switch /b so the script will run automatically. I can load the script when AutoCAD is openening, but the script will shutdown AutoCAD when it print and saved How can I turn of that compression? TIF Han
  15. HanKleppe

    Access output to Autocad

    Hi Todd, I'm playing with my little program and I've 2 questions: - I start AutoCAD with the following code: Y = "C:\Program Files\AutoCAD 2004\acad.exe /nologo " & [Forms]![Formulier1]![Tekst31] The're is also a switch to start automatically a script: /b with the scriptname. I use the script...
  16. HanKleppe

    Access output to Autocad

    Hi Todd, I'm now building the structure, i'll update when I have news) Han
  17. HanKleppe

    Access output to Autocad

    Hi Todd, Did you have a nice weekend? My monday is perfect, the code is perfectly working!!! AcadDoc.Plot.NumberOfCopies = rstAttribs.Fields("Aantal").Value AcadDoc.Plot.PlotToDevice 'AcadDoc.Save 'AcadApplication.Quit End Sub Thanks a lot!!! Han
  18. HanKleppe

    Access output to Autocad

    Hi Todd, Lol, it's a wellknown worldwide feeling! You're great! I'm gonna try it after the weekend! Thanks a lot! Han
  19. HanKleppe

    Access output to Autocad

    Hi Todd, Sorry for my long time being 'offline' I was busy with a lot of other projects. I produced the following code, and it feels i'm very close... AcadDoc.Plot.NumberOfCopies = "[Aantal]" AcadDoc.Plot.PlotToDevice 'AcadDoc.Save 'AcadApplication.Quit It give now a execution error. When...
  20. HanKleppe

    Access output to Autocad

    Hi Todd, It's in the Netherlands 21:38 and with a beer you create the best ideas :) Maybe I can make a macro what runs the printingprogram. Example: -Open autocad -Print code loop=copies Is this possible? TIF Han

Part and Inventory Search

Back
Top