Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert image format Pin
Guffa8-Oct-07 12:31
Guffa8-Oct-07 12:31 
GeneralRe: convert image format Pin
cmarmr9-Oct-07 2:38
cmarmr9-Oct-07 2:38 
QuestionComparing type Pin
lsconyer8-Oct-07 9:54
lsconyer8-Oct-07 9:54 
AnswerRe: Comparing type Pin
led mike8-Oct-07 10:01
led mike8-Oct-07 10:01 
AnswerRe: Comparing type Pin
Luc Pattyn8-Oct-07 10:01
sitebuilderLuc Pattyn8-Oct-07 10:01 
AnswerRe: Comparing type Pin
Pete O'Hanlon8-Oct-07 10:11
mvePete O'Hanlon8-Oct-07 10:11 
AnswerRe: Comparing type Pin
Nissim Salomon8-Oct-07 10:19
Nissim Salomon8-Oct-07 10:19 
QuestionFolderBrowserDialog and ThreadStateException Pin
Saamir8-Oct-07 9:42
Saamir8-Oct-07 9:42 
Hi guys,
I am totally stuck on this one, please help!!! I just migrated my application from VS2003 to VS2005 and when I try to open a folder browser dialog box it gives me the following message:

Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process.

I have tried adding the stathreadattribute, did research, etc but no luck.

PLEASE HELP!!!!!



Sameer

QuestionRe: FolderBrowserDialog and ThreadStateException Pin
TJoe10-Oct-07 8:53
TJoe10-Oct-07 8:53 
QuestionSetup Pin
half-life8-Oct-07 8:23
half-life8-Oct-07 8:23 
AnswerRe: Setup Pin
Pete O'Hanlon8-Oct-07 9:48
mvePete O'Hanlon8-Oct-07 9:48 
GeneralRe: Setup Pin
il_masacratore8-Oct-07 21:26
il_masacratore8-Oct-07 21:26 
QuestionInfragistics UltraWinGrid control Pin
umashankergr88-Oct-07 8:18
umashankergr88-Oct-07 8:18 
JokeRe: Infragistics UltraWinGrid control Pin
karthick.n.mca8-Oct-07 21:09
karthick.n.mca8-Oct-07 21:09 
GeneralRe: Infragistics UltraWinGrid control Pin
umashankergr89-Oct-07 0:27
umashankergr89-Oct-07 0:27 
QuestionCheck Registry for Key Pin
andyr20058-Oct-07 7:33
andyr20058-Oct-07 7:33 
AnswerRe: Check Registry for Key [modified] Pin
Kristian Sixhøj8-Oct-07 7:41
Kristian Sixhøj8-Oct-07 7:41 
AnswerRe: Check Registry for Key Pin
Guffa8-Oct-07 7:42
Guffa8-Oct-07 7:42 
GeneralRe: Check Registry for Key Pin
andyr20058-Oct-07 8:00
andyr20058-Oct-07 8:00 
GeneralRe: Check Registry for Key Pin
Scott Dorman8-Oct-07 8:35
professionalScott Dorman8-Oct-07 8:35 
GeneralRe: Check Registry for Key Pin
Anthony Mushrow8-Oct-07 8:37
professionalAnthony Mushrow8-Oct-07 8:37 
GeneralRe: Check Registry for Key Pin
andyr20058-Oct-07 9:06
andyr20058-Oct-07 9:06 
GeneralRe: Check Registry for Key Pin
Scott Dorman8-Oct-07 9:13
professionalScott Dorman8-Oct-07 9:13 
GeneralRe: Check Registry for Key Pin
andyr20058-Oct-07 9:24
andyr20058-Oct-07 9:24 
GeneralRe: Check Registry for Key Pin
Scott Dorman8-Oct-07 9:47
professionalScott Dorman8-Oct-07 9:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.