Results 1 to 10 of 10

Thread: Entering The Java Jungle...

  1. #1

    Thread Starter
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Entering The Java Jungle...

    ... for cross-platform development. Is it worth it and can it even be done for current high-level VB6 applications with sophisticated 3rd-party controls?

    A sponsor is pushing hard for both Windows and Mac support. I'm getting mixed-bag advice on this. Most say it is virtually impossible today to build complex applications that do the same thing with the same look and feel on both machines. Does Java even have similar VB6 controls?

    In somewhat serious mode, what say you?

    Note to Mods: Please move thread if appropriate. I may have misjudged the salience.
    Doctor Ed

  2. #2
    PowerPoster abhijit's Avatar
    Join Date
    Jun 1999
    Location
    Chit Chat Forum.
    Posts
    3,228

    Re: Entering The Java Jungle...

    Quote Originally Posted by Code Doc View Post
    ... for cross-platform development. Is it worth it and can it even be done for current high-level VB6 applications with sophisticated 3rd-party controls?

    A sponsor is pushing hard for both Windows and Mac support. I'm getting mixed-bag advice on this. Most say it is virtually impossible today to build complex applications that do the same thing with the same look and feel on both machines. Does Java even have similar VB6 controls?

    In somewhat serious mode, what say you?

    Note to Mods: Please move thread if appropriate. I may have misjudged the salience.
    That's the same thing that's happening to the shop where I work. Everything is being switched away from Microsoft technologies.

    To cut a long story short, you can do everything in Java, that you can in VB6.
    There is a steep learning curve.
    Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
    save a blobFileStreamDataTable To Text Filemy blog

  3. #3
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Entering The Java Jungle...

    I doubt you would get the exact same look and feel from Java as you get from VB. Both have been developed from a different base.

    (NB: I'm not criticizing which one is better or worse.)
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Entering The Java Jungle...

    Thread moved to 'General Developer' forum

  5. #5

    Thread Starter
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: Entering The Java Jungle...

    Quote Originally Posted by Pradeep1210 View Post
    I doubt you would get the exact same look and feel from Java as you get from VB. Both have been developed from a different base.

    (NB: I'm not criticizing which one is better or worse.)
    My concern is that the sponsor is heavily entrenched in text files loaded with character attributes, embedded images, tables, charts, etc. and I have found few controls anywhere that can handle this. I have seen nothing in Java that even comes close. The backbone control that I use for VB6 in TxText by The Imaging Source, and that is unavailable for Java.

    To satisfy this need in the past, I always wrote code in two languages--Pascal for the Mac and VB6 for Windows. However, that's not what they want. They want one program that works on both platforms. I think that's virtually impossible.

    Is there any language besides Java that could be used? If not, I will notify the sponsor accordingly.
    Doctor Ed

  6. #6
    VB Addict Pradeep1210's Avatar
    Join Date
    Apr 2004
    Location
    Inside the CPU...
    Posts
    6,614

    Re: Entering The Java Jungle...

    I've heard of a few tools that can convert VB code to Java and vice-versa; never used though. But I doubt they would be ever successful for big things. Maybe you could give a few of them a try before coming to a final decision.
    Pradeep, Microsoft MVP (Visual Basic)
    Please appreciate posts that have helped you by clicking icon on the left of the post.
    "A problem well stated is a problem half solved." — Charles F. Kettering

    Read articles on My Blog101 LINQ SamplesJSON ValidatorXML Schema Validator"How Do I" videos on MSDNVB.NET and C# ComparisonGood Coding PracticesVBForums Reputation SaverString EnumSuper Simple Tetris Game


    (2010-2013)
    NB: I do not answer coding questions via PM. If you want my help, then make a post and PM me it's link. If I can help, trust me I will...

  7. #7
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    Re: Entering The Java Jungle...

    I think you should take a look at Mono. The other day I skimmed through a headline that said you can now develop .Net applications for iPhone and the base was Mono.
    I have not delved deep into it, but think it may help you.

    eDIT: mono page: http://www.mono-project.com/Main_Page

  8. #8

    Thread Starter
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: Entering The Java Jungle...

    Quote Originally Posted by Pradeep1210 View Post
    I've heard of a few tools that can convert VB code to Java and vice-versa; never used though. But I doubt they would be ever successful for big things. Maybe you could give a few of them a try before coming to a final decision.
    However, converting the VB6 code to Java is only the first step. Even if that were by some miracle successful, then you have to make sure that the Mac will swallow all of it.

    Not to mention, I cannot find anywhere a decent text control that runs in the Java environment and even begins to replicate the power of TxText.
    Last edited by Code Doc; Sep 17th, 2009 at 07:41 PM.
    Doctor Ed

  9. #9

    Thread Starter
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: Entering The Java Jungle...

    Quote Originally Posted by rjv_rnjn View Post
    I think you should take a look at Mono. The other day I skimmed through a headline that said you can now develop .Net applications for iPhone and the base was Mono.
    I have not delved deep into it, but think it may help you.

    eDIT: mono page: http://www.mono-project.com/Main_Page
    I have two problems with this, which may not be problems, but could be severe. First, Mono has to be able to handle VB6 code in addition to VB.Net. Otherwise, I have to first translate all my VB6 Apps to VB.Net and make sure that they run before I even start. That could take months all by itself.

    Second, Mono has to be able to handle 3rd party controls, and the backbone of my Apps are TxText--a powerful text box control that handles all character attributes, embedded images, tables, and lots of other features. The .dlls surrounding it are extensive.

    I have written Novell and await their response. If you have any insight into this, please advise.
    Doctor Ed

  10. #10
    Fanatic Member
    Join Date
    Jun 2004
    Location
    All useless places
    Posts
    917

    Re: Entering The Java Jungle...

    I am not sure but I doubt it will support VB6.0. Mono was meant for .Net porting. I know in corporate environments re-doing an existing application will never be approved but if you are going to write it for multiple platforms you'll have to adapt to the newer tools/technologies that help in that {try talking to managers in the language they understand; it's quite interesting a day after the conversation is over }.

    If TxText is written for .Net platform it will work with Mono. For testing the adaptability of applications with Mono you may want to try http://mono-project.com/MoMA

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