Solved

how to hit URL from vb.net Win Mobile 5 SmartPhone app?

Posted on 2006-07-17
6
357 Views
Last Modified: 2008-02-26
How can I hit a URL from a VB.net Windows Mobile 5 smartphone application? I need to hit a URL like:

www.url.com?par1=1&par2=2 

... from a VB.net windows mobile 5 smartphone app without opening the browser window.

Currently I try something like:

dim push as string
push = "http://www.url.com?par1=1&par2=2"
process.start(push,"")

... which works but opens the web browser which I don't want.

Thanks,
JB
0
Comment
Question by:jtby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17140528
Why do you need to "hit" a page without the browser?

Bob
0
 

Author Comment

by:jtby
ID: 17140645
I want a small app running on my smartphone to periodically send some information to an application I have running on a web server.  The app on the phone will actually have no user interface and will not interact with the user.

The URL I need to hit is more like:

http://www.url.com/updateLocations.asmx/updateLocation?_x=350442&_y=177884

... and you can probably guess the other part of my smartphone app is to read coordinates from a bluetooth connected GPS.

 
0
 
LVL 96

Expert Comment

by:Bob Learned
ID: 17140704
Sounds more like a web service that you need to interface with.

Bob
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jtby
ID: 17140826
yeah.  I'm a bit new to vb.net - in vb6 I would use a web browser control, make it invisible, and then navigate the broswer control to the URL:

http://www.url.com/updateLocations.asmx/updateLocation?_x=350442&_y=177884

... and would have successfully passed coords from my laptop + aircard + gps + vb6  app into my web server app, causing it to appear on the map of any web broswer client viewing the web application.  Now I am trying to replicate that same activity with a smartphone, windows mobile 5  + gps + vb.net.

Do you have any tips for how to send to this very simple web service that takes just 2 parameters, x and y, from VB.net - like a line of code to do it in vb.net?  I think it must be very simple right?
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 17141317
You should be able to add a web reference, and make calls to the web methods from within a class in your WM5 application.  There should be an 'Add Web Reference' option for the project.

Bob
0
 

Author Comment

by:jtby
ID: 17141960
Thanks, that does it - works perfect from a desktop windows app, but from smartphone app it crashes on the phone - probably a deployment problem of something or other - thats a new set of questions though.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question