 |
|
 |
|
Next: Shine Watch, Best Wristwatch
|
| Author |
Message |
External

Since: Feb 17, 2009 Posts: 2
|
(Msg. 1) Posted: Tue Feb 17, 2009 7:20 am
Post subject: Pocket PC 2003 and Network Problem Archived from groups: microsoft>public>pocketpc>developer>networking (more info?)
|
|
|
Hi,
I developed an application with .Net Compact Framework 2.0 and SQL CE 3.5. There
is a schedule task that, during night, start the replication between SQL CE and
SQL Server 2000 in my office network.
If I execute the repl during the day works fine, if I start the pocket pc and so
connect directly to my network. During the day the pocket pc goes out of the
office to our client and it try to connects to client's network, the pocket pc
come back to office in the evening and, during the night, the repl, often,
doesn't work because there are problem to connect with our network.
Is possible to disable and enable the network programmatically?? The pocket PC
don't need the network in normal use, need the network only for the SQL repl. So
I think that a solution can be to enable the network before start the repl, make
repl and, when the repl ends, disable it. Is possible?
Maybe I can change some value in the registry, but which values??
Thanks in advance.
Mino |
|
| Back to top |
|
 |  |
External

Since: Feb 16, 2009 Posts: 2
|
(Msg. 2) Posted: Wed Feb 18, 2009 8:04 pm
Post subject: RE: Pocket PC 2003 and Network Problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
you can try using connection manager API's
bDisabled in structure CONNMGR_CONNECTIONINFO
"Mino" wrote:
> Hi,
> I developed an application with .Net Compact Framework 2.0 and SQL CE 3.5. There
> is a schedule task that, during night, start the replication between SQL CE and
> SQL Server 2000 in my office network.
>
> If I execute the repl during the day works fine, if I start the pocket pc and so
> connect directly to my network. During the day the pocket pc goes out of the
> office to our client and it try to connects to client's network, the pocket pc
> come back to office in the evening and, during the night, the repl, often,
> doesn't work because there are problem to connect with our network.
>
> Is possible to disable and enable the network programmatically?? The pocket PC
> don't need the network in normal use, need the network only for the SQL repl. So
> I think that a solution can be to enable the network before start the repl, make
> repl and, when the repl ends, disable it. Is possible?
>
> Maybe I can change some value in the registry, but which values??
>
> Thanks in advance.
> Mino
> |
|
| Back to top |
|
 |  |
External

Since: Feb 17, 2009 Posts: 2
|
(Msg. 3) Posted: Mon Feb 23, 2009 7:20 am
Post subject: Re: Pocket PC 2003 and Network Problem [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
|
|
|
Thanks, I will try
Bye
wmcm wrote, On 19/02/2009 5.04:
> you can try using connection manager API's
> bDisabled in structure CONNMGR_CONNECTIONINFO
>
> "Mino" wrote:
>
>> Hi,
>> I developed an application with .Net Compact Framework 2.0 and SQL CE 3.5. There
>> is a schedule task that, during night, start the replication between SQL CE and
>> SQL Server 2000 in my office network.
>>
>> If I execute the repl during the day works fine, if I start the pocket pc and so
>> connect directly to my network. During the day the pocket pc goes out of the
>> office to our client and it try to connects to client's network, the pocket pc
>> come back to office in the evening and, during the night, the repl, often,
>> doesn't work because there are problem to connect with our network.
>>
>> Is possible to disable and enable the network programmatically?? The pocket PC
>> don't need the network in normal use, need the network only for the SQL repl. So
>> I think that a solution can be to enable the network before start the repl, make
>> repl and, when the repl ends, disable it. Is possible?
>>
>> Maybe I can change some value in the registry, but which values??
>>
>> Thanks in advance.
>> Mino
>> |
|
| Back to top |
|
 |  |
|
You can post new topics in this forum You can reply to topics in this forum You can edit your posts in this forum You can delete your posts in this forum You can vote in polls in this forum
|
|
|
|
 |
|
|