A
ABC
How to rename files with support wildcard ?
DOS.
VB.net is for ****ing newbies
- Show quoted text -
I'm not TROLLING.
I am ARGUING FOR THE FUTURE OF VB.
Microsoft is not taking it seriously.
FROM WHERE SELECT is not going to make it EASIER.
if you're going to force OOP down our throats; then don't make us buy
visio to use OOP.
- Show quoted text -
And I honestly and sincerely have this 'riddle' for you.. I've got
this machine under my desk; and it's got some version of the
framework. Can you please describe to me, how to determine which
version of the framework exists?
http://support.microsoft.com/kb/318785
Let's talk about building a VBS file that I'm going to SMS out to
peoples desktops to figure out which version of the framework is on
machineX and jam that information into a database. ....
now try to call up your 'Jr Network Admin' and to it over the phone
with someone that cant speak english.
.NET IS .NOT ON .ANY DESKTOPS
and even the ones that have it; it is impossible to determine 'which
version of the framework is on a particular machine'
TRY ME. SERIOUSLY, YOU WILL GET THIS ANSWER _WRONG_.
kgerritsen said:Take a look at the VB code here, which works for service packs within
1.0 and 1.1:
http://addressof.com/blog/archive/2004/09/21/926.aspx
I was easily able to extend this to seaching for framework 2.0 by
defining 2.0's registry key name as "SOFTWARE\Microsoft\NET Framework
Setup\NDP\v2.0.50727"
Within a try block, try
key = Registry.LocalMachine.OpenSubKey("SOFTWARE\Microsoft\NET
Framework Setup\NDP\v2.0.50727", false)
Your machine to installed framework relationship may be 1:N, not 1:1.
There may very well be runtime effects that occur because of this,
which would be a valid complaint. I would be interested in learning
about and discussing such cases. But that doesn't seem to be the meat
of your complaint. What doesn't work here? Please, explain why this
doesn't work because I think it's pretty neat.
Between retrieving the SP registry value at registry settings location
for each version of the framework, or retrieving the Version file
property of Mscorlib.dll within each framework directory under
%systemroot%\Microsoft.NET\Framework, I don't understand what is
wrong.