Results 1 to 9 of 9

Thread: Mono develop or convert VB.net?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Posts
    751

    Mono develop or convert VB.net?

    It seems to me at this point that you have 2 options in getting a VB.net
    project to run under mono.


    (1) Convert your VB program to C# -- run moma or just go ahead and try the
    C#.net code with mono.

    I did that and getting close except for some errors to work out.

    or --

    (2) Use mono develop and actually either write the code in VB.net (or copy and paste my exisiting VB.net code)?

    I wonder if there are any advantages to method #2 ? (probably?)

    Especially considering it's actually being compiled by mono?

    I (of course), especially like the copy and paste idea.

    Thanks for any answers.

  2. #2
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: Mono develop or convert VB.net?

    Does Mono suport VB.NET? To the best of my knowledge, only C# has been ported over. I don't think MS has released VB specs to the open source community. So, if it were me, I'd probably use C# right from the get go, develop and do initial debugging in VS, then copy the files over to Mono and compile there.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Posts
    751

    Re: Mono develop or convert VB.net?

    If you look at mono develop (version 2.0 -- the latest), when you open
    "start new solution" the template lists VB.NET at the bottom and gives you
    the choice of empty, console or GTK.

    Just like the C# choices.

    I understand there are limitations with it's VB.NET? -- but wondering if
    the approach I asked about is something that anyone has done and can compare?

    If I find the time today, I thought I might copy and paste some simple
    code into it and see about the "error" situation.

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Mono develop or convert VB.net?

    Hey,

    Mono does support VB.Net, it is just that the C# support is more mature:

    http://www.mono-project.com/Visual_Basic

    Gary

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Posts
    751

    Re: Mono develop or convert VB.net?

    Gary --

    Do you know what I'm getting at here?

    If I try to put my VB code INTO mono develop and have it compile, rather than
    using a converter (developer fusion etc) to see if the resultant C# will run under mono....

    Do you think I may have better results?


    (Of course, I guess I'll just have to shut up and try it).

  6. #6
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Mono develop or convert VB.net?

    Hey,

    I can't say that I have ever tried using VB.Net which mono, however, theory states that it should work.

    Have you directly running the VB.Net assembly directly against mono? Does it not work? If so, what does Moma say that isn't supported?

    gary

  7. #7

    Thread Starter
    Fanatic Member
    Join Date
    Jun 2007
    Posts
    751

    Re: Mono develop or convert VB.net?

    Just to finish the thread -- I decided to try Gambas and just rewrite the
    project for Linux.

    Too much of a headache with mono -- although it came very close -- I
    just don't have the gray matter right now to decipher and fix the errors.

    Besides, I'd still have to use mono with Linux whereas with Gambas or C# I can just have Linux run it, period.

  8. #8
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Mono develop or convert VB.net?

    Hey,

    I hadn't heard of Gambas before. Was it any good?

    Aside from the whole VB issue that you are having, how does it compare to MonoDevelop in terms of usability?

    Gary

  9. #9
    Lively Member
    Join Date
    Apr 2010
    Posts
    121

    Re: Mono develop or convert VB.net?

    I think gambas is a language like vb.net or c++ or c#.

    Jduncanator

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