From: Tommy Long on
I know how to do it in VB6, I have code snippets coming out my ears for VB6,
but with the new framework in Visual Studio 2005, how do you get/put from a
..INI

If I attempt to use a VB6 snippet in Studio 05 it whinges about using the
'as Any' type in my declarations, and it whinges about using the String$()
function when creating a buffer string variable. Infact, it whinges a whole
lot, why my employer got VS05 I'll never know. :(

Anyway, thanks in advance for any help.

If people have simple alternatives for the use of .ini's for my future
reference, that'd be handy as well. Assumably .xl?

Cheers,
Tommy

--
-------------------------------
Please respond to my posts via the newsgroup as the e-mail provided is not
monitored.
From: Jan Hyde (VB MVP) on
Tommy Long <TommyLong(a)discussions.microsoft.com>'s wild
thoughts were released on Wed, 2 Jul 2008 07:26:01 -0700
bearing the following fruit:

>I know how to do it in VB6, I have code snippets coming out my ears for VB6,
>but with the new framework in Visual Studio 2005, how do you get/put from a
>.INI

Dunno, this is a VB6 group so you'll only get VB6 examples.

Try one of the groups with 'dotnet' in the name.

--
Jan Hyde

https://mvp.support.microsoft.com/profile/Jan.Hyde
From: Tommy Long on
My Bad,

Thanks Jan
--
-------------------------------
Please respond to my posts via the newsgroup as the e-mail provided is not
monitored.


"Jan Hyde (VB MVP)" wrote:

> Tommy Long <TommyLong(a)discussions.microsoft.com>'s wild
> thoughts were released on Wed, 2 Jul 2008 07:26:01 -0700
> bearing the following fruit:
>
> >I know how to do it in VB6, I have code snippets coming out my ears for VB6,
> >but with the new framework in Visual Studio 2005, how do you get/put from a
> >.INI
>
> Dunno, this is a VB6 group so you'll only get VB6 examples.
>
> Try one of the groups with 'dotnet' in the name.
>
> --
> Jan Hyde
>
> https://mvp.support.microsoft.com/profile/Jan.Hyde
>
From: Paul Clement on
On Wed, 2 Jul 2008 07:26:01 -0700, Tommy Long <TommyLong(a)discussions.microsoft.com> wrote:

� I know how to do it in VB6, I have code snippets coming out my ears for VB6,
� but with the new framework in Visual Studio 2005, how do you get/put from a
� .INI

� If I attempt to use a VB6 snippet in Studio 05 it whinges about using the
� 'as Any' type in my declarations, and it whinges about using the String$()
� function when creating a buffer string variable. Infact, it whinges a whole
� lot, why my employer got VS05 I'll never know. :(

� Anyway, thanks in advance for any help.

� If people have simple alternatives for the use of .ini's for my future
� reference, that'd be handy as well. Assumably .xl?

Try the .NET class:

http://www.mentalis.org/soft/class.qpx?id=6


Paul
~~~~
Microsoft MVP (Visual Basic)