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 MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Special "reference" nessecary in Visual Basic 2010 Express , if a journal containing Block

Status
Not open for further replies.

lklo

Industrial
Joined
Nov 24, 2010
Messages
226
Location
DK
hi

I have tried to compile a journal build through the BlockStyler template ,( which is created by Block UI Styler ,when a new dialog is created.)
I have added a lot vb commands so that the Journal will work with the dialog.
My dialog and journal (vb format) Works well.

But I´ll try to compile it to a dll.

But it look´s like that all the commands in the journal that have something to do witk Block Styler ,is not recognized by Visual Basic 2010 Express
.
Do I need to add a "special" reference in my projekt because the journal contains the " Imports NXOpen.BlockStyler

lklo
 
Try adding "Imports NXOpenUI".

Hope this helps.

Frank Swinkels
 
HI

Frank - Of course , your right. I´ved missed that.

I´ve added the NXOpen´s reference´s from another projekt (without BlockStyler).

Now when I add "NXOpenUI.dll" everything is alright.

(It´s a script to launch a dialog which enables the user to set partattributes ,
used for Auto fill TitleBlock via Drafting Mastermodel setup)

lklo
 
 http://files.engineering.com/getfile.aspx?folder=d286b93c-398e-4ec3-963e-6939f34a1731&file=dialog.pdf
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top