Click here to Skip to main content
15,913,836 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I change the Color of a Buttons Text? Pin
vcplusplus21-Jan-04 3:42
vcplusplus21-Jan-04 3:42 
GeneralRe: How can I change the Color of a Buttons Text? Pin
SuperRon200321-Jan-04 4:56
SuperRon200321-Jan-04 4:56 
QuestionHow to get keybord messages( such as"Alt +Shift"), when my app have not active window. Pin
Murad19-Jan-04 3:12
Murad19-Jan-04 3:12 
AnswerRe: How to get keybord messages( such as"Alt +Shift"), when my app have not active window. Pin
Anonymous19-Jan-04 4:26
Anonymous19-Jan-04 4:26 
AnswerRe: How to get keybord messages( such as"Alt +Shift"), when my app have not active window. Pin
anunay19-Jan-04 4:26
anunay19-Jan-04 4:26 
AnswerRe: How to get keybord messages( such as"Alt +Shift"), when my app have not active window. Pin
Mike Dimmick19-Jan-04 5:17
Mike Dimmick19-Jan-04 5:17 
GeneralRe: How to get keybord messages( such as"Alt +Shift"), when my app have not active window. Pin
Murad20-Jan-04 2:27
Murad20-Jan-04 2:27 
GeneralRead a DigetScale that is connected to Serial Pin
Tiaan Strydom19-Jan-04 3:08
Tiaan Strydom19-Jan-04 3:08 
Hi My question is: MY program that i wrote is working fine it opens the serial and close it it works fine on a modem BUT when i connect it to the scale it works perfctly.. We have used pascal to do the reading but pascal do not work with windows Xp so have to code in MS visial c++6.

i want to send the scal a character 5 how do i do this in c++?? This is a sample of my pascal program.

PROGRAM SKALE;
USES
Dos, Crt;
CONST
CtrlE=#5; (THIS IS WHAT I WANT TO SEND A CTRLE TO READ THE STRING BACK TO ME!!)
VAR
poort, data: text; {Poort en leer veranderlikes}
junk, gewig: String; {Lees die gewig vanaf skale}
BEGIN
Assign(poort, 'COM1'); {Com2 word gelees vir data}
Assign(data, 'C:\SKALE\IN.TXT'); {Inbrug se data leer}
Rewrite(data);
Rewrite(poort);
Writeln(poort,CtrlE); {Vra skaal vir gewig}
Reset(poort);
Read(poort,junk);
Delay(1000);
Rewrite(poort);
Writeln(poort,CtrlE);
Reset(poort);
Read(poort,gewig); {Lees gewig}
Writeln('Lees ',junk,' vanaf skaal.');
Writeln(data, gewig); {Skryf gewig in leer}
Close(poort);
Close(data);
END.Sigh | :sigh:

Thank you
Tiaan Strydom
GeneralRe: Read a DigetScale that is connected to Serial Pin
valikac19-Jan-04 6:32
valikac19-Jan-04 6:32 
General64-bit compatibility Pin
Vrushali519-Jan-04 2:50
Vrushali519-Jan-04 2:50 
GeneralRe: 64-bit compatibility Pin
Mike Dimmick19-Jan-04 5:15
Mike Dimmick19-Jan-04 5:15 
GeneralCSplitter Windows Pin
Sitaram Sukumar19-Jan-04 2:48
Sitaram Sukumar19-Jan-04 2:48 
GeneralRe: CSplitter Windows Pin
David Crow19-Jan-04 4:31
David Crow19-Jan-04 4:31 
GeneralRe: CSplitter Windows Pin
anunay19-Jan-04 4:34
anunay19-Jan-04 4:34 
QuestionHow to show network machines from Browse button Pin
mpb19-Jan-04 2:31
mpb19-Jan-04 2:31 
AnswerRe: How to show network machines from Browse button Pin
David Crow19-Jan-04 2:38
David Crow19-Jan-04 2:38 
QuestionHow to force a reboot Pin
JaniOrca19-Jan-04 2:16
JaniOrca19-Jan-04 2:16 
AnswerRe: How to force a reboot Pin
David Crow19-Jan-04 2:17
David Crow19-Jan-04 2:17 
AnswerRe: How to force a reboot Pin
JaniOrca19-Jan-04 2:24
JaniOrca19-Jan-04 2:24 
GeneralRe: How to force a reboot Pin
vcplusplus19-Jan-04 4:00
vcplusplus19-Jan-04 4:00 
GeneralClosing dialog Pin
Hans Ruck18-Jan-04 23:57
Hans Ruck18-Jan-04 23:57 
GeneralRe: Closing dialog Pin
22491719-Jan-04 0:39
22491719-Jan-04 0:39 
GeneralRe: Closing dialog Pin
Hans Ruck19-Jan-04 0:47
Hans Ruck19-Jan-04 0:47 
GeneralRe: Closing dialog Pin
David Crow19-Jan-04 2:23
David Crow19-Jan-04 2:23 
GeneralRe: Closing dialog Pin
Hans Ruck19-Jan-04 2:27
Hans Ruck19-Jan-04 2:27 

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.