Access to files on PC from a mobile device

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have developed an application for mobile device using .NET Compact Framework
Smart devices that I use has a wireless LAN connection. I can use Microsoft Active Sync in wireless mode
Now I need to acces to files on hard disk of PC in direct mode, that is, without using Microsoft Active Sync
Is it possible with Compact Framework Class

Thanks in advance for advice !
 
Hi, Lorenzo

Thanks for your interesting question...

I wrote a little code as follow

StreamWriter sw=new
StreamWriter(@"\\jannote\@exchange\test.txt", true);
sw.WriteLine(DateTime.Now.ToString());
sw.Close();

It runs well in emulator, and successfully created test.txt in my shared
folder.
It depends only on TCP, instead of ActiveSync, because I terminate
ActiveSync
in Task Manager. Just like what you did in Pocket File Explorer connecting a
shared folder on PC.

The disadvantage is that you have to create a shared folder before you
connect.
If that doesn't make your problem, this should be your answer.

--
Best Regards,
Jan Yeh

eMVP, MCAD, .NETcf Developer
Mobile Mind Company @ Taiwan

Lorenzo said:
I have developed an application for mobile device using .NET Compact Framework.
Smart devices that I use has a wireless LAN connection. I can use
Microsoft Active Sync in wireless mode.
Now I need to acces to files on hard disk of PC in direct mode, that is,
without using Microsoft Active Sync.
 
Hi Ja

Thanks for suggestion
I' ll try to follow the way U indicated me !

Best Regards
Lorenzo
 
Back
Top