Re: Environment and Permissions
- From: "John Bowman" <jmbowman@xxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 22:22:46 -0500
Sorry about the accidental double posts...
John
"John Bowman" <jmbowman@xxxxxxxxxxx> wrote in message
news:u4QIRWD3FHA.2604@xxxxxxxxxxxxxxxxxxxxxxx
> Ricahrd,
>
> Thanks again for continuing trying to help me out. Basically, the program
> is an installer launcher. It figures out what MSI based installers are
> present on the media and runs them - nothing really fancy. It uses the
> Environment.ExpandVariables method to make certain that any folder spec
> strings retrieved from ini or registry are properly expanded before the
> program makes any use of them. I had this code in another program and
> simply lifted it for this one and now it doesn't work.
>
> John
>
> "Richard Blewett [DevelopMentor]" <richard at nospam dotnetconsult dot co
> dot uk> wrote in message news:ekaO6XA3FHA.636@xxxxxxxxxxxxxxxxxxxxxxx
>> "John Bowman" <jmbowman@xxxxxxxxxxx> wrote in message
>> news:ezOUND%232FHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
>>> Richard,
>>>
>>> Thanks again for the additional assistance. The test app works
>>> perfectly, even in the same location as the real app. When I copy your
>>> line:
>>>
>>>
>>> Console.WriteLine(Environment.ExpandEnvironmentVariables("%windir%"));
>>>
>>> into my code to replace my existing function. It crashes just like my
>>> code.
>>>
>>> Any other ideas?
>>>
>>> John
>>>
>>
>> How is your code being loaded - are you a plug-in or something like that?
>> There is obviously something fundementally different about the .exe I
>> sent and how your code executes - can you give us some more detail about
>> what your application does?
>>
>> Regards
>>
>> Richard Blewett - DevelopMentor
>> http://www.dotnetconsult.co.uk/weblog
>> http://www.dotnetconsult.co.uk
>>
>
>
.
- References:
- Environment and Permissions
- From: John Bowman
- Environment and Permissions
- Prev by Date: Re: List of actions for a file extention
- Next by Date: Re: Hashtable.Clone() is shadow copy, how to depth copy hashtable?
- Previous by thread: Environment and Permissions
- Next by thread: Re: Environment and Permissions
- Index(es):
Relevant Pages
|