Important alert: (current site time 7/16/2013 2:43:22 AM EDT)
 

winzip icon

ThunderVB - First Release

Email
Submitted on: 8/2/2005 6:20:13 AM
By: ThunderVB development Team 
Level: Advanced
User Rating: By 66 Users
Compatibility: VB 6.0
Views: 32438
(About the author)
 
     ThunderVB is an add-in for VB6. ThunderVB let's you embed Asm and C instructions directly in you VB source programs. Furthermore ThunVB let's you create a true StdCall Dlls. Moreover ThunVB can extend VB IDE to a basic Asm/C code editor. That means it can do syntax-highlighting of Asm/C keywords and supports intelli-sense for InlineAsm code as well. See the screenshots bellow. --- ThunderVB Development Team [ drkIIRaziel & Libor ] ---

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 1 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
8/2/2005 7:10:09 AMLight Templer

WAOH! Seems like you have decided to turn your further comercial product into open source! Thx for sharing and regards
LiTe
(If this comment was disrespectful, please report it.)

 
8/2/2005 8:00:46 AMenmity

my god! you are crazy!
(If this comment was disrespectful, please report it.)

 
8/2/2005 8:18:52 AMRaziel

It was never itended to be a comercial product :)

You can find setup/samples at
www.sf.net/projects/thundervb

thx for the votes

If you have any sugestions just write em :) hehehe does not matter how crazy they are :P
(If this comment was disrespectful, please report it.)

 
8/2/2005 8:21:17 AMLibor Blaheta

Yes, we are 8-)
(If this comment was disrespectful, please report it.)

 
8/2/2005 8:42:03 AMdreamvb

This is ace Wow thanks for shareing. we defo need more pscode uses like you 5 from me *****
(If this comment was disrespectful, please report it.)

 
8/2/2005 8:44:29 AMDean Camera

Jaw-dropping goodness. I can't believe you got both ASM and C into VB! Incredible! I've only just downloaded it so i'll need some time to play; does it require any extra DLLs to run the compiled programs and does it compile or interpret the C code? 5 globes nonetheless.... ;)
(If this comment was disrespectful, please report it.)

 
8/2/2005 10:56:36 AM[rm_code]

How can I get the C compiler to compile the samples?
It always tells me it could not find the include path.
So I run vcvars32.bat, it sets the environment variables, I compile a sample shipped with VC++ 2k3, it works,
go back to the IDE and get the same error again.
(If this comment was disrespectful, please report it.)

 
8/2/2005 11:26:00 AMRaziel

Well , to compile the C/Asm you need masm and the vc 2003(or the vc 2002) compiler.The compiled code does not need any extra dll's (exept if you use any :P)
(If this comment was disrespectful, please report it.)

 
8/2/2005 11:35:02 AMMrReset

Excellent !!!
The Best submission I see on PSC !

(If this comment was disrespectful, please report it.)

 
8/2/2005 11:36:00 AM[rm_code]

Yep, I know, like I said, the VC++ 2003 compiler says it can't find the include path.
What sould I do?
(If this comment was disrespectful, please report it.)

 
8/2/2005 11:46:39 AMTai Chi Minh Ralph Eastwood

This rules :) 5*
You can do almost everything with inline asm - I'm writing a few function replacement for the vb LCase, Instr etc. and they kickass :)
(If this comment was disrespectful, please report it.)

 
8/2/2005 11:48:51 AMTai Chi Minh Ralph Eastwood

Oh yeah ...not sure if you've fixed it yet Raziel but the version you sent me has a problem when you press F1 .... vb6 crashes :P.... Check that could you?
(If this comment was disrespectful, please report it.)

 
8/2/2005 11:53:28 AMTheAlas

Hm....


Uber!


Though, I dont understand why you people make such a big deal over vb, it's not that worth...

(If this comment was disrespectful, please report it.)

 
8/2/2005 1:35:37 PMDave

Excellent Work. I knew this would turn out to be a truelly usefull addin.

This is the same guy's behind "BasicBoy", the best VB GameBoy emulator. Keep it up guy's and do more emulator stuff! :)
(If this comment was disrespectful, please report it.)

 
8/2/2005 1:43:09 PMLibor Blaheta

Thanks for your feedbacks and votes.

TheAlas:Why? Hmmm, because we love VB :-)

rm code:What are you trying to compile? Have you set the path to C compiler in ThunAsm's settings? Compilation of InlineAsm works?

-------------
IF you want report bugs, have some questions, please don't write it here. Post it to our forum. Thanks.
http://thundervb.sourceforge.net/phpBB2/
(If this comment was disrespectful, please report it.)

 
8/2/2005 1:48:35 PMvbgamer45

Excellent work Libor and Raziel. Five Stars everyone should come and check it out. They spent a lot of hard work and time on this project.
(If this comment was disrespectful, please report it.)

 
8/2/2005 2:41:00 PMTai Chi Minh Ralph Eastwood

Ok Libor :)

TheAlas, hmmmmm big deal over vb...can you comprehend what this add-in can do :) whatever limitation vb even had(not much) is completely erased :)
(If this comment was disrespectful, please report it.)

 
8/2/2005 2:46:36 PMLuke Hardiman

good work 5*'s from me
(If this comment was disrespectful, please report it.)

 
8/2/2005 3:09:28 PMalim

this is the most beautiful code i ever seen. ***** for you.
(If this comment was disrespectful, please report it.)

 
8/2/2005 3:12:54 PM[rm_code]

Yes, inline ASM works, then I installed VC ++ 2k3, set the path to the cl.exe, and tried to compile any of the inline C examples, but everytime the compiler can't find the include path.
(If this comment was disrespectful, please report it.)

 
8/3/2005 12:26:35 AMChupaThingy

This is the greatest thing to come along since the optimizing compiler. I've been using it since the earliest beta and it's steadily gotten better!
(If this comment was disrespectful, please report it.)

 
8/3/2005 12:53:32 AMNordin Rahman

Aaa.... I love to play Civilization 3 Conquest, and my level is Monarch. You are at level Sid!!!
(If this comment was disrespectful, please report it.)

 
8/3/2005 1:43:09 AMmugman21

This is absolutly insane.... I bow in your general direction.... This is definately a 5 star project.
(If this comment was disrespectful, please report it.)

 
8/3/2005 2:20:58 AMDavid Yang

Woah, good stuff... now all we need to do is to inline APL into Visual Basic, and it would be the craziest language. Great work! You are the best!
(If this comment was disrespectful, please report it.)

 
8/3/2005 3:19:48 AMVB Beginner

Wow! This was only uploaded yesterday and it already has 5 globes by 17 users?! You'll definitely win the contest for the month!
(If this comment was disrespectful, please report it.)

 
8/3/2005 9:07:54 AMNorm Cook

I have VB6 SP5 and it works (at least the asm, haven't tried the c++ part yet). I don't recommend installing SP6. Have read about some bad side effects.
(If this comment was disrespectful, please report it.)

 
8/3/2005 9:58:23 AMjames kahl

holy cr@p... not only is this a great add-in, but this will also serve as a great learning tool for those of us who will take the time to go through the code and decipher exactly what is going on... thx for sharing and i'm sorry that I can only give you a 5
(If this comment was disrespectful, please report it.)

 
8/3/2005 10:38:14 AMLibor Blaheta

Hi, thanks for your kind words. The next version will support InlineBrainF*ck - http://neworder.box.sk/newsread.php?newsid=13065 :-) - Norm Cook:Which side effects?
(If this comment was disrespectful, please report it.)

 
8/3/2005 11:02:21 AMLibor Blaheta

--- TIP --- If you want to link smaller apps then replace VB6 link.exe with link.exe that is shipped with VS2003 (also copy to VB6 directory file mspdb71.dll)
(If this comment was disrespectful, please report it.)

 
8/3/2005 11:42:14 AMJesse

I'll be starting to try this out tonight when I get home - and I'm very excited to try it!! It's what the doctor ordered!
(If this comment was disrespectful, please report it.)

 
8/3/2005 12:39:49 PMNorm Cook

Re: Side effects
Just reading in the microsoft.public.vb newsgroups. I've seen many people asking how to uninstall it, which basically can't be done, short of formatting the hard drive & reinstalling VB6.

Not knocking your submission--it is fantastic--but I'm leary about SP6.

See this link:
http://vbnet.mvps.org/dev/main/vb6sp6fixes.htm
(If this comment was disrespectful, please report it.)

 
8/3/2005 2:07:51 PMThe Wicker Man

I'll be disgusted if this doesn't win COTM
(If this comment was disrespectful, please report it.)

 
8/3/2005 3:12:39 PMRaziel

Well, i use sp6 since it was released and i din't had any problems at all.

Reisnalling vb makes it diaspear (i had to reinstall it) :)
Some notes : The api of the dll's is gona be documentated so that anyone can write a plugin (plugins are dynamicaly loaded :) ) Til we finish the docs , if anyone is interested hhe can email at me (or Libor :P) to get any needed info :)
(If this comment was disrespectful, please report it.)

 
8/4/2005 6:09:11 AMLuthfi

