BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

View: New views
6 Messages — Rating Filter:   Alert me  

BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

by Gregor001 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi


first of all, this is a good idea to make program to work on different platforms.
now, after installing mono, i just don't know what to do to make my program work in linux (slax).

i program in MS Visual Basic 2008 express edition, but i make so-called "Windows Forms Applocation" and not "console..". Here is everything half-prepaired. Now- ok i know how to compile, but where to click to compile for LINUX? it seems, i have to copy exe and other files (maybe bas to some folder), then run this mono console and then what to entry???

this program is quite useful, but no easy steps-how to... that is quite bad for such good and big project.


can u please write short easy step-by-step tutorial for MS Visual Basic 2008 express- how to convert for linux, please?

still questions:
1) on linux ("slax" or other) - do i have to have anything more installed on linux like MONO for linux (so that programs can work on linux then)?


thank you soo much for help
Gregor,
EUROPE
Slovenia

PS: an easy step-by-step tutorial is very much needed for not-advanced programmers
maybe with pictures if it is hard...:-)

Re: BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

by Rolf Bjarne Kvinge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: mono-vb-bounces@... [mailto:mono-vb-
> bounces@...] On Behalf Of Gregor001
> Sent: miércoles, 04 de junio de 2008 5:56
> To: mono-vb@...
> Subject: [mono-vb] BASIC STEPS_WIN (Microsoft Visual Basic 2008
> express) -> LINUX (SLAX)
>
>
> hi
>
>
> first of all, this is a good idea to make program to work on different
> platforms. now, after installing mono, i just don't know what to do to
make my
> program work in linux (slax).
>
> i program in MS Visual Basic 2008 express edition, but i make so-called
> "Windows Forms Applocation" and not "console..". Here is everything
> half-prepaired. Now- ok i know how to compile, but where to click to
> compile for LINUX?

You don't compile specifically for linux, just hit the normal compile button
to compile.

> it seems, i have to copy exe and other files

Exactly.

> (maybe bas to some folder),
No,  only exe and dlls should be necessary.

> then run this mono console and then what to entry???

mono application.exe

> this program is quite useful, but no easy steps-how to... that is quite
> bad for such good and big project.
>
>
> can u please write short easy step-by-step tutorial for MS Visual Basic
> 2008 express- how to convert for linux, please?

There shouldn't be anything to convert. Applications should just work
(unless you coded in a way which is windows-specific, such as using
hard-coded path names to "C:\file.txt" for instance)

Rolf

>
> still questions:
> 1) on linux ("slax" or other) - do i have to have anything more
> installed on
> linux like MONO for linux (so that programs can work on linux then)?
>
>
> thank you soo much for help
> Gregor,
> EUROPE
> Slovenia
>
> PS: an easy step-by-step tutorial is very much needed for not-advanced
> programmers
> maybe with pictures if it is hard...:-)
> --
> View this message in context: http://www.nabble.com/BASIC-STEPS_WIN-
> %28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29-
> tp17638670p17638670.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@...
> http://lists.ximian.com/mailman/listinfo/mono-vb
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 269.24.6/1481 - Release Date:
> 03/06/2008 19:31

_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

by Gregor001 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

1) where should i copy exe and dll's? in which directory?
2) dll's should be with exe, right?
3) i just start mono aplication.exe-aplication is name of my program?

i start mono from : "Mono-1.9.1 Command Prompt"?


thnx.
i think i will write simple step-by-step tutorial for "dumb"users like me. i mean, i just do'nt know really what to click. i wish to have exact steps...do this...do this...then this... finish.. no wasted time :-)



Rolf Bjarne Kvinge-2 wrote:

> -----Original Message-----
> From: mono-vb-bounces@lists.ximian.com [mailto:mono-vb-
> bounces@lists.ximian.com] On Behalf Of Gregor001
> Sent: miércoles, 04 de junio de 2008 5:56
> To: mono-vb@lists.ximian.com
> Subject: [mono-vb] BASIC STEPS_WIN (Microsoft Visual Basic 2008
> express) -> LINUX (SLAX)
>
>
> hi
>
>
> first of all, this is a good idea to make program to work on different
> platforms. now, after installing mono, i just don't know what to do to
make my
> program work in linux (slax).
>
> i program in MS Visual Basic 2008 express edition, but i make so-called
> "Windows Forms Applocation" and not "console..". Here is everything
> half-prepaired. Now- ok i know how to compile, but where to click to
> compile for LINUX?

