Register - Login
Views: 86568050
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - JCS - Stats - Latest Posts - Color Chart - Smilies
10-21-17 04:26:14 PM

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

Level: 14


Posts: 2/45
EXP: 11241
For next: 1830

Since: 01-03-14


Since last post: 2.0 years
Last activity: 1.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
5100
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: 120


Posts: 4779/5101
EXP: 18955481
For next: 531690

Since: 05-24-10
From: Delta Quadrant

Since last post: 5 hours
Last activity: 5 hours

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: 64


Posts: 955/1093
EXP: 2210717
For next: 3380

Since: 07-23-07


Since last post: 99 days
Last activity: 56 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: 48


Posts: 543/694
EXP: 820283
For next: 3260

Since: 04-17-12
From: Mexicali, Mexico

Since last post: 19 days
Last activity: 2 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: 45


Posts: 486/543
EXP: 628559
For next: 31605

Since: 01-18-11
From: Victoria, Canada

Since last post: 75 days
Last activity: 71 days

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: 64


Posts: 956/1093
EXP: 2210717
For next: 3380

Since: 07-23-07


Since last post: 99 days
Last activity: 56 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: 45


Posts: 487/543
EXP: 628559
For next: 31605

Since: 01-18-11
From: Victoria, Canada

Since last post: 75 days
Last activity: 71 days

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: 6488
For next: 1433

Since: 07-21-12


Since last post: 1.0 years
Last activity: 137 days

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 - .NET dependencies? New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 2f1bc75 [2017-08-27]
©2000-2017 Acmlm, Xkeeper, Inuyasha, et al.

28 database queries, 1 query cache hits.
Query execution time: 0.140011 seconds
Script execution time: 0.007975 seconds
Total render time: 0.147986 seconds