<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SaveAs with my filename in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759410#M31331</link>
    <description>why not use the windows api saveas dialog?&lt;BR /&gt;
&lt;BR /&gt;
&lt;GANTI&gt; wrote in message news:5323628@discussion.autodesk.com...&lt;BR /&gt;
hi,&lt;BR /&gt;
  I am required to call the SaveAs dialog with the file name (that I &lt;BR /&gt;
calculate based on some parameters)&lt;BR /&gt;
&lt;BR /&gt;
I have seen some posts on similar items  which say something like&lt;BR /&gt;
this&lt;BR /&gt;
&lt;BR /&gt;
Public Sub MySaveAs()&lt;BR /&gt;
  Dim strName As String&lt;BR /&gt;
  Dim Unsupp As AcadUnsupp.Application&lt;BR /&gt;
  Set Unsupp = &lt;BR /&gt;
ThisDrawing.Application.GetInterfaceObject("AcadUnsupp.Application.1")&lt;BR /&gt;
  strName = Unsupp.ShowSaveDialog("Save As", "GantiTesting", "dwg")&lt;BR /&gt;
  ThisDrawing.SaveAs strName&lt;BR /&gt;
  MsgBox "Drawing saved as: " &amp;amp; strName&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
but the problem is&lt;BR /&gt;
  1. I am using AutoCAD 2005 and it does not have (nor support) &lt;BR /&gt;
AcadUnsupp.arx  embeded functions&lt;BR /&gt;
&lt;BR /&gt;
is there a work around, in 2005&lt;BR /&gt;
&lt;BR /&gt;
any help in this regard would be appriciated&lt;/GANTI&gt;</description>
    <pubDate>Sat, 09 Sep 2006 22:30:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-09-09T22:30:12Z</dc:date>
    <item>
      <title>SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759408#M31329</link>
      <description>hi,&lt;BR /&gt;
  I am required to call the SaveAs dialog with the file name (that I calculate based on some parameters) &lt;BR /&gt;
&lt;BR /&gt;
I have seen some posts on similar items  which say something like&lt;BR /&gt;
this &lt;BR /&gt;
&lt;BR /&gt;
Public Sub MySaveAs()&lt;BR /&gt;
  Dim strName As String&lt;BR /&gt;
  Dim Unsupp As AcadUnsupp.Application&lt;BR /&gt;
  Set Unsupp = ThisDrawing.Application.GetInterfaceObject("AcadUnsupp.Application.1")&lt;BR /&gt;
  strName = Unsupp.ShowSaveDialog("Save As", "GantiTesting", "dwg")&lt;BR /&gt;
  ThisDrawing.SaveAs strName&lt;BR /&gt;
  MsgBox "Drawing saved as: " &amp;amp; strName&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
but the problem is &lt;BR /&gt;
  1. I am using AutoCAD 2005 and it does not have (nor support)  AcadUnsupp.arx  embeded functions&lt;BR /&gt;
&lt;BR /&gt;
is there a work around, in 2005 &lt;BR /&gt;
&lt;BR /&gt;
any help in this regard would be appriciated</description>
      <pubDate>Sat, 09 Sep 2006 11:25:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759408#M31329</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-09T11:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759409#M31330</link>
      <description>Public Function SetUnsupp()&lt;BR /&gt;
&lt;BR /&gt;
    Dim strAsdk As String&lt;BR /&gt;
    If AcadVer = 2000 Then&lt;BR /&gt;
            strAsdk = "AsdkUNSUPP2000.Application.1"&lt;BR /&gt;
    Else&lt;BR /&gt;
       strAsdk = "AsdkUNSUPP2004.Application.1"&lt;BR /&gt;
    End If&lt;BR /&gt;
&lt;BR /&gt;
    Set SetUnsupp = Application.GetInterfaceObject(strAsdk)&lt;BR /&gt;
