Re: How to rename files with support wildcard ?
- From: "susiedba@xxxxxxxxxxx" <susiedba@xxxxxxxxxxx>
- Date: 26 Feb 2007 10:31:00 -0800
a) THAT KB ARTICLE DOES NOT WORK ON WINDOWS 98 RIGHT?
b) THAT KB ARTICLE DOES NOT WORK ON WINDOWS 98 RIGHT?
c) THAT KB ARTICLE DOES NOT WORK ON WINDOWS 98 RIGHT?
On Feb 23, 1:11 pm, "kgerritsen" <k...@xxxxxxxxxx> wrote:
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_.
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.
.
- References:
- How to rename files with support wildcard ?
- From: ABC
- Re: How to rename files with support wildcard ?
- From: susiedba@xxxxxxxxxxx
- Re: How to rename files with support wildcard ?
- From: dhbernard
- Re: How to rename files with support wildcard ?
- From: susiedba@xxxxxxxxxxx
- Re: How to rename files with support wildcard ?
- From: dhbernard
- Re: How to rename files with support wildcard ?
- From: susiedba@xxxxxxxxxxx
- Re: How to rename files with support wildcard ?
- From: kgerritsen
- How to rename files with support wildcard ?
- Prev by Date: Re: function to strip out matching value? vb Noob
- Next by Date: Link in DataGridView
- Previous by thread: Re: How to rename files with support wildcard ?
- Next by thread: Re: How to rename files with support wildcard ?
- Index(es):
Relevant Pages
|