Please can some one can help me resolve this bug?
Object variable or with block variable not set, 6 1441
to me this sounds like an ambiguous dim somewhere try checking out
http://support.microsoft.com/kb/316478
maybe it will help
to me this sounds like an ambiguous dim somewhere try checking out
http://support.microsoft.com/kb/316478
maybe it will help
I try that link but unfortunatly I couldn't solve the problem
Please can some one can help me resolve this bug?
Object variable or with block variable not set,...
Hi -
I've noticed in your declaration below
Private mVehicles As CVehicles
Private mVehicle As New CVehicles
You must be using mVehicle because its the one instantiated (see New keyword).
So put, strkey = mVehicle.NextVehicleCode (the error is un this line)
instead..
If it doesnt work, maybe you can check the .NextVehicleCode method because I couldn't see it in properties below. - Private Sub AssignProperties()
-
'assign properties from form
-
mVehicle.InventoryID = Val(txtInventoryID.Text)
-
mVehicle.Manufacturer = txtManufacturer.Text
-
mVehicle.Modelname = txtModelName.Text
-
mVehicle.Year = Val(txtYear.Text)
-
mVehicle.VehicleID = Val(txtVehicleID.Text)
-
mVehicle.CostValue = Val(txtCostValue.Text)
Please can some one can help me resolve this bug?
...
I don't think you pointed out which line produces the error.
P.S. Oh my gawd, it's the Executioner! :)
I don't think you pointed out which line produces the error.
P.S. Oh my gawd, it's the Executioner! :)
It's in BOLD font, alright? mVehicle and mVehicles' difference isn't really noticeable.
It's in BOLD font, alright? mVehicle and mVehicles' difference isn't really noticeable.
Yes, I know you pointed out that line as the error. I was hoping to get some input form the OP on what they experienced. Obviously, chances are good that it's the same. But it doesn't hurt to confirm these things.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: leroybt.rm |
last post by:
Can someone tell me how to run a script from a interactive shell
I type the following:
>>>python filename
>>>python filename.py
>>>run filename
>>>run filename.py
>>>/run filename
>>>/run...
|
by: Ed |
last post by:
Hello,
I took a course in asp about 2 years ago and I was
practicing with IIS 5.0. Then I put it down for a while.
Now trying to get back to it. I can't run asp files from
subdirectories of...
|
by: Jenna Olson |
last post by:
Hi all-
I've never seen this particular issue addressed, but was wondering if
there's anything to support one way or another. Say I have a class:
class ManipulateData
{
public:...
|
by: mg |
last post by:
How can I run an .exe using C# from within the code behind of a WebForm app?
|
by: billr |
last post by:
I have developed a small API for taking care of a lot of boiler plate stuff
in a multi formed windows application, for example setting up a messaging
thread framework.
New Forms, in the...
|
by: Bob Day |
last post by:
Using vs2003, vb.net
I start a thread, giving it a name before start. Code snippet:
'give each thread a unique name (for later identification)
Trunk_Thread.Name = "Trunk_0_Thread"
' allow...
|
by: Brett Wesoloski |
last post by:
I am new to VS2005.
I changed my program.cs file to be a different form I am working on. But
when I go to run the application it still brings up the form that was
originally declared as new. ...
|
by: Lee Crabtree |
last post by:
I remember when I was first getting into .NET Forms programming that
there was a rather emphatic rule about not constructing a form before
calling Application.Run with it. So this:
...
|
by: traceable1 |
last post by:
Is there a way I can set up a SQL script to run when the instance
starts up?
SQL Server 2005 SP2
thanks!
|
by: mxdevit |
last post by:
Task: run application from ASP.NET
for example,
you have a button on ASP.NET page, when press this button - one
application is invoked.
the code to run application (for example, notepad) is...
|
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: 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: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
| |