|
-
Mar 26th, 2009, 05:05 AM
#1
Thread Starter
Junior Member
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?
-
Mar 26th, 2009, 01:32 PM
#2
Frenzied Member
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.
-
Mar 27th, 2009, 04:38 AM
#3
Thread Starter
Junior Member
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
-
Mar 27th, 2009, 08:06 AM
#4
Frenzied Member
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??
-
Mar 28th, 2009, 03:04 AM
#5
Thread Starter
Junior Member
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
-
Mar 28th, 2009, 09:33 AM
#6
Frenzied Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|