.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting Path value of Insert window.

2 REPLIES 2
Reply
Message 1 of 3
RamanSBV
307 Views, 2 Replies

Setting Path value of Insert window.

 

Hi,

 

Using .Net code

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

 

 

Please advise.

 

Regards,

Raman

2 REPLIES 2
Message 2 of 3
Alfred.NESWADBA
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 ... blog.hollaus.at ... CDay 2024
------------------------------------------------------------------------------------
(not an Autodesk consultant)
Message 3 of 3
DesignProQuig
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/

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost