Click here to Skip to main content
14,771,570 members
Home » Discussions » Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: C++ Windows Form Application Printing Pin
NotPolitcallyCorrect17-Apr-13 3:42
MemberNotPolitcallyCorrect17-Apr-13 3:42 
GeneralRe: C++ Windows Form Application Printing Pin
eakteam17-Apr-13 6:24
professionaleakteam17-Apr-13 6:24 
GeneralRe: C++ Windows Form Application Printing Pin
NotPolitcallyCorrect18-Apr-13 6:42
MemberNotPolitcallyCorrect18-Apr-13 6:42 
AnswerRe: C++ Windows Form Application Printing Pin
Richard MacCutchan16-Apr-13 22:21
mveRichard MacCutchan16-Apr-13 22:21 
GeneralRe: C++ Windows Form Application Printing Pin
eakteam16-Apr-13 23:55
professionaleakteam16-Apr-13 23:55 
GeneralRe: C++ Windows Form Application Printing Pin
Richard MacCutchan17-Apr-13 3:28
mveRichard MacCutchan17-Apr-13 3:28 
GeneralRe: C++ Windows Form Application Printing Pin
eakteam17-Apr-13 6:24
professionaleakteam17-Apr-13 6:24 
QuestionI get Input string was not in a correct format. error Pin
Søren Lyder Nielsen15-Apr-13 5:12
MemberSøren Lyder Nielsen15-Apr-13 5:12 
I Get this error, when I write a number in my textBox1, and then erase it again.. Then this popup appers:

An unhandled exception of type 'System.FormatException' occurred in mscorlib.dll
Additional information: Input string was not in a correct format.

Code:

private: System::Void textBox1_TextChanged(System::Object^  sender, System::EventArgs^  e) {
             double tysk, ti, femten, tyve, dansk;
             tysk = System::Convert::ToDouble(textBox1->Text);
             
             dansk = tysk * 7.5;
             ti = tysk * 7.5 * 0.90;
             femten = tysk * 7.5 * 0.85;
             tyve = tysk * 7.5* 0.80;
             
             label7->Text = System::Convert::ToString(dansk);
             label8->Text = System::Convert::ToString(ti);
             label9->Text = System::Convert::ToString(femten);
             label10->Text = System::Convert::ToString(tyve);
         }
};


It also appers when I type a letter in the teksBox1.
Otherwise it workd fine.
Its just a simlpe calculator.
AnswerRe: I get Input string was not in a correct format. error Pin
Richard MacCutchan15-Apr-13 5:38
mveRichard MacCutchan15-Apr-13 5:38 
AnswerRe: I get Input string was not in a correct format. error Pin
eakteam17-Apr-13 0:35
professionaleakteam17-Apr-13 0:35 
AnswerRe: I get Input string was not in a correct format. error Pin
Member 1000269911-May-13 1:48
MemberMember 1000269911-May-13 1:48 
QuestionC++ CLR Windows Form Application (Printing to the Printer) Pin
eakteam14-Apr-13 12:58
professionaleakteam14-Apr-13 12:58 
AnswerRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
Richard MacCutchan14-Apr-13 21:59
mveRichard MacCutchan14-Apr-13 21:59 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
eakteam15-Apr-13 0:59
professionaleakteam15-Apr-13 0:59 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
Richard MacCutchan15-Apr-13 1:24
mveRichard MacCutchan15-Apr-13 1:24 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
eakteam15-Apr-13 1:43
professionaleakteam15-Apr-13 1:43 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
Richard MacCutchan15-Apr-13 2:06
mveRichard MacCutchan15-Apr-13 2:06 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
eakteam15-Apr-13 2:33
professionaleakteam15-Apr-13 2:33 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
Pete O'Hanlon15-Apr-13 4:38
mvePete O'Hanlon15-Apr-13 4:38 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
eakteam15-Apr-13 7:00
professionaleakteam15-Apr-13 7:00 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
kklim27-Aug-13 0:07
Memberkklim27-Aug-13 0:07 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
Richard MacCutchan27-Aug-13 4:47
mveRichard MacCutchan27-Aug-13 4:47 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
kklim27-Aug-13 19:40
Memberkklim27-Aug-13 19:40 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
Richard MacCutchan27-Aug-13 21:51
mveRichard MacCutchan27-Aug-13 21:51 
GeneralRe: C++ CLR Windows Form Application (Printing to the Printer) Pin
kklim27-Aug-13 23:47
Memberkklim27-Aug-13 23: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.