|
and what do you do if office (or even Word) is not installed ?
TOXCCT >>> GEII power
|
|
|
|
|
The idea of having office or word and then making the print outs was one way for the solution to the problem. What you have said is very true, and shouldbe thought over.
Well, as far as i am concerned, i am not aware of it at all. If you can help me out regarding it then please let me know.
Regards,
Pankaj
|
|
|
|
|
in fact, i was waiting for the answer bacause i'm curious of it but... novice... i'm sorry but i can't help on this.
TOXCCT >>> GEII power
|
|
|
|
|
Hi toxcct,
if office is not there means, then we must have to provide another method like creating a text file, placing the data within that, and print.
Sujan
|
|
|
|
|
ok, so i assume you know how to insert advanced formating operations in pure txt files, or better, pictures...
hummm, i don't really think you go the right way.
TOXCCT >>> GEII power
|
|
|
|
|
|
2 posts before, i said : this[^]
TOXCCT >>> GEII power
|
|
|
|
|
Hi,
If I understand correctly the print out is not considered to be entire documents?
Doesn't matter consider following:
Maybe you can choose RTF format for that. The RichEdit Control supports that format, you can print it out from code and Word can open it when you write it to file.
We use it in our product here (@ my job) all the time...
It's also a little easier than automation.
Look on MSDN about rtf codes, printing rtf and the RichEdit controls.
Hope this helps!!
"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
|
|
|
|
|
I used MFC and then I put just three line codes in OnDraw Handler(?)..
void CImgViewerView::OnDraw(CDC* pDC)
{
CImgViewerDoc* pDoc = GetDocument();
ASSERT_VALID(pDoc);
if (!pDoc)
return;
// from here
Graphics g(pDC->GetSafeHdc());
Image img(L"test.jpg");
g.DrawImage(&img, 10,10);
}
I compiled and linked.. it was OK.. but..
This cause runtime error in Image img(L"test.jpg");
I can't figure it out why it happens..
I also added startup and shutdown code..
why?
I'm with VS.net 2003
|
|
|
|
|
bektek wrote:
This cause runtime error in Image img(L"test.jpg");
Does the file exist in the current directory?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
<italic>Work hard and a bit of luck is the key to success.
You don`t need to be genius, to be rich.
|
|
|
|
|
I have VIsual C++ ANd i Was Wondering could i write openGL and driectX in c++ or other library in c++ thank
|
|
|
|
|
Gee, did you do any research of your own before asking this question ?
Of course you can. You just need to install the SDK.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
Can i ask a C++ question on the Visual C++ mesage board on CP ?
TOXCCT >>> GEII power
|
|
|
|
|
No, this forum is only for Visual C++
|
|
|
|
|
yes, untill you have a C++ messageboard on CP
There is no spoon.
mail
|
|
|
|
|
hum, are we only playing with word, or just talking on a "non C++ message board" there ?
TOXCCT >>> GEII power
|
|
|
|
|
|
Is it possible to (programmatically) make a computer's system clock (time) go a set amount faster, like making the computer's clock move 1100ms every real second so that for instance, if I started speeding it up at 10:00:00, the computer's clock reads 10:00:11 while my (correct) watch reads 10:00:10?
|
|
|
|
|
Why would you want to do such a thing ?
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
More precisely, it is to affect Windows timers, so that timer events happen faster than they normally would. Beyond that, I don't know; I'm researching this for someone else, and that's all the info they've given me.
|
|
|
|
|
Since you are not dealing with a real-time OS, events are not going to happen exactly when you specify anyway. For example, the time specified in the call to SetTimer() is the minimum amount of time that must elapse before a WM_TIMER message is sent to your application.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Tell them that they are lost at sea. There is no way this is the right approach to their problem. If they want the timer to fire more quickly, they should lower the interval at which it fires.
Christian
I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
|
|
|
|
|
there are several ways to do this. the best one is manipulating the kernel-mode time management.
Don't try it, just do it!
|
|
|
|
|
Thanks; do you know of any resources or tutorials or source code on that subject?
|
|
|
|