|
Hi,
Be carefull with multithreading, CLOSING, I've experinced the pain.PLAN PROPERLY.
Sujan
|
|
|
|
|
Hello,
MSDN says the following about CSocket and CASyncSocket:
"You should probably consider using CAsyncSocket if you want Windows Sockets' ease of dealing with multiple network protocols in an MFC application but do not want to sacrifice flexibility. You might also feel that you can get better efficiency by programming the communications more directly yourself than you could using the more general alternative model of class CSocket."
So CSocket is a more easy to use class at the cost of some overhead. If you don't need high speed connections, multi network protocols, I'd stick with CSocket.
Hope this helps
Multiply it by infinity and take it beyond eternity and you'll still have no idea about what I'm talking about.
|
|
|
|
|
|
I didn't knew that..
Als an alternative, you can use a Socket class found here on codeproject. There are many here, so it should be easy to find one.
Multiply it by infinity and take it beyond eternity and you'll still have no idea about what I'm talking about.
|
|
|
|
|
I'm using code from MSDN article "Handling HTML Element Events" but DIID_HTMLElementEvents2 interface seems to be undefined.
It's not declared in mshtml.h, only DIID_HTMLElementEvents.
Where is DIID_HTMLElementEvents2 declared?
were rgrtgrtvrtrt rtrtb brt tyuhjghj hbhbnh hnjm 1234567?
|
|
|
|
|
I have write an application, use VC++ connect to Oracle database, and use Crystal Report to view data and print
Any one can help me, how to connect to Oracle and use Crystal report.
thanks.
|
|
|
|
|
The same problem i also have, but instead of Oracle database i am using MS Access as the database. Can Anybode let me know how to get the same thing using MS Access as the database.
I know how to connect to MS Acces database, but what i want to know is how to use Crystal Report to view data and print.
Regards,
Pankaj
|
|
|
|
|
VC++ fronend, MS Access backend with Seagate Crystal Report sample code can be downloaded at
|
|
|
|
|
Where?!?
[insert witty comment here]
bdiamond
|
|
|
|
|
could you , show me where to download sameple code
thank a ton
|
|
|
|
|
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
|
|
|
|
|