Reference to a non-shared member requires an object reference.

chinrose

Member
Joined
Jul 13, 2011
Messages
15
Location
Philippines
Programming Experience
Beginner
What happen to this ADD-in

hellow guys, i'm just a begginer on this programming hope you can help me.
here is my problem, every time i'm using this add reference of a certain software to the libraries of VB it doesent work.
please see my attacment.View attachment VB Variable.zip

i just recently notice that the zenon.application.projects.item("fdgdgd"), give this coment "reference to a non-share member requires an object reference"
 
Last edited:
reference to a non-share member requires an object reference
It means you have to create an instance of the object to use that member.
Shared Members in Visual Basic - the code sample here shows the difference between instance and shared members.
 
hi guys here i'm again with a question.

sorry guys cant explain it well in writting, and my code sucks, so please see my attachment of Word.docx
 

Attachments

  • reference.zip
    128.2 KB · Views: 20
thanks

thanks to all that have read my post, i found out how i can make the properties part of the class

dim <name> as new <the reference you want to Use> , provided you already add it in the reference.

in my case

Dim QW As New Zenon.Application
 
Back
Top