Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

httplistener add paramaters

Posted on 2013-05-20
3
Medium Priority
?
362 Views
Last Modified: 2013-05-24
I am able to start a httplistener using the following code (masked url of course)

Dim listener As New HttpListener()
listener.Prefixes.Add(https://hostedconnect.themnet.com/m1/m11/)
listener.Start()

How would I add paramaters to this?

I need to pass 3 paramaters
name=somevalue
usr=someuser
pwd=somepassword
0
Comment
Question by:lrbrister
[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
  • 2
3 Comments
 
LVL 25

Accepted Solution

by:
Luis Pérez earned 2000 total points
ID: 39181511
Well, in fact I think that you need to pass the prefix as a String (between quotes):

listener.Prefixes.Add("https://hostedconnect.themnet.com/m1/m11/")

So I guess you can do this:

listener.Prefixes.Add("https://hostedconnect.themnet.com/m1/m11/?name=somevalue&usr=someuser&pwd=somepassword")

Hope that helps.
0
 

Author Comment

by:lrbrister
ID: 39181552
RolandDeschain

Errors below...but the listener started...no error on prefixes.
Does this just mean I have wrong parameters?

When I did that I goit the following error
sc
When I added the / at the end, I get
sc2
0
 

Author Closing Comment

by:lrbrister
ID: 39194152
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

604 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