|
hi dude
first of all thanx for ur concern that u have took pain for me.
boss ur knowledge is realy nice.u know now its working.i updated code in my project which u hav snd to me but when i give the path of XML File which is(c:\\file.xml) it show the value in box.but when i use my XML File books.xml it shows me blank box.Why? My File is also in C:\\books.xml.
wierd!!!!!!!!!!!!
dude could u tell me when i use ur file with some path let say..
"E:\WorkingBigBoss\BigBossApp\file.xml." it don't work.yaar what is the funda behind to put the xml file in c: drive cann't we give some path.
thanx once again
i'll wait for ur reply......
byeeeeee
gud day.
Aavesh
|
|
|
|
|
It's not that it'll work only if the xml file is in c:\ if u r copying it in some other folder then u should change the file path u may hav observed that in the sample application which i gave u OnFileNew event handler (in MainFram)
change bstrFileName as
bstrFileName = "E:\WorkingBigBoss\BigBossApp\file.xml"
make sure that u put double slashes here as
"E:\\WorkingBigBoss\\BigBossApp\\file.xml"
also see my xml file, copy the very first line of my file into urs
the line iam talking abt is
<?xml version="1.0"?>
I want u to read xml tutorial given on
www.w3schools.com
|
|
|
|
|
WHat man still STUCKED ???
|
|
|
|
|
hi shoiab
i put the double slash in pah.now its able to read from my folder.it is reading from my file too.
I read the Tute from ur guided site.it helps me more.
but(when this will disappear from my dictionry) its reading the first tag value.
such as my XML File Contents are:-
<crmclientsettings>
<nexthtmlpage>http://sip.net</nexthtmlpage>
<caller>
<Identity>sip:1000892@sip.net</Identity>
<Realm>sip.net</Realm>
<RealName>Swaraj</RealName>
<Username>208500501</Username>
<Password>ion123</Password>
<ProxyServer></ProxyServer>
<Enabler-port>0</Enabler-port>
<StunServer></StunServer>
</caller>
</crmclientsettings>
when i pass the tag name caller.then it give me the detail of Caller detail.if i want indivdual User name then it doesn't work.
what should i pass for (<Caller's><User Name>).
thank u bro i'm able to do this just becoz of u.
byeeeeee
take care
Aavesh
-- modified at 6:56 Tuesday 4th April, 2006
|
|
|
|
|
//what should i pass for (<caller's><user name="">).
Is there any other element called UserName apart from Caller's username???
If no
then simply pass "UserName" to GetElement method if yes, then change the other elements name
or see is there any help given about duplicate element names in that website
how to distinguish them & all other..
Finally congrats... that u at last releaved
|
|
|
|
|
hi (sorry yaar i didn't click on Voted 2 Intestinally)
thanx
don't congrates me yaar it just becoz of u.
Congrates to u too.
as i told u it don't give me UserName when pass only UserName.i'n not getting why?
when i pass caller then it give all the detail.userid,password whatever.
no other element in this inspite of Caller.i think it should work for every tag.....why its not working?
Let see?
what's ur comment.
ok tell me u know DotNet
Aavesh
Aavesh
-- modified at 8:01 Tuesday 4th April, 2006
|
|
|
|
|
No yar I don't know .net
Iam working in MFC VS 2005
but few month before when i started programming in MFC I was not knowing MFC
& now I think I know it little bit
.Net Whats a big deaL??? I can learn it
If u think u can u r right , if u think u can't think over it
Thats what I belive
Oh ur problem , why u r using caller tag remove it & then try passing other tags name
it shud work do some tril & error
ok best of luck
|
|
|
|
|
hi..
no doubt it that u have a gud knowledge.....hats of to u and to ur Confidece.
i know that its not a big deal that is why i'm working on simultaneously two project(one on VC++ & other one is on .Net).
dude.....what r the jobs requirment in pune.
for my problem.....i pass the UserName but not getting...... .
keep in touch
Aavesh
|
|
|
|
|
y don'u send me ur .xml file at my gmail account I'll tell u
tomorrow or if possible today
|
|
|
|
|
|
Please forgive my novity,
I am trying to add buttons to my mfc application. However they show up very basic (old style buttons "as rectangles with straight edges"). I have seen some examples where the buttons are similar to the windows buttons (rounded rectangles). I have tried to change the appearance of the buttons using their properties but I miserably failed
How can i do that ? Thank you
llp00na
-- modified at 8:01 Monday 3rd April, 2006
|
|
|
|
|
Add the manifest file to your project resources to get XP style round edged buttons, provided you are using XP.
Another option is to ownerdraw these buttons.
Nibu thomas
Software Developer
|
|
|
|
|
You can create the object of the CBitmapButton
The button style must be ownerdraw,
load the bitmap and see the fun
code snapets
CBitmapButton m_fun;
m_fun.Create(...); //write appropriate parameters
m_fun.LoadBitmaps(IDB_FUN);
m_fun.SizeToContent();
Knock out "T" from CAN'T
You 'CAN' if you think you 'CAN'
|
|
|
|
|
|
Hi
You can try creating the rounded regions.
Create rounded region use CreateRoundRectRgn and for setting it use SetWindowRgn
Cheers
"Peace of mind through Technology"
|
|
|
|
|
thanx for your suggestions guys ,
As i really dont know which approach to follow, i will need a little guidance from you.
I have tried to create this manifest file, so i read through: *** Click Me *** but i just couldnt find the tab *Manifest File* in the project Property Pages. (I am using visual studio 2003). Does it mean i have to create it manually ??
To the important question now, does this approach impose any downsides ??? or is it better to use the other suggested approaches ???
Thanx to all of you
llp00na
-- modified at 9:52 Monday 3rd April, 2006
|
|
|
|
|
|
CADODatabase Eror
Code=80004005
Code meaning=Unspecified error
Source=Microsoft OLE DB Provider for IDBC Drivers
Description =[MYSQL][ODBC 3.51 Driver]Can't connect to MySQL server on '61.247.251.95'(10060)
I got this error while i connect database from remote system ?
can any one please help me?
JAYARAJ
|
|
|
|
|
|
_T("Driver={mySQL ODBC 3.51 Driver};Server=ist16;"
"Port=3306;Option=4;Database=ist_encoder;Uid=root;Pwd=isakura;");
Is it right?
JAYARAJ
|
|
|
|
|
Try this simple line - it should work just fine:
_T("Database=ist_encoder;Uid=root;pwd=isakura;");
|
|
|
|
|
Does anybody knows good tool with visual support for C++ code reengeneering? maybe there is software where I can do class and methods modelling in visual diagrams and the software are generating code framework for me?
|
|
|
|
|
Oskars wrote: where I can do class and methods modelling in visual diagrams and the software are generating code framework for me?
Hummm.... I have heard the Rational Software do something like this.. but never tried..
|
|
|
|
|
Install Rational Clear Case
never say die
|
|
|
|
|
Rational Rose Technical Developer[^] will do this for you.
It's been on the market for nearly a decade starting out with the Booch method and since 2004 supports UML 2.0.
--
Roger
It's supposed to be hard, otherwise anybody could do it!
|
|
|
|