Click here to Skip to main content
15,891,597 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: library not registered Error Pin
abhinish26-Jul-05 23:59
abhinish26-Jul-05 23:59 
GeneralPlease help with Enter Key! Pin
Member 167164825-Jul-05 20:22
Member 167164825-Jul-05 20:22 
GeneralRe: Please help with Enter Key! Pin
Yulianto.25-Jul-05 20:27
Yulianto.25-Jul-05 20:27 
Generalmaking data report for letter Pin
Member 214622225-Jul-05 20:11
Member 214622225-Jul-05 20:11 
GeneralRe: making data report for letter Pin
Dave Kreskowiak26-Jul-05 3:53
mveDave Kreskowiak26-Jul-05 3:53 
QuestionAny samples on System Configuration forms? Pin
Zakiro25-Jul-05 15:47
Zakiro25-Jul-05 15:47 
AnswerRe: Any samples on System Configuration forms? Pin
Dave Kreskowiak26-Jul-05 3:48
mveDave Kreskowiak26-Jul-05 3:48 
GeneralNeed help with VB Winsock & SNMP Pin
donjuane25-Jul-05 12:02
donjuane25-Jul-05 12:02 
I have some code that I am experimenting with and need to know if it is possible to speed up. I already have working routines which encode SNMP querys into the proper RFC datastream and via Winsock send SNMP GET requests to remote devices via UDP port 161. After the GET query is sent, eventually the Winsock _DataReceive is called (or times out) when the device responds (or doesn't). I then decode the response data block and log the queried info into a spreadsheet.

This is fine until I have a long list of devices to process. This can take hours, especially over a moderatly slow connection. I would like to see if there is a better approach to this task than the method I am using, single threaded send a query and wait for response.

My first elementary idea to enhance this very slow single-threaded process was to just iterate through the IP addresses to be queried, sending GET requests to one device after another , and hoping that Winsock would "catch up" on the responses via some buffer and "keep up" with the sending. I have found that even though I have 2 "DoEvents" in the send loop, still the _DataReceive seems to only be called and receiving data for the very last request in the iteration loop of sends.

Should this be working? If not, what I am doing wrong (in beginner to VB API programming terms). From what I have seen of the UDP Winsock topics of VB Programming examples, there is no way or no need to use the Index function if using UDP. Thanks in advance!!!
GeneralRe: Need help with VB Winsock & SNMP Pin
progload25-Jul-05 13:42
progload25-Jul-05 13:42 
GeneralAccess methods in other interfaces on DLL/com-objets Pin
MaWeRic25-Jul-05 11:28
MaWeRic25-Jul-05 11:28 
GeneralRe: Access methods in other interfaces on DLL/com-objets Pin
progload25-Jul-05 13:52
progload25-Jul-05 13:52 
GeneralRe: Access methods in other interfaces on DLL/com-objets Pin
MaWeRic25-Jul-05 18:22
MaWeRic25-Jul-05 18:22 
GeneralRe: Access methods in other interfaces on DLL/com-objets Pin
progload25-Jul-05 18:54
progload25-Jul-05 18:54 
GeneralSorry disregard my message Pin
progload25-Jul-05 13:57
progload25-Jul-05 13:57 
GeneralPicture from video Pin
lespaul3625-Jul-05 10:11
lespaul3625-Jul-05 10:11 
GeneralRe: Picture from video Pin
progload25-Jul-05 11:15
progload25-Jul-05 11:15 
GeneralError Code 3021: Pin
amitranjanmishra25-Jul-05 3:43
amitranjanmishra25-Jul-05 3:43 
GeneralRe: Error Code 3021: Pin
Rob Graham25-Jul-05 4:48
Rob Graham25-Jul-05 4:48 
GeneralDatagrid - Select row Pin
directred25-Jul-05 1:22
directred25-Jul-05 1:22 
GeneralRe: Datagrid - Select row Pin
directred25-Jul-05 1:30
directred25-Jul-05 1:30 
GeneralRe: Datagrid - Select row Pin
Member 210009525-Jul-05 18:40
Member 210009525-Jul-05 18:40 
GeneralRe: Datagrid - Select row Pin
rudy.net26-Jul-05 6:22
rudy.net26-Jul-05 6:22 
Generalnewbie project help!!!! Pin
24-Jul-05 23:14
suss24-Jul-05 23:14 
GeneralRe: newbie project help!!!! Pin
Dave Kreskowiak25-Jul-05 5:51
mveDave Kreskowiak25-Jul-05 5:51 
GeneralRe: newbie project help!!!! Pin
26-Jul-05 1:40
suss26-Jul-05 1:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.