AutoCAD .NET :: Adding Options To The File Save As Dialog Box

Jun 7, 2012

I have the following function that opens the File "Save As" dialog box.  It gets fed a drawing number and allows the users to browse to a folder where they want to save it.  The problem is when a file already exists with the same name.  A message box pops up letting the user know that the file already exists and do they want to overwrite it.  The can pick yes to overwrite, but it doesn't really overwrite the old file, it seems like it opens it and then crashes when the rest of the program tries to run.

What I want to do is create a loop to determine if the file already exists.  If it does not exist, then save the path and drawing name as usual. 

If the drawing exists, I want to pop up a dialog giving two options; Overwrite, or Rename the current drawing.  If they pick Overwrite, I can have the program delete the old existing drawing and then just save this one.  If they pick Rename it will loop back to the "Save As" dialog giving the user the ability to change their drawing name (like add a "-1" to it.

Public Function GetFilePathAndName(ByVal dwgNumber) podDWG = ApplicationServices.Application.DocumentManager.MdiActiveDocument podDB = podDWG.Database podEd = podDWG.Editor podPSO.InitialDirectory = "W:Work_in_Process" podPSO.InitialFileName = dwgNumber podPSO.Filter = "AutoCAD DWG Files|*.dwg" podPFR = podEd.GetFileNameForSave(podPSO) Select Case podPFR.Status Case EditorInput.PromptStatus.OK SaveDwgName = podPFR.StringResult Case EditorInput.PromptStatus.Cancel MsgBox("User Cancelled.") End Select Return SaveDwgName End Function

View 4 Replies


ADVERTISEMENT

Photoshop :: Modify SAVE Dialog File Format Options?

Oct 4, 2012

how to modify the options in the save dialog?Every time I save a file and have to choose the file type, I have to scroll through obscure and obsolete file types. Sure, I might need someday to save Scitex CT, or Photoshop DCS, but the chances are very slim. Some people surely use PIXAR and TARGA, but I don't. What the hell is an IFF? If I ever need a Portable Bit Map (really?) file it would be great if I could find it in a user defineable option pull down. I can pretty well guarantee that the file types I need are PSD, TIFF, JPEG, PDF, PNG and once in a blue moon, GIF.

View 5 Replies View Related

Photoshop :: Suppress Or Disable Save As JPEG Options Dialog Box On Individual Image

Jun 5, 2013

Is there anyway to suppress or disable the save as jpeg options dialog box on individiual images/pictures?

View 1 Replies View Related

AutoCAD Inventor :: Disabling File Name Selection In File Save Dialog?

May 24, 2013

I'm using the file dialog snippet as the foundation for a save as dialog box for saving a new copy of my template assembly to a project folder. Is there a way to disable the ability to click on a file in the window which puts that filename in the input box? The assembly file name is standardized and pre-"calculated" by my code and its a decent hassle if you accidentally click another file because the user would either have to rewrite the file name by hand, or cancel out of the dialog box and re-navigate to the project folder.
 
Inventor 2013 SP 1.1

View 1 Replies View Related

AutoCAD 2010 :: Open And Save File Dialog Box

May 30, 2012

I used to be able to save as and browse to the file where I want to sane or open a file

Now I get a dialog box where I can only save to the default location or manually enter the path and file name

Same with opening a file - I go file open and it is gives a path to the last file I used. There is option to browse - how I get this back to the normal function of open/save by browsing?

View 2 Replies View Related

AutoCAD Inventor :: How To Set Default IGES File Save As Options

Apr 18, 2011

My company outputs IGES files and we always use the settings "Surfaces" and "144-Trimmed", however, the default for Sufrace Type is "143-Bounded" so we have to open up the options dialog box and change to "144-Trimmed" every time.  How can I set Inventor's Default to "144-Trimmed" so I never have to mess with it again?

View 6 Replies View Related

AutoCAD Inventor :: File Save As Dialog Won't Launch Through Command Manager

Feb 15, 2013

I am unable to get this code to launch the File Save As Command. I Think I have the sytax correct, because if I Replace "AppFileSaveAsCmd" with a different command name (i.e. "AppFileNewCmd") it works as expected. I have tried this with "AppFileSaveCmd" and "AppFileSaveCopyAsCmd" and both have also failed. It seems any kind of save command wont work...  I am trying to creat a rule that will fire on "New Document" iTrigger that will  Force a user to save the newly created assembly document in preperation for further iLogic rules that depent on the assembly Filename and path. Maybe there I am not telling it What file to Save? I have pasted the code below..

Format:HTML Format Version:1.0 StartHTML:     165 EndHTML:    3048 StartFragment:     314 EndFragment:    3016 StartSelection:     314 EndSelection:     314
SyntaxEditor Code Snippet

[Code]....

View 8 Replies View Related

Photoshop :: Click On File To Save To Web - Dialog Box Is Too Big

Jul 30, 2013

I am trying to optimize an image in Photoshop CS5 and when I click on File to Save to the Web the dialog box is too big and I cannot reach the commands at the bottom to change anything.

View 2 Replies View Related

Illustrator :: Can't Save To PDF - No Dialog Box Open To Set Output File

May 3, 2010

I am just trying to save a PDF from my illustrator file. However, when I go to Save as, and select PDF, no dialog box opens to allow me to set how I want the file outputted. IF I just hit enter, the file does save.. its just like the Dialog box is hidden or not appearing. The reason I need the dialog box is because I need to add bleeds to the PDF and my default save doesn't do that.

View 3 Replies View Related

InDesign :: Save Dialog Box In Vista Types Over File Name?

Oct 28, 2009

When I save from InDesign (and only InDesign), I open the folder I need to save my file in. I begin to type the name of the company folder that this file needs to be saved in (there are hundreds). I am only able to type the first letter of the company before it begins typing over my file name. This has turned out to be a major annoyance for me and my coworkers because we may have 40 or 50 folders that start with "s" so we can only type in "s" and then have to stop and scroll through and read each folder instead of typing in the name of the folder we need and hitting enter.

View 7 Replies View Related

Revit :: Controlling Control File Save Options Settings?

Dec 11, 2013

In revit 2013, How do I control the Control File Save Options Settings globally.  For example I want all files to save only one back-up file.

View 4 Replies View Related

Illustrator Scripting :: Open Save File Dialog With Default Path

Oct 8, 2012

I want to open a "Save File Dialog " with some default path.Like when user run that script I want to open  a "Save As" dialog box with default path "/Volumes/<shared name>/<folder name>/.. ."I am using File.SaveDialog(prompt, filter);
 
but it doesn't open to the location by default that I want to open.

View 2 Replies View Related

AutoCAD 2010 :: Options Dialog Box Doesn't Open

Mar 19, 2013

I am difficulty getting the options dialog box to open (under the file menu "red A" dropdown list, options button). When I click on it, all of the buttons on top go gray and nothing appears. When I click on the black workspace, I get a compluter bell sound.

What I've tried to do to solve the problem is restart the computer and shutdown the computer.

View 2 Replies View Related

AutoCAD Civil 3D :: Options Dialog - Missing Buttons?

Jan 6, 2014

According to this blog: [URL] .......

And posts elsewere, there are two more buttons on the bottom of the options dialog box, under the user preferences tab, that I am missing. One is Initial setup and the other is default scale list.

View 4 Replies View Related

AutoCAD 2013 :: Options Dialog Box Asks To Enter Integer?

May 16, 2013

why I get a this when I click on a tab in the Options dialog box?

View 2 Replies View Related

AutoCAD LT :: How To Filter Out Excessive Number Of Scale Options In Plot Dialog Box

Nov 14, 2011

I have recently started working on a project in metric and have a weird (to me) issue when I try to plot. There are literally hundreds, of scale options in the Scale popup, most of which make no sense to me. I know that I need 1:25, or 1:100 to fit on the page I am printing to. How do I remove or filter out all of the others such as 1:100 3_1_1_1_1_1? I don't even know what that notation means.

View 9 Replies View Related

Photoshop :: How To Restore TGA Options Dialog Box

Jan 28, 2013

Today, after accidentally exporting a file as a TIFF the options dialog box for TGA files no longer appears.
 
Which means my workflow has come to an absolute and complete stop since I can no longer export proper 32-bit TGA files that are required for import into other software.
 
I've deleted all the preferences inside ~/Library/Preferences though that did not fix it.

View 1 Replies View Related

Photoshop :: Prevent PNG Options Dialog?

Aug 6, 2013

Whenever I save something as a PNG, Photoshop asks if I want to save it in interlaced format. Is there a way to set a default for that so it doesn't ask me every flippin' time?

View 4 Replies View Related

CorelDRAW X5 :: How To Patch Big Options Dialog Box

Mar 7, 2010

Patch or apply the free version of big options dialog to x5. 

View 3 Replies View Related

Photoshop :: JPEG Options Dialog Box

May 13, 2004

Sometimes when I save an image as a jpeg the dialog box defaults to a higher compression and lower image quality. I change it to the highest quality but when I save the next image it is again at the lower quality setting. How can I get it to default to the highest quality setting or at least stay at the last setting.

View 6 Replies View Related

Lightroom :: Stacking Options In The Export Dialog

Oct 3, 2012

What happened to the stacking optons n the export dialog when adding the exports back into the catalog? After watching Jared Platt's creativelive course, I started creating my PSD's by exporting them in bulk, adding them back into the catalog and stacking them on top of the original raw files. After updating to LR 4.2 I don't see the option in the export dialog any more.

View 11 Replies View Related

Photoshop :: CS5.1 Not Working While Using Save / Save As / Save For Web Options?

Oct 22, 2013

I am facing problem while using Save / Save As / Save for web options in my Photoshop. On clicking Save / Save As commands, my photoshop gets closed abruptly and I am losing all data. If I choose Save for Web option, the file Save dialog box appears and when I click on the 'Save' button, the application gets closed abruptly.
 
It was working fine yesterday. My version is bundled in the Technical Communicator suite 3.5 and I faced some problems with Adobe Acrobat, for which my IT team took support from Adobe and got it resolved just two days ago. (Case ID - 184809966)

View 10 Replies View Related

Illustrator :: Save Files With Spaces Instead Of Dashes In Save For Web Dialog Window?

May 17, 2012

How to save files with spaces insted of dashes in Save for Web dialog window in Illustrator CS6?

View 9 Replies View Related

Photoshop :: Adding Blending Options To ALL Layers. How?

Mar 17, 2003

How can i add blending options to all my layers??

View 4 Replies View Related

AutoCAD 2013 :: Can't Save UCS Name In Dialog Box

Aug 11, 2013

In ACAD 2007 when I create a new UCS, the dialog box shows as current an unnamed UCS which I can then rename. In 2014, this doesn't happen - I have to do all that using the command line. Is there some setting to get the dialog box to work?

View 7 Replies View Related

AutoCad :: Open / Save / New Dialog Box Missing?

Aug 12, 2005

In AutoCad 2006, when I want to open a new or existing drawing or template, instead of regular dialog box I receive only a prompter dialog which is present in the command line also, asking me for the name of the drawing that I want to open; it is the case also when I want to save a drawing too. I already checked the "Options" under the "Open and Save" tab and everything looks to be in order. How can I resolve this bothering problem since I am able to perform the above tasks only accessing "Windows explorer"?

View 9 Replies View Related

AutoCAD Inventor :: Save Copy As Options Box Not Coming Up?

Jan 29, 2013

I'm trying to 'export face as' and change the version of the DXF, but my options box will not come up.  This problem is also happening in my 'Save Copy As' and 'Export to DWG'.

View 4 Replies View Related

Photoshop :: Adding A New Paper Size In CS6 Print Dialog?

Aug 31, 2013

Some paper companies have released a new paper size-9x13.
 
I find this excellant for fireworks and certain architecture prints.
 
Problem is that in CS6 I cannot adjust Set Up dialog to get entire paper printed correctly. The printer(both Canon's 9000mkii/9500mkii)  always have a border. Red River(the paper I use) sez use 8x12 but there is no 8x12 setting.
 
the paper size in the CS6 Print menu (PS Manages Color) so the copy is inked 100%?

View 3 Replies View Related

AutoCAD 2013 :: Save As And Export (FBX) Dialog Boxes Are Gone?

Apr 19, 2012

I lost my dialog boxes for SAVEAS and EXPORT.  I tried the CMDDIA system variable but had no luck.  I can't stand having to type in full paths for files that I'm trying to save.

I would imagine that alot of my other dialog boxes default back to command line as well.

View 2 Replies View Related

AutoCAD 2013 :: Save As Dialog Box Opens In Wrong Folder

Feb 28, 2013

We had a project folder named A.  We created a new project folder named B and copied the AutoCad files from A to B.  On one of our workstations if you open a drawing from folder B, then click save as, the dialog opens to folder A.

Not a big problem, but since the files are named the same it can be confusing... 

View 7 Replies View Related

AutoCAD 2010 :: Create New Folder Button In Save As Dialog

Nov 16, 2010

In the save as dialog box, the button for creating a new folder will automatically create a named "new folder" at the bottom of the files list. It does not come up highlighted for naming but can be right-clicked, renamed. If your files list is long you won't even see the new folder created as it does not snap to the folder either. Conversely; I can still right-click, new, folder. This acts as expected which creates folder at the top of files list, highlighted for naming.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved