Register - Login
Views: 95461377
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
10-20-18 04:53:20 AM

Jul - Computers and Technology - .NET dependencies? New poll - New thread - New reply
Next newer thread | Next older thread
shyguyhex

Level: 14


Posts: 2/45
EXP: 12629
For next: 442

Since: 01-03-14


Since last post: 3.0 years
Last activity: 2.0 years

Posted on 05-13-14 04:34:11 AM Link | Quote
Visual Basic 6 doesn't have support for multithreading, which is unfortunate because the program I'm (re)making needs it desperately. The newer versions of Visual Basic have support for multithreading but require .NET framework. Usually wherever there's something with "requires .NET framework version X.X" in its description, there's bound to be an angry mob complaining about a broken application.

So wut do?

Is there some type of magic workaround for VB6 with multithreading?
Is there an easy programming language like VB6 that will allow me to do multithreading?
Should I bite the bullet and give C++ a shot?
Should I sell my soul to satan and just do it in a newer VB?
Does thinking about .NET give you angry tics and make your blood boil?
Zero One
5160
And as we fall the spirit carries on,
That a hero'll come and save us all,
As we call the ones we left below,
We all dream of the day we rise above
Level: 122


Posts: 4779/5164
EXP: 20563262
For next: 74751

Since: 05-24-10

From: Delta Quadrant

Since last post: 12 days
Last activity: 5 days

Posted on 05-13-14 08:42:24 AM Link | Quote
As a C#, and hence .NET, programmer, I fail to see what's wrong with .NET. Now that there are ways to get it running on non-Windows systems (i.e., Mono), my biggest issue with .NET is now gone. I'd say using VB.NET couldn't hurt. Unfortunately, I'm completely unfamiliar with VB, so I can't offer any assistance on that front.
GuyPerfect
Catgirl
Level: 65


Posts: 955/1094
EXP: 2318764
For next: 16864

Since: 07-23-07


Since last post: 187 days
Last activity: 72 days

Posted on 05-13-14 10:26:37 AM Link | Quote
You can do multithreading in VB6 the same way you do it in any native language on Windows: start at CreateThread() and go from there. It's no more difficult to do in Visual Basic as it is in C or what-have-you, since it's the same system API calls no matter what you choose.
Foxhack
Member
Annoying fuzzball
Level: 50


Posts: 543/709
EXP: 920327
For next: 26990

Since: 04-17-12

From: Mexicali, Mexico

Since last post: 19 days
Last activity: 10 hours

Posted on 05-13-14 02:19:26 PM (last edited by Foxhack at 05-13-14 02:20:07 PM) Link | Quote
People still complain about the .NET runtimes? I thought they were installed with the OS as Windows Updates by default.

(Non-Windows users have valid reasons to complain though, unless Mono is now fully functional.)
Kazinsal
Amazing Flyin' Hammer Bro
Level: 48


Posts: 486/615
EXP: 811521
For next: 12022

Since: 01-18-11

Pronouns: he/him
From: Victoria, Canada

Since last post: 1 day
Last activity: 50 min.

Posted on 05-13-14 03:31:21 PM Link | Quote
I haven't seen a computer that didn't at least have the .NET 3.5 runtime on it in a long time. Like Foxhack said, they come down the pipe, and a lot of indie games on Steam and such install them automatically. Most systems I'd wager have .NET 4.0 as well.

Just port it to VS2010. If all else fails, target the .NET 4.0 Client Profile and include that with your application.
GuyPerfect
Catgirl
Level: 65


Posts: 956/1094
EXP: 2318764
For next: 16864

Since: 07-23-07


Since last post: 187 days
Last activity: 72 days

Posted on 05-13-14 04:27:26 PM Link | Quote
Originally posted by Foxhack
unless Mono is now fully functional

No, no it is not. If you want cross-platform runtime-requirers, you're far better off going with Java.
Kazinsal
Amazing Flyin' Hammer Bro
Level: 48


Posts: 487/615
EXP: 811521
For next: 12022

Since: 01-18-11

Pronouns: he/him
From: Victoria, Canada

Since last post: 1 day
Last activity: 50 min.

Posted on 05-14-14 05:36:19 AM Link | Quote
Mono's pretty far along these days. I know it doesn't implement a few long-deprecated .NET 1.1 things -- which by all means it really shouldn't, seeing as they've been deprecated for literally years -- and System.Management simply cannot be implemented since that's a .NET mapping of WMI.

As far as I'm aware almost everything in .NET 4.0 is supported under Linux via Mono, and roughly half of .NET 4.5 is implemented.
MainMemory
Member
Level: 12


Posts: 18/28
EXP: 7076
For next: 845

Since: 07-21-12


Since last post: 2.0 years
Last activity: 1.0 years

Posted on 05-15-14 11:05:29 AM Link | Quote
You should be aware that VB.NET is almost entirely different from VB6. VB.NET is C# with bits of VB syntax grafted on. If you're going to be learning a new language and framework anyway, why not make it C# or C++?

As for Mono, after tweaking the code to account for differences in runtimes (and avoid GDI+ whenever possible), SonLVL runs pretty much perfectly.
Next newer thread | Next older thread
Jul - Computers and Technology - .NET dependencies? New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 5d36857 [2018-03-03]
©2000-2018 Acmlm, Xkeeper, Inuyasha, et al.

28 database queries, 1 query cache hits.
Query execution time: 0.170922 seconds
Script execution time: 0.013226 seconds
Total render time: 0.184148 seconds
Memory used: 786432