|
Did you saw this exmple ?i think its good for you
whitesky
|
|
|
|
|
I am creating a XML file by using IXMLDOMNode and I am setting value to the node by using the function put_nodeValue(). But whenever I pass & it gets converted to &
Similarly if I pass > it gets converted to >
How to overcome this problem
Is there any escape seqeuence that should be added before passing value to the put_nodeValue().
Pls help
|
|
|
|
|
The put_nodeValue method converts '&', '<', and '>' characters to their XML escape sequences & , < , and > , respectively. Instead of 'pre-converting' them, just pass the characters.
Software Zen: delete this;
|
|
|
|
|
No its not converting > and < its converting only &
If I pass > then only & gets converted and resultant node value is &gt;
|
|
|
|
|
If you are passing the characters & g t ; , it is converting the initial '& ' and then treating the rest of the characters literally. Instead of passing the string & for an '& ' character, just pass the '& ' character itself.
Software Zen: delete this;
|
|
|
|
|
It works fine for & but not for other special charaters like > , < etc
I need a solution to parse special characters other than &
I will get data like ><, where I have to set the exact value to that node.
|
|
|
|
|
hi,
I want to have a List Ctrl in which i can Lock the scrolling of some Columns
& want the others to move with the Movement of Scroll bar of Listctrl.
I tried to solve this Problem by using two Listctrl (placing them side by side)& a Horizontal scroll below them but i am not able to get a clean selection... there is always a white spce b/w them when i select a fullrow in both ctrls Row. ?????????????????????????????
Vinod C S
s/w engineer
|
|
|
|
|
hi,
I have a video format called .cam.In this format,the filename,its version are stored in header and picture info and audio info are stored in data.
I can able to retreive the picture info and also able to get all pictures using DIB class.
Now i want to extract audio from the video(.cam).
Is there any class to extract audio?
Can i able to extract and store the audio as .wav file..
I am helpless..please giv me idea
Thanks in advance
Sunita ramesh
|
|
|
|
|
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
|
|
|
|