Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem windows form modal in SAP BO

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

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question