|
It's no different, though the networks on both ends would have to be reconfigured to forward requests to the proper machines. directly exposing your machines to the Internet would be suicidal. There's a variety of ways to do it, all of which as beyond the scope of a forum post. You just have to know how TCP/IP networking works.
|
|
|
|
|
Well, I'm workin' on the same thing for 1 month and till the date I found the best way is use of web service as a bridge between your PC and other PCs. The following article may help about it.
How to Get Notifications from a .NET Web Service
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
If you need to use .NET Remoting rather than one of the other ideas that others have already mentioned to you, there is a commercial product that might allow you to accomplish your goal.
It is called Genuine Channels, see their website for more information: www.genuinechannels.com[^]
It is not free, but you can get a trial version to see if it will meet your needs. Please note that I know of the product and have used it. I am not recommending it nor recommending against using it, it's just another possible solution for you to evaluate.
BDF
People don't mind being mean; but they never want to be ridiculous.
-- Moliere
|
|
|
|
|
Hi i am developing a c#.net windows application
where i need to passi key words to the google search engine api and i need to retrieve the search results form the api
Please tell me which google api i have use in my application to make google search from my application
Thanks
Anil Veeraghattapu.
|
|
|
|
|
Anil709 wrote: Please tell me which google api i have use in my application
I would suggest using the Google toolkit[^] as a starting point.
|
|
|
|
|
Hej google has an ajax api att http://code.google.com/apis/ajax/playground/
There lots of example for searsh att this site.
If you dont like javascript there's probelby a way to get this with the .net WebClient Class
# Edit : ops from a windows application then
add a reference to System.Net
And write this function
<br />
static string search(string what) {<br />
var x = new WebClient();<br />
var q = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=" + what.Replace(" " , "%20");<br />
var uri = new Uri(q);<br />
var downloaded = x.DownloadString(q);<br />
return downloaded;<br />
}<br />
and you whill get json formated like this
<br />
{"responseData": {"results":[{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://sv.wikipedia.org/wiki/Patrik","url":"http://sv.wikipedia.org/wiki/Patrik","visibleUrl":"sv.wikipedia.org","cacheUrl":"http://www.google.com/search?q\u003dcache:55ZSvMNvIkIJ:sv.wikipedia.org","title":"\u003cb\u003ePatrik\u003c/b\u003e - Wikipedia","titleNoFormatting":"Patrik - Wikipedia","content":"Mansnamnet \u003cb\u003ePatrik\u003c/b\u003e, Patric eller Patrick är av skotskt ursprung och kom till Sverige på 1600-talet med invandrande skotska släkter. \u003cb\u003e...\u003c/b\u003e"},{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://griskindspatrik.wordpress.com/","url":"http://griskindspatrik.wordpress.com/","visibleUrl":"griskindspatrik.wordpress.com","cacheUrl":"http://www.google.com/search?q\u003dcache:pM9u03q_o30J:griskindspatrik.wordpress.com","title":"\u003cb\u003ePatrik\u003c/b\u003e","titleNoFormatting":"Patrik","content":"Absolut inte hemgjort, för det var den för "vispad" (Veronica) och för finfördelad (\u003cb\u003ePatrik\u003c/b\u003e). Nu har jag ju inte tillverkat ankrillettes själv (ÄN, \u003cb\u003e...\u003c/b\u003e"},{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://www.imdb.com/title/tt1067733/","url":"http://www.imdb.com/title/tt1067733/","visibleUrl":"www.imdb.com","cacheUrl":"http://www.google.com/search?q\u003dcache:OQsxMHBWufkJ:www.imdb.com","title":"\u003cb\u003ePatrik\u003c/b\u003e 1,5 (2008)","titleNoFormatting":"Patrik 1,5 (2008)","content":"Directed by Ella Lemhagen. With Gustaf Skarsgård, Torkel Petersson, Thomas Ljungman. A Swedish gay couple adopt what they think is a 15-month-old orphan, \u003cb\u003e...\u003c/b\u003e"},{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://www.patrikschumacher.com/","url":"http://www.patrikschumacher.com/","visibleUrl":"www.patrikschumacher.com","cacheUrl":"http://www.google.com/search?q\u003dcache:8_lL08LaBKIJ:www.patrikschumacher.com","title":"\u003cb\u003ePatrik\u003c/b\u003e Schumacher","titleNoFormatting":"Patrik Schumacher","content":"Published as "Smart Work – \u003cb\u003ePatrik\u003c/b\u003e Schumacher on the growing importance of \u003cb\u003e...\u003c/b\u003e Ralf F. Broekman und Olaf Winkler im Gespräch mit \u003cb\u003ePatrik\u003c/b\u003e Schumacher \u003cb\u003e...\u003c/b\u003e"}],"cursor":{"pages":[{"start":"0","label":1},{"start":"4","label":2},{"start":"8","label":3},{"start":"12","label":4},{"start":"16","label":5},{"start":"20","label":6},{"start":"24","label":7},{"start":"28","label":8}],"estimatedResultCount":"1910000","currentPageIndex":0,"moreResultsUrl":"http:
modified on Tuesday, September 22, 2009 9:06 AM
|
|
|
|
|
|
Dear ALL,
I have one table with 32 Element in this I want to insert the data for that I am using 150 Txt Box. Can u pls help me to Bind this data with database.
Thanks in Advance
modified on Tuesday, September 22, 2009 8:35 AM
|
|
|
|
|
Why are you using 150 TextBox es for 32 Elements?
Regardless of that there are thousands of examples of how to do data binding on t'interwebs. Use Google or Bing and search for c# databinding.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Dear Thanks for ur reply.
I have one Table Name Element.in this I Have to insert 32element.Everye element have diffrent Values for that I am using 150 TxtBox.
Thanks
|
|
|
|
|
|
Dear Can u pls suggest me how i can do with other
|
|
|
|
|
Like the other member are saying ... it is very hard to help. We aren't exactly sure what you are trying to accomplish. You must try and explain your problem better.
Regards,
The only programmers that are better C# programmers, are those who look like this -> |
Programm3r
My Blog: ^_^
|
|
|
|
|
Your question is not clear at all. Are the lengths of the table column 32 and the textbox 150 characters? Is the width of the text box 150px? (If so, you can restict the number of characters to 32 to help.
As for binding, try googling the phrase "c# textbox binding", you get lots of results.
|
|
|
|
|
Dear Kaafb,
Thanks for ur reply,
I have one Table name Element.In this I want to insert 32Rows with 6 coloumns.For that I am using Textboxes.
|
|
|
|
|
|
The last time I looked, 32 * 6 wasn't 150. Why 150 textboxes (we ask again)?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
yah it's32*6=192 Text Boxes
|
|
|
|
|
This is far too many for the user to comprehend or fill in reliably in one go.
At the very least I suggest you create a wizard to enter each row at a time and ensure they add 32 rows somehow. Better yet, it sounds like an interface re-design might be appropiate.
|
|
|
|
|
As keefb says, that is way too many. Plus, what happens when suddenly you need to up it from 32 to 40 rows? Or add another column? Just what are you going to call these textboxes, that makes it easy to work out what is going on?
Think again. When did you see a database example that used textboxes for each row? What do database examples use?
No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.
This message is made of fully recyclable Zeros and Ones
|
|
|
|
|
Total of 720 controls on the page, and I need the same functionality
|
|
|
|
|
Hi there,
I use a custom progressbar with text in a custom control and I update the text with a timer.The text is shown and everything works but the text over the progressbar mess up instead of being updated.When I minimize the main form and maximize it back, it updates. All of my attempts(using update(),refresh() and invalidate()) are useless.Could you please tell me what I should do?
note: I use the same control on another form but this time not in a custom control and it works like a charm
|
|
|
|
|
Is it possible to post some of the code?
Regards,
The only programmers that are better C# programmers, are those who look like this -> |
Programm3r
My Blog: ^_^
|
|
|
|
|
//this code is in a custom control's class and the custom control is in main form
DateTime dt_starttime; //this takes the start time from a button on mainform when clicked
TimeSpan ts_elapsed;
public void tmrSure_Tick(object sender, EventArgs e) //this is triggered from the main form
{
// taking the elapsed time
DateTime dt_now = DateTime.Now;
ts_elapsed = dt_now.Subtract(dt_starttime);
theBestProgressBarEver1.CenterText = string.Format("{0:00}:{1:00}", ts_elapsed.Hours, ts_elapsed.Minutes); //CenterText is to show text
}
//normally the code is spreaded,I collected the pieces together to be able to post
thanks for your interest
|
|
|
|
|
|