|
Use any icon creation programs like
Axialis Ax-Icons
Awicons
MicroAngelo
Awicons is my favorite.
Sorry all are shareware. But 30 days is enough for creating an icon.
Hari Krishnan
|
|
|
|
|
DanYELL wrote:
How can I take a nice looking bitmap and make that into
a icon, rather than using that little 32x32 box that
Visual C++ forces the developer to create icons with?
Perhaps by reading up on, and downloading code for, high quality scaling? Google is your friend.
Give a man his food and he'll be back tomorrow for more. Teach him how to fish and he's self-sustained.
|
|
|
|
|
I need to make program, that will open given video file in any
format for which the system has installed codec.
All I need to do is getting the movie length in seconds.
How to do this in most simple way ?
I don't know anything about direct show, and I won't study
whole the thing because I don't need more than getting
movie length.
Does anyone have piece of code for this, or idea where to
start ?
Thank you
rrrado
|
|
|
|
|
Hi There!
Probably the best (quickest) way to do this is using the IMediaDet interface in DirectShow.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/htm/usingthemediadetector.asp
This article talks about retrieving all sorts of information from a media file - assuming that the codec is installed on the machine we should be able to work out the stream time. Perhaps someone else has some code which will do this straight away for you.
Good Luck!
|
|
|
|
|
Hi,
I have an application which contains a lot of OCXs. The Problem is that an OCX is loading twice. How can I prevent that an OCX or a Dll is loading more then once?
Any idea?
thanks,
Walter
|
|
|
|
|
This is one of those problems that demands lateral thinking. The OCX is being loaded twice,
because it is being *asked* to...
The solution depends on *why* you want to prevent it from loading twice. You could let it
load multiple times, but only on the first instance let any calls succeed.
Or you could go the brute force way, and set DllMain to return FALSE when being attached to
by a second process. How you detect this is another question. Involving shared segment, or
memory mapped files, etc.
Iain.
|
|
|
|
|
Hi Iain,
Thanks for your answer.
The same OCX is loaded twice in the same process.
I detected it in the Developer Studio->Debuger->Modules…
How can I ask/prvent an OCX to load twice?
We have a Framework, I think the Framework call the OCX twice but I don't know why
If the same OCX is loading twice in the same process, I have a problem with the “AFX_MANAGE_STATE(AfxGetStaticModuleState( ))” because it gets a different address for the same OCX.
What can I do to have only an OCX in the process?
Tanks a lot
Walter
|
|
|
|
|
... you know - the dialog box that come up when runtime calls abort ? DrWatson doesn't dump anything. Is there some kind of try-catch thing I can put somewhere? I can not use debug build and/or debuger - it's at clients site
Urgent... Please help!
|
|
|
|
|
Hi,
I have a tapi application which drives the voice modem. After dialing I would like to get an indication whether the call was connected (LINE_CALLSTATE with param1 equals LINECALLSTATE_CONNECTED) or if the call was disconnected and why (for example line is busy).
I do know how to use the messages that are generated and sent to my callback function.
I dial the number using lineMakeCall. The last parameter for this function is the CALLPARAMS. Whenever I set the dwMediaMode of the CALLPARAMS to LINEMEDIAMODE_DATAMODEM I get an indication for why the call got disconnected (in case of an error) but I never get an indication that the call is connected (if no error occurred). When I change it to LINEMEDIAMODE_INTERACTIVEVOICE I get the other way around (only success indication).
Any idea how I can get both notifications?
thanks,
Liat.
|
|
|
|
|
Here's what my code section is:
"mailto:abc@abc.com?Body=WHATever..."
Result in Outlook 2000 and 98:
Body --> WHATever
Result in Outlook 97:
Body --> whatever
Anyone please let me know why Outlook 97 convert letters from upper case to lower case? Is mailto only work for Outlook 98 and after?
|
|
|
|
|
This question belongs in the Web Development forum, as it is nothing to do with Visual C++...
Repeat offenders suffer the WRATH OF !
That said, you might want to try enclosing your BODY in quotes. Or just use lower case the
whole time, in which case you won't care!
Iain.
|
|
|
|
|
Iain Clarke wrote:
Or just use lower case the whole time, in which case you won't care!
That's really helpful...
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Ryan Binns wrote:
That's really helpful...
I try, I really do!
Enough work, it's time to go to the pub and have a now...
Iain.
|
|
|
|
|
|
Tab order is the Z order of the controls. From memory, I think items that appear earlier in the Z order (i.e. 'beneath' other controls) are earlier in the tab order.
You can adjust the Z order with the SetWindowPos function.
|
|
|
|
|
Yes. The tab order in the resource editor simply becomes the order in which the controls are
created. The order in which they are created is reflected in the Z order of the child windows.
So:
void CMyDialog::OnChangeTabOrder ()
{
CWnd *pWnd1 = GetDlgItem (IDC_EDIT1);
CWnd *pWnd2 = GetDlgItem (IDC_EDIT2);
pWnd1->SetWindowPos (pWnd2, 0,0,0,0, SWP_NOMOVE | SWPNOSIZE);
}
would put IDC_EDIT1 immediately after IDC_EDIT2 in the tab order. This assumes they each have the
WS_TABSTOP style set, else TAB would skip over them. WS_GROUP is something else to be careful about.
Clear?
Iain.
|
|
|
|
|
Hello, I am just wondering if Visual Studio.NET will work with Windows XP Home Edition
Thanks,
-Mike
|
|
|
|
|
|
hello,
Do you think MS released VS.NET back in 1995 ?
Ask whether it runs on win98.
Hari Krishnan
|
|
|
|
|
It won't let you do asp.net pages if you need to on home, as it can't run IIS.
|
|
|
|
|
jspano wrote:
It won't let you do asp.net pages if you need to on home
Thank Goat! How can I disable all of its other useless crap?
|
|
|
|
|
Mike Nordell wrote:
Thank Goat! How can I disable all of its other useless crap?
Like what? Vb.net?
|
|
|
|
|
Hi,
I still can not figure this out, was wondering if anyone had suggestions.
I have a modeless window and a modal window, each having their own window option that when selected bring up the corresonding window. The modal window has radio buttons on it, so when a specific reaio button is selected and ok is entered, it will display the modless window.
When I select the menu to bring up the modeless window it works fine, only opens one window or sets focus to it if it has not been created. When I select the modal window and check the appropriate radio it will display the modeless window regardless if it is created already. It will just continue to duplicate the modeless window.
Can someone help me out so that it will set focus on the open window and not diplicate it.
currently I am using this code in the OnOK method.
if (!m_pCommandOpt)
{
m_pCommandOpt = new CMainCommand(this);
if (m_pCommandOpt->Create(IDD_MAIN_TAB_DIALOG) == TRUE)
{
GetDlgItem(IDOK)->EnableWindow(FALSE);
m_pCommandOpt->ShowWindow(SW_SHOW);
}
}
else
m_pCommandOpt->SetActiveWindow();>
THANKS in advance.
|
|
|
|
|
Hi,
I have no idea, whar the clas CMainCommand is about, but nevertheless your code must fail.
You create a new insatance of this class in OnOk() so this new instance surely doesnot know anything of windows/dialogs/form created prior to its creation.
Thus Create(IDD_...) will always return true, because in the class instance of CMainCommand no flag or so is set to indicate that this dialog has been created already.
Two possible solution. Try to get the applications pointer of its CMainCommand instance, and use this pointer.
Or send/post the command to the application as if the user has selected the dialog via the menu.
Regards
G.Steudtel
|
|
|
|
|
Hi Friends,
I want to calculate the recent net connection speed through application program. Can i use Socket for this?
If you have any solution regarding this then please tell me.
Bye
Thanks
|
|
|
|