Can wait to see it put into some good use here in the coming months
(If this comment was disrespectful, please report it.)

 
8/5/2005 4:02:39 AMmugman21

I've yet to play around with this a lot, havn't had the time.... Question, does the C interpreter handle #include files? Can I call api's in this that require header files?
(If this comment was disrespectful, please report it.)

 
8/5/2005 10:26:31 AMLibor Blaheta

mugman32-Yes, you can include whatever you want :-) and calling API's is possible as well. Take a look at C samples.
(If this comment was disrespectful, please report it.)

 
8/5/2005 1:36:05 PMtheNerd

This is absolutely amazing!! This made me excited over VB all over again! Now if only you can get it so I call other C and VB functions *easily* and allow C to use standard C include files. I'm giving you 5 Globes but you deserve more! I really hope development on this continues.
(If this comment was disrespectful, please report it.)

 
8/5/2005 1:46:02 PMtheNerd

Also, I'd like to see VB developers submit code that use the VBThunder add-in.
(If this comment was disrespectful, please report it.)

 
8/5/2005 2:22:25 PMTheAlas

I hope someone doesn't post a nefarious racing picture-boxes game, such posts tend to take the most votes. This code should find it’s place in its own website, but it’s nice to know that people voting at psc still know to appreciate quality after all. It’s not about winning the “award”, but the effects this project will effectuate on many vb programmers which do not have time to mess with the profane matters of c++. I as well hope that author of this remarkable software will find an extra motivation, to continue working on it… Author should distribute this work outside psc, so he could find someone that would not compete with him but instead join him to work on this spirited project.
(If this comment was disrespectful, please report it.)

 
8/5/2005 11:53:22 PMzlt982001

very very very good ,this add-in is the best since vb6 come forth!
but i compiler your sample have some error on vb6_sp6 ,UniCode Window
Error message:
fatal error C1083: Cannot open compiler intermediate
file: 'in': No such file or directory


(If this comment was disrespectful, please report it.)

 
8/5/2005 11:56:33 PMzlt982001

vb6_sp6 UNICode windows have error
when compiler
Error message:
fatal error C1083: Cannot open compiler intermediate
file: in: No such file or directory
(If this comment was disrespectful, please report it.)

 
8/6/2005 2:23:35 PMcoder86

this is truly amazing!
(If this comment was disrespectful, please report it.)

 
8/6/2005 3:44:34 PMLibor Blaheta

Hi, thanks for your nice feedbacks.

- theNerd - you can call C/VB functions from C code. Take a look at C samples.

- TheAllas - Yes, you are right. It isn't about winning the award... We are not going to abandon ThunVB. Next week will be released new version.

- zlt982001 - what exactly have you done?
(If this comment was disrespectful, please report it.)

 
8/6/2005 6:09:48 PMHeriberto Mantilla Santamaria

I found a bug

This bug takes place when trying to copy text from the editor.

Error: The clipboard cannot open up: at line 0

The combo with languages doesn't work.
(If this comment was disrespectful, please report it.)

 
8/7/2005 10:35:00 AMT304PK

I can't imagine a way to thank you for this!!! ******************************'s
(If this comment was disrespectful, please report it.)

 
8/7/2005 5:14:11 PMLibor Blaheta

