Hi -

I'm creating an installation program that will install a VB.NET program and
an instance of MSDE on an unknown desktop (commercial application). The
install will include the MSDE redistributable files (and it will launch the
MSDE Setup.exe to install MSDE).

I've read that "Except on Win 98 and Millennium, file and print sharing must
be active"

How can my install program ensure this (programmatically)? More
specifically:

Where (registry setting or elsewhere) do I check for these settings, and
what name-value pairs are valid?

Is this the correct approach?

Thanks for your help.

- Jeff

RE: Checking File and Print Sharing by bburgin

bburgin
Wed Aug 18 22:19:39 CDT 2004

------=_NextPart_0001_4275CFF3
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I have a sample that does what I think you want to do. I'll mail it to you.

Bryan S. Burgin
bburgin@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.
------=_NextPart_0001_4275CFF3
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 I have a sample that does what I think you want to do. I'll mail it to you.
\par
\par Bryan S. Burgin
\par bburgin@online.microsoft.com
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_4275CFF3--


Re: Checking File and Print Sharing by Jeff

Jeff
Thu Aug 19 14:18:07 CDT 2004

Thanks very much for the sample, Brian -

Unfortunately, I'm a VB.NET user and I don't know how to use or modify the
C++ code that you sent to me.

- Jeff


""Bryan S. Burgin [MSFT]"" <bburgin@online.microsoft.com> wrote in message
news:zd4YttZhEHA.584@cpmsftngxa10.phx.gbl...
> I have a sample that does what I think you want to do. I'll mail it to
you.
>
> Bryan S. Burgin
> bburgin@online.microsoft.com
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.



Re: Checking File and Print Sharing by bburgin

bburgin
Thu Aug 19 21:34:47 CDT 2004

------=_NextPart_0001_47733FA1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Unfortanately, I don't have a version of the sample in VB and presently
don't have the resources to do so. However, it might be possible that
someone has converted the necessary function protocols, structs and defines
to VB eq as a .BAS module. You might check Google or the VB newsgroup.

Bryan S. Burgin
bburgin@online.microsoft.com

This posting is provided "AS IS" with no warranties, and confers no rights.

------=_NextPart_0001_47733FA1
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Unfortanately, I don't have a version of the sample in VB and presently don't have the resources to do so. However, it might be possible that someone has converted the necessary function protocols, structs and defines to VB eq as a .BAS module. You might check Google or the VB newsgroup.
\par
\par Bryan S. Burgin
\par bburgin@online.microsoft.com
\par
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par
\par }
------=_NextPart_0001_47733FA1--


Re: Checking File and Print Sharing by Jeff

Jeff
Sat Aug 21 22:33:29 CDT 2004

Thanks, Brian -

.BAS won't do me much good as I'm using VB.NET. I'll try the
dotnet.languages.vb group in addition to this one.

Meanwhile, can anyone else help me solve this problem??

- Jeff


""Bryan S. Burgin [MSFT]"" <bburgin@online.microsoft.com> wrote in message
news:96xWY5lhEHA.3024@cpmsftngxa10.phx.gbl...
> Unfortanately, I don't have a version of the sample in VB and presently
> don't have the resources to do so. However, it might be possible that
> someone has converted the necessary function protocols, structs and
defines
> to VB eq as a .BAS module. You might check Google or the VB newsgroup.
>
> Bryan S. Burgin
> bburgin@online.microsoft.com
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>