IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> FR hangs while trying to export
magneto
post Aug 12 2014, 06:38 AM
Post #1


Newbie
*

Group: Members
Posts: 3
Joined: 12-August 14
Member No.: 60192



Hi, I use the newest fastreport.mono with Windows.

I have a really simple example with just a footer in it and i Register no data für the Export.

My issue is, that fastreport is not responding and won't show the SaveFile-dialog after choosing an Export to file type.

With Fastreport.net it works perfectly fine, with mono not. It does not matter which Export type I choose.

What could be the reason for not showing the SaveFile Dialog?

regards
Go to the top of the page
 
+Quote Post
magneto
post Aug 12 2014, 07:37 AM
Post #2


Newbie
*

Group: Members
Posts: 3
Joined: 12-August 14
Member No.: 60192



i know why it hangs.

I tried it out in a simple console application. it Showed me in VisualStudio an exception that the main procedure must be marked as STAThread. Compiled -> it hangs as described.

Ok but i cannot Change my application to be STAThreaded. what Solutions exist? (I really dont want to start a new STA Threaded exe to avoid this)
Go to the top of the page
 
+Quote Post
magneto
post Aug 12 2014, 08:21 AM
Post #3


Newbie
*

Group: Members
Posts: 3
Joined: 12-August 14
Member No.: 60192



I created a new Thread and Set apartmenttype to STA.
It Runs.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Time is now: 18th June 2019 - 01:13 AM