|
I think that I saw one example extract audio from video in MSDN exmaples
but sorry i dont know file name
whitesky
|
|
|
|
|
I have written a VC++ Program.
I want it to execute when a clicked on a hyperlilnk.
Can anybody tell me how i can do this?
Thaks in advance.
|
|
|
|
|
Please state your problem more precisely
|
|
|
|
|
I wnat my program to get executed when a click on a hyper lllink in a html file. How can i do this?
|
|
|
|
|
<EXECUTEPROGRAM> MyProgram.exe </EXECUTEPROGRAM>
Look into ActiveX. I am afraid that HTML is of least helpful for your requirement. This has become a browser side scripting question you see. No matter if your program is written in VC++ or C or C#.
|
|
|
|
|
sruti_p wrote: I want it to execute when a clicked on a hyperlilnk.
u mean clicking a link in the Internet explorer?
nave
|
|
|
|
|
|
sruti_p wrote: I want it to execute when a clicked on a hyperlilnk.
Can anybody tell me how i can do this?
Browsers don't allow you to do that. They simply open up a download box where you can click on Open to run it from its current location AFAIK.
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
Try creating an Active-X. Otherwise you'll get the "open,save,cancel" dialog popped.
|
|
|
|
|
I think it is quite difficult to implement, because that is against security settings of the browser.
But there is a lateral way to do that.
1. Create a simple COM dll , and implement a function say Execute() in the dll.
2. In execute function; write the code to start your executable. (use System() or ShellExecute() functions )
3. In your HTML write some client side scripts to Create the COM object and call the Execute() function.
This is my idea to resolve the problem.
-- modified at 0:40 Monday 29th May, 2006
|
|
|
|
|
Hi guys this is rocky...
i m workin on Pocket PC using Windows CE...
workin on the SDK 2005....
i wrote this code....
BOOL bSuccess = FALSE;
if (SUCCEEDED(CoInitializeEx( NULL, 0)))
{
// Now, let's get the main outlook application
if (SUCCEEDED(CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER,
IID_IPOutlookApp, reinterpret_cast<void **="">(&g_polApp))))
{
// login to the Pocket Outlook object model
if(SUCCEEDED(g_polApp->Logon(NULL)))
{
// can't login to the app
bSuccess = TRUE;
}
}
}
it is givin followin errors .....
Contacts.obj : error LNK2001: unresolved external symbol IID_IPOutlookApp
Contacts.obj : error LNK2001: unresolved external symbol CLSID_Application
plz help me out to sort out the problem.......
thnx in advance
Rocky Marrone
|
|
|
|
|
Rocky Marrone wrote: Contacts.obj : error LNK2001: unresolved external symbol IID_IPOutlookApp
Contacts.obj : error LNK2001: unresolved external symbol CLSID_Application
Seems like you are missing one or more library that you may need to have include.
Regards,
Aljechin.
|
|
|
|
|
Chk whether u put the #import statement for the outlook library.
If so chk the .tli file whether the implimentation/declaration of CLSID_Application is available in the .tli file.
hope this will help...Milton KB
|
|
|
|
|
Hi guys this is rocky...
i m workin on Pocket PC using Windows CE...
workin on the SDK 2005....
i wrote this code....
BOOL bSuccess = FALSE;
if (SUCCEEDED(CoInitializeEx( NULL, 0)))
{
// Now, let's get the main outlook application
if (SUCCEEDED(CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER,
IID_IPOutlookApp, reinterpret_cast<void **>(&g_polApp))))
{
// login to the Pocket Outlook object model
if(SUCCEEDED(g_polApp->Logon(NULL)))
{
// can't login to the app
bSuccess = TRUE;
}
}
}
it is givin followin errors .....
plz help me out to sort out the problem.......
thnx in advance <b></b>
Rocky Marrone
|
|
|
|
|
hai
How can Idisable a button at run time depending on the inputs given by the user
Thank u in advance
|
|
|
|
|
Use the EnableWindow function.
Steve
|
|
|
|
|
m_Button1.EnableWindow(0 or 1);
GetDlgItem(IDC_BUTTON1)->EnableWindow(0 or 1);
whitesky
|
|
|
|
|
Map the button to CButton (for ex m_button) using the classwizard.
Now u can use m_button.EnableWindow(TRUE) to enable window or m_button.EnableWindow(FALSE) to disable the button.
|
|
|
|
|
manognya wrote: w can Idisable a button at run time depending on the inputs given by the user
Is EnableWindow Api is of any Help!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
hi
How can we change the color of the caption bar of the dilaog box
Thank you
|
|
|
|
|
There is no such ready to use method that allows you to change the caption bar. You will have to owner draw the items that you would like to change the color of. Look into the examples of code project.
Aljechin
|
|
|
|
|
|
hi,
How can we modify the background color of a button
Thank You
|
|
|
|
|
akshita_15 wrote: hi,
How can we modify the background color of a button
Search MSDN for BS_OWNERDRAW .
Nibu thomas
A Developer
Programming tips[^] My site[^]
|
|
|
|
|
you can derived cbutton and use WM_DRAWITEM of cousre you should change property from button in property window Owner draw to true
whitesky
|
|
|
|