Results for "Author: roger d taylor"
Ok, a while ago i posted some code which was an xml event log, in that i said that i could provide the nt event log source for direct entry to the event log. well here is that code.. i thought it would be a lot simpler it i just poasted it here for everyone. hope that you all find this really useful. if so.... vote for me please .... thanks. with a little modification you can use this in Active Server Pages as a basic MTS/COM Object
Ever wanted to add an item to the right click context menu that you get in windows. you know, the one that you get if you rigth click on a file !! well heres how to do it.
Debugging Client Side Javascript with Visual Interdev, allows you to step through your code one line at a time and test the variable values.
Allows you to pass data between two processes without using Winsock , Read/WriteProcessMemory or Pipes, Simply uses the SendMessage API with the COPYDATA Structure. Warning, May Crash your VB IDE if you click the stop button, terminate the application by clicking the control box. note: This problem does not happen if you are using it as an EXE only in the VB IDE.
OK, we've all been in the situation where you want a multi tread application but since VB is single threaded it is difficult to do, so you create a second vb app and line the two together using winsock .... this is slow and you my be woring in a machine that does not have IP installed .... what choices do you have ..... well you can use pipes, winsock as i've already mentioned and you can also use Read/WriteProcess memory, these are time consuming and difficult to understand and write ..... but hey, what about SendMessage.... yep that good old API call. it allows you to send a data structure to an other process ..... which is fast and the message will always get there .... this code gives you a quick example of how to do this..... hope you fins this code useful .... You may find that quitting the Client Application after you have sent the message wil cause your VB IDE to crash with a Memory exception .... if you click the control box on this form it might not crash the IDE ... this does not happen as an EXE
Ok people, heres the deal. You have the code to write to the real NT event log (if not .. let me know and i'll post it!!) but you want a more versitile way of logging events. ever thought about XML. this zip file contains a pretty simple XML eventlog viewer. i've also included (as a class to the project) the code that you can use to create an XML event log. This example is my first real attempt at using XML so i hope you like it, the code is pretty simple so i dont think that you will have any problems reading it. - Yep i know i may not be using the XML DOM correctly yet but hey i've only learning XML for about 5 hours at the time of submitting this code. so please dont correct me with the XML coding... i'll get better as i go along... thanks people ..... oh.... and if you like this code ... please vote for me will ya! Thanks!
Ok, a while ago i posted some code which was an xml event log, in that i said that i could provide the nt event log source for direct entry to the event log. well here is that code.. i thought it would be a lot simpler it i just poasted it here for everyone. hope that you all find this really useful. if so.... vote for me please .... thanks. with a little modification you can use this in Active Server Pages as a basic MTS/COM Object
Ever wanted to add an item to the right click context menu that you get in windows. you know, the one that you get if you rigth click on a file !! well heres how to do it.
Debugging Client Side Javascript with Visual Interdev, allows you to step through your code one line at a time and test the variable values.
Allows you to pass data between two processes without using Winsock , Read/WriteProcessMemory or Pipes, Simply uses the SendMessage API with the COPYDATA Structure. Warning, May Crash your VB IDE if you click the stop button, terminate the application by clicking the control box. note: This problem does not happen if you are using it as an EXE only in the VB IDE.
OK, we've all been in the situation where you want a multi tread application but since VB is single threaded it is difficult to do, so you create a second vb app and line the two together using winsock .... this is slow and you my be woring in a machine that does not have IP installed .... what choices do you have ..... well you can use pipes, winsock as i've already mentioned and you can also use Read/WriteProcess memory, these are time consuming and difficult to understand and write ..... but hey, what about SendMessage.... yep that good old API call. it allows you to send a data structure to an other process ..... which is fast and the message will always get there .... this code gives you a quick example of how to do this..... hope you fins this code useful .... You may find that quitting the Client Application after you have sent the message wil cause your VB IDE to crash with a Memory exception .... if you click the control box on this form it might not crash the IDE ... this does not happen as an EXE
Ok people, heres the deal. You have the code to write to the real NT event log (if not .. let me know and i'll post it!!) but you want a more versitile way of logging events. ever thought about XML. this zip file contains a pretty simple XML eventlog viewer. i've also included (as a class to the project) the code that you can use to create an XML event log. This example is my first real attempt at using XML so i hope you like it, the code is pretty simple so i dont think that you will have any problems reading it. - Yep i know i may not be using the XML DOM correctly yet but hey i've only learning XML for about 5 hours at the time of submitting this code. so please dont correct me with the XML coding... i'll get better as i go along... thanks people ..... oh.... and if you like this code ... please vote for me will ya! Thanks!
Ok, a while ago i posted some code which was an xml event log, in that i said that i could provide the nt event log source for direct entry to the event log. well here is that code.. i thought it would be a lot simpler it i just poasted it here for everyone. hope that you all find this really useful. if so.... vote for me please .... thanks. with a little modification you can use this in Active Server Pages as a basic MTS/COM Object
Ever wanted to add an item to the right click context menu that you get in windows. you know, the one that you get if you rigth click on a file !! well heres how to do it.
Debugging Client Side Javascript with Visual Interdev, allows you to step through your code one line at a time and test the variable values.
Allows you to pass data between two processes without using Winsock , Read/WriteProcessMemory or Pipes, Simply uses the SendMessage API with the COPYDATA Structure. Warning, May Crash your VB IDE if you click the stop button, terminate the application by clicking the control box. note: This problem does not happen if you are using it as an EXE only in the VB IDE.
OK, we've all been in the situation where you want a multi tread application but since VB is single threaded it is difficult to do, so you create a second vb app and line the two together using winsock .... this is slow and you my be woring in a machine that does not have IP installed .... what choices do you have ..... well you can use pipes, winsock as i've already mentioned and you can also use Read/WriteProcess memory, these are time consuming and difficult to understand and write ..... but hey, what about SendMessage.... yep that good old API call. it allows you to send a data structure to an other process ..... which is fast and the message will always get there .... this code gives you a quick example of how to do this..... hope you fins this code useful .... You may find that quitting the Client Application after you have sent the message wil cause your VB IDE to crash with a Memory exception .... if you click the control box on this form it might not crash the IDE ... this does not happen as an EXE
Ok people, heres the deal. You have the code to write to the real NT event log (if not .. let me know and i'll post it!!) but you want a more versitile way of logging events. ever thought about XML. this zip file contains a pretty simple XML eventlog viewer. i've also included (as a class to the project) the code that you can use to create an XML event log. This example is my first real attempt at using XML so i hope you like it, the code is pretty simple so i dont think that you will have any problems reading it. - Yep i know i may not be using the XML DOM correctly yet but hey i've only learning XML for about 5 hours at the time of submitting this code. so please dont correct me with the XML coding... i'll get better as i go along... thanks people ..... oh.... and if you like this code ... please vote for me will ya! Thanks!
Ok, a while ago i posted some code which was an xml event log, in that i said that i could provide the nt event log source for direct entry to the event log. well here is that code.. i thought it would be a lot simpler it i just poasted it here for everyone. hope that you all find this really useful. if so.... vote for me please .... thanks. with a little modification you can use this in Active Server Pages as a basic MTS/COM Object
Ever wanted to add an item to the right click context menu that you get in windows. you know, the one that you get if you rigth click on a file !! well heres how to do it.