What's new

Any tips for Visual Basic

OP
tbag

tbag

New member
Yeah VB really i think is made just for Companys for keeping Databases because theres really no use for the program eh? lol
 

Doomulation

?????????????????????????
Lol, i've had several courses with c++ and learned the "basics", yet it screws and it hard to use for me :plain:
The debug...err, it's kinda hard to use imo. At least some.

And the windows stuff keept messin' for me, lol. :sleepy:
And what i mostly hate--the irritating sensitivity when designing windows. It's pretty much impossible to get the same height/width of controls, and at the same "top" or "left" position. :satisfied
 

Cyberman

Moderator
Moderator
Doomulation said:
Lol, i've had several courses with c++ and learned the "basics", yet it screws and it hard to use for me :plain:
The debug...err, it's kinda hard to use imo. At least some.

And the windows stuff keept messin' for me, lol. :sleepy:
And what i mostly hate--the irritating sensitivity when designing windows. It's pretty much impossible to get the same height/width of controls, and at the same "top" or "left" position. :satisfied
That's because they don't specify windows in terms of 'inches' or screen percentage. If they did.. it would look almost the same at 800x600 as it does at 1152x864. Such is life huh? Instead of points we use TWIPS (MS idea?) and it seems you can alter a windows font sizes based on (heh) there desk top settings which TOTALY messes things up! :)

As for C++ being complicated.. yes it is there is just no way around it, C++ is ment to do complex things, VB is not.

That doesn't mean it's hard to use just you have to THINK before you implement! ;)

Cyb
 
OP
tbag

tbag

New member
Well some VB things have been used to build complex Extended Database Listing programs but thats all VB is really best at.

But also note that VB's way of making forms etc.. its really stupid if you put it in pixels and specify the size eg. 240x160

it will not do anything if you set it in the loading of the form in the code to 240x160 you get it in pixels but around about 294x179?
 

mesman00

What's that...?
yah, what the hell is w/ that, i never understand why it never came out w/ the correct size. and twips are gay...but do we have a choice? no
 

Cyberman

Moderator
Moderator
tbag said:
Well some VB things have been used to build complex Extended Database Listing programs but thats all VB is really best at.

But also note that VB's way of making forms etc.. its really stupid if you put it in pixels and specify the size eg. 240x160

it will not do anything if you set it in the loading of the form in the code to 240x160 you get it in pixels but around about 294x179?
Well in BCB all I would do is create a TBitmap at 240x160 and then assign it to a TImage object when I'm done with changes. This way I make all the changes to the TBitmap and update by assigning to
Image->Picture->Bitmap = MyBitmap;

The TImage object scales it's display acordingly, you can center the display instead if you want to I suppose :)

Have fun!

Cyb
 
OP
tbag

tbag

New member
Nah im doing C++ now but i still look at VB
hmm..is using Direct X to draw the emulators screen any good?
 

Doomulation

?????????????????????????
Hmm, btw...
visual basic .net is another thing...it's more like c++. It's object oriented too. Altough i never used it much, so i don't know if it's really good....

It's powerful, thóugh. Perhaps not as much as c++, but such is life, huh?
 
OP
tbag

tbag

New member
Hehe good point you can also combine Delphi into VB if you want which is great but currently im studying the GC ;)
 

Binary64

New member
X86 Emulator

Here is an emu i writen in VB6, it emulates a few .com files for DOS,
its stupid i know to write an 8086 emulator for the same machine.
But my goal is, to include ADLIB emulation, SoundBlaster and all that old stuff in my emu. If you want screenshots and the source goto my site @
http://binary64.staticip.de/

click on the first item "Denis Homepage".

I`m programming VB ever, i love that VB its nice and I know
how VB can use assembly optimized code ;) ITSS FAASSTT yeahhh.

Download my emulator from the link and look how an emulator
looks in VB Code.

Greets, Denis ;)

p.S please note me if the link dont work >Homepage<, thanks:blush:
 

Doomulation

?????????????????????????
It would be good to translate that into english if you could. Not everyone knows german. I'm one of them.
 

Binary64

New member
The X86 is a DOS emulator that emulates a few opcodes of the 8086. My emulator project is not ready enough to emulate
real games, but a few simple .com applications, if you clicked on the link on my page (under the german readme of the emu) you
where linked to PlanetSourceCode>X86 emu. If you want a executeable download here from

http://binary64.staticip.de/Denis/DosBOX.zip

Good look, Denis ;)
 

Cyberman

Moderator
Moderator
Binary64 said:
The X86 is a DOS emulator that emulates a few opcodes of the 8086. My emulator project is not ready enough to emulate
real games, but a few simple .com applications, if you clicked on the link on my page (under the german readme of the emu) you
where linked to PlanetSourceCode>X86 emu. If you want a executeable download here from

http://binary64.staticip.de/Denis/DosBOX.zip

Good look, Denis ;)

You might want to look at Bochs.. it is a x86 emulator that emulates VGA hardware even. You can boot windows 3.1 with it win95 and win98 not sure about newer versions let me see ok here you go :)
Bochs Sourforge Address and bochs win32 address
 

Top