473,396 Members | 1,965 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,396 software developers and data experts.

LawService.LawService "not defined"

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:

Expand|Select|Wrap|Line Numbers
  1.     <WebMethod()> _
  2.     Public Function HOME_buildCompanyDetails_HTML(ByVal Token As String) As String
  3.         Dim htmlBuild As New homeHTMLBuilder
  4.         Return htmlBuild.HOME_buildCompanyDetails_HTML(Token)
  5.     End Function
  6.  
  7.     <WebMethod()> _
  8.     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, _
  9.                                                                     ByVal Province As String, ByVal PostalCode As String) As String
  10.         Dim LawService As New LawService.LawService
  11.         If LawService.SECURITY_ValidateToken_ReturnUserID(Token) <> 0 Then
  12.             Dim dsData As New DataSet
  13.             dsData = LawService.LAWDEEDUSERS_UPDATE_Branch(Token, BranchID, TelNumber, FaxNumber, Email, Street, City, Province, PostalCode)
  14.             Return dsData.Tables(0).Rows(0).Item("ResultMessage")
  15.         Else
  16.             Return "Token"
  17.         End If
  18.     End Function
  19.  
...

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!
Sep 2 '08 #1
3 1107
Dormilich
8,658 Expert Mod 8TB
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
Sep 2 '08 #2
acoder
16,027 Expert Mod 8TB
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.
Sep 2 '08 #3
Plater
7,872 Expert 4TB
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.
Sep 2 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
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...
235
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...
4
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...
13
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"...
11
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...
72
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...
18
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...
10
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...
6
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....
2
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...
0
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...
0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...
0
agi2029
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,...

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.