ShellExecute(NULL,"open","about:blank",NULL,NULL,SW_SHOW); or keybd_event(0xac,0,0,0); keybd_event(0xac,0,KEYEVENTF_KEYUP,0);
zhang800605
Posts
-
WinExec() Function -
File EncryptionThere are general way to Encrypt . chinese web http://www.sfcode.cn/soft/00262.htm[^]
-
mfc in vistaFind out MFC42D.dll , and copy to system32 directory .
-
Write a string find and replace programThere is shell script to do string find and replace for any text file in liunx . You can find the code of liunx , may be help to you .
-
Slider CtrlWhether is his meaning ON_WM_MOUSEMOVE/WM_MOUSELEAVE messages on slider movement .
-
how to read data from xls file?There are many way to read and write xls file in this website. http://www.codeproject.com/info/search.asp?cats=2&searchkw=xls&Submit1=Search&author=&sd=15+Nov+1999&ed=27+Jun+2007[^]
-
BIOS AccessSorry. source code http://www.vckbase.com/code/findcode.asp[^] chinese
-
Displaying text on a Dialogsorry for my poor English . It can't use variable directly in Resource file . If you want to do that , you can use a static content which ID isn't IDC_STATIC , and use SetWindowText to contrl the static content that you want to display in the dialog CPP. LTEXT "Select",IDC_STATIC_NAME,.... ... //dialog cpp ... GetDlgItem(IDC_STATIC_NAME)->SetWindowText("...");
-
BIOS AccessSorry for my poor English . I find some info about BIOS develop . But I don't try it . http://www.supfly.net/x00/2006-02/1753.htm[^] Chinese http://www.codeproject.com/useritems/WMIQuery.asp[^] English
-
BIOS AccessSorry for my poor English . Press del key after the check of hardware , and then you would come into BIOS setup interface .
-
Random Child Menus in the Desktop ApplicationSorry for my poor English. Are you develop in multiple documents ? The menu will change according to the different view in multiple documents .
-
Passing a pointer to a function/dynamic memory allocationstruct FooStruct { int aFoo, bFoo; }; int GetFooList(FooStruct * & pFoos) { // Find out the max foos we're going to have pFoos = new FooStruct[MaxFoos]; return MaxFoos; }
-
Disable soundsSorry for my poor English . You should study the hooks . If you search the hook as the keyword in this website, you could find something.
-
Software failing when distributedSorry for my poor English. Is it the issue of debug version and release version ?
-
Disable soundsSorry for my poor English . There is a way to resolve this issue , but I didn't try it . That is to write a monitor-program hook all playsound funtion and make it(playsound funtion) disabled for the process.
-
SQL transaction rollback problemSorry for my poor English . I can't tell you the reason of error . It is different in debug and release , so you can debug in release state . Project settings -> link -> Generate debug info (selected) Project settings -> C/C++ -> Debug info(select program database) Project settings -> C/C++ -> Optimizations(select disable(debug)) Then pass F5 to run program used for debug . 我不能够告诉你错误的原因。debug 版本和 release 版本是不同的,你可以在release状态下调试。你做如下设置 Project settings -> link -> Generate debug info (selected) Project settings -> C/C++ -> Debug info(select program database) Project settings -> C/C++ -> Optimizations(select disable(debug)) 然后就可以f5进行运行调试了。
-
VistaSorry for my poor English . Common users can't copy and delete the file because of the rights restricted in vista . http://www.codeproject.com/useritems/VistaKTM.asp[^] Your issue may be solved in this article .
-
How to resolve Run time Error ?Here is a program, in the release version, there is a "Run time Error" appreared some times, I can get the module name and the address of the function, but the address is an Invalid value. It is not occured either in the debug version or release version with debug information, and it is not occured anytime. when I press the debug button, it will not show the debug enviorment but just shut down the program. It is an ActiveX program I wrote and the error occured when it is being created. How can I find out the reason of this bug and how to debug in this situation? Thank u!
-
Copy folders along with subfolders in C++SHFILEOPSTRUCT FileOp; FileOp.hwnd=m_hWnd; //设置句柄 //设置操作方式,拷贝用FO_COPY,删除用 FO_DELETE FileOp.wFunc=FO_COPY; FileOp.pFrom="E:\\11"; //源文件路径 FileOp.pTo="E:\\22"; //目标文件路径 FileOp.fFlags=FOF_ALLOWUNDO; //允许恢复 FileOp.hNameMappings=NULL; FileOp.lpszProgressTitle="copy"; //设置标题 SHFileOperation(&FileOp); //执行外壳拷贝
-
Copy folders along with subfolders in C++int SHFileOperation( LPSHFILEOPSTRUCT lpFileOp );