[mono-vb] Any vb.net tutorials for vb.net in the linux mono?

Quandary quandary82 at hailmail.net
Mon May 17 15:08:26 EDT 2010


Well, first, you can compile your application under Visual Studio, and 
let the compiled executable run on Linux, that way you can avoid 
MonoDevelop completely.

Second, mono doesn't come with a WinForms editor integrated. If you 
don't want to use Visual Studio, you need WinForms-Designer.
http://www.mono-project.com/WinForms_Designer

Normally, all you need to do to get .NET windows code running on Linux 
is remove windows specific commads/API invocations (such as user 
credentials), and replace moron's work of hardcoded "\" string  for 
directory separators with System.IO.Path.DirectorySeparatorChar.

Another source of annoyance is that Linux is case-sensitive, that means 
image.png and Image.png are not the same...
On Debian-based Linuxes, you can simply install cipfs to mount a 
directory, for example /media/casei as case-insensitive to /var/www, 
(which is the linux-equivalent of c:\inetpub\wwwroot)
/sudo apt-get install ciopfs
sudo mkdir /media/casei
sudo ciopfs /var/www /media/casei
ls -l /media/casei/index.aspx
ls -l /media/casei/INDEX.ASPX/

If you already have a larger CRM system project, I would not port 
everything to GTK# that only takes too long.
Instead, first look where ordinary winforms don't work, and if you can't 
fix it, use GTK#.

Kind regards

Stefan


Am 17.05.2010 19:04, schrieb MagicZelda:
> Hi there, while i cant help you out I do have the same problem.
>
> I have tried creating a basic form and adding a textbox at run time but with
> no luck. I want to switch all our office structure over to Linux and as such
> we have a CRM system I have developed over the years in Vb.net. I really
> thought mono was going to allow me to re programme in linux but im
> struggling.
>
> If you have got any form based app to work can you let me know how you did
> it.
>
> I just created a textbox and did me.controls.add(textbox) but got property
> not valid on me. object.
>
> Lets hope between us we can find some examples.
>
> Cheers
> Z
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20100517/a6404c7a/attachment.html 


More information about the Mono-vb mailing list