|
You only really use that if you want to give your extern function declaration a different name.
|
|
|
|
|
Hi,
I have created a webservice and on the client side i want to access it using Httprequest and httpresponse classes.
There are two methods in that webservice.1 method returns a string.the 2nd method requires two integers as input parameters.how do i pass these parameters in the request from the client.
call to Merthod1 from client:
HttpWebRequest myreq = (HttpWebRequest)WebRequest.Create("http://localhost:2054/my_ws/MY_WebService.asmx/HelloWorld");
myreq.Method = "POST";
myreq.ContentType = "application/x-www-form-urlencoded";
call to method2 from client:
HttpWebRequest myreq = (HttpWebRequest)WebRequest.Create("http://localhost:2054/my_ws/MY_WebService.asmx/Add");
myreq.Method = "POST";
myreq.ContentType = "application/x-www-form-urlencoded";
server side for method2:
[WebMethod]
public int Add(int a, int b) {
return (a + b);
}
|
|
|
|
|
What is the reason, that causes you to not insert a Web Reference to your Client Project?
Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.
|
|
|
|
|
i want to implement a REST web service
|
|
|
|
|
A REST webservice and a MS web service is 2 different things.
Look in writing you own IHttpHandler instead.
|
|
|
|
|
i m creating a application that DownLoad File's from Server How i Can do this
wasim khan
|
|
|
|
|
You can download files using WebClient class.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
Hi Everybody,
I have a problem (for me than that i do not now how to do the following.
I have a usercontrol with on it a listview control. This usercontrol is placed on a standard winform. Now i want on the form react on a event of the listview control. In other words. I the listview is clicked i want to catch the event en do something with the selected record.
I can set the on click event in the usercontrol but that will not show up in my form. I have tried something with override on click events but cannot get the hang of it.
Any examples, suggestions.
Thanks
Kind regards,
Marcel Vreuls
http://www.marcelvreuls.com
<<A good idea can change your life>>
|
|
|
|
|
Hy,
I have a usercontrol with on it a listview control. This usercontrol is placed on a standard winform. Now i want on the form react on a event of the listview control. In other words. I the listview is clicked i want to catch the event en do something with the selected record.
Why would you react in your Form? Handle the Events in your Usercontrol.
I can set the on click event in the usercontrol but that will not show up in my form. I have tried something with override on click events but cannot get the hang of it.
The event will be fired, if the usercontrol itself is clicked for example. If you want to catch the event on the listview, you have to publish an event for that in your usercontrol and forward the onclick event of your ListView. For Example:
MyUserControl.OnListViewClicked += new someeventhandler(handler)
Hope this helps
Der Staat mit der niedrigsten Geburtenrate ist nicht die Bundesrepublik, sondern der Vatikan.
|
|
|
|
|
Hi all i have two images ... as u can say thumb print ..... now i want to comare these two images... how can i compare these two images ... i want to know the logic ...
Thanks & Regards
Vikas
vikas da
|
|
|
|
|
Hi Vikas,
If you are looking to compare the images as graphs, these are compared pixel by pixel method. Please refer to the below mentioned link for more information:
http://www.vb-helper.com/howto_net_image_diff.html
http://www.codeproject.com/dotnet/comparingimages.asp
If it is in regards to comparing human faces, please refer to the below mentioned links:
www.nist.gov/itl/iad/IADpapers/2004/3dfacepaper.pdf
http://w3.ualg.pt/~ftomaz/fr/fr.php (A project Filipe Tomaz)
http://www.aaai.org/AITopics/html/imagunder.html
http://citeseer.ist.psu.edu/Applications/FaceRecognition/
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=59594&lngWId=1 (Another Project)
May be you can build from the idea's presented at the above links.
Best wishes for your project.
Vinay
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Woow thanks alot for ur kind information...
vikas da
|
|
|
|
|
Pleasure Vikas.
Good Luck for your project.
Vinay
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
Hi,
I need to call my method in every specific time like 60 sec. What should I use to count down the time and trigger my method in C#?
Thank in adv,
|
|
|
|
|
A Timer.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
TimerCallBack delegate can be used for this.
|
|
|
|
|
wrtw ewreywreyrewe rweretrerewgry ewyrgwdt
Anuj Kumar
|
|
|
|
|
so you achieved a new high score in typing speed!!
|
|
|
|
|
Anybody know how to fetch the fingerprint from fingerprintreader and it's verification........
But i don't want to use such a things like Microsoft SDK's and all...
|
|
|
|
|
So what do you want to use? You want to write the whole thing yourself? Good Luck!!
|
|
|
|
|
i actually do that for my company...
the fingerprint scanners we use are manufactured by ZK, and its an "offline" device, which means the person "clocks" but the time stamp is kept on the device until a computer "polls" all the time stamps, saves them, then deletes them off the device.
to do all this i use the manufacturers SDK & dotNet wrapper.
are you trying to get data off an "offline" device, or one of those small usb finger print scanners?
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
Thank u Harvery,
I just tried out using that small fingerprint reader which is connected to our USP port...
could u plz me that u are used any algorithms to fetch fingerprints are else any concept wise programs....
if know any URL to related to this means just post me to it......
Once again Thank u for ur reply.....
|
|
|
|
|
you'll definitely HAVE TO use the manufacturers SDK...
... unless you want to scan the USB port and somehow by trail and error compare what you send and what you receive in response. and i know this does not work very well. one of my co workers used to do that and it takes months!!!
i know those little finger print scanners, thats an "online" model. what it will do is just send a fingerprint-template* to the computer its connected too. your program will then have to catch the event, compare the fingerprint to a database of sorts and decide if the person should get access to what ever its for or not.
*finger print template = the device takes the image of your fingerprint and converts it to either a STRING template(which looks like garbage characters) or a byte array
trust me, if you really want to use that finger print scanner get the SDK and use it. if you for some reason can't, in my humble opinion, don't even bother trying.
good luck!
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|
|
Hi,
Thank u Harvey,
I just finished that verification and takeout the fingerprint Template use of that FingerPrint_SDK_2007....
I stored that Fingerprint Template in SQL2005 as a image data type using that BYTE conversion
here my Question is... if I stored more than 1,00,000 Template means the Sql will get slow to get a data or not?
|
|
|
|
|
that depends on you database design my friend
if you have primary keys and indexes on the right places SQL souldnt get slow. it was built to handle alot of stress
Harvey Saayman - South Africa
Junior Developer
.Net, C#, SQL
think BIG and kick ASS
you.suck = (you.passion != Programming)
|
|
|
|