In that case you could do this:
myString = Replace(Format$(myNumber, "#\,##\,##0.00"), ",,", vbNullString)
If Left$(myString, 1) = "," Then myString = Right$(myString, Len(myString) - 1)
I assume you mean in VB and not in MS Office VBA (In the latter there is a way to mimic this).
In the case of VB - sorry but there is absolutly no way of doing this. The grid manufacter decided not to give this capability. You cannot even put a frame on it and change its' color because the...
Try this:
Format$("123456.78","#0\,00\,000\.00")
or
Format$(123456.78,"0\,00\,000\.00#")
but NOT
Format$(123456.78,"#0\,00\,000\.00#")
Make sure that if the # is used on the left or right side only, and not both - if the number to be formated can have...
You people were right - and a great help!
I finally found out what you were talking about (should have read the suggestions closer).
The Kodak.img exe comes with a oca and ocx. Under Win 95 and NT it was Wangimg.exe. I found a sample application that was installed with Win 95 and Win Nt. I was...
How can I simply display a Tif picture on a form in VB6, via VB6 code, components or Windows API?
Please note that a program that can view Tif files may or may not be on the user's PC - the only things that may be on the PC is the OS and any VB6 run time files or components. So, I am not sure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.