|
Does your problem solve with this[^] thread?
|
|
|
|
|
Any idea how to detect if another executable of same application is running and bring it to the foreground ?
Thanks in advance
Thanks,
Anand.
|
|
|
|
|
Anand Todkar wrote: another executable of same application
You can use a mutex object.
- NS -
|
|
|
|
|
|
Thanks mark, it works.
Thanks,
Anand.
|
|
|
|
|
How can I simply read/write specific values from an Excel spreadsheet (e.g. case at Row2; Column2) using C++?
That's all what I need to do and I'd rather not use the cumbersome classes that I've seen posted here.
Help please, I've been stuck on this for ages!!
|
|
|
|
|
Using Excel Automation is by far the easiest method.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Sorry could you please elaborate. I've never heard of that..
|
|
|
|
|
See here.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
How do i check for Eof using a CFile object?????
|
|
|
|
|
gReaen wrote: How do i check for Eof using a CFile object?????
When the EOF is reached, the Read() function will return 0.
|
|
|
|
|
Naveen.R wrote: When the EOF is reached, the Read() function will return...
...a count less than what was asked for, not just 0 .
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I want to create a window through which a user can input say two numbers and this data is to be displayed after some manipulations on a seperate window in a grid. I am new to use VC++ don't know much about MFC. Can anyone give me an idea how should I start...Thank you
|
|
|
|
|
You can do it in a dialog based application. Use two edit controls to get the data.
But what do you meant by "separate window in a grid"?
- NS -
|
|
|
|
|
Sorry I wasn't clear about the grid part...What I meant was like suppose it's the location of two points then to represent it on a X-Y plane...
|
|
|
|
|
Means you need to show a point in graph like control? Then you may have to go for a custom control.
- NS -
|
|
|
|
|
And these editbox must set to number on the property window of editbox.do you want to send result to other window?
|
|
|
|
|
yeah...actually to represent it as in on X-Y plane if the inputs are the locations of a point...
|
|
|
|
|
For show value on the editbox you can use of SetWindowText .
|
|
|
|
|
713minchi wrote: I want to create a window...
If this window is to be created at runtime, use CreateWindow() .
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for, in order to get to the job you need to pay for the clothes and the car and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
Hi,
Is that possible to use MCIWnd or any other Lib to play an avi file that is part of a bigger data file and the starting disk offset is known ?
For example I am trying to make this
copy /b text.txt+movie.avi final.dat /b
This creates a new binary file that is the joint of the files text.txt and movie.avi. I know that text.txt is 10 bytes long and in the 11th byte it starts the AVI movie. Is that possible to play it directly (without extracting it) within final.dat ?
Regards,
sdancer75
|
|
|
|
|
i think DirectShow can help you to do the same.
|
|
|
|
|
Hi,
I wanna make a serialization class in MFC, the class include CString,int,Images(GIF). I am wondering if MFC provides some kind of binary stream function for Images de-/serialization. For me, how to the serialize Images a headache problem. Could any one help me ...
Thanks ,
zran
zran
|
|
|
|
|
Will CArchive class helpful ?
Regards,
Paresh.
|
|
|
|
|
Thanks,
In my opinion CArchive only support TEXT Data like 'CString' 'char' 'int' etc. Images(GIF) is binary Data...
ps: I use vc++6
|
|
|
|