Re: Programmatically setting a folder to be available offline
- From: "slamb" <slamb@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 22 Jul 2005 06:30:05 -0700
Hi Alexander,
Thanks for the tip. I will try it.
"Alexander Nickolov" wrote:
> Some shell newsgroup should be the right place. The shell
> SDK is not small, and I'm sure the answer is somewhere in
> there. This is a shell feature after all...
>
> --
> =====================================
> Alexander Nickolov
> Microsoft MVP [VC], MCSD
> email: agnickolov@xxxxxxxx
> MVP VC FAQ: http://www.mvps.org/vcfaq
> =====================================
>
> "Arkady Frenkel" <arkadyf@xxxxxxxxxxxxxxxx> wrote in message
> news:OknJvtfjFHA.1948@xxxxxxxxxxxxxxxxxxxxxxx
> > Not at all , I really even don't know if you can ask that on the other
> > forum(s) , this one is exactly you need IMHO
> > Arkady
> >
> > "slamb" <slamb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> > news:615FB700-58DD-4069-BD1B-C52AD39E52E5@xxxxxxxxxxxxxxxx
> >> Hi Arkady,
> >>
> >> Thanks for your help. At least, I know how to connect and reach the
> >> files.
> >> Now, I will try to figure out how design a good synchronization process.
> >>
> >> Again, thanks.
> >>
> >> "Arkady Frenkel" wrote:
> >>
> >>> IMHO they compare date/time if file exist and do copy , but how to cause
> >>> them do that I really don't know :(
> >>> Arkady
> >>>
> >>> "slamb" <slamb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >>> news:D7AEE044-4EA0-4024-92A1-DFB72259C702@xxxxxxxxxxxxxxxx
> >>> > Hi Arkady,
> >>> >
> >>> > So, WNetAddConnection() function will allow me to connect to the
> >>> > shared
> >>> > folder.
> >>> >
> >>> > Now, before writing all the code to perform "manually" the
> >>> > synchronization,
> >>> > is there a function that will allow me to tell Windows to do the
> >>> > synchronization for me, by selecting the "Make available offline" menu
> >>> > option
> >>> > from the shared folder?
> >>> >
> >>> > Thanks.
> >>> >
> >>> >
> >>> > "Arkady Frenkel" wrote:
> >>> >
> >>> >> IMHO that exactly that you do WNetAddConnection() and read/write
> >>> >> files to
> >>> >> that folder for sync
> >>> >> Arkady
> >>> >>
> >>> >> "slamb" <slamb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >>> >> news:36EA97FA-B29F-4046-9D58-5ADC66CCDA78@xxxxxxxxxxxxxxxx
> >>> >> > Hi Arkady,
> >>> >> >
> >>> >> > Thanks for your reply.
> >>> >> >
> >>> >> > What I meant by "offline" is when you select an already shared
> >>> >> > folder
> >>> >> > and
> >>> >> > choose "Make available offline", from it's context menu.
> >>> >> >
> >>> >> > For example, I have shared the folder "My documents" on a Windows
> >>> >> > 2000
> >>> >> > PC.
> >>> >> > Now, from a laptop running Windows XP, I want to programmatically
> >>> >> > be
> >>> >> > able
> >>> >> > to
> >>> >> > set the "My documents" folder (on the Windows 2000 PC) to be
> >>> >> > available
> >>> >> > offline (for synchronization) and then, perform the
> >>> >> > synchronization.
> >>> >> >
> >>> >> > Thanks.
> >>> >> >
> >>> >> >
> >>> >> > "Arkady Frenkel" wrote:
> >>> >> >
> >>> >> >> What do you mean "offline" if you mean online to make it shared
> >>> >> >> it's
> >>> >> >> NetShareAdd()
> >>> >> >> so you can use on the other peers to use WNetAddConnection(2/3)
> >>> >> >> Arkady
> >>> >> >>
> >>> >> >> "slamb" <slamb@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> >>> >> >> news:77046404-B761-4754-80CF-282ED6D06B48@xxxxxxxxxxxxxxxx
> >>> >> >> > Hi,
> >>> >> >> >
> >>> >> >> > This is my first time in the MSDN newsgroup so I'm not sure if
> >>> >> >> > I'm
> >>> >> >> > in
> >>> >> >> > the
> >>> >> >> > right newsgroup. Please let me know if I'm not.
> >>> >> >> >
> >>> >> >> > I'm wondering how can I programmatically (in C/C++ or VBScript)
> >>> >> >> > set
> >>> >> >> > a
> >>> >> >> > folder
> >>> >> >> > to be available offline (for synchronization) on a Windows XP
> >>> >> >> > machine.
> >>> >> >> >
> >>> >> >> > Thanks.
> >>> >> >>
> >>> >> >>
> >>> >> >>
> >>> >>
> >>> >>
> >>> >>
> >>>
> >>>
> >>>
> >
> >
>
>
>
.
- References:
- Programmatically setting a folder to be available offline
- From: slamb
- Re: Programmatically setting a folder to be available offline
- From: Arkady Frenkel
- Re: Programmatically setting a folder to be available offline
- From: slamb
- Re: Programmatically setting a folder to be available offline
- From: Arkady Frenkel
- Re: Programmatically setting a folder to be available offline
- From: slamb
- Re: Programmatically setting a folder to be available offline
- From: Arkady Frenkel
- Re: Programmatically setting a folder to be available offline
- From: slamb
- Re: Programmatically setting a folder to be available offline
- From: Arkady Frenkel
- Re: Programmatically setting a folder to be available offline
- From: Alexander Nickolov
- Programmatically setting a folder to be available offline
- Prev by Date: Script don't return results in Windows 98
- Next by Date: Initial ACCESS_DENIED from SPOOLSS
- Previous by thread: Re: Programmatically setting a folder to be available offline
- Next by thread: Accessing wmi through Java or web service
- Index(es):
Relevant Pages
|