Results 1 to 6 of 6

Thread: Windows Mobile 5.0 - how to send text file to web from pda?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2009
    Posts
    27

    Thumbs up Windows Mobile 5.0 - how to send text file to web from pda?

    Hello,

    Little new to win mobile apps. What is the procedure to send a text file or long text to the web on a button click? Remember, i dont want to use file control to choose file! Actually the app is getting some input from the user and should be sent to the internet server. So, either i save the input into a text file or send it directly to the web on a button click.

    Any help in this regard?


  2. #2
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Windows Mobile 5.0 - how to send text file to web from pda?

    By the web do you mean a server?

    FTP, web service or connect to a shared folder and copy it.

    You need to tell us exactly what you want to do please.
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2009
    Posts
    27

    Thumbs up Re: Windows Mobile 5.0 - how to send text file to web from pda?

    Thanks for attention.

    I made a form on windows mobile 5.0 for a survey questioner, which contains:

    Question | Agree | Disagree | Answered

    Where question is a textbox, Agree radio-button, Disagree radio-button, Answered Checkbox

    There are 50 questions on this form. What I want is to send the all 50 questions and user feedbacks (agree, disagree and answered) to a web site (i.e. www.mysite.com) and save there as a text file or directly to the access database on website?

    Remember I am using VS2005 and VB.Net for Windows Mobile Application.

    Regards

  4. #4
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Windows Mobile 5.0 - how to send text file to web from pda?

    Hi,
    ok - you can use web services, and populate the database that way, FTP a file, and then populate the database, or look at Microsoft Sync Services.

    If you used SqlServer (express) as the database on the web site, you could use SqlClient to access the database directly, and update it.

    If you used SQL Server you could use replication to update the database.

    This help??
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2009
    Posts
    27

    Thumbs up Re: Windows Mobile 5.0 - how to send text file to web from pda?

    Can you please send me few example codes to use web services and/or ftp a file? I am using MS Access on website so is there a way to connect db directly and update it from mobile app?

    I will appreciate if you send me sample codes that I can test!

    regards

  6. #6
    Frenzied Member
    Join Date
    Oct 2005
    Posts
    1,286

    Re: Windows Mobile 5.0 - how to send text file to web from pda?

    With access - no, take a look at sync services or third party products such as our own SQLLinkCe or software from Primeworks.

    As far as samples are concerned, I have none, but a google search should get you loads.

    I would guess FTP would be your easiest route - build your file and FTP it to your server, then most of the work gets done on the server

    Pete
    Pete Vickers
    MVP - Device Application Development
    http://www.gui-innovations.com http://mobileworld.appamundi.com/blogs/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width