|
error is gone when i put it.. but on clicking Help button in dialog html help page is not opening.. ? any clue on what to do ?
harsha
|
|
|
|
|
|
Creating and Using HTML Help in MFC applications
[^]
i am using this onl.. its not happening ..the error i asked intially is coming even when i download this code and run it directly with out any changes in my comp..not able to figure out whats the problem
harsha
|
|
|
|
|
See CWinApp::HtmlHelp[^] but see About the HTMLHelp API Function on this link(pszFile and uCommand )
|
|
|
|
|
Hi
All
I want to change font of Dialog box in VC++ 6.0, so how to use SetFont funtion.So anybody have code to change font of dialog box, plz forward me.
Thanks in Advance
Atul Mahajan
|
|
|
|
|
|
while I try to connect Database using DAO , Iam getting this error
Unrecognized database format ' c:\......\ xxx.mdb '
how to connect the Database ?
plz guide me.
|
|
|
|
|
|
You might also try adding the following line to the InitInstance in your application:
AfxGetModuleState()->m_dwVersion = 0x0601;
Hope that helps.
Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193
|
|
|
|
|
Hi all.
Can I write code that works in Win32 and dont works in Service?
|
|
|
|
|
Can you explain more and provide some details on exactly what you want to achieve?
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
hi.
In my service I use 'CopyFile', 'CreateFile' and some more function that worke
with files and if I try copy, rename or delete some file, My service stoped.
Sow I wont to konw why?
|
|
|
|
|
david bagaturia wrote: In my service I use 'CopyFile', 'CreateFile' and some more function that worke with files and if I try copy, rename or delete some file, My service stoped.
Have you handled the exceptions properly, especially during file handling?
Absence is to love what wind is to fire; it extinguishes the small, it enkindles the great - Comte Debussy-Rabutin
|
|
|
|
|
Yes I have.
But . . .
Sometimes I can copy file, sometimes can't . . .
Sometimes Service works, but max 5 sec.
and sometimes it stops after 1 sec.
But my Service Manager tell me that service is runing.
I write Win32 project and paste thare my code [I use Sellect all ---> copy--> paste] and thare it works. I run this progrum 3 day and Rezult wos 100% but in service rezult is 0%.
Can help?
|
|
|
|
|
Does your service create a log? Have you tried analysing the log for possible causes?
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
I have made menu using staictext control and convert all static text into Hyperlink.
through the following code.
<br />
hwndLnkSignUp = GetDlgItem(hDlg,IDC_STATIC_SIGNUP);<br />
ConvertStaticToHyperlink(hwndLnkSignUp);<br />
Now ,I want replace the existing font of static text with my custom
fonts and style also want to make it transparent.
-- modified at 5:51 Monday 5th March, 2007
|
|
|
|
|
Hello,
I wnat to create my own child windows without document - view architecture.But I am facing problems in understanding fundamental theory relating CMDIFrameWnd, CMDIChildWnd and CView.Is there any article that can explain me the relations and how to go about it.
Prithaa
|
|
|
|
|
I made it in this way :
I derive my own Frame from CMDIChildWnd.
At the construction of this Frame i create the Initial-View with the function "CreateView"
So you don't want to use the Templates?
I also don't use the templates, but i have many troubles. Because if you don't
use the standard-MFC-Way you need to manage yourself all functionalities
( for example that the focus rests on the control if you switch to another application, ... )
So, i'm not really the best to explain you these things.
But if i can help you, i will do my best
|
|
|
|
|
Thanks
For your help
But is there any article that can help
Prithaa
|
|
|
|
|
I started with this arcticle.
My Frame-Class is based (nearby the same) on this example.
http://www.codeproject.com/docview/nodoc_views.asp
I hope it helps you.
|
|
|
|
|
Thanks,
I went through the article. it was good.
Thanks once again
Prithaa
|
|
|
|
|
Hai..
I am developing VC++ application to write data to a pen drive.
Can any one help me how to proceed for it...
I want to move data of any type or complete folders into the pendrive without the help of driver..
Sample code may be more helpful..
Thanks in advance
Regards
vijay
|
|
|
|
|
when pen drive is connected to your system it is recongnized as a regular drive. So i think you can use standard api(for example CopyFile etc ) for writing data.
If u can Dream... U can do it
|
|
|
|
|
Thanks...
But there is no driver in my PC..
That too data should be sent through USB port...
I hope u got me..
Regards
vijay
|
|
|
|
|
Are you working in embedded domain ?
Without any driver (USB ) i think it is not possible, u need to check the usb standards and write a simple driver..
If u can Dream... U can do it
|
|
|
|