.NET

Reply
Valued Contributor
RamanSBV
Posts: 85
Registered: ‎02-28-2012
Message 1 of 3 (128 Views)

Setting Path value of Insert window.

128 Views, 2 Replies
03-01-2012 01:42 AM

 

Hi,

 

Using .Net code

How i can i set the value for Path field of "Insert" window.

 

 

Please advise.

 

Regards,

Raman

*Expert Elite*
Alfred.NESWADBA
Posts: 8,587
Registered: ‎06-29-2007
Message 2 of 3 (104 Views)

Re: Setting Path value of Insert window.

03-03-2012 06:45 AM in reply to: RamanSBV

Hi,

 

mybe I don't understand the question, but the path-field (that I know in the _INSERT dialog) can't be set before you select a file! It does just report the path to the file you have selected. Without selection ... no path of a selection ;(

 

- alfred -

-------------------------------------------------------------------------
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Active Contributor
Posts: 32
Registered: ‎03-02-2012
Message 3 of 3 (103 Views)

Re: Setting Path value of Insert window.

03-03-2012 07:09 AM in reply to: RamanSBV

Do you mean the insert value as in the location of the dialog on the screen?

If so:

 

        '' dialog
        Dim ss As New DiaglogName
        Application.ShowModelessDialog(ss)
        ' Location of window
        Dim x As Integer = ((PrimaryScreen.WorkingArea.Width) / 2) - (ss.Width / 2)
        Dim y As Integer = ((PrimaryScreen.WorkingArea.Height) / 2) - ((ss.Height / 100) * 65)
        ss.Location = New System.Drawing.Point(x, y)

 

Sorry if I missed the point

http://www.designprosoftware.co.uk/

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community