Runtime Error '380':Invalid Property Value

May 2, 2006

A VB5 program I wrote years ago stopped working and is now giving me this error:

Run-time error '380':Invalid property value

I cannot figure out what has changed, since I run that program almost daily. It was working fine, then stopped (without any changes to the program). I suspect I may have uninstalled something it uses, but cannot figure out what.When I open the VB5 IDE, I get an error saying:

'c:program filesdevstudiovbComct232.ocx' could not be loaded--Continue Loading Project?

If I say no, it does not load and I cannot see the source code.If I say yes, it does load and I can see the source code but I get weird compiler errors.

View 6 Replies


ADVERTISEMENT

Runtime Error '-2147418113 (8000ffff)':Could Not Get The CurLine Property. Unexpected Call To Method Or Property Access

Sep 24, 2009

start with I was given a program by a friend that was created in Excel 2003 with the help of Visual Basic Editor. He said he used Visual Basic 2003, which he is not 100% sure about. Anyways he used CurLine in the program and when I try to open it in Excel 2007 and then open the Visual Basic Editor and run the program I get the following error:Run-time error '-2147418113 (8000ffff)':Could not get the CurLine property. Unexpected call to method or property access.

View 2 Replies

Unexpected Error Number 380 Has Occurred: Invalid Property Value

Dec 6, 2011

OS: Win7 64bits Software Tools:Package and Deployment Wizard (for VB6.0)The vbp file is working in XP. Installed the VB6.0 in Win7 64bits, it can make the exe file.However, the setup file can be made using the 'Package and Deployment Wizard' Tool.

View 2 Replies

ERROR : Wrong Number Of Arguments Or Invalid Property Assignment

Dec 9, 2011

I generally use VB.Net for programming but I have been delegated to a VBA project that would benefit from using script control for running script. Here is sample code but errors out on the .Run line of code. I can do this in VB.Net easy but can't get it to work in vba.

ERROR = Wrong number of arguments or invalid property assignment

Option Explicit
Dim sc As New ScriptControl
Sub RunFunctions()

[code]....

Using the .Eval function from the script control object runs ok in vba but does not run scripts.

Sub SimpleTask()
Dim expr As String
sc.Language = "VBScript"

[code]....

View 2 Replies

Changing A PictureBox Image On A SerialPort_DataReceived Event Yields Runtime Error: Invalid Operation Exception Was Unhandled?

Nov 28, 2009

Any thoughts on what might cause a thread error like this?Error:InvalidOperationException was unhandledCross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.

Relavent Code:
Private Sub SerialPort_DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived

[code].....

View 3 Replies

Query Return Value - Getting An Error In Runtime That Is "Invalid Attempt To Call Read When Reader Is Closed" ?

Aug 31, 2009

I have an error that is during the query to a database ExecuteReader 'phase' of my program, i am assigning an .OleDbDataReader to a variable RetVal and then, i am giving this RetVal = Query.ExecuteReader, and then in the while the query is being read loop(While RetVal.Read) i am getting an error in runtime that is "Invalid attempt to call Read when reader is closed." I know this means i have to open the reader, but i don't know how to do this, as i have been using this process for a few weeks and haven't had this error pop up. (and i have managed to use the while loop)If you're not living on the edge, you're taking up too much room

View 7 Replies

Show The Error Provider Properties To Property Grid At Runtime?

Feb 23, 2011

In designer i had a button with errorprovider.The button show 3 extra properties at button's property grid in design time.Error on ErrorProvider1

IconAlignmnent on

IconPadding on

But how can i show this 3 extra properties in propertygrid at run time?

Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim propertyGrid1 As New PropertyGrid()
propertyGrid1.CommandsVisibleIfAvailable = True[code].....

View 4 Replies

Runtime Error 1004 : Unable To Get The Correl Property Of The Worksheetfunction Class

Apr 9, 2012

my error code is run-time error 1004 unable to get the correl property of the worksheetfunction class. I read the data from xlsx-files to one dimensional arrays in my vb - program. the essencial code parts are

Option Explicit
Option Base 1
Dim winvyf() As Double, winvx() As Double

[code]....

View 1 Replies

Runtime Error: This Application Has Requested The Runtime To Terminate In An Unusual Way

Aug 6, 2007

I have a Visual Basic 2005 program which runs fine if I execute the built Executable. However if I start the application in VS2005 debugger it gives a weird error

[Code]...

View 5 Replies

Error - In Order To Evaluate An Indexed Property, The Property Must Be Qualified And The Arguments Must Be Explicitly Supplied By The User

Jun 20, 2012

I'm having a few problems converting some code into VB.NET from C#. Most of the translating is done, but I am getting errors when I try to run my code, and I can't figure out what is causing them. Here is the Sub I translated.

Public Sub CreateWidget()
Dim blue As LCDColor
blue.Red = 0
blue.Green = 0

[code]....

The error I receive on this line ("vision.Widgets.CreateWidget(wg1)") reads "In order to evaluate an indexed property, the property must be qualified and the arguments must be explicitly supplied by the user."

View 11 Replies

Know Name Of A Method / Property At Runtime?

Nov 17, 2009

I'm writing a debug dump for my app and need to know which Method or Property caused the error along with a trace of the last few routines.

View 3 Replies

Read Only Property In Runtime?

Aug 12, 2011

How to declare property which can be modified in project mode but will be read only in runtime mode?

View 3 Replies

VS 2005 Error: Property Access Must Assign To The Property Or Use Its Value?

Aug 13, 2011

got an ErrorProperty access must assign to the property or use its value.Here i attach the code which have an error.In this program i tried to add data into form . I also create button , textbox. i am using visual studio 2005 and sql 2005. i also have attach the imagece

