|
|
Hi
I want to load a text file using web browser on dialog box.Is there any possibility of doing this ? Can you tell me how please?
-- modified at 6:12 Wednesday 24th May, 2006
|
|
|
|
|
RahulOP wrote: I want to load a text file using web broser on dialog box.
What do you mean exactly ??
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
RahulOP wrote: I want to load a text file using web broser on dialog box.
Yeah why not. Are you getting any errors?
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Nibu thomas wrote: RahulOP wrote:
I want to load a text file using web broser on dialog box.
Yeah why not. Are you getting any errors?
Ok,modified my orginal question. Actually I have no idea how to even go about it. A friend remarked that i should use but that's about all i know.
|
|
|
|
|
RahulOP wrote: Ok,modified my orginal question. Actually I have no idea how to even go about it. A friend remarked that i should use but that's about all i know.
Ok.
You can use CRichEditCtrl or CEdit to show the contents of a text file instead of using a Web browser control for that purpose.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
oops.I knew i forgot something.I also need to be able to display JPEGs in the same box .I would like to use the Microsoft Web browser Activex
|
|
|
|
|
RahulOP wrote: oops.I knew i forgot something.I also need to be able to display JPEGs in the same box .I would like to use the Microsoft Web browser Activex
Ok!
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
In the following code, I am trying to switch between monitor and printer as the default output device. (The code is executed in a server and the client is a dumb terminal. Hence the server instructs the client to print by switching the output device) I have some binary data(unsigned char) which I can dump into the printer buffer and it will print some meaningful text. If I write this data to a file, then read it and print it (The following code) it works. I dont want to use a file. I want to print it from that buffer in which I have the binary value. I the data is automatically converted to unsigned int or something when its written into file. How do I achieve this?
<br />
int main(int argc, char *argv[])<br />
{<br />
int ch;<br />
FILE *fp;<br />
<br />
fp=fopen(argv[1], "r");
<br />
ansi_printer_on();
<br />
while ((ch=getc(fp))!=EOF)<br />
{<br />
putc(ch,stdout);<br />
}<br />
fclose(fp);<br />
<br />
ansi_printer_off();
<br />
return 0;<br />
}<br />
|
|
|
|
|
how can i transfer each page of documents in microsoft word format to tiff image?
thanks.
jacklin
|
|
|
|
|
Try Canon's new copier series. They can scan to TIFF images.
|
|
|
|
|
sorry! what i mean is to realize this by myself with c++ code
|
|
|
|
|
Print them to a PostScript-File, then use a PS-To-Tiff-Converter.
Or did you really expect me to answer with 50000 lines of conversion code for DOC-files?
|
|
|
|
|
can u tell m , how can realize this with less c++ code, using more third-party code. thanks very much
|
|
|
|
|
Lakshmi_p wrote: How can i get the colored window in the required shape.
What do you mean? You want to change the background color?
Override OnEraseBkgnd(...) and return TRUE . This should do it.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Where is question!?
whitesky
|
|
|
|
|
|
yeah but ist not clear question
whitesky
|
|
|
|
|
Hai
I am using serial port application.Is it possible for me to find the status of (high or low voltage etc)different pins (Tx) in a serial port.
Please give me a solution.
Jeeva
|
|
|
|
|
Take a look at GetCommModemStatus[^] function.
BTW, why do you want to retrieve the status of these lines ? Is there any particular reason for that ?
You know that you can automatically have hardware handshaking supported (so that you don't need to manage that yourself) ?
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
Hai Cedric
Actually My problem is that,I am creating a programmer for implementing SPI Protocol using any three pins of serial port,I want to set as well as clear that pins( especially Txd pin).
Please help me...
Jeeva
|
|
|
|
|
I don't think this is a good solution to implement SPI protocol over the serial port. You'll need to have very strict timings and as windows is not a real-time operating system, you'll never be able to achieve those timings.
Cédric Moonen
Software developer
Charting control
|
|
|
|
|
Hi all!
I am trying to run an EXE file, by calling CreateProcess() API and filled up the all requirements as below:
BOOL retvalue = CreateProcess(ExePath ,Params, NULL, NULL, FALSE, 0, NULL, tempStr, &StartupInfo, &ProcessInfo);
And getting exitcode of process as below:
GetExitCodeProcess(hProcess,&ExitCode);
It return 128 or sometimes 259.
And my EXE doesn't run.
On seraching in google i found some answers and set desktop heap in widows registry to 512. but all answers didn't help me.
Can anyone sort out the problem.
regards,
Zia
|
|
|
|
|
try this
<br />
PROCESS_INFORMATION ProcessInfo;<br />
STARTUPINFO StartupInfo;<br />
<br />
ZeroMemory(&StartupInfo, sizeof(STARTUPINFO));<br />
<br />
StartupInfo.cb = sizeof(STARTUPINFO);<br />
StartupInfo.dwFlags = STARTF_USESHOWWINDOW;<br />
StartupInfo.wShowWindow = SW_SHOWMAXIMIZED;<br />
<br />
CreateProcess(NULL, <br />
"Notepad.exe", <br />
NULL, <br />
NULL, <br />
FALSE,<br />
DETACHED_PROCESS,<br />
NULL,<br />
NULL,<br />
&StartupInfo,<br />
&ProcessInfo);<br />
whitesky
|
|
|
|
|
In a network , if I give a system name , how to get the IP address of that system. Is there any MFC class to find that?
Ayesha
|
|
|
|