I am using Visual Studio 2005 to build a website and ajoining applications!
Everything has been set up except I am getting on error which won't let me run the page...
In my home.vb code within the App_Code.
Within a Region I have this code: - <WebMethod()> _
-
Public Function HOME_buildCompanyDetails_HTML(ByVal Token As String) As String
-
Dim htmlBuild As New homeHTMLBuilder
-
Return htmlBuild.HOME_buildCompanyDetails_HTML(Token)
-
End Function
-
-
<WebMethod()> _
-
Public Function USERS_UPDATE_Branch(ByVal Token As String, ByVal BranchID As Integer, ByVal TelNumber As String, ByVal FaxNumber As String, ByVal Email As String, ByVal Street As String, ByVal City As String, _
-
ByVal Province As String, ByVal PostalCode As String) As String
-
Dim LawService As New LawService.LawService
-
If LawService.SECURITY_ValidateToken_ReturnUserID(Token) <> 0 Then
-
Dim dsData As New DataSet
-
dsData = LawService.LAWDEEDUSERS_UPDATE_Branch(Token, BranchID, TelNumber, FaxNumber, Email, Street, City, Province, PostalCode)
-
Return dsData.Tables(0).Rows(0).Item("ResultMessage")
-
Else
-
Return "Token"
-
End If
-
End Function
-
...
in Dim LawService As New LawService.LawSevice
.... The LawService.LawService is coming back as 'not defined'! Where would I need to define it in my coding! So simple but i just can't figure it.
Regards!
3 1107
you should ask an administrator or moderator to move this thread to the visual basic forum. I can't see any javascript there.
sorry I can't be of help
I'm guessing this is a .NET question, so I've moved it there. If not, could a moderator kindly move it to the Visual Basic forum.
Wazza13, please can you ensure that you post questions in the most relevant forum. Also remember to use code tags for any code posted and use a good thread title. It may be a good idea to take some time to read the posting guidelines before posting. Thanks.
Moderator.
LawService is going to be a custom object type, probably created by/for your company. And also probably contained in a custom DLL somewhere. Find it and link it.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Liang |
last post by:
Hi,
I use "defined $r_libs->{$name}" to check first if a key exists in a hash
table. But Perl gives a warning WHENEVER the key exists: "Use of
uninitialized value".
Would u please help to...
|
by: napi |
last post by:
I think you would agree with me that a C compiler that directly
produces Java Byte Code to be run on any JVM is something that is
missing to software programmers so far. With such a tool one could...
|
by: Dmitry |
last post by:
Hello,
Sometimes on js code execution Mozilla 1.5
prints in JS concole the following error:
"Error: fn is not defined"
where "fn" is the function name surely defined _before_ the line
that...
|
by: gary |
last post by:
Hi,
We all know the below codes are dangerous:
{
int *p = new int;
delete p;
delete p;
}
And we also know the compilers do not delete p if p==NULL.
So why compilers do not "p = NULL"...
|
by: MLH |
last post by:
I copied the following code snippet from A97 HELP. Am
getting an error at compile time suggesting there's a problem
with the first line (compile error, user-defined type not defined).
It is likely...
|
by: Paminu |
last post by:
In math this expression:
(a < b) && (b < c)
would be described as:
a < b < c
But why is it that in C these two expressions evaluate to something
different for the same values of a, b and...
|
by: ana10192000 |
last post by:
VB6.0
Private dbParts as Database
Private dbParts as Recordset
guys help, i can't execute my program
compiler error says: " user-defined type not defined "
i'm not much a knowledgable...
|
by: jonathanemil |
last post by:
Hello,
I am a 1st semester Computer Science student in a Python class. Our current assignment calls for us to read a list from a file, create a 2-dimensional list from the file, and check to see...
|
by: grbgooglefan |
last post by:
I am creating functions, the return result of which I am using to make
decisions in combined expressions.
In some expressions, I would like to inverse the return result of
function.
E.g....
|
by: jmike |
last post by:
I'm using some legacy code that has a user-defined exception in it.
The top level program includes this line
from TestRunError import *
It also imports several other modules. These other...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |