[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2006-07-17
6
Medium Priority
?
360 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
Independent Software Vendors: 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

649 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