Re: How To convert Hex to Dec in VB6.0?
More simple:
DecNumber& = CLng("&H" & HexNum$)
Re: How To convert Hex to Dec in VB6.0?
Wow - and this thread is over 10 years old.
Do you really want to start with threads this old :rolleyes:
Re: How To convert Hex to Dec in VB6.0?
Quote:
Originally Posted by
szlamany
Wow - and this thread is over 10 years old.
Do you really want to start with threads this old
Because I search for this code and lost time, the two threads I answer are old but first in the search of google for this conversion, and for other people not lost time, the last instruction is the best, I test various, and this is simple, fast and totally operative...
Is the reason, for people that search this conversion, have fast and simple and good solution...
Sorry for my bad English...
Pd: Many persons use VB6, is old, but very usseful, I for example have a program in virtual machine - in a oracle sun virtualbox portable - that I sell, and in the virtual machine have a Windows XP 32 bits, and for this operative system, vb6 is fast and a good solution... And in the virtual machine my program run without changes, worked for decades is possible, and I not lost time in the changes of different versions of windows and changes and craps of microsoft...
Also in virtualbox machine is possible for my sell the program for mac and for linux, good solution without need to create 3 programs... One for each system...
One of the big problems of the programation is that is impossible arrive to a be master master master because each little time, changes, changes, changes, and the programmer need to create a good software of any thing, not lost your time in known new codes all the time...
I with the solution of virtualbox portable, is possible for me put all my time in make a better program, not lose all my time in known the stupids and always changes of microsoft...
Re: How To convert Hex to Dec in VB6.0?
It was very useful to me. I still work a lot with VB6 and do some things the old fashioned way.
Re: How To convert Hex to Dec in VB6.0?
I enjoy your advice even today, end of 2017, CDbl("&H" & "ABCDE")
Re: How To convert Hex to Dec in VB6.0?
In fact, VB6 is not that old fashioned: it is similar to VBA in Excel, Word, and so on.
Besides, it is much easier than VB.NET.
I don't like VB6, I love it!
Re: How To convert Hex to Dec in VB6.0?
Hello
Beste Kees
my email <removed by moderator>
A.U.B my email contac
Re: How To convert Hex to Dec in VB6.0?
Do not put an email into a post. There are too many bots cruising the web ready to gather up those addresses and spam you incessantly.