473,499 Members | 1,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Invoke a http on executable

Hi,

I want to get some data over http potocol within a csharp standalone
executable. Can you help?

Thanks,
Rudy
Nov 15 '05 #1
3 1406
System.Net.WebRequest

-Rob Teixeira [MVP]

"Rudy Ko" <th******@optonline.net> wrote in message
news:uj**************@TK2MSFTNGP12.phx.gbl...
Hi,

I want to get some data over http potocol within a csharp standalone
executable. Can you help?

Thanks,
Rudy

Nov 15 '05 #2
Hi Rudy,

You may like to try .NET remoting here
I assume you mean the data is served by a C# standalone
executable. Correct ?. If this is the case, you could expose
a remote object at a wellknown URI that is hosted on the
C# host executable and register a http channel to
service remote requests.
Your client apps can then use remoting to call the methods
exposed by the remote object to obtain the data.

Regards,
Aravind C
"Rudy Ko" <th******@optonline.net> wrote in message
news:uj**************@TK2MSFTNGP12.phx.gbl...
Hi,

I want to get some data over http potocol within a csharp standalone
executable. Can you help?

Thanks,
Rudy

Nov 15 '05 #3
hi rudy.
the answer depends on what kind of service you have on the server end.
are you trying to invoke a method on a remote object over http channel?
or simply trying to get an html page?
if its the last one then check out: System.Net.WebRequest / WebResponse
if this doesn't help, please give more details.
Sharon.

"Rudy Ko" <th******@optonline.net> wrote in message
news:uj**************@TK2MSFTNGP12.phx.gbl...
Hi,

I want to get some data over http potocol within a csharp standalone
executable. Can you help?

Thanks,
Rudy

Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2231
by: Jay Haslup | last post by:
I am trying to figure out how to get the CMD (dos) window to come up when I call a executable. I have this working on a Win2000/apache machine and am trying to use the same code on a identical...
1
4063
by: John Altland | last post by:
Here is my basic problem. I have a form that executes a cpu instensive algorithm occupying the first thread. When the algorithm is executed another form pops up telling the user the progress that...
2
5507
by: Kishore | last post by:
Hi, I have a small console application written in c# that takes two arguments. I am using System.Diagnostics.Process.Start("cmdApp.exe", arguments) to start the application from another .net...
1
1505
by: Sim Nanda | last post by:
Hello, When I used to have MSVStudio 6.0 on my old machine, I could just use: cc somefile.cpp -o somefile.exe to invoke the compiler from the command prompt. Which I found very helpful for quick...
5
4278
by: RickDee | last post by:
Please help, anybody. I am trying to write a program so that it can launch an exe file ( which is also genereated in C# ) and then simulate the button clicking and invoke the methods inside the...
2
2241
by: kapila Wijethilaka | last post by:
Hello, I want to invoke clients iExplorer from my axpx page. I did a some cod eto dot this.but it gave me below error. can anybody help me with this thanks Access is denied.
7
5363
by: stephan querengaesser | last post by:
hi ng, i try to invoke a webservice-method with an filter-object, that contains value types. if i don´t want to filter the return value of the method, i have to pass a new instance of the...
1
1898
by: A.M-SG | last post by:
Hi, I have a web service with two soap extensions enabled on it. When I run the default IIS method invoke page, the invoke button bypasses all my soap extensions. But when I call the...
2
1678
by: Glenn Venzke | last post by:
I'm trying to print an Adobe forms file (.fdf) using system.diagnostics.process in a windows service. The problem is, IE is the program that launches that file type & Verb = "Print" doesn't work in...
0
7128
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4597
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3096
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3088
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1425
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
661
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
294
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.