|
sorry, here's the link
http://www.geocities.com/jcynion/jcynion_codes.htm
|
|
|
|
|
Thanks you vey much, but i live in VietNam, so the proxy
not allow me to go out ( especially geocities.com)
could you send to me that code
thank a ton
|
|
|
|
|
sorry, here's the link
http://www.geocities.com/jcynion/jcynion_codes.htm
|
|
|
|
|
I get an error "the library PDBDAO.DLL could not be found" when i show or print report.
|
|
|
|
|
How would I go about subclassing a textbox to have a transparent. I'm stumped by this one. I can draw a differnt background but i cannot make the textbox transparent.
|
|
|
|
|
|
I am using vsflexgrid 8 . and in it i want to change cell color based on
cell's value if it is more then some value then color is red same way i want to
use check box in vsflexgrid.
please help me
|
|
|
|
|
Can someone explain why the value 0.930 is changed then it is set in visual c++, and how I can do if I only want three decimals?
double d=(double)0.930;
//d=0.93000000000000005
float f=(float)d;
//f=0.93000001
|
|
|
|
|
Same reason DWORDs can store bigger numbers than WORDs.
doubles take up more memory, so can stored your number with greater precision.
Unless your number is coincidentally neat, a decimal fraction is unlikely to be stored perfectly in binary.
If you wany three decimal places, you can either print only three:
printf / CString::Format ("%.3lf", dValue);
Or stored your number as an integer, but remember to multiply / divide by 1000 when appropriate.
Iain.
|
|
|
|
|
Hi...I am new to this forum..this being my first message.
I am working on a project in which i want to do billing. I have seen in various stores that the window in which they enter the values, it is not the same when the printout comes out, it is having some other format.
Can i Know how to print our own customised views while entering some data in a window ??
Pankaj
|
|
|
|
|
What is the format? Where do you print?
<italic>Work hard and a bit of luck is the key to success.
You don`t need to be genius, to be rich.
|
|
|
|
|
Thanks a lot for replying so soon to my problem. Since i am new i was wondering what will happen to my problem.
As you asked...
1. I will be printing on a dot matrix printer.
2. regarding the format, so i am unable to tell since i am not getting what you exactly mean by it ?
Please do specify so that i can clear the picture.
Thanks...
|
|
|
|
|
Hi,
One simplest way is to use word automation. You can move the data into a word document programatically, and do the printing. If needed we can give the generated output to the user itself b4 printing.
Sujan
|
|
|
|
|
Hi,
Thanks for your reply...
I had the same thing in my mind, but do not know how to do this thing programatically. can you please help me out how to code this word automation. All what is to be done will be that some values have to be exported to the word document where our format of the printout will be ready. And from there we will have to fire the print out somehow.
I know the procedure, but how to code all this is not known by me. Please help me out.
Thanks,
Pankaj
|
|
|
|
|
|
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"
|
|
|
|