Click here to Skip to main content
16,016,425 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Deselecting ComboBoxes Pin
darkelv18-Feb-08 5:41
darkelv18-Feb-08 5:41 
GeneralRe: Deselecting ComboBoxes Pin
Brady Kelly18-Feb-08 6:00
Brady Kelly18-Feb-08 6:00 
GeneralRe: Deselecting ComboBoxes Pin
Patrick Etc.18-Feb-08 7:30
Patrick Etc.18-Feb-08 7:30 
QuestionHow to create a new text filename if it exists in window forms using C#net Pin
sivaram praveen17-Feb-08 19:59
sivaram praveen17-Feb-08 19:59 
GeneralRe: How to create a new text filename if it exists in window forms using C#net Pin
Miss Maheshwari17-Feb-08 20:04
Miss Maheshwari17-Feb-08 20:04 
GeneralRe: How to create a new text filename if it exists in window forms using C#net Pin
Patrick Etc.18-Feb-08 7:25
Patrick Etc.18-Feb-08 7:25 
GeneralRe: How to create a new text filename if it exists in window forms using C#net Pin
Christian Graus20-Feb-08 13:39
protectorChristian Graus20-Feb-08 13:39 
QuestionThreadStateException Pin
johland16-Feb-08 22:47
johland16-Feb-08 22:47 
Hi
I have a main form which opens a thread that opens a new form.
in the new form i'm trying to open an OpenFileDialog.
when i'm trying:
"if (projectFormOpenFileDialog.ShowDialog() == DialogResult.OK)"
when running at debug mode i'm getting:
"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 declared [STAThread] in the mainform function that opens the new form, also on the event that invokes the openfiledialog function.

help on this will be most appreciated
thanks,
Yohay
GeneralRe: ThreadStateException Pin
Patrick Etc.17-Feb-08 5:39
Patrick Etc.17-Feb-08 5:39 
GeneralRe: ThreadStateException Pin
johland18-Feb-08 0:29
johland18-Feb-08 0:29 
GeneralProblem with Parent Child Data Binding Pin
Brady Kelly16-Feb-08 7:52
Brady Kelly16-Feb-08 7:52 
GeneralRe: Problem with Parent Child Data Binding Pin
Marc Clifton17-Feb-08 2:05
mvaMarc Clifton17-Feb-08 2:05 
GeneralRe: Problem with Parent Child Data Binding Pin
Brady Kelly17-Feb-08 2:31
Brady Kelly17-Feb-08 2:31 
GeneralRe: Problem with Parent Child Data Binding Pin
Marc Clifton17-Feb-08 2:40
mvaMarc Clifton17-Feb-08 2:40 
GeneralCommon Features and Functions Across Forms Several Forms Pin
Brady Kelly16-Feb-08 1:36
Brady Kelly16-Feb-08 1:36 
GeneralRe: Common Features and Functions Across Forms Several Forms Pin
Luc Pattyn16-Feb-08 1:46
sitebuilderLuc Pattyn16-Feb-08 1:46 
GeneralRe: Common Features and Functions Across Forms Several Forms Pin
Brady Kelly16-Feb-08 2:24
Brady Kelly16-Feb-08 2:24 
GeneralRe: Common Features and Functions Across Forms Several Forms Pin
Luc Pattyn16-Feb-08 2:36
sitebuilderLuc Pattyn16-Feb-08 2:36 
Generaltimer problem Pin
Miss Maheshwari15-Feb-08 20:08
Miss Maheshwari15-Feb-08 20:08 
GeneralRe: timer problem Pin
Christian Graus16-Feb-08 11:37
protectorChristian Graus16-Feb-08 11:37 
GeneralRe: timer problem Pin
Navneet Hegde25-Feb-08 23:36
Navneet Hegde25-Feb-08 23:36 
GeneralParsing problem string to int Pin
RanaSohail15-Feb-08 5:00
RanaSohail15-Feb-08 5:00 
GeneralRe: Parsing problem string to int Pin
Colin Angus Mackay15-Feb-08 5:15
Colin Angus Mackay15-Feb-08 5:15 
GeneralRe: Parsing problem string to int Pin
Luc Pattyn15-Feb-08 7:56
sitebuilderLuc Pattyn15-Feb-08 7:56 
GeneralRe: Parsing problem string to int Pin
RanaSohail15-Feb-08 20:06
RanaSohail15-Feb-08 20:06 

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.