Visual C++ menu

Shout-Out

User Tag List

Thread: Visual C++

Results 1 to 3 of 3
  1. #1
    jsmb768ypl's Avatar Member
    Reputation
    7
    Join Date
    Dec 2008
    Posts
    17
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Visual C++

    Hi i made a program with Visual C++ For a webbased game, Evony.com

    Its simple that has webbrowsers already open that open to the server i play on (so no typing is needed) It also opens Richtextboxes.

    My problem is,
    1) Richtextboxes dont save when the program closes
    2) Is there a way to make it so the webbrowsers open when i press a button
    3) How can i make the exe have the .ico file i want it to

    Ive googled but havent found what im looking for, any help would be great.

    Visual C++
  2. #2
    jsmb768ypl's Avatar Member
    Reputation
    7
    Join Date
    Dec 2008
    Posts
    17
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    private: System::Void saveToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
    			 SaveFileDialog^ dig = gcnew SaveFileDialog();
    			 dig->Filter = "TextFiles|*.txt";
    			 if(dig->ShowDialog() == Windows::Forms::DialogResult::OK)
    		 {
    			 System::IO::File::WriteAllText(dig->FileName, m_WriteLine->Text);
    			 }
    		 }
    private: System::Void openToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
    			OpenFileDialog^ dig = gcnew OpenFileDialog();
    			dig->Filter = "TextFiles|*.txt";
    			if(dig->ShowDialog() == System::Windows::Forms::DialogResult::OK)
    		 {
    			 m_WriteLine->Text = IO::File::ReadAllText(dig->FileName);
    			}
    		 }
    I have this code to make a file/save/open button for my textbox but when i compiled i got errors (if needed i can post) I think its something wrong with my code. Please let me know.

  3. #3
    Barnzy's Avatar Member
    Reputation
    67
    Join Date
    Jun 2008
    Posts
    302
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Return a value rofl, I dunno wait to see if an expert ansews
    Made a little website: https://unbanservice.webs.com/ -

    mmowned.com

Similar Threads

  1. [Emu] In druid forms without the visual
    By Barlas the Death Knight in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 12-24-2007, 12:09 AM
  2. Druid form without visual!!!
    By Barlas the Death Knight in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 11-27-2007, 06:14 PM
  3. microsoft Visual Studios ERROR help PLEASE
    By Nextgenerationrepack! in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 10-10-2007, 04:07 PM
  4. Visual Traveler Cracked
    By NeonMonkeys in forum World of Warcraft Bots and Programs
    Replies: 44
    Last Post: 08-22-2007, 04:58 PM
  5. Visual Basic, I have an idea.
    By WoWLegend in forum World of Warcraft Bots and Programs
    Replies: 14
    Last Post: 11-11-2006, 02:36 PM
All times are GMT -5. The time now is 11:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search