Running a program freezes my layout tabs

Running a program freezes my layout tabs

GeeHaa
Collaborator Collaborator
406 Views
4 Replies
Message 1 of 5

Running a program freezes my layout tabs

GeeHaa
Collaborator
Collaborator

Hi

 

I wrote a small auto numbering program that works fine only it freezes the layout tabs every time it is run. Hitting regen gets them back, Has anyone else run into this? I am running AutoCAD 2010. The program was written in VB.Net express 2008.

 

Thanks

0 Likes
407 Views
4 Replies
Replies (4)
Message 2 of 5

StephenPreston
Alumni
Alumni

Not a problem I've seen before. Hard to say what you did wrong without seeing any code.

 

Cheers,

 

Stephen Preston

Autodesk Developer Network

Cheers,

Stephen Preston
Autodesk Developer Network
0 Likes
Message 3 of 5

Anonymous
Not applicable
Can you post your code?
0 Likes
Message 4 of 5

GeeHaa
Collaborator
Collaborator

Sorry I couldn't post my code. I feltl I would have to post the whole project. But I found the answer. I was using Form1.showdialog to show the form. If I use Application.showmodaldialog(form1) it doesn't freeze the layout tabs.

 

Thanks

0 Likes
Message 5 of 5

Anonymous
Not applicable
That's correct. You should being using the Autocad application.show..... Dialogs.

They are the correct method for displaying forms. Way to go!
0 Likes