End Function&lt;BR /&gt;
&lt;BR /&gt;
Use the AsdkUnsupp2004.arx&lt;BR /&gt;
Download Unsupp2004Regfor2005.reg (It's on this site) and run that</description>
      <pubDate>Sat, 09 Sep 2006 12:27:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759409#M31330</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-09T12:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759410#M31331</link>
      <description>why not use the windows api saveas dialog?&lt;BR /&gt;
&lt;BR /&gt;
&lt;GANTI&gt; wrote in message news:5323628@discussion.autodesk.com...&lt;BR /&gt;
hi,&lt;BR /&gt;
  I am required to call the SaveAs dialog with the file name (that I &lt;BR /&gt;
calculate based on some parameters)&lt;BR /&gt;
&lt;BR /&gt;
I have seen some posts on similar items  which say something like&lt;BR /&gt;
this&lt;BR /&gt;
&lt;BR /&gt;
Public Sub MySaveAs()&lt;BR /&gt;
  Dim strName As String&lt;BR /&gt;
  Dim Unsupp As AcadUnsupp.Application&lt;BR /&gt;
  Set Unsupp = &lt;BR /&gt;
ThisDrawing.Application.GetInterfaceObject("AcadUnsupp.Application.1")&lt;BR /&gt;
  strName = Unsupp.ShowSaveDialog("Save As", "GantiTesting", "dwg")&lt;BR /&gt;
  ThisDrawing.SaveAs strName&lt;BR /&gt;
  MsgBox "Drawing saved as: " &amp;amp; strName&lt;BR /&gt;
End Sub&lt;BR /&gt;
&lt;BR /&gt;
but the problem is&lt;BR /&gt;
  1. I am using AutoCAD 2005 and it does not have (nor support) &lt;BR /&gt;
AcadUnsupp.arx  embeded functions&lt;BR /&gt;
&lt;BR /&gt;
is there a work around, in 2005&lt;BR /&gt;
&lt;BR /&gt;
any help in this regard would be appriciated&lt;/GANTI&gt;</description>
      <pubDate>Sat, 09 Sep 2006 22:30:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759410#M31331</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-09T22:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759411#M31332</link>
      <description>hi Bob,&lt;BR /&gt;
  How to use the Windows API SaveAs Dialog ?&lt;BR /&gt;
can you elobrate with an example please</description>
      <pubDate>Sun, 10 Sep 2006 01:47:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759411#M31332</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-10T01:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759412#M31333</link>
      <description>Hi Bryco,&lt;BR /&gt;
  Thanks a lot for the the TIP,  it worked&lt;BR /&gt;
&lt;BR /&gt;
for the benifit of other users using this Post, I would like to inform that the AsdkUnSupp2004.arx  and the .reg file is available for download in  THIS user group only search for   "Unsupp 2004.zip" or with subject of "sendcommand alternatives"  around 24th Jan 06&lt;BR /&gt;
&lt;BR /&gt;
and this was uploaded by By Bryco only, (again thanks a lot Bryco)</description>
      <pubDate>Sun, 10 Sep 2006 02:01:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759412#M31333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-10T02:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759413#M31334</link>
      <description>Ganti the windows apis are fine but if you like using the unsupp it's a lot easier. Since the api for truecolor isn't there yet the apis don't offer complete access to all the dialogue boxes anyway. I like unsupp it as it's a nice way to use wipeouts in vba.</description>
      <pubDate>Sun, 10 Sep 2006 20:57:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759413#M31334</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-10T20:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759414#M31335</link>
      <description>hi Bryco,&lt;BR /&gt;
  I know it is nice and easy, but the prolem would be when I have to deploy the code on a machine whcih does not have an Administator rights, it is not possible for me to copy the required files on to that machine easily (programatically).&lt;BR /&gt;
&lt;BR /&gt;
or is there a way that we can store this arx file in the server an let the program acess that file always insted of from the user computer.&lt;BR /&gt;
&lt;BR /&gt;
besides I would like to know How to prevent the VBA code traveling with the AutoCAD drawing&lt;BR /&gt;
&lt;BR /&gt;
thanks a lot bryco, you seem to have a lot of patience in answering queires, I am new to VBA programing so all these queires (however I have lot of experience in AutoLISP programing)&lt;BR /&gt;
never upgraded my knowledge and kept up with the trend anyway better late than never.</description>
      <pubDate>Mon, 11 Sep 2006 03:29:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759414#M31335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-11T03:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759415#M31336</link>
      <description>ganti look at embed and extract in autocad-&amp;gt;tools-&amp;gt;macro-&amp;gt;vbamanager. You don't want to embed the project in the drawing.&lt;BR /&gt;
Yes you can leave an arx on the server. But you still have to tell the computer to load it. I think you can use an acad.rx file to do this (similar to startup suite) from the server but the rx file must be pathed in the computers support files.</description>
      <pubDate>Tue, 12 Sep 2006 00:07:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759415#M31336</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-12T00:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: SaveAs with my filename</title>
      <link>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759416#M31337</link>
      <description>Hi Bryco,&lt;BR /&gt;
 I forgot to mention, what about the reg edit, that is a must i presume how can i over come that BIG Bottle neck when I will not have acess to edit the registery (as the users will not have administrator rights) through a program ?&lt;BR /&gt;
&lt;BR /&gt;
thanks for your patience again&lt;BR /&gt;
ganti</description>
      <pubDate>Tue, 12 Sep 2006 01:39:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/saveas-with-my-filename/m-p/1759416#M31337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-09-12T01:39:37Z</dc:date>
    </item>
  </channel>
</rss>

