-
February 7th, 2001, 06:30 AM
#1
VB Resources
Hello,
Okay I'll be honest. I am C++ guy. I don't know any VB yet, and I am just starting out. There are too many resources on the web for a VB programmer I know. But as I went to look for online books/tutorials I found that they treat the reader as a beginner to Windows programming as well. I was just wondering if there is some online place where I can quickly learn VB without having to re-learn windows programming etc.
Thanks a lot,
Nas.
What matters in a fight, is not the size of the dog in the fight. It is the size of the fight...in the dog!
-
February 7th, 2001, 08:13 AM
#2
Re: VB Resources
I don't know of any web sites but Programming Microsoft Visual Basic 6.0 (Mps)
by Francesco Balena - Microsoft Press is the place to start, covers everthing from an experienced developer and programmers pov
-
February 7th, 2001, 08:23 AM
#3
Re: VB Resources
A good bet is "Carl & Gary's VB Homepage" at
http://www.cgvb.com
And of course some information is best heard from the horse's mouth:
http://msdn.microsoft.com
HTH,
D.
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
Dublin, Ireland
-
September 25th, 2020, 08:37 PM
#4
Re: VB Resources
Originally Posted by Clearcode
A good bet is "Carl & Gary's VB Homepage" at
http://www.cgvb.com
And of course some information is best heard from the horse's mouth:
http://msdn.microsoft.com
HTH,
D.
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
Dublin, Ireland
I'm having trouble getting your code from http://vbcity.com/forums/t/1393.aspx working. I've tried messaging you on that site (it errored out), this site (no such feature can be found) and your site (no longer seems to be yours) to no avail.
I tried this, but every SPI_GET param returns zero
Public Function GetSystemInfo(Optional uAction As enSystemParametersInfo = SPI_GETFONTSMOOTHING) As Long
Dim lpvParam As Long
SystemParametersInfo uAction, 0, lpvParam, 0
GetSystemInfo = lpvParam
End Function
-
October 4th, 2020, 08:45 PM
#5
Re: VB Resources
You do know that the post you are responding to is over 19 years old? I would think the chance of a response is low at best.
Always use [code][/code] tags when posting code.
-
October 4th, 2020, 11:30 PM
#6
Re: VB Resources
Originally Posted by DataMiser
You do know that the post you are responding to is over 19 years old? I would think the chance of a response is low at best.
Given it was my sole method to do it, I had to do it. Nothing else was working.
-
October 5th, 2020, 01:37 AM
#7
Re: VB Resources
[QUOTE=NeoTechni;2237777...
I tried this, but every SPI_GET param returns zero
Public Function GetSystemInfo(Optional uAction As enSystemParametersInfo = SPI_GETFONTSMOOTHING) As Long
Dim lpvParam As Long
SystemParametersInfo uAction, 0, lpvParam, 0
GetSystemInfo = lpvParam
End Function[/QUOTE]
From MSDN ( https://docs.microsoft.com/en-us/win...arametersinfoa ):
Return value
Type: BOOL
If the function succeeds, the return value is a nonzero value.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
I do not see any call of GetLastError nor the check of the SystemParametersInfo return value.
Victor Nijegorodov
-
October 5th, 2020, 06:19 PM
#8
Re: VB Resources
GetSystemInfo = lpvParam <-- this line is checking the return value as lpvParam is SUPPOSED to be BYREF
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|