|
|
Subj (I need properties window like in Explorer).
|
|
|
|
|
I'm not on my Dev machine right now, so you might have to change some of the names of the members of the SHELLEXECUTEINFO struct.
SHELLEXECUTEINFO a_stInfo;
memset( &a_stInfo, 0, sizeof( a_stInfo ) );
a_stInfo.cbSize = sizeof( a_stInfo );
a_stInfo.lpVerb = _T("properties");
a_stInfo.lpFile = _T("C:\\YourFile.ext");
a_stInfo.fMask = SEE_MASK_INVOKEIDLIST;
ShellExecuteEx( &a_stInfo );
Chris Richardson
Programmers find all sorts of ingenious ways to screw ourselves over. - Tim Smith
|
|
|
|
|
I'm supporting multiple platforms and want to make sure that the person who creates our CE installation package doesn't put a DLL for a MIPS device on an ARM device.....yeah I know I shouldn't have to do this, but I found that none of the correct files were on the device after a couple hours of trouble shooting.
Ideally I could read part of the DLL from the device and determine which platform it is supposed to run on.
Ideas??
Thanks,
Paul
|
|
|
|
|
Hi,
I want to change the font of code in my VC++6.0 IDE, but the font I wanted not listed in VC++6.0 IDE, how to realize my dream??????
Thanks a lot
Extreme programming. Do the No.1
|
|
|
|
|
stevenson wrote:
how to realize my dream??????
You need to dream a bit harder....
Is the font installed on the PC ? I can't imagine why it's not in the list, if it is.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
There is no Font such as Courier New in the list! and no Verdana. But they shows in Word2000. how to crack this????
Extreme programming. Do the No.1
|
|
|
|
|
I suspected something like what PJ has said but was not sure. I'm missing why it's so important though....
Either way, it sounds like it cannot be done.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
One can only use fixed width fonts in the VC6 IDE. Which font do you want to use? It is probably a variable width font.
CPUA 0x5041
Sonork 100.11743 Chicken Little
"So it can now be written in stone as a testament to humanities achievments "PJ did Pi at CP"." Colin Davies
Within you lies the power for good - Use it!
|
|
|
|
|
Hi,
There are only two Font, one is Fixedsys and the other is Terminal, no more thing. It's rather boring to use only two fonts.
Extreme programming. Do the No.1
|
|
|
|
|
I like the left dragdown style in XP "My Computer",Who could tell me how to do it? Thanks
|
|
|
|
|
Please tell me as long as you know!
I along to found the answer of the question!
I can connection the database for DataGrid,i want to get current point
record!
thanks!^_^
|
|
|
|
|
Which datagrid? Ms Datagrid that is used with VC6 ?
C_Recordset::GetCursorLoacation
Mazy
"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
|
|
|
|
|
Hi
I wrote a dialog based program using mfc. When I run it from another computer, the program indicates "can not find mfc42.dll, mfc042.dll....." Does anyone know how to compile the program so that these dll files will be included?
thanks
|
|
|
|
|
Project / Settings / General
change Microsoft Foundation Classes to the "Use MFC in a static library" option.
-c
A conclusion is simply the place where someone got tired of thinking.
|
|
|
|
|
I think you can create a setup package.
I am I,Who is who,I am who,Who am I
|
|
|
|
|
It depends on the version of VC you have - Standard will not allow you to bind statically, although I believe there are articles about on how to do that anyhow. In any case, the alternative is to ship the dll's.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Christian Graus wrote:
the alternative is to ship the dll's.
aren't the dlls shipped with some of the OS (ie. Win98, Win2000) ?
what I really mean, is there a good way to know if your program will work on a certain OS. for example, say I write a program using Visual C++ 6 (MFC), will it run on Win95,98,2000 without shipping the mfcXXX.dlls ?
TIA
Soliant | email
"The 'B' in Visual Basic means Beginner" - R. Bischoff
|
|
|
|
|
I don't believe they are ever shipped, but they are often there. You simply cannot count on them though, I learned that with the first release of viewbuild. You need to also find out if you use any C run time functions, if you do, you need msvcrt*.dll as well.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
When I navigate the web with HtmlView,how to get the clicked link's URL before OnNewWindow2 enent fire.
|
|
|
|
|
|
Here is a twist (that is hanging me),
I have created a modeless Property Sheet. I now want to add pages at run time (remove pages then add pages) so that my property sheet has at most 2 pages at one time.
THE PROBLEM IS that I get an error when I try to do this. The debugger replys that a window handle is null (0x00000).
If I create the sheet and add the pages in while in the Sheet's constructor, I don't get an error. But if I try to add a page during run time, I get an error. What is wrong and how can I correct this? Please help.
Here is what I want:
Page 0 (zero) -- page that will be swapped in/out
Page 1 -- page that always appears. Must be the right most page (on tab)
I have my callbacks in CMainFrame class and I have done the modeless Property Sheets before -- when pages are not removed/added dynamically.
Thanks in advance for the help. Code snipet follows
Johnny
void CMainFrame::OnModelessPropSheet()
{
CBasicEventPage pageBasicEvent;
CPageBlue pageBlue;
/********** // 11/12/02 - dynamic add/removal of pages not yet working
int nPageCount;
// Remove both pages (event and the Basic Event Data)
nPageCount = m_pSheetManEvents->GetPageCount();
for (int i=0; i < nPageCount; i++)
m_pSheetManEvents->RemovePage(i);
// Add pages back in (starting with Blue and then Basic Event Data)
m_pSheetManEvents->AddPage(&pageBlue);
m_pSheetManEvents->AddPage(&pageBasicEvent);
m_pSheetManEvents->SetTitle("Insert Blue", 0);
**********/
if (m_pSheetManEvents->IsWindowVisible())
{
m_pSheetManEvents->SetFocus();
}
else
{
m_pSheetManEvents->ShowWindow(SW_SHOW);
}
}
|
|
|
|
|
How can I count the comment lines,function numbers and function lines in C/C++ file.
I am I,Who is who,I am who,Who am I
|
|
|
|
|
Use GetLine to read a line at a time, then parse each string for comments or function declarations, etc. I'd do it in C#, because then you can use Regular Expressions, which would have to help.
Christian
No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Really??I want to use the regular Expression too.But I am not familar with it.Can you show me the example.
By the way,I can use the regular expression in VC6 ,so I do't have to use C#
I am I,Who is who,I am who,Who am I
|
|
|
|