Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Website Creator Womanizer - Latest project
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Womanizer
Grandmaster Cheater
Reputation: 2

Joined: 30 May 2009
Posts: 958

PostPosted: Tue Feb 16, 2010 12:51 pm    Post subject: Reply with quote

SwallowIt wrote:
Save the textbox text as a html file and load it in a web browser control? Common sense.


Tryed that, didn't work.

Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Tue Feb 16, 2010 12:55 pm    Post subject: Reply with quote

Then you did it wrong. Here's some quick example code(May not be entirely correct)
Code:
webbrowser1.navigate(application.location + "\previewfile.html");
Just use the same technique to save the html file as you do when you save text files, just change the extension to html.
Back to top
View user's profile Send private message
Womanizer
Grandmaster Cheater
Reputation: 2

Joined: 30 May 2009
Posts: 958

PostPosted: Tue Feb 16, 2010 1:03 pm    Post subject: Reply with quote

SwallowIt wrote:
Then you did it wrong. Here's some quick example code(May not be entirely correct)
Code:
webbrowser1.navigate(application.location + "\previewfile.html");
Just use the same technique to save the html file as you do when you save text files, just change the extension to html.


Did that but it shows
Code:
Navigation to the webpage was canceled
   
   What you can try:
     Refresh the page.
 

Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Tue Feb 16, 2010 1:21 pm    Post subject: Reply with quote

Make sure that the application.path is correct. I remember using that before and it had some messed up path.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Wed Feb 17, 2010 6:24 am    Post subject: Reply with quote

SwallowIt wrote:
Save the textbox text as a html file and load it in a web browser control? Common sense.


That or you can use the webbrowsers proberty, which I dont remeber the name of, to set the html.

SwallowIt wrote:
Make sure that the application.path is correct. I remember using that before and it had some messed up path.

Why not
Code:
webBrowser1.Navigate(Application.StartupPath + "\\temp.html");

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites