vb6 how to identify windows 8.1
-
Now that GetVersionEx is deprecated (starting windows 8.1) and will only ever tell me that my program is running on windows 6.2 build 9200 has anyone found a way to work out when I am on windows 8.1 from within VB6? converting to .net is not an option (certainly not a quick or easy one) and the only examples I have been able to find are all c++ I thought I would ask before I sink to the level of trying to scrape the output from a cmd window
-
Now that GetVersionEx is deprecated (starting windows 8.1) and will only ever tell me that my program is running on windows 6.2 build 9200 has anyone found a way to work out when I am on windows 8.1 from within VB6? converting to .net is not an option (certainly not a quick or easy one) and the only examples I have been able to find are all c++ I thought I would ask before I sink to the level of trying to scrape the output from a cmd window
Good luck with that. I was going to post something disparaging organisations that are still using VB6 code but I guess you already know that!
Never underestimate the power of human stupidity RAH
-
Good luck with that. I was going to post something disparaging organisations that are still using VB6 code but I guess you already know that!
Never underestimate the power of human stupidity RAH
Thanks for your support, I shall wear it always (joking) hideous but, for anyone else caught in the same trap shell "cmd /c ver > fred.txt" and then read fred.txt I know crude, horrible but what would you expect from someone that programs in VB6 At least you will all feel totally righteous when Microsoft finally stops supporting the runtime and sit around saying "I told them but would they listen"
-
Thanks for your support, I shall wear it always (joking) hideous but, for anyone else caught in the same trap shell "cmd /c ver > fred.txt" and then read fred.txt I know crude, horrible but what would you expect from someone that programs in VB6 At least you will all feel totally righteous when Microsoft finally stops supporting the runtime and sit around saying "I told them but would they listen"
I'm currently working in Silverlight so have premonitions of the hassle you are going through. However we are already looking at moving to MVC which I personally don't like.
Never underestimate the power of human stupidity RAH
-
Now that GetVersionEx is deprecated (starting windows 8.1) and will only ever tell me that my program is running on windows 6.2 build 9200 has anyone found a way to work out when I am on windows 8.1 from within VB6? converting to .net is not an option (certainly not a quick or easy one) and the only examples I have been able to find are all c++ I thought I would ask before I sink to the level of trying to scrape the output from a cmd window
-
Just a guess. But, how about reading the registry? HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentVersion HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentBuild
-
Thanks for your support, I shall wear it always (joking) hideous but, for anyone else caught in the same trap shell "cmd /c ver > fred.txt" and then read fred.txt I know crude, horrible but what would you expect from someone that programs in VB6 At least you will all feel totally righteous when Microsoft finally stops supporting the runtime and sit around saying "I told them but would they listen"
Actually we should ask Microsoft to stop their "extended" support for old systems far earlier than they do now. That is perhaps the only basis on we can convince our bosses to stop our support for those old systems... (I am happy that we got rid of Windows 2000 last year!)