|
Derive u'r class from CWnd and then u can create button-like, radio-like or checkbox-like controls.
Come online at:-
jubinc@skype
|
|
|
|
|
Can i have any samples? I am sorry i can't come online now. I am in my workplace there it is not possible to come online.
-KirriK
|
|
|
|
|
hi
I would kike to know how we can change the buffer size of eicon card for receiving and sending data.
Arun
|
|
|
|
|
hi,
I have to write a function which accepts Xml file (ex:sample.xml) as input and sending it to other function,
Please help me by giving your suggestions.
Thanks in advance.
Siddharth
|
|
|
|
|
siddharthsan wrote: I have to write a function which accepts Xml file (ex:sample.xml) as input and sending it to other function,
do you need FileName or File COntent!
"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
|
|
|
|
|
Thanks
Actually, it should accept the file content as input and it should send it to a parser(other function).
Siddharth
|
|
|
|
|
where do u want our suggessions is it reagarding accepting the file or regarding parser?
KIRAN PINJARLA
|
|
|
|
|
Thanks
Already there is a parser to parse the Xml file but my need is , my function should accept xml file as input and sending it to that parser,question is about accepting the xml file and seding it to the parser.
Siddharth
|
|
|
|
|
as far as i know the parser function takes the xml file path.
So all u need to get is filepath. you can Use CFileDialog to get the file path.
Isn't it?
KIRAN PINJARLA
|
|
|
|
|
hi,
I have to give the Xml file input to the FlashPlayer 7 ,it's having it's own parser(no need for seperate parser),so i dont need another dialog (since FlashPlayer is having it's own dialog).Help me to get a Xml file input for sending it to Xmlparser.cpp(in Flashplayer)
Siddharth
|
|
|
|
|
siddharthsan wrote: Help me to get a Xml file input for sending it to Xmlparser.cpp(in Flashplayer)
You open th eXML file, read it into a string, and call the XMLparsers functions with that string.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
siddharthsan wrote: Actually, it should accept the file content as input and it should send it to a parser(other function).
bool fnAcceptInput(LPCTSTR a_szFileContent);
"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
|
|
|
|
|
Whats meaning send it to other function
|
|
|
|
|
Thanks
After accepting the file , it should send it to a parser to parse that file.
Siddharth
|
|
|
|
|
|
To read /parse the xml file, u can use Tiny XML or XML Document Object Model.
Come online at:-
jubinc@skype
|
|
|
|
|
Don Box wrote: To read /parse the xml file, u can use Tiny XML or XML Document Object Model.
yeah it good.. but i prefer Microsoft XML more as it there would no other dependency on parser code on executable
"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
|
|
|
|
|
Investigate SAX2 parsers. Try starting here[^].
Steve
|
|
|
|
|
Hi
Can anybody tell me how to read and write in to a file in vc++.?
Harsha
|
|
|
|
|
|
|
harsh_2961 wrote: Can anybody tell me how to read and write in to a file in vc++.?
Better try your hand on CStdioFile
"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
|
|
|
|
|
sir,
i am sorry that i was not able to send you people the attachment.
*On Read Button clicked, the cotents in the file (eg: the text in the file) must be displayed in the EditBox and must be able to read and wirte in to that particulaar file which is diaplyed in the EditBox.
*And on Save Button ask the file name to save using FileDialog and Write the File Using WriteFile(), Data Entered in the EditBox
shashank.s
|
|
|
|
|
Where is u'r Question?
Come online at:-
jubinc@skype
|
|
|
|
|
wrote: On Read Button clicked, the cotents in the file (eg: the text in the file) must be displayed in the EditBox
Use CFile::Read() to read the contents of the file.
Show the contents read in the edit box.
Let the user modify the contents in the edit box.
wrote: And on Save Button ask the file name to save using FileDialog and Write th
CFile::Write() to write the contents back to the file.
What is your problem exactly? Reading or writing to the file or something else.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|