Just to let you know, you spelt characters wrong in the alert() function :)
NeverHeardOfMe wrote:
only alphanumeric charcters, hyphens, spaces
Just to let you know, you spelt characters wrong in the alert() function :)
NeverHeardOfMe wrote:
only alphanumeric charcters, hyphens, spaces
When I select a new image in the properties toolbox to display on a toolbar button, it says "parameter not valid", even though I am using a valid image. I have tried lots of images and none of them seem to work. Is there any way I can fix this problem? I need to finish the program soon.
I'm not using MFC, can I still use __argc and __argv and if so how do i implement them?
I have made a program that reads its own kind of file, which is written in plain text. When I run the program and select to open the file, it reads it perfectly, but how do I make it that when I double click on a file of this type it opens with my program? I have edited the registry and set it as default, but when I double click the file it runs the program with nothing there, the file hasn't loaded. Is there some code I should put into the program to allow it to open the file?
If you're reading this, you're reading my signature - actually, no joke
if i'm using winforms with C++, do I post in winforms or C++??
so how do I use the information returned from the dialog to save the file?
I am making a text editor in C++ and want it to save rtf an txt files. I have made a rich text box called richTextBox1, a toolstrip button called ToolStripButton1 and a save file dialog called saveFileDialog1. I need the save file dialog to save the contents of the rich text box when the tool strip button is clicked. Here is my code so far: private: System::Void toolStripButton11_Click(System::Object^ sender, System::EventArgs^ e) { saveFileDialog1->Filter="Text File|*.txt|Rich Text Document|*.rtf|All Files|*.*"; saveFileDialog1->Title="Save As"; this->saveFileDialog1->ShowDialog(); } How do I make the dialog save the contents of the rich text box?
I will give you a simple example of what I'm trying to do: Text in here will be displayed as normal, but text in here will have a new formatting Is there a way to make a "browser" that reads this kind of markup instead of HTML?
I have made my own XML format which looks a bit like HTML, but I need a browser to read it. The built in browser windows in Visual studio can't read it, so I need to make a simple XML reader that displays the XML like HTML. Is there any very simple open source project I could edit, or is there a simple way to make an XML reader from scratch? Help would be appreciated