Re: How to rename files with support wildcard ?





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.


.



Relevant Pages

  • Re: VS 2005 - Problems deploying C# executable to target
    ... the ActiveSync startup server and that the TCP ... The registry is persistent from one boot to ... registry from the last version of the OS before adding the framework ... version of .NET compact framework" doesn't seemtohelp. ...
    (microsoft.public.windowsce.embedded)
  • Re: VS 2005 - Problems deploying C# executable to target
    ... instrument no spam DOT com> wrote: ...  The registry is persistent from one boot to ... registry from the last version of the OS before adding the framework was ... version of .NET compact framework" doesn't seemtohelp. ...
    (microsoft.public.windowsce.embedded)
  • Re: VS 2005 - Problems deploying C# executable to target
    ... That depends on how the registry is stored, ... registry from the last version of the OS before adding the framework was ... version of .NET compact framework" doesn't seemtohelp. ... dependencies", and go over each of the options displayed in the ...
    (microsoft.public.windowsce.embedded)
  • Re: Microsoft MVPs Say They Want Old VB Back
    ... provides easy access to a VB/VBA specific subkey in the registry. ... >> means more time to code and less RAD productivity. ... > framework if you got used to it, than in a native language. ...
    (microsoft.public.dotnet.general)
  • Re: Can not load required library MSCOREE.TLB - SOLUTION
    ... > of the framework 2.0 on my system. ... > I am a confident registry editor, so I went ahead and started deleting ... > I came across a few keys the referenced mscoree.tlb and mscorlib.tlb ... > beta trash in the registry, clear it out, and retry your compile. ...
    (microsoft.public.dotnet.framework.interop)

Loading