|
Hi All,
I want to insert smiley faces in the Rich Edit Control (like Yahoo Chat)...can anyone help me in this issue..
just tell me how to load the smiley and display it in the Rich Edit control.
Thanks in advance,
Shiva
|
|
|
|
|
If you had used google, you would have found at least two articles:
http://www.codeproject.com/cs/miscctrl/csexrichtextbox.asp
http://www.codeproject.com/cs/miscctrl/MyExtRichTextBox.asp
|
|
|
|
|
hi,
I'm working in .NET 1.1 and I've been given an application built in MFC and I need to generate some XML log files. I wanna use the XMLtextwriter class but as far as I see it, it doesnt allow you to add a namespace suchas
using namespace System::Xml;
So what should I do?? is there some way I can use the XmlTextWriter class in an MFC application?
Thanks in advance
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
|
XmlLite is looking like some thing quite helpful I'm exploring it nnow.. lets see what happens then,
thanks again George!
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
well I've downloaded and installed the XmlLite upgrade for WinXp and I've also seen the info abt using Xmllite over MSDN online. The problem I'm facing now is that all the samples given over there are for VS 2005 whereas I'm using VS 2003 and I tried to run the sample but its not getting the 'xmllite.h' file. I've searched for it but its no where to be found!! but the interesting thing is that xmllite.dll is there in the System32 directory.
All I wanna do is to use the IXmlWriter Interface to write the XML document. but HOW DO I DO IT IN VS2003?? Thats the big question???
Any suggestions??, samples?
Thanks
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
well I just found the answer myself , Its the Windows SDK for Vista! Thats what I need. and its 1187.5MB
Why in the world do i have to download the whole thing just to use xmllite.lib and .h files??
Isnt there anyway I can do the work with downloading this whole thing?
Rocky
You can't climb up a ladder with your hands in your pockets.
|
|
|
|
|
Hi,
Let suppose, there is an exe file and it has a certain output at console. Is it possible to read that console output anyway?
I would appreciate the suggestions.
Wali
|
|
|
|
|
Please don't cross-post. Posting your question in the appropriate forum is sufficient.
Mark
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
|
Why you asked this question again on this forum?
|
|
|
|
|
|
Hi, I am using Visual Studio 2005 C++/CLI. I posted this before with no responses so maybe no one knows. I want to use an existing Form from another project (I don't want to recreate the 50 controls on the Form). I can include the Form into my project but if I then try to modify the Form from the Solution Explorer by right clicking on the form name and selecting 'View Designer', I can't because this option is not available to me like it is with the Forms that I created in this project. Can Forms AND their design views be copied from one project to another?
Thanks
Buck
|
|
|
|
|
What you are talking about may be possible but it might be better asked in a Visual Studio forum since your question deals more with a VS feature. IMHO, the relationship between C++/CLI and the View Designer can be broken with little effort.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Thanks for the reply, I will check that out.
Buck
|
|
|
|
|
Hi Buck,
I see two approaches that should work:
if the form you want to copy is the only form in its project (or constitutes the majority of
the existing project), I would use Windows Explorer and duplicate the entire folder containing
project, source files, and resources; then choose a new folder name and open the copied
project, modifying what needs to be changed, and adding what you want to add.
if the form you want to copy is to become something other than the main form of an
existing project, I would simply copy all the related files (myform.cs, myform.Designer.cs,
myform.resx) to the new projects folder, then add these "existing items" to the project,
then modify what needs to be modified.
Whatever approach you choose, if you want to rename the form's class and/or the form's
file name(s), I would do it using Visual, not in Explorer nor by editing the project files.
Hope this helps.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
Luc,
Luc Pattyn wrote: would simply copy all the related files (myform.cs, myform.Designer.cs,
myform.resx) to the new projects folder
You must have C# on your mind!
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Sure, but then I figure C++ can't be lagging that much
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
The designers in C++/CLI are one or more version behind C#. In .NET 1.0, there was no Windows Forms Designer. If you change the name of the form's class without making other manual changes, the designer will cease to work.
"We make a living by what we get, we make a life by what we give." --Winston Churchill
|
|
|
|
|
Hi George,
I was not aware of that, but then I don't use C++ very much.
Thanks for the info.
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google
|
|
|
|
|
BuckBrown wrote: I don't want to recreate the 50 controls on the Form
Perhaps you shouldn't develop a form with 50 controls on it?
|
|
|
|
|
how do a person run an outside exe(application) inside a C++ form?
like making is a child thread of that form?
thanks in advance
|
|
|
|
|
I use System::Diagnostics::ProcessStartInfo. Ex below
<code>Diagnostics::ProcessStartInfo ^pInfo;
if ( String::IsNullOrEmpty(SoundString) == false )
{
if ( System::IO::File::Exists(SoundString) == true )
{
pInfo = gcnew Diagnostics::ProcessStartInfo();
pInfo->Verb = "play";
pInfo->FileName = SoundString;
pInfo->CreateNoWindow = true;
pInfo->UseShellExecute = false;
Diagnostics::Process::Start(pInfo);
}
else
LogDebugInfo(String::Format(L"SoundString file {0} does not exists", SoundString));
}
else
{
LogDebugInfo(L"SoundString string was empty");
} </code>
Programmer
Glenn Earl Graham
Austin, TX
|
|
|
|
|
i need a project on c++. can somebody suggest me a web site from where i can avail a good one.
|
|
|
|
|