|
Do you have a question to ask ? If not, spam in the forum is not welcome.
|
|
|
|
|
sorry,
i think u didn't see my question
my question is coding in vc++ but looks like this
<emp>
<name>abc
<adress>marathahali
biswajit nayak
|
|
|
|
|
That doesn't like coding in any lanquage that I recognize and I still don't see a question.
WHAT IS YOUR QUESTION ?
|
|
|
|
|
Ah.. I see you haven't received the new Code Project mind reading unit yet. Don't worry, you'll have it soon!
--
Raaaaaaaaaaaaaaaaaaaaa!
|
|
|
|
|
Joergen Sigvardsson wrote: Ah.. I see you haven't received the new Code Project mind reading unit yet.
ummm...is this something one has to order, or should I receive mine automatically?
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Think and you shall receive!
--
Raaaaaaaaaaaaaaaaaaaaa!
|
|
|
|
|
If I had my Code Project mind reading unit I would have known that!
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
Maybe his question is hide or transparent
|
|
|
|
|
WhiteSky wrote: Maybe his question is ... transparent
Yeah, but we'd see right through that...
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
ooh - that's a groaner.
|
|
|
|
|
Do you have any question or no?
|
|
|
|
|
i want to set a path in config file, and use it to init
GetOpenFileName() dialog , so user only visit the sub-directory of it , can not go upper level via press up button. how to implement it ?
|
|
|
|
|
|
it is SHBrowseOfFolder(), i want GetOpenFileName(), to select file, not directory
|
|
|
|
|
GetOpenFileName() lets you set a 'hook' function. Inside that hook function, you would need to intercept and prevent navigation outside the desired directory structure.
Software Zen: delete this;
|
|
|
|
|
hi all i need to write a routine where i need to know the speed of the internet at any given time. i.,e the actual speed the user is getting from his provider, i have referred the article,"traffic watcher"from codeproject.com but i cudnot run it .
thanks in advance
regards
sudhir m
|
|
|
|
|
sudhir.marni wrote: i cudnot run it .
Why not? What happened?
|
|
|
|
|
Hey Friends
I am writing a program in which i have IP address but i need to know Server Name.
Is there any way in c++ to acheive that?
Regards
|
|
|
|
|
Hey Vikrant,
try gethostbyaddr
MSDN gethostbyaddr[^]
Jubjub
"If you're too careful, your whole life can become a f---in' grind." - Mike McD ( Rounders)
|
|
|
|
|
I need to send an XML document to a web service running Apache Axis. I have been attempting to POST it using XMLHTTP:
HRESULT hr = CoInitialize(NULL);<br />
...<br />
IServerXMLHTTPRequestPtr pXMLHTTPReq = NULL;<br />
hr = pXMLHTTPReq.CreateInstance(__uuidof(ServerXMLHTTP40));<br />
hr = pXMLHTTPReq->open( _bstr_t("POST"), bstrURL, _variant_t(VARIANT_FALSE) );<br />
CComBSTR xmlString;<br />
m_spXMLDoc->get_xml( &xmlString );
hr = pXMLHTTPReq->setRequestHeader(_bstr_t("Content-Type"), _bstr_t("text/xml; charset=utf-8"));<br />
hr = pXMLHTTPReq->setRequestHeader(_bstr_t("SOAPAction"), _bstr_t(""));<br />
hr = pXMLHTTPReq->send( (_variant_t)xmlString );<br />
long status = pXMLHTTPReq->Getstatus();<br />
_bstr_t bstrResponse = pXMLHTTPReq->GetresponseText();<br />
...
Before I added the line:
hr = pXMLHTTPReq->setRequestHeader(_bstr_t("SOAPAction"), _bstr_t(""));
I was connecting but getting a No Soap Action error. But having added ths line when execution tries to run at that line it raises an exception. I would appreciate any advice anyone can give me on how I can POSt xml through to an Apache Axis web service successfully.
|
|
|
|
|
Hi,
I want to change the font of context menu items and it's sub menu items.
How to do it?Should I use owner drawn context menu?If so then can I have any snippet of code for it?
With Regards
Neeraj Sinha
|
|
|
|
|
Neeraj Sinha wrote: How to do it?Should I use owner drawn context menu?
That should work!
See the section "Creating Owner-Drawn Menu Items" here: Using Menus[^]
For possible code samples, maybe CodeProject articles like
How to create owner drawn menus - Step by Step[^]
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|
|
|
How can I retrieve text from a static text control
that has wrapped the text , I want to get the
text with the line breaks that the control added ,
or I would like to know the number of lines
the wrapped text is printed on . I would also
want to know what text is not displayed because
it has "overflowed" off the viewing area .
Thanks for reading this .
Davey
|
|
|
|
|
I don't see any way to get this info from a static control. The wrapping is probably done
at the time the text is rendered.
You could parse the text yourself and calculate wrap positions using GetTextExtentExPoint()
and render the text youself.
Mark
"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder
|
|
|
|