You don't compile specifically for linux, just hit the normal compile button
to compile.

> it seems, i have to copy exe and other files

Exactly.

> (maybe bas to some folder),
No,  only exe and dlls should be necessary.

> then run this mono console and then what to entry???

mono application.exe

> this program is quite useful, but no easy steps-how to... that is quite
> bad for such good and big project.
>
>
> can u please write short easy step-by-step tutorial for MS Visual Basic
> 2008 express- how to convert for linux, please?

There shouldn't be anything to convert. Applications should just work
(unless you coded in a way which is windows-specific, such as using
hard-coded path names to "C:\file.txt" for instance)

Rolf

>
> still questions:
> 1) on linux ("slax" or other) - do i have to have anything more
> installed on
> linux like MONO for linux (so that programs can work on linux then)?
>
>
> thank you soo much for help
> Gregor,
> EUROPE
> Slovenia
>
> PS: an easy step-by-step tutorial is very much needed for not-advanced
> programmers
> maybe with pictures if it is hard...:-)
> --
> View this message in context: http://www.nabble.com/BASIC-STEPS_WIN-
> %28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29-
> tp17638670p17638670.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 269.24.6/1481 - Release Date:
> 03/06/2008 19:31

_______________________________________________
Mono-vb mailing list
Mono-vb@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

by Rolf Bjarne Kvinge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> -----Original Message-----
> From: mono-vb-bounces@... [mailto:mono-vb-
> bounces@...] On Behalf Of Gregor001
> Sent: miércoles, 04 de junio de 2008 20:11
> To: mono-vb@...
> Subject: Re: [mono-vb] BASIC STEPS_WIN (Microsoft Visual Basic 2008
> express) -> LINUX (SLAX)
>
>
> 1) where should i copy exe and dll's? in which directory?

anywhere you want

> 2) dll's should be with exe, right?

Generally yes (it should have the same structure as where VS puts them, if your exe is normally in somedir/application.exe and your dll is in somedir/anotherdir/application.dll then you'll have to replicate that structure.

> 3) i just start mono aplication.exe-aplication is name of my program?
>
> i start mono from : "Mono-1.9.1 Command Prompt"?

Yes.

The easiest way will probably be to do:

Open the Mono Command Prompt
execute "cd /D X:/myproject/bin/Debug/"
mono myapplication.exe

where X:/myproject/bin/Debug is the directory where VS puts the executable and myapplication.exe is the name of your executable.

Rolf

>
>
> thnx.
> i think i will write simple step-by-step tutorial for "dumb"users like
> me. i
> mean, i just do'nt know really what to click. i wish to have exact
> steps...do this...do this...then this... finish.. no wasted time :-)
>
>
>
>
> Rolf Bjarne Kvinge-2 wrote:
> >
> >
> >
> >> -----Original Message-----
> >> From: mono-vb-bounces@... [mailto:mono-vb-
> >> bounces@...] On Behalf Of Gregor001
> >> Sent: miércoles, 04 de junio de 2008 5:56
> >> To: mono-vb@...
> >> Subject: [mono-vb] BASIC STEPS_WIN (Microsoft Visual Basic 2008
> >> express) -> LINUX (SLAX)
> >>
> >>
> >> hi
> >>
> >>
> >> first of all, this is a good idea to make program to work on
> different
> >> platforms. now, after installing mono, i just don't know what to do
> to
> > make my
> >> program work in linux (slax).
> >>
> >> i program in MS Visual Basic 2008 express edition, but i make so-
> called
> >> "Windows Forms Applocation" and not "console..". Here is everything
> >> half-prepaired. Now- ok i know how to compile, but where to click to
> >> compile for LINUX?
> >
> > You don't compile specifically for linux, just hit the normal compile
> > button
> > to compile.
> >
> >> it seems, i have to copy exe and other files
> >
> > Exactly.
> >
> >> (maybe bas to some folder),
> > No,  only exe and dlls should be necessary.
> >
> >> then run this mono console and then what to entry???
> >
> > mono application.exe
> >
> >> this program is quite useful, but no easy steps-how to... that is
> quite
> >> bad for such good and big project.
> >>
> >>
> >> can u please write short easy step-by-step tutorial for MS Visual
> Basic
> >> 2008 express- how to convert for linux, please?
> >
> > There shouldn't be anything to convert. Applications should just work
> > (unless you coded in a way which is windows-specific, such as using
> > hard-coded path names to "C:\file.txt" for instance)
> >
> > Rolf
> >
> >>
> >> still questions:
> >> 1) on linux ("slax" or other) - do i have to have anything more
> >> installed on
> >> linux like MONO for linux (so that programs can work on linux then)?
> >>
> >>
> >> thank you soo much for help
> >> Gregor,
> >> EUROPE
> >> Slovenia
> >>
> >> PS: an easy step-by-step tutorial is very much needed for not-
> advanced
> >> programmers
> >> maybe with pictures if it is hard...:-)
> >> --
> >> View this message in context: http://www.nabble.com/BASIC-STEPS_WIN-
> >> %28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29-
> >> tp17638670p17638670.html
> >> Sent from the Mono - VB mailing list archive at Nabble.com.
> >>
> >> _______________________________________________
> >> Mono-vb mailing list
> >> Mono-vb@...
> >> http://lists.ximian.com/mailman/listinfo/mono-vb
> >> No virus found in this incoming message.
> >> Checked by AVG.
> >> Version: 8.0.100 / Virus Database: 269.24.6/1481 - Release Date:
> >> 03/06/2008 19:31
> >
> > _______________________________________________
> > Mono-vb mailing list
> > Mono-vb@...
> > http://lists.ximian.com/mailman/listinfo/mono-vb
> >
> >
>
> --
> View this message in context: http://www.nabble.com/BASIC-STEPS_WIN-
> %28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29-
> tp17638670p17653017.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@...
> http://lists.ximian.com/mailman/listinfo/mono-vb
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.100 / Virus Database: 270.0.0/1484 - Release Date:
> 04/06/2008 16:40

_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb

Re: BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

by Gregor001 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi

something is working, but ...

1) i have installed mono
2) started mono command prompt
3) went to dir where the program is (made with ms vb 2008 express edition)
 (by command: dir "c:\debug\" i copied debug folder to c:)
4) typed:
mono test_1.exe

program executes and i can click on commands. works.


but!!!
this i have done on windows. i wish to use this program on linux.
where is compiled prorgam? is the resoult program that is started?

a)  is the resoult just opened file? couse if so and if i understand right..
i have to start linux...install mono there and start there a vb program with mono.
i thought i can be in win- i thought that mono converts me a exe and makes another one which can be opened in linux and working.
b) (does anyone know a linux distribution with mono included by default?)


thanks for any help

Re: BASIC STEPS_WIN (Microsoft Visual Basic 2008 express) -> LINUX (SLAX)

by Rolf Bjarne Kvinge-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
 

> hi
>
> something is working, but ...
>
> 1) i have installed mono
> 2) started mono command prompt
> 3) went to dir where the program is (made with ms vb 2008 express
> edition)
>  (by command: dir "c:\debug\" i copied debug folder to c:)
> 4) typed:
> mono test_1.exe

The exact same procedure works on Linux too.

>
> program executes and i can click on commands. works.
>
>
> but!!!
> this i have done on windows. i wish to use this program on linux.
> where is compiled prorgam? is the resoult program that is started?
>
> a)  is the resoult just opened file? couse if so and if i understand
> right..
> i have to start linux...install mono there and start there a vb program
> with mono.
> i thought i can be in win- i thought that mono converts me a exe and
> makes another one which can be opened in linux and working.

There is no need to convert anything, the same exe works.

> b) (does anyone know a linux distribution with mono included by
> default?)

OpenSuse (www.opensuse.org) + most other main distros too I think.

Rolf

>
>
> thanks for any help
> --
> View this message in context: http://www.nabble.com/BASIC-STEPS_WIN-
> %28Microsoft-Visual-Basic-2008-express%29--%3E-LINUX-%28SLAX%29-
> tp17638670p18505607.html
> Sent from the Mono - VB mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-vb mailing list
> Mono-vb@...
> http://lists.ximian.com/mailman/listinfo/mono-vb
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.138 / Virus Database: 270.5.0/1557 - Release Date:
> 17/07/2008 5:36
>
>
>
> No virus found in this incoming message.
> Checked by AVG - http://www.avg.com
> Version: 8.0.138 / Virus Database: 270.5.0/1557 - Release Date:
> 17/07/2008 5:36

_______________________________________________
Mono-vb mailing list
Mono-vb@...
http://lists.ximian.com/mailman/listinfo/mono-vb