Linux Debian support - Porting visual basic to linux

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > May 2006 > Porting visual basic to linux





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Porting visual basic to linux
Edward Langenback

2006-05-15, 1:11 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


I've got a little visual basic app I wrote a while back for windows and now
that I have moved on to linux, I'd like to port it over. I don't mind
rewriting it in C or somesuch, but one thing I need is a good kickstart on
how to go about creating a GUI app.

I suppose something like wine might be an option (if I can ever find a
version that will work, but that's another dozen google searches), but I'd
rather have something more 'native' than that.


- --
http://blog.peculiarplace.com
http://lurasbookcase.com
http://peculiarplace.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQEVAwUBRGgKRXV+YnyE1GYEAQNKzAf/VOM4brw/pZEbjHZB6Fni8niIhO4SOiN4
4r1sXphAIgJT+a+9dKumML39H42hY8AzVw7H6Dei
xHi5TcetGeueCuBNtPcCXTX9
VIQfz+o1I6mwi0QTEGkC2UMIn3ngFiGeZh5gak4Z
sDfkFYEEBXr1ffYtY5oeiGjt
HvVdD9TMmwalapcqFUpEitiu1uSK2CAq9hFDpnh+
AFcjYbBzRXnxxPlnUvrlVLKb
PdK9zlxuITG0TJ7h8h5gmUQyLRvgJIh0rgRrTdWa
EMAHnwTtvrIpolGZsJDfPZVP
U5enYWOnbK41pbkNHzym9WJBlSyEknHASzr+c2Bv
g66+QUArIBL8LA==
=wVTf
-----END PGP SIGNATURE-----
Mark South

2006-05-15, 7:11 am

On Sun, 14 May 2006 23:57:33 -0500, Edward Langenback wrote:

> I've got a little visual basic app I wrote a while back for windows and now
> that I have moved on to linux, I'd like to port it over. I don't mind
> rewriting it in C or somesuch, but one thing I need is a good kickstart on
> how to go about creating a GUI app.


Tcl/Tk is about the closest thing there is to VB on Linux. Using the
sample code supplied, it should take only a few minutes to get basic
window apps going.

--
mark south; echo znexfbhgu2000@lnubb.pb.hx|tr a-z n-za-m
"I can trace my ancestry back to a protoplasmal primordial atomic
globule. Consequently, my family pride is something inconceivable."
-- Gilbert & Sullivan, The Mikado

Geico Caveman

2006-05-15, 1:12 pm

Edward Langenback wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: RIPEMD160
>
>
> I've got a little visual basic app I wrote a while back for windows and
> now
> that I have moved on to linux, I'd like to port it over. I don't mind
> rewriting it in C or somesuch, but one thing I need is a good kickstart on
> how to go about creating a GUI app.
>
> I suppose something like wine might be an option (if I can ever find a
> version that will work, but that's another dozen google searches), but I'd
> rather have something more 'native' than that.
>


Look into Gambas. It provides a great deal of functionality of Basic. Other
possibilities are realbasic (proprietary but free).

Is the VB code a part of some Microsoft Office automation ? If so,
OpenOffice has its own equivalent for VB.
Edward Langenback

2006-05-15, 1:12 pm

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Monday 15 May 2006 12:04 pm, In
<4468b469$0$21728$b45e6eb0@senator-bedfellow.mit.edu>, spam@spam.invalid
wrote:

> Edward Langenback wrote:
>
>
> Look into Gambas. It provides a great deal of functionality of Basic.
> Other possibilities are realbasic (proprietary but free).


I'll have a google at it.

> Is the VB code a part of some Microsoft Office automation ? If so,
> OpenOffice has its own equivalent for VB.


Nope, nothing to do with Office, just a simple straightforward get some
inputs and hand off to other programs for processing and then present
results.


- --
http://blog.peculiarplace.com
http://lurasbookcase.com
http://peculiarplace.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQEVAwUBRGi9InV+YnyE1GYEAQPz7ggAr/ccZCDKiQ3wtjAQzpbsX8xVInhVPP0e
17bD+n1ETeEA6gs1XTGyiMaKyKogj2CRHgJLDgzi
yRpI9x6GbwU8mjqgCsD803uJ
muHhnx2I0r0G1uMkClm+TdIwoF9/WLzOWAJXYYwxJoRwmioRI2sbPLfuuVeiffkk
ghdhkWEf1GpekaRe+oegmtAlFZLRrm54Ch4gHtXx
1XmFEh5G60NabhvgoHtMaUmn
ADjdLEDtoYSzPIOuxgHzUrr/ j8C9TOsvqlS5p3L3tGuXNbcbsCcf9RYLI7aNQqQZ

GuaV3e5YYPpTHMtuH+GVxM3HKFjsObgw36LsY6vo
9V52qY27rsEroA==
=Zh62
-----END PGP SIGNATURE-----
Luc The Perverse

2006-05-15, 7:12 pm

"Edward Langenback" <apostle@pokynet.com> wrote in message
news:IsSdnVJWk7K9IPXZnZ2dnUVZ_tidnZ2d@ce
nturytel.net...
>
> Nope, nothing to do with Office, just a simple straightforward get some
> inputs and hand off to other programs for processing and then present
> results.


Are you sure it not just easier then to rewrite it, by hand in another
language? If it truly is trivial - I mean

--
LTP




Sumo Wrestler (or just ate too much)

2006-05-15, 7:12 pm

Edward Langenback wrote:
>
> I've got a little visual basic app I wrote a while back for windows and now
> that I have moved on to linux, I'd like to port it over. I don't mind
> rewriting it in C or somesuch, but one thing I need is a good kickstart on
> how to go about creating a GUI app.
> [...]


These are a some of the native RAD (rapid application development)
options for Linux:

Programming Language + GUI Toolkit (and designer)
----------------------------------
TCL + Tk
Perl + Tk
Perl + Glade + Gtk
Python + Gtk
Python + Tk
Python + wxWindows + Gtk
Ruby + Tk

I'm sure there are others.

Edward Langenback

2006-05-16, 1:13 am

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Monday 15 May 2006 03:41 pm, In <kk5nj3xq6v.ln2@loki.cmears.id.au>,
sll_noSpamlicious_z_XXX_m@cc.usu.edu wrote:

> "Edward Langenback" <apostle@pokynet.com> wrote in message
> news:IsSdnVJWk7K9IPXZnZ2dnUVZ_tidnZ2d@ce
nturytel.net...
>
> Are you sure it not just easier then to rewrite it, by hand in another
> language? If it truly is trivial - I mean


That's pretty much what I'm going to do. I was just looking for
recommendations of a language that would allow a barebones GUI to be
reasonably painless to a newbie.


- --
http://blog.peculiarplace.com
http://lurasbookcase.com
http://peculiarplace.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iQEVAwUBRGlgAXV+YnyE1GYEAQNakwf/U94H14a4q0mizbBJIUgHmAgBtrhVMasz
58gJcF2Wqnfjm3CXUA7SHgwjFqCo9nqlMLNKT8tV
Xri6i+T6up2PJB4KlZ0yK3vY
rwbHaaBdHKWtuLOLgAPCoh86mA7b45lHQBQfS97z
ukzzogYxtaZrQPU6DD2TfmkV
b+/ W9jGWwGigyFYxGvbO3r0M9WG2ad6MKioLiFoDd4E
rm7fG3KqsEKGXpQRpfTqn
MGGtDGc92s0dcmNvJuLmoglVf6NzDp9+lRUt6AQL
raf/jFdmkhovc3F6TaY8Kzjb
YGysskIbsOiQfrkclbk1B/eOzDjT77K7j947D6scB8oSgEOEFYKMvA==
=azeY
-----END PGP SIGNATURE-----
Luc The Perverse

2006-05-16, 1:12 pm

"Edward Langenback" <apostle@pokynet.com> wrote in message
news:G6SdnbWHv8hhwvTZRVn-rQ@centurytel.net...
>
> That's pretty much what I'm going to do. I was just looking for
> recommendations of a language that would allow a barebones GUI to be
> reasonably painless to a newbie.


Have you considered Java? You could rewrite it and run test cases in
Windows - and then never have to port it again ;)

--
LTP




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com