[?]: RSView32 and VB6.0 Write a tag into RSView

RSLinx, RSLogix, RSView, LogixPro ...
pplupe
Posts: 4
Joined: Mon Jun 16, 2008 5:36 pm

[?]: RSView32 and VB6.0 Write a tag into RSView

Post by pplupe »

Hi there,

I'm trying to write a data from RS232 device into RSView32 tag.

When I use the VBA fom RSView32, all works OK, unfortunatelly I have to put a command click to do the instruction.
When I try to do this using VB 6.0, using timers (to do it in an automatic cycle), there appears an error:

"Run-time error '429': ActiveX component can't create object"

All my investigations and test say that the RSV Reference in the VB6.0 is the problem. I'm using the next instruction:

gtagDB("tag_name").value = x1

where x1 is a single variable (clean only numbers) obtained from RS232 device

Can some body help me in this?
Is there another idea to do it?

Thanks a lot in advance.