Logo 
Search:

Asp.net Answers

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds
  Question Asked By: Chisisi Massri   on Aug 06 In Asp.net Category.

  
Question Answered By: Chione Massri   on Aug 06

ok, here's how the group is formed:
Dim uGrp as RefreshGroup
uGrp = New RefreshGroup(OpcSrv, 1, AddressOf CompleteHandler2)

thanx heaps for everyone's info, i guess it just isn't possible to
dynamically create  variables in vb.net.
I remember in ASP I used exec to create the line of code that would
create the variable, if i recall correctly (mind jumbled moving from
asp to vb.net and asp.net).

I have got around the need to dynamically  create the variables as now
all items (read from the database) are sent to ONE refresh group
who's interval is 1 second, so every one second, every item(or point)
that's wanted to be monitored is read every second and put into a
virtual table, now I got a timer to write this data to a db table
once every minute. My prob' is now in the Private Sub CompleteHandler2
I might just not see this correctly but I need to find  out who the
sender is..
the sub header is:
Private Sub CompleteHandler2(ByVal sender As Object, ByVal arg As
RefreshEventArguments)
if say i had the variable... item1name
then i could do:
uGrp.Read(OpcItem2Name, 1)

however the predefined intervals dont seem to be working..

Share: 

 

This Question has 1 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Dynamic Variable Name creation Or get search suggestion and latest updates.


Tagged: