Results 1 to 5 of 5

Thread: [2005] App Conversion Idea

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    11

    [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?

  2. #2
    Addicted Member Gameunreal's Avatar
    Join Date
    Jun 2006
    Location
    gone fishing
    Posts
    249

    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
    -=PATRICK=-
    Using Visual Basic .NET 2005


    If you found a post useful then please Rate it!



    Hidden DOS secret: add BUGS=OFF to your CONFIG.SYS
    A program is a device used to convert data into error messages.
    Programmer's Drinking Song: 99 programming bugs in the code/99 programing bugs/Fix one bug/compile it again/now there's 100 bugs in the code! (repeat until bugs==0)
    All wiyht. Rho sritched mg kegtops awound?

  3. #3
    Lively Member
    Join Date
    Jun 2006
    Location
    City of Angles. Right Angles.
    Posts
    110

    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.

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    11

    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?

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    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
  •  



Click Here to Expand Forum to Full Width