TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Bill Z
NA
1
1.8k
Calling a method
Jul 27 2010 5:22 PM
This is a rudimentary question as I am new to vb.net, so your patience is appreciated. I have created a method within a class and now I am trying to import that into my page.
The method looks like this
Public
Shared
Sub
urlVars(
ByVal
langVar,
ByVal
countryVar)
Dim
countryLanguage
As
String
countryLanguage = (HttpContext.Current.Request(
"URL"
))
langVar = (Mid(countryLanguage, 2, 2))
countryVar = (Mid(countryLanguage, 5, 2))
End
Sub
On the page I am trying to call that method into the page with this
Dim
globalVars
As
url-parser =
new
url-parser(countryLanguage)
As you might of guessed this isn't working. Thanks for any help.
Reply
Answers (
1
)
establish phone-to-phone call over sip account at a betamax provider in vb.net?
Create the project folder