Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to assign Object from textbox in VB.NET?

Status
Not open for further replies.

NMickey

Programmer
Nov 7, 2004
15
US
Please help,

Well... I don't know where I start ... anyway, I consume web service for my device (PPC) and I declare below:

Dim myDS as new Dim dsRemote As DataSet
dsRemote = myDS.getItems()
...
The code above is working perfectly fine...But my question is, can I assign URL in the textbox, " in run time? So I can change my URL anytime I need. What I do mean that

Dim myDS as new(txtURL)

I know the txtURL just variable (string), not an Object. So is there anyway to do it? I use web service for my PPC and write by VB.NET. Please provide with some code would apreciate it.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top