Start PureBasic? Or even with VB.Net?

Just starting out? Need help? Post your questions and find answers here.
Nopp
New User
New User
Posts: 3
Joined: Thu Dec 21, 2017 8:17 am

Start PureBasic? Or even with VB.Net?

Post by Nopp »

Hey Guys,

i posted a similiary question on the german board, but i think here is a bit more of traffic, so...

to me: I am not a programmer, i am an admin and started my own company a while ago. It's been quite nice.
I want to spend "free" minutes with learning a programming language, besides admin-stuff, like PowerShell.
The reason is simple. I want just to know, that i can do it and i ever wanted to know some language.
Besides this, i am always searchign for tools/software which could make my day more simple. Why not create those myself someday?
And who knows... Maybe i will extend my company's protfolio someday.

I looked into different languages, like C#, Java, VB6... and i came to the conclusion that i simply like "Basic-like Syntax" more than "C-like Syntax". Python was ok though.
Since VB6 is in this regard "extinct", i found vb.net and PureBasic. The first is OOP, the second is procedural.

My fundamental question now is : What should i learn? VB.Net or PB
MY main problem here is, that i don't know the essential differences (purpose, performance...) between OOP and procedural programming.
Can you just start an .exe file programmed with PB, just like a vb.net .exe? Or is this different?
I am not 100% clear about the diefferences.
I ncould imagein that it's easier for me to start with PureBasic and after a while jump to VB.Net, because my Software won't have the need of OOP.

I apologize for the amount of text here and my lack of english skills, but i often plöan in future, so i hopefully make the right decision.

Thanks for coming answers!
Nopp
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Start PureBasic? Or even with VB.Net?

Post by IceSoft »

Dont forget to ask on VB.Net forums too ;-)
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Start PureBasic? Or even with VB.Net?

Post by RSBasic »

PB forever :lol: :P
Image
Image
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: Start PureBasic? Or even with VB.Net?

Post by djes »

I usually find pb faster and easier for common tasks.

For example having a requester (a window asking something like ok/no, or a file name), doing something with that (like renaming a file, or doing some calculus), and quit, eventually giving some answer in a window or the standard output.

It's so fast that you don't hesitate to run at every line to check, going to help to directly copy examples, and you finish with a small exe that don't need anything to run from any support.
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Start PureBasic? Or even with VB.Net?

Post by Dude »

Nopp wrote:Can you just start an .exe file programmed with PB, just like a vb.net .exe?
Yes you can with PureBasic, and NO YOU CAN'T with VB.NET, because VB.NET needs additional runtimes to be installed on the target PC. Most of the time those runtimes might be installed already, but it's NOT guaranteed, or the user could've damaged the installation of them, or anything. With PureBasic it's just one single small exe to run and be concerned with, at all times.
Last edited by Dude on Thu Dec 21, 2017 9:56 am, edited 1 time in total.
Nopp
New User
New User
Posts: 3
Joined: Thu Dec 21, 2017 8:17 am

Re: Start PureBasic? Or even with VB.Net?

Post by Nopp »

Dude wrote:
Nopp wrote:Can you just start an .exe file programmed with PB, just like a vb.net .exe?
Yes you can with PureBasic, and NO YOU CAN'T with VB.NET, because VB.NET needs additional runtimes to be installed on the target PC. Most of the time those runtimes might be installed already, but it's NOT guaranteed, or the user could've damaged the installation of them, or anything. With PureBasic it's just one single small exe to run, all the time.
Hm, i don't know if a understand this right.
For example: If i want to build an invoicing software for my personal usage. Do i have to start the PB-exe of the software everytime, or is this installed like a normal program, and i can then find it in my %programfiles% directory?
I am just a little afraid that i might be limited with PB, but i like niche products in personal, so that's why i am asking here.
What is PB not capable of? Networking? User-management? Connection to SQL?

Thanks,

Nopp
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Start PureBasic? Or even with VB.Net?

Post by Dude »

Nopp wrote:Do i have to start the PB-exe of the software everytime, or is this installed like a normal program, and i can then find it in my %programfiles% directory?
PureBasic exes can be run standalone (for example, chuck them on your desktop or USB stick for double-clicking to run), or you can officially install them to %ProgramFiles% with any setup builder, like InnoSetup.

Other people can answer your other questions. :)
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Start PureBasic? Or even with VB.Net?

Post by RSBasic »

Nopp wrote: Do i have to start the PB-exe of the software everytime, or is this installed like a normal program, and i can then find it in my %programfiles% directory?
You can create a portable file or create a setup for %programfiles% directory.
Nopp wrote:What is PB not capable of?
With API everything is possible. Without API only simple things.
Nopp wrote:Networking?
Yes
Nopp wrote:User-management?
Yes with API.
Nopp wrote:Connection to SQL?
You can use SQLLite without any problems.
Image
Image
Nopp
New User
New User
Posts: 3
Joined: Thu Dec 21, 2017 8:17 am

Re: Start PureBasic? Or even with VB.Net?

Post by Nopp »

Sounds really promising to me.
I think i just have to take a look into both VB.Net and PB, and then decide.
Furthemore i think the road doesn't end with just one language...
There is enough time to learn a few.

And as if i am awaye vb.net and PB's Syntax is not sooooo different, am i right? (Syntax, not program paradigm!)
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Start PureBasic? Or even with VB.Net?

Post by RSBasic »

Nopp wrote:And as if i am awaye vb.net and PB's Syntax is not sooooo different, am i right? (Syntax, not program paradigm!)
Yes, they both have the "Basic" syntax and are very similar.
Image
Image
Dude
Addict
Addict
Posts: 1907
Joined: Mon Feb 16, 2015 2:49 pm

Re: Start PureBasic? Or even with VB.Net?

Post by Dude »

Don't forget what I said about the VB.NET runtime files -- you can't guarantee they'll be there, or undamaged, on your customer's PC. ;)
User avatar
IceSoft
Addict
Addict
Posts: 1682
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Re: Start PureBasic? Or even with VB.Net?

Post by IceSoft »

Nopp wrote: And as if i am awaye vb.net and PB's Syntax is not sooooo different, am i right? (Syntax, not program paradigm!)
Yes each has an "IF" ;-)
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: Start PureBasic? Or even with VB.Net?

Post by nco2k »

imho the choice should be: C/C++, C#, Java vs. PureBasic. i would never choose VB over anything. your portfolio will probably benefit the most from C# and Java to be honest.

if you want to learn it professionally, and want to earn money from it in the future, then you should go with a C like language. such languages are widely used, and you will find a lot of people with those skillsets, and a lot of companies that require those skillsets. you wont find a company that is specifically looking for PureBasic programmers. they wont even know what PureBasic is.

learning a programming language for the first time is very difficult. a C like language might be very overwhelming at first. especially if you are just testing the waters. PureBasic is super easy and a great starting language for beginners and hobbyists in my opinion. its the gateway drug to programming. you cant really go wrong with it, and you can still switch later on if necessary.

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
Mijikai
Addict
Addict
Posts: 1517
Joined: Sun Sep 11, 2016 2:17 pm

Re: Start PureBasic? Or even with VB.Net?

Post by Mijikai »

VB.Net is a big bloated heap of bs...

c/c++ -> for srs programming & games
PB -> tools, prototyping (basically the fun stuff)

c#/java -> the usual bloatware
VB.Net -> hear ppl cry
VB6 -> do your thing
User avatar
Shardik
Addict
Addict
Posts: 2058
Joined: Thu Apr 21, 2005 2:38 pm
Location: Germany

Re: Start PureBasic? Or even with VB.Net?

Post by Shardik »

nco2k wrote:you wont find a company that is specifically looking for PureBasic programmers.
In general you are right but the above statement is untrue. From time to time I have seen postings in the english or german forum in which companies are specifically looking for PureBasic programmers. One recent example from September 2017 in the German forum:
http://www.purebasic.fr/german/viewtopi ... 10&t=30370
Post Reply