|
|
Hello!
Can somebody please direct me where can I find "file explorer" plugin info? I don't know even how to look. In google I get bunch of "internet explorer" plugin infos (dificulty is they both have explorer in their names).
I want to write simple plugin in C++ that will enable:
- right click in file explorer (three or file pane) and for example "My plugin" option in context menu.
- choosing of that option will enable me doing something on that folder, file, etc.
Can somebody please direct me to MSDN link or some free info on web.
Regards,
Rostfrei
-- modified at 5:04 Thursday 19th January, 2006
|
|
|
|
|
Try your Googlefoo on "Shell Extensions".
Steve
|
|
|
|
|
|
Thank you Stephen and Rage. That's exactly what I needed.
Rostfrei
|
|
|
|
|
I have got a listcontrol,and there are some icons in the listcontrol ,when I select one of the icon ,save it to a file(eg d:\a).
how to implement it ?
Thanks
|
|
|
|
|
Hi all
I am working on a huge project in VC++ . It has approximately 7000 files (*.h + *.cpp + *.uni + *.txt etc) . Is there any way by which I can calculate number of lines in the project folder ?
redindian
|
|
|
|
|
Try CCCC[^].
The two most common elements in the universe are Hydrogen and stupidity. - Harlan Ellison
Awasu 2.2 [^]: A free RSS/Atom feed reader with support for Code Project.
|
|
|
|
|
with or without the comment ?
do you also take in account the sigle lines which contains "} " alone (for example) or only the lines which effectively get compiled...?
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
Just search for line counter in google, get lot with code also
|
|
|
|
|
Try SourceMonitor[^]
---
"Man will never be free until the last king is strangled with the entrails of the last priest". -- Denis Diderot
|
|
|
|
|
I am developping an Add-in based on a CAD software called Autodesk Inventor. my program connects to the Access Database.following is code:
CDaoDatabase *pDb = new CDaoDatabase();
CString dbfilename = _T("DetailedDesign_97.mdb");
pDb->Open(dbfilename);
AfxMessageBox(_T("db opened"));
pDb->Close();
delete pDb;
every thing is ok when I am using the Add-in when the Inventor is running, but when I close the Inventor, an error message box comes out followed by an error to the Autodesk Inventor application.
the error message box is like this:
------------------------------
Debug Assertion Failure
Program: ...\Inventor.exe
file: appcore.cpp
line: 377
........
------------------------------
what surprises me most is that this error happens only when the add-in is copiled in the debug mode, and release is ok.
I have looked up the msdn and find nothing, anybody has any idea?
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
I built a simplest program to test it, the same thing happens.
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
To fix call AfxDaoTerm before your ExitInstance - Says this in appcore.cpp. It is an ASSERT - A check that is only performed in debug builds - This is by design.
Steve
|
|
|
|
|
Thank you very much!!!
-------------------
I am learning C++ and English
|
|
|
|
|
Hey,
I'm drawing a complex custom table with a lot of lines and style. All work fine up to the time i begin to scroll.
I do all my drawing in a memDC and bitblt it after drawing in my DeviceDC. I there any way to draw my table with less flickering?
Thank you for your great help...
|
|
|
|
|
Is it possible that it is an Erase-background problem?
try to use
Invalidate(FALSE) to overwrite the draws (if it is possible for you).
and try to stop the background clear overriding
....::OnEraseBkgnd(CDC *pDC){
return TRUE;
}
Bye
Have a nice code day
|
|
|
|
|
If the other suggestions do not help, your last resort is to draw just the minimum to give the impression of scrolling, and draw the lot properly when the user has finished scrolling your display. (Start a timer, reset it on every scroll, when it times out do a full redraw.)
Shraddhan
|
|
|
|
|
Does Visual Studio 2005 require activation over the Internet before it can be used, or does it just need the Registration code to be entered opon installation ?
|
|
|
|
|
PROCESS_INFORMATION ProcessInfo;
STARTUPINFO StartupInfo;
ZeroMemory(&StartupInfo, sizeof(StartupInfo));
ZeroMemory(&ProcessInfo, sizeof(ProcessInfo) );
StartupInfo.cb = sizeof(STARTUPINFO);
StartupInfo.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW;
StartupInfo.wShowWindow = SW_SHOWNORMAL ;
if(CreateProcess("notepad.exe", NULL,
NULL,NULL,FALSE,0,NULL,NULL,
&StartupInfo,&ProcessInfo))
{
WaitForInputIdle(ProcessInfo.hProcess, INFINITE);
// problem is here not hide...
ShowWindow(GetForegroundWindow(), SW_HIDE);
WaitForSingleObject(ProcessInfo.hProcess,INFINITE);
CloseHandle(ProcessInfo.hThread);
CloseHandle(ProcessInfo.hProcess);
}
|
|
|
|
|
|
You want to hide the application you're launching? Won't this change do it?
StartupInfo.wShowWindow = SW_HIDE;
Steve
|
|
|
|
|
Hi !!
i have a grid in my project. i want to display those grid values in word document. and that table in word document should not be editable.
Can any one please send me the source code for this....
It's very urgent.
Regards,
klvin.
|
|
|
|
|
|
Well I am on a journey to create one of my first files and this thing is driving me absolutely crazy!!!! Well after hours of research just on the program alone, I have came to one of those points where your now at the point that your pulling out each hair from your head one - by - one!!! Anyway I will try to start off with a brief description of the program I am trying to make and the problem I am encountering at the end.
Anyway I was hoping to create a program similiar to Gspot, which can be loctaed here : http://www.headbands.com/gspot/. The program detects the codec you need for the movie, tells you if you have the right codecs, and other information about your *.avi video file. Except I was hoping to take a way a few features and add some. The features I was hoping to add is the ability to also search for *.avi files throughout your computer instead of clicking on each one maually and of course still have the manual one though where you can manaually check a seperate video. One other thing that I was hoping to also add was the ability to then read the information like the video title of the video and send that then over to a database or similiar to what the batch command : dir *.avi /s /b > myMovies.txt that would do. One other rather complex function I was looking at is adding the wininet functions to my program where it will then go to the imdb.com database and search for that movie to find the rating and genre of the video.
Well my question is what library do I need to include for my *.avi files? I have read information over DirectShow and AVIfile. Whenever I try to do a sample program though in my compiler it doesn't like it. Now after about 20-30 minutes looking stuff up on AVIfile I figure out it is a C# class and has nothing to do with VC++(please correct me if Im wrong).I will include some links down at the bottom of additional links to the APIfile use in Microsofts SDK and others I have found. I have also figured out in my long journey that *.avi is a RIFF file format or Resource Interchange File Format. How do I open a dang *.avi file in the program Im trying to make? This is so irritating! I am doing this all in C++(well at least trying). Anyway here are aare a few links about *.avi, APIfile functions, and etc...
AVIfile - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_opening_an_avi_file.asp
AVI OVERVIEW - http://camars.kaist.ac.kr/~jaewon/special/avi/avi.html
AVI RIFF FORM - http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedshow/html/_dxce_dshow_avi_riff_form.asp
Anyway, I hope someone knows, because this irritating the crap out of me. Thanks a lot for any help and let me tell you there is a lot more information than that if you want it, but those were some of the more helpful links.
Raistlin
|
|
|
|