Results 1 to 11 of 11

Thread: Can you convert Vb to Webbased app

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    5

    Can you convert Vb to Webbased app

    Hi Guys

    I was wondering if there was any way/method to convert a vb application (it has few forms which talks to a sql server customer database and updates and adds new customer details like first name, last name and address thats it) to web based?

    Ideally i dont want to recode it in ASP plus i want this vb app to be used globally by our headquarters. We have a dedicated server, can i simply convert VB application to webbased and give urls to my subordinate companies so that they can access the application via web/browser.

    Thanks v much in advance and hope to recv a response as soona s possible.

    Regards
    Aly

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    This was asked a couple days ago, I think. As such, no tool exists. You need to design the pages, and you can use most of the existing codebehind for the main functionality. The only other things you need to take care of are the UI elements.

    HTH

  3. #3
    Fanatic Member JPicasso's Avatar
    Join Date
    Aug 2001
    Location
    Kalamazoo, MI
    Posts
    843
    We do this with a lot of our programs.

    even some of our legacy VB4.0 programs.
    (that ain't easy)

    But basically, what the frog said.
    This is one time where good coding practices for code reuse
    become extremely important.



    The good part is, you have job security.
    Merry Christmas

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by JPicasso
    This is one time where good coding practices for code reuse
    become extremely important.

    And it's also a time when you can watch your coworkers literally kick themselves in the butt for not doing it properly


    Btw, I'm not sure if this is even a VB.NET/ASP.NET question. I get a feeling it's VB6 and ASP3...

  5. #5

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    5
    So according to you guys it is possible to convert Vb app to asp by the way of a simple switch in VB ?

  6. #6
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    No, i don't think anyone said that.

    It just makes it easier if you abstracted your data logic from your user interface logic...

  7. #7

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    5
    The problem is logic wise its easier to code a webpage from scratch but some functionalities like priniting Labels, opening up word document form the application and all that seems like a very difficult task to do it on a webbased app.. any thoughts or help?

  8. #8
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Well, your web app can't really open anything on the client's computer without permission. They can upload it to you, you can display it in a htmleditbox or the like.

    What really does your app do?

  9. #9
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by alymoiyed
    The problem is logic wise its easier to code a webpage from scratch but some functionalities like priniting Labels, opening up word document form the application and all that seems like a very difficult task to do it on a webbased app.. any thoughts or help?
    Again, is this ASP.NET or ASP 3.0?

    Anyways, things go a little different with web pages. The user decides when he wants to print, and what to print. The only grace for you is that you can make him a nice report for example. You can give him the labels on a page.

    As for the word doc, it can be 'included' into the browser, so when he clicks on the link to the DOC file, it opens up within the IE window. (And only IE).

    Compromises, but for the better.

  10. #10

    Thread Starter
    New Member
    Join Date
    Jun 2004
    Posts
    5
    Reply to nemaroller's question:

    The app is an accounting package - the package needs to link to ecommerce site the client has. This helps my client save some time inputing orders in thsi package. The package is so stubborn that it cant link in to any webbased app or doesnt allow any csv import or export feature.

    I suggested the client to convert each and every bit of this accounting software and make it webbased.. there are few elements which are difficult to do webbased and i was wondering if i duplicate the accounting package using VB and then if there was an easy switch to convert it to webbased would helo my client.

  11. #11
    Fanatic Member JPicasso's Avatar
    Join Date
    Aug 2001
    Location
    Kalamazoo, MI
    Posts
    843
    There is still no clue as to if this is VB6 or .NET.

    The complexity hinges on how you duplicate his accounting software.

    If you code it correctly (i.e. separate the interface from the
    rules and functions) then it will be less than one huge mess.

    If you don't, you might as well consider writing two separate applications.
    One for stand-alone and one for the web.
    Or, just do it for the web and forget stand-alone.
    Merry Christmas

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