FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister  MasterVB.NET
Visual Basic 2005 .NET Forum
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Handling a SNMP Opaque var type in vb.net
 
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Windows Forms
View previous topic :: View next topic  
Message
Author
delmonster
Newbie
Joined: 22 Jul 2006
Posts: 1

PostPosted: Sat Jul 22, 2006 1:00 am    
Post subject: Handling a SNMP Opaque var type in vb.net
Reply with quote

All...

I am currently developing an application in VB.Net that talks to a SNMP M(anagement) I(information) B(lock) in a remote imbedded PC that is acting as a data logger. It works by sending a series of Object Identifiers across the network to set and retreive values. I can handle everything except for one value that is an "OPAQUE" variable type in the MIB. This Opaque type is a generic holder much like a VB "object"
type. When I use a MIB Browsing software (I use iReasoning) to see the value in the MIB it is being stored as a hex value, and the actual value is an int value (only a 1 or 2 is being saved) When I get it back into my VB code (I use nSoftware's snmp manager snap-in for handling snmp communicatioons) it is an unrecognizable character, supposedly a string, but does not convert into anything recognizable. I need to figure out how to retreive an Opaque type and make it actually come in even as a hex value, or something concrete and workable through VB code, so that i can convert it into the int value it actually is,
rather than getting a character that I cannot work with or convert at all....

Any suggestion are greatly appreciated...



 

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MasterVB.NET Forum Index -> Windows Forms All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Archieve

Powered by phpBB © 2001, 2002 phpBB Group, used in Visual Basic 2005 .NET Forum

| Visual Basic .NET Forum | Online Recipe Archiver | Shareware Freeware PAD | Lowongan Kerja | Kamus Online | Health Supply | Digital Camera Review |
Orang Paling Keren

RSS