473,326 Members | 2,815 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

imports another VB from a VB.

Hello,

I am using Web-service (*.asmx) with the language = "VB".
How can I include another *.asmx which I make.

What I did is :
imports "myWS.asmx'

.... which doesn't work

Thanks :)
Nov 20 '05 #1
4 1439
Cor
Hi Mr x.
I think this is typical a question done in the asp.net group
I think you have there a better change to get an answer for this question.
The people who visit this newsgroup are mostly using *.aspx.vb in the
asp.net group *.asmx
I hope you have succes
Cor
Nov 20 '05 #2
"Mr. x" <a@b.com> scripsit:
I am using Web-service (*.asmx) with the language = "VB".
How can I include another *.asmx which I make.

What I did is :
imports "myWS.asmx'


You may want to ask this question in the ASP.NET group:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

Web interface:

<http://msdn.microsoft.com/newsgroups/default.asp?url=/newsgroups/loadframes.asp?icp=msdn&slcid=us&newsgroup=microso ft.public.dotnet.framework.aspnet>

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3
....
There's no answer at that newsgroups, since a month...
on subject : "calling web-service from another web-service".
group : microsoft.public.dotnet.framework.aspnet.webservic e.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OB*************@tk2msftngp13.phx.gbl...
"Mr. x" <a@b.com> scripsit:
I am using Web-service (*.asmx) with the language = "VB".
How can I include another *.asmx which I make.

What I did is :
imports "myWS.asmx'
You may want to ask this question in the ASP.NET group:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

Web interface:

<http://msdn.microsoft.com/newsgroups...ups/loadframes
..asp?icp=msdn&slcid=us&newsgroup=microsoft.public .dotnet.framework.aspnet>
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #4
Cor
Hi Mr. x.
I did understand it totaly wrong.
I did a long time nothing with a webservice and was mixing up 2 things .
I did not know if it could, but thought why not, therefore I made as example
2 "hello world" webservices and one normal window form, 3 projects in one
project.
The asmx.vb code was.
First Webservice Service1
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Return "First Service"
End Function
///
Second Webservice Service2
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Dim me1 As New localhost.Service1
Return me1.HelloWorld
End Function
///
Window Form
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim me2 As New localhost.Service2
Me.Label1.Text = me2.HelloWorld()
End Sub
///
On my window form was when I did push the button,
and there was "First Service" on my screen.

I hope this answers your question?
Cor
Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Steven K | last post by:
Hello, Is there a way to declare imports so that they don't have to be declared both in Master Page.vb and the Content Page.vb? For example, I have the following in the Master Page.vb Imports...
19
by: Tiraman | last post by:
Hi , I have an assembly that hold few class and few imports which are not used in all of the class's . so my question is when to use the "Imports XXX" And when to use this kind of statement...
1
by: Thomas Wittek | last post by:
Hi! Is there any possibility/tool to automatically organize the imports at the beginning of a module? I don't mean automatic imports like autoimp does as I like seeing where my...
5
by: kimiraikkonen | last post by:
Hello, I want to ask about "imports" statement. Some projects must be inserted with "imports xxxx" statements before beginning coding. But how do i know when to use or do i have to use "imports"...
3
by: Mohamed Yousef | last post by:
Hello , The problem I'm asking about is how can imported modules be aware of other imported modules so they don't have to re-import them (avoiding importing problems and Consicing code and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.