[2005] App Conversion Idea
Let me explain what I am trying to do. I have what is similar to an online textbook written in vb6, where you read some text and can click "shortcut links" to open new vb windows. I am currently using a rich text box for the text and am parsing the click event for the "shortcut links".
Now I want to convert the app to .net and have a windows and web based app. I assumed that replacing the rtb with html would work better for both. The goal is to have only one set of text that can be used for both apps. Is this a valid idea? Is there a better way to do this?
Re: [2005] App Conversion Idea
to convert your application, in windows explorer, open the visual basic 6 project file in visual basic 2005. As it opens, a dialog should appear saying that the file was made in visual basic 6 and so on, and if you want to convert it. click yes and vb2005 should convert the file. good luck!
cheers
patrick
Re: [2005] App Conversion Idea
Quote:
Originally Posted by chief7
Let me explain what I am trying to do. I have what is similar to an online textbook written in vb6, where you read some text and can click "shortcut links" to open new vb windows. I am currently using a rich text box for the text and am parsing the click event for the "shortcut links".
Now I want to convert the app to .net and have a windows and web based app. I assumed that replacing the rtb with html would work better for both. The goal is to have only one set of text that can be used for both apps. Is this a valid idea? Is there a better way to do this?
That sounds like a pretty good way to do it. VB.NET 2005 has a decent browser control based on the IE engine that would work well for this. You can detect links that are clicked and handle them appropriately within the application, and if you are viewing it with a standard browser, you can just have it open the link normally. I've done this before with a weather website. Of course, I didn't publish the content, but if the user was using my customized browser, things like Radar windows or records were opened in a different object in my browser instead of just loading a new page in the main browser. It's basically the same concept, if I understand your question correctly. :)
Re: [2005] App Conversion Idea
I have tried that but the app is quite extensive and it resulted in many errors. So I have decide to completely rewrite the software. Any ideas on my original question?
Re: [2005] App Conversion Idea
Rewrite the VB6 app to use a webbrowser control and use the html version in both apps.
Or rewrite the VB6 app so that it can be used as a cgi program, and use it on the web page and as the standalone app.