Re: [nsbasic-ce] Re: Copy Files

2010-03-10 Thread George Henne
You need to make sure the NewObjects control is on the device. What version of NS Basic/CE are you using? >I would like some help on this as well. >When i modify the code from Tech Note 3 > >AddObject "newObjects.utilctls.SFMain", "FS" >FS.CopyFile("ABC.txt","\Program\DEF.txt") > >I get an error

[nsbasic-ce] Re: Copy Files

2010-03-10 Thread bwolodko
Nathan, these objects require you to specify the file Path. Where does "ABC.txt" reside? Ben --- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: > > You need to make sure the NewObjects control is on the device. > > What version of NS Basic/CE are you using? > > >I would like some help

Re: [nsbasic-ce] Re: Identification of PDA

2010-03-10 Thread Thomas Gruber
Hello George, if you have more than 2 mobile devices I think you will run into a restriction in ActiveSync anyway: it can only store profiles for 2 different mobile devices; if you connect a 3rd device, you either have to remove one of the others, or connect it as a "guest", in which case you ca

RE: [nsbasic-ce] Re: Identification of PDA

2010-03-10 Thread George Walters
You may be correct. I only will be having one at a time syncing, but there may be many in the warehouse. I found that it is possible to identify which one is in the cradle using VB, but that is not the language I'm using. There is a tool in VB CEUtil.h that those guys can use which is exactly what

[nsbasic-ce] Re: Copy Files

2010-03-10 Thread bigp...@rogers.com
8.1.2a --- In nsbasic-ce@yahoogroups.com, "George Henne" wrote: > > You need to make sure the NewObjects control is on the device. > > What version of NS Basic/CE are you using? > > >I would like some help on this as well. > >When i modify the code from Tech Note 3 > > > >AddObject "newObjects.

[nsbasic-ce] Re: Copy Files

2010-03-10 Thread bigp...@rogers.com
The files are on the handheld, I believe it is called "My Device" I'm guessing its equivalent to the "My Computer" destination on a computer --- In nsbasic-ce@yahoogroups.com, "bwolodko" wrote: > > Nathan, these objects require you to specify the file Path. > > Where does "ABC.txt" reside? > >

[nsbasic-ce] Re: Identification of PDA

2010-03-10 Thread joespan123
Thomas, ActiveSync has no restriction on the number of partnerships it can have on 1 PC. That means you can have 100+ devices syncing to 1 PC. Note, this will only work if every one of the 100+ devices has a unique "Device ID" set. The only restriction is that you can ONLY sync 1 device with 2

[nsbasic-ce] Re: Copy Files

2010-03-10 Thread bwolodko
Nathan, are you basing this on Technote 08? the section: CopyTo Copies the entire file or portion of it to the target File. Syntax: variable = File.CopyTo( file, cbBytes) Parameters: file - the Target File. cbBytes - Bytes to copy to the target File. returned value: The actual number of bytes

Re: [nsbasic-ce] Re: Identification of PDA

2010-03-10 Thread Thomas Gruber
Hi Joe, thanks for the clarification, I mixed it up with the "2 PCs for 1 mobile device" restriction. Sorry! But I knew someone on this forum would check this... :-) Kind regards Thomas Am 10.03.2010 um 21:18PM schrieb joespan123: > Thomas, > > ActiveSync has no restriction on the number of pa

Re: [nsbasic-ce] Re: Identification of PDA

2010-03-10 Thread Thomas Gruber
Hello George, "ceutil.dll" seems to be part of ActiveSync and should be installed on your PC, I found it in C:\WINNT\System32. So I suspect that using the DECLARE mechanism you should be able to use a very similar code as you found in VBA using NSBasic. I will certainly give it a try myself, but