cancel
Showing results for 
Search instead for 
Did you mean: 

Problem windows form modal in SAP BO

Former Member
0 Kudos

Dear all.

I have a problem.

I developed an Add-on to show a windows form. The windwos form call the

Cyristal Report's viewer. The form is call in a separeted Tread:

Dim mySC As New Class1

designThread = New System.Threading.Thread(New System.Threading.ThreadStart(AddressOf mySC.Disegna))

designThread.Name = CR_REPORT_NAME_SCAD_COD_CLI

designThread.ApartmentState = System.Threading.ApartmentState.STA

designThread.Priority = Threading.ThreadPriority.Highest

designThread.Start()

Now it happens that :

the first time I run the form that's OK, but if i try to run it again without stopping the application there is an error not clearly specified.

Additionally the first time , when all seems Ok,

the form is not bring to front

(i used the property topmost=true and the method showdiagol).

CAN YOU HELP ME??? THANKS

Accepted Solutions (1)

Accepted Solutions (1)

Eneveux
Product and Topic Expert
Product and Topic Expert
0 Kudos

Antonio,

In the SAP Business One forum for the SDK, ie. this forum, in the forum "Search" on the main page, type in "crystal". You will see many posts that may help assist with you question that you can read through.

Hope this helps,

Eddy

Answers (0)