Private Sub btnregister_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnregister.Click
admin1.LoginDataSet.staff(Me.NAMETextBox.Text, Me.TELEPHONEMaskedTextBox.Text,

[code].....

View 7 Replies

Can't Set The Name Property For The Timer Control At Runtime?

Feb 3, 2010

I am relatively new to programming and have managed so far with google and a lot of patience! I am having a problem naming timer contols at runtime. This is what I am trying to achieve.

1. I connect to my dataset and to my first record

2. I create a loop for the recordset

3. I create various objects on a form and name them using the info in the dataset

I also need to create timers and name them using the first field of my dataset. It needs to be dynamic as its database driven. There could be as many as 100 timers at any one point.

[Code]...

View 1 Replies

Refresh A Property Of A Graphic During Runtime?

Dec 20, 2010

I have a form where there's a shape and I'm trying to change the properties of the shape during runtime. For example, you press the Up button and it's supposed to move 30 units up:

[Code]...

View 5 Replies

Invalid Argument Error?

Apr 19, 2010

Private Sub lVW_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LVW.Click
With LVW 'LVW=ListVew Name
LVW.Text = .SelectedItems.Item(0).Text

[code].....

View 6 Replies

Invalid Conversion Error?

May 25, 2011

I recently upgraded a VB 6 project to .net. I'm having a problem with this block of code:

Dim CtrlName As System.Windows.Forms.MenuItem
For Each CtrlName In Form1.Controls
'Some code here

[code].....

View 3 Replies

Runtime - Error "microsoft Common Languages Runtime Version 4.0.30319.0"

Jul 29, 2010

Soemone recently downloaded my software and they got this error: microsoft common languages runtime version 4.0.30319.0 how do i fix this

View 1 Replies

Change The TypeConverter Attribute Of A Property At Runtime?

Dec 20, 2011

I have a class created for use with the PropertyGrid control in a VB.Net application. One of the properties of the class is:

Private _someProp As String
<Browsable(True), _
BindableAttribute(False), _

[code].....

View 1 Replies

Custom Control Property Persistence During Runtime

Aug 30, 2011

How to get a property to persist after its been changed dynamically during run-time? When Visual Basic reverts back to the IDE, the property goes right back to its original value.

View 3 Replies

Get A Property To Access Its Own Name And Type At Runtime Using Reflection?

Mar 12, 2010

Is there a way for a property to access its own name and type at runtime using reflection? I want to access this info without hard coding the name or index of the property in the class.

Simple Example Code:

Private ReadOnly Property MyProperyName() As String
Get
Console.WriteLine((Get Current Property Info).Type.ToString)
Console.WriteLine((Get Current Property Info).Name)

[code]....

View 1 Replies

Modify Property Code At Runtime In Program?

May 15, 2012

Let say I have the following classes[code]...

If I wanted to say, alter the code definition of the automatic property X (at runtime, perhaps in Sub New), such that I could throw the PropertyChanged event

View 2 Replies

Set Property Values At Runtime By Control Type?

Feb 21, 2010

I thought I saw how to do this but can't seem to find it now.Is there a way to set the properties of all controls on a Form by Control Type?Meaning, if I have 5 textboxes on a form can I write code like .If page.contol is TextBox then

textbox.forecolor = Blue

Then when the page loads is sets all the textboxes forecolor on the form to Blue.

View 8 Replies

Compile Error Invalid Qualifier

Mar 2, 2010

i am using vb6 and sql express. came to this error when i press the update button it says "compile error invalid qualifier". the error is at " live.tostring("dd/mm/yy") "

private Sub cmd_update_Click()
Dim conn As New ADODB.Connection 'ADODB Connection Object
Dim recset As New ADODB.Recordset 'Recordset Object
Dim sql As String ' String variable to store sql command

[code]....

View 2 Replies

Error 481 Invalid Picture In Using Vb6 App In Win7

Jun 11, 2010

I've had developing an old vb6 (sp6) app in my pc with winxp and running it in other with win7.

View 1 Replies

Run-time Error 94 Invalid Use Of Null

Apr 16, 2009

Run-time error 94 invalid use of Null

View 16 Replies

Sporadic 'INVALID CONTEXT ERROR'

May 11, 2010

Has anyone ever received an "INVALID CONTEXT ERROR" while running a threaded VB.NET 2.0 application? We seem to be getting this error very sporadically, but can't seem to determine the root cause.

View 1 Replies

VS 2008 : Error : Invalid Dn Syntax

Oct 13, 2009

Trying to run the following

treeval = e.Node.Text
Dim strVal As String = New String("LDAP://10.22.67.21:389/OU=Linkway,OU=Desktops,OU=Devices,DC=domain,DC=suffix")
Dim domain As New DirectoryEntry(strVal & "'DOMAINusername', 'password'")

[code]....

I get an error saying "Invalid dn syntax"

View 7 Replies

Error 83 Property Access Must Assign To The Property Or Use Its Value

Dec 22, 2010

Well in my vb project it has started giving me a really weird error underlining all my msgbox codes for some reason

this is the error Error 83 Property access must assign to the property or use its value. C:UsersAidanDocumentsVisual Studio 2008ProjectsXeX 360 ModzZ B0XXeX 360 ModzZ B0XForm1.vb 56 17 XeX 360 ModzZ B0X

View 4 Replies

Error: Property Access Must Assign To The Property Or Use Its Value

Apr 20, 2010

I have a property in a class as below:

Public MustInherit Class AddOn
Public Delegate Sub UpdateProgress(ByVal fractionComplete As Double)
Private privateProgressUpdate As UpdateProgress
Public Property ProgressUpdate() As UpdateProgress

[code]....

I am getting the error that "Property access must assign to the property or use its value" in the above code.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved