Last post Oct 14, 2010 06:03 PM by Wyerarch
Oct 13, 2010 01:46 PM|RexRacer|LINK
Ok Guys, here is the problem
I created a aspx.vb codebehind that creates a SDF database to a FTP directory that was created by using the the querystring of the employeeID same with the SDF.
For example FTP\databases\9750\9750.sdf
But now the design has been changed and I've got to tell these mobile 5 devices to run the same "Create SDF Database" process with the EMPLOYEEID as a variable from the windows forms code on devices instead of my aspx web pages .
These mobile devices are on the same subnet as the server cause they are connected to a VPN so Sending Sql request are options. but I'm really hoping I can convert my exsiting aspx.vb pages to a platform that could be ran from the server instead.
I don't know what my options are. OR I can't see the forest for all the trees in my way.
My Question is this. What is the best way for my MOBILE 5 PPC's to send a request to the server to run my aspx scripts to build the sdf databases while using thier global var EmployeeID?
Should or could I build a console app that runs on the server and tell the Mobile Devices to run that?
What about a workflow app?
Can I tell a web server to run a createdb.aspx?EmployeeID=9750 from VB Code Page in windows Forms on a mobile device?
If I'm not making myself clear or you have any questions please let me know.
Oct 14, 2010 06:03 PM|Wyerarch|LINK
Can you take your existing code from the aspx pages and put them into methods in a webservice on the server, and then just call the webservice webmethod passing the employee id from the Mobile PC (and from any other type of device, web, winforms, etc for