Error in running the db2000_ping_test

tsdt

Active Member
Licensed User
Hi all,

I was trying to use the db2000ping(desktop).dll, however, I have problem with the functions in the library.

The system was complaining that System.Security.Permissions.SecurityPermission problem. Anyone has any idea on this type of error??

I believe that it could be accessing the internal clock. Please advise.

Another thing is that I could not find any documentation for this db2000ping.dll. When I add this object into my program, I noticed that in the add object under Tools. There are f_PING, MyApplication, MyComputer, MyProject, MyWebServices, and ThreadSafeObjectProvider`1 objects. May I know what are those objects??

Thanks. :sign0089:
 

agraham

Expert
Licensed User
Longtime User
The system was complaining that System.Security.Permissions.SecurityPermission problem. Anyone has any idea on this type of error?
See if you get the same error with my Ping library. http://www.b4x.com/forum/questions-help-needed/3790-function-ping.html#post21883. That needs to run as an Administrator under Vista, maybe it is the same with db2000ping.dll.

I noticed that in the add object under Tools. There are f_PING, MyApplication, MyComputer, MyProject, MyWebServices, and ThreadSafeObjectProvider`1 objects. May I know what are those objects
The Myxxx things are stuff added by VB.NET that you (the developer) doesn't control. C# doesn't (usually!) do this. From its' name I assume that f_PING is something not intended for Basic4ppc use that has not been hidden by the developer.
 

tsdt

Active Member
Licensed User
Early best wishes to all B4PPC users and developer for the coming year of 2010. Thanks for your reply Agraham.

See if you get the same error with my Ping library. http://www.b4x.com/forum/questions-help-needed/3790-function-ping.html#post21883. That needs to run as an Administrator under Vista, maybe it is the same with db2000ping.dll..

Nope, I dont have this problem with your ping function at all. However, I believe it is something to do with the internal counter/timer/ticks I am using. Because in db2000pg, we need to enter a tick parameter to it, which I think causes the problem, that is if I am correct. I dont have the source code of that library to understand what is the actual problem I am facing now. By the way, you dont happen to have the full source code or any documentation for that library, do you?

The Myxxx things are stuff added by VB.NET that you (the developer) doesn't control. C# doesn't (usually!) do this. From its' name I assume that f_PING is something not intended for Basic4ppc use that has not been hidden by the developer.

That is something very puzzling because I thought we need to define those objects in order to be able to use the library.

:sign0089:
 

agraham

Expert
Licensed User
Longtime User
By the way, you dont happen to have the full source code or any documentation for that library, do you?
No, it's not one of my libraries.
I thought we need to define those objects in order to be able to use the library.
I replied without looking at the library, which I have never used. I thought you were listing additional objects over and above the one needed to actually use the library. I now see that my assumption was wrong and that f_PING is the actual pinging object. The others are as I stated.
 
Top