Heriberto Mantilla Santamaria - what exactly have you done? You pressed CTRL+C, which plugins were loaded? Here it works.
(If this comment was disrespectful, please report it.)

 
8/8/2005 11:31:49 AMEric O''Sullivan

Hey, I'd love to get this up and running but have had absolutely zero success installing compiling this to get it to work. Finally managed to compile the ThunVBCC_v1_0.ocx and registered it but none of the projects recognise it in vb> Also getting errors from the other plugins (eg, the resource editor, visual component manager etc) when loading up which has screwed around with my IDE toolbar with missing buttons etc. Am running XP Pro, Sp2, Vb6 on sp6. Please advise I wanna try this thing! :-)
(If this comment was disrespectful, please report it.)

 
8/8/2005 2:49:07 PMLibor Blaheta

It's hard to compile. Download installation page here - https://sourceforge.net/project/showfiles.php?group_id=128073&package_id=159438
(If this comment was disrespectful, please report it.)

 
8/8/2005 3:23:01 PMHeriberto Mantilla Santamaria

Yes Libor Blaheta, I pressed CTRL+C and I loaded all plugins.
(If this comment was disrespectful, please report it.)

 
8/8/2005 7:40:33 PMLibor Blaheta

OK, try to disable "CopyTime code coloring" (it's on ThunIDE tab Misc).
If this does not help, then unload ThunIDE and try again. You have English version of VB6 and WinXP? If you have still problems, write it here - https://sourceforge.net/tracker/?atid=710267&group_id=128073&func=browse. I don't want to spam this page very much.
(If this comment was disrespectful, please report it.)

 
8/9/2005 12:23:19 PMMike Douglas

Cool. Now that you have made StdCall DLL's possible, you might want to extend into making an IISAPI DLL framework with that knowledge. Would be very cool.
(If this comment was disrespectful, please report it.)

 
8/11/2005 2:40:20 AMTai Chi Minh Ralph Eastwood

Oh yeah ....if you ahve any troubles with loading msdn from vb6 (provided you have it) you have to compile thunide in P-Code ... because this is some bug with vb6 which causes it to crash when thunide is compiled in native.
(If this comment was disrespectful, please report it.)

 
8/11/2005 2:41:56 AMTai Chi Minh Ralph Eastwood

Actually this project isn't exactly that difficult...its just absolutely tedious to write :D....all you need is to know how vb6 works and how it 'doesn't work' ;)
(If this comment was disrespectful, please report it.)

 
8/11/2005 8:01:41 PMRaziel

heheh well apart from being very hard to collect that info , you need too much crashing to get something working :) it's easyer that you first thing , still very hard tho :p.. Especialy the dll preloader.. took over a month to get it working w/ all types of callers ...
(If this comment was disrespectful, please report it.)

 
8/14/2005 1:28:10 PMTai Chi Minh Ralph Eastwood

As I said - not difficult just absolutely 'tedious' :D
(If this comment was disrespectful, please report it.)

 
8/16/2005 3:34:50 PMspermodot

Thank you.
(If this comment was disrespectful, please report it.)

 
8/17/2005 6:39:07 AMSotos - Salonica

u ROCK
(If this comment was disrespectful, please report it.)

 
8/19/2005 6:31:26 AMEJ Smith

Fairly confusing to install, added to the fact that there's no help on getting it installed... Otherwise it looks like a good add-in, now if only I could get it to install >=(
(If this comment was disrespectful, please report it.)

 
8/19/2005 7:46:53 AMLibor Blaheta

It's simple. Download installation package here - https://sourceforge.net/project/showfiles.php?group_id=128073&package_id=159438 - and install it :-). ThunVB works only on Win2000/XP and VB6 with SP5/6.
(If this comment was disrespectful, please report it.)

 
8/28/2005 4:49:22 PMFred.cpp

An Amazing project. It's curious to see how VB Is still living and getting much more interesting each year.
Of course, you get my 5 balls but this could be one of those code of the year!
(If this comment was disrespectful, please report it.)

 
8/29/2005 2:36:11 PMVoodoo Attack!!

Really amazing :)
5 Globes from me :D

But i have a dull question, will this conflict with vbAdvance? :P
(If this comment was disrespectful, please report it.)

 
8/29/2005 5:07:18 PMLibor Blaheta

Hi, that's me, remember? :-)

Which conflicts do you mean?
(If this comment was disrespectful, please report it.)

 
8/29/2005 10:07:23 PMcoderNH

5 globes for this great submission
(If this comment was disrespectful, please report it.)

 
8/30/2005 9:12:45 AMVoodoo Attack!!

well, there's an add-in that allows you to export functions from a dll called vbAdvance (http://www.vbadvance.com/)..
I've been using it for a while :)
I'll give it a try, and install your add-in, plug n' pray theory ;)
(If this comment was disrespectful, please report it.)

 
8/30/2005 2:03:23 PMLibor Blaheta

I know vbAdvance. It uses another strategy to compile a dll. I don't know if there're some conflicts when both addins (ThunVB and vbAdvance) are installed.
(If this comment was disrespectful, please report it.)

 
9/6/2005 7:09:05 AMAhmed Essam Naiem

This Amazing I like it
now I am testing it
(If this comment was disrespectful, please report it.)

 
9/9/2005 11:45:57 PMrick

i think i am going to cry :) always hated having to compile asm to a external dll threw vc for faster call's in my programs this is just crazy great work :)
(If this comment was disrespectful, please report it.)

 
9/10/2005 12:41:11 PMMoayad

Excellent work, thanks a lot :)
(If this comment was disrespectful, please report it.)

 
9/12/2005 4:25:00 AMBramPelgrom

Tai Chi Minh Ralph Eastwood: Not every limitation is erased, don't forget the VB runtimes ;)
(If this comment was disrespectful, please report it.)

 
9/12/2005 9:10:03 AMLibor Blaheta

Yes, VB RunTime is the biggest beast :-)
(If this comment was disrespectful, please report it.)

 
10/18/2005 8:36:41 AMTim

Hi I am having the following problem :
Compile a dll with exprted function:
Public Function tim(ByVal i As Long) As Long
MsgBox (i)
tim = 90
End Function

Calling it is not a porblem with VB, but when the compiled application closes, it crashes after the dll_unload. (Loading, calling no problem)
Can somoeone help me ?
(If this comment was disrespectful, please report it.)

 
10/24/2005 5:18:01 AMLibor Blaheta

Hi, here http://thundervb.sourceforge.net/phpBB2/ we will help you :-)
(If this comment was disrespectful, please report it.)

 
10/26/2005 12:35:51 PMAriel D. Poliak

Great work. Thanks to you guys, VB finally has the quality that all serious programming languages have: if you screw up, you can crash the system. Congrats
If I could, I'd give ********************
(If this comment was disrespectful, please report it.)

 
12/15/2005 6:41:07 PMLionel

Hi, looks very interesting but I can't get it to compile. Is there any explanation somewhere? I have already installed the package but i would have liked to compile it from the code.
Can this tool be used to incorporate any language within VB? let's say i want to create a brand new language dedicated to some special tasks, can i use this language within VB in a way that i can do everything from the VBIDE?
Can this tool be used to create a VB preprocessor and use a macro language within VB?
Thanks a lot.
(If this comment was disrespectful, please report it.)

 
12/18/2005 10:15:04 AMRaziel

Well , adding more languages could be done as long as they generate masm compitable asm code as output ;). The code is a bit tricky to compile due to cyclic references .. I used to compile it using a script but i don't have it anymore .To compile the code you need a compitable (on GUID level) binary.

Anyhow , to add a language you just have to edit ThunAsm/create your own plugin so it shount be hard (compiling the plugins is simple) :)
(If this comment was disrespectful, please report it.)

 
4/6/2011 4:35:53 AMCoolCurrent

hello,
1. 10ks for such great work,
2. i can compile the project and use it.
3. is there any updated version i can download
(If this comment was disrespectful, please report it.)

 
4/19/2013 5:42:25 PMPawel

http://sourceforge.net/projects/thundervb/files/ThunderVB/

ThunderVB v 1.0.0 scan of packed file didnt showed any virus but after i extracted all files and wanted to continue installation Comodo shows me a virus in installer exe. I discontinued installation.
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.