1 Replies - 521 Views - Last Post: 21 September 2012 - 09:11 AM Rate Topic: -----

#1 code12345  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 21-September 12

Object variable or with block not set

Posted 21 September 2012 - 09:01 AM

I am getting the error 5B Object variable or With block variable not set.
Code is:
Private Sub tagGroupTrigger_Change(ByVal TagNames As IGOMStringList)
' This function is called once a second since we are monitoring the change event of tag "system\Second".
On Error GoTo errHandler
Dim Screen As Object
Set Screen = Application.ActiveDisplay
Select Case Screen

And according to screen name have some message to be displayed.Also have included error hadler in my original code.

Is This A Good Question/Topic? 0
  • +

Replies To: Object variable or with block not set

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 9572
  • View blog
  • Posts: 36,248
  • Joined: 12-June 08

Re: Object variable or with block not set

Posted 21 September 2012 - 09:11 AM

Please do not create duplicate topics.. closing.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1