|
-
Jun 22nd, 2006, 10:22 AM
#1
Thread Starter
New Member
[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?
-
Jun 22nd, 2006, 10:39 AM
#2
Addicted Member
-
Jun 22nd, 2006, 12:12 PM
#3
Lively Member
Re: [2005] App Conversion Idea
 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.
-
Jun 22nd, 2006, 12:13 PM
#4
Thread Starter
New Member
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?
-
Jun 22nd, 2006, 02:12 PM
#5
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.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|