473,624 Members | 2,104 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 1418
System.Net.WebR equest

-Rob Teixeira [MVP]

"Rudy Ko" <th******@opton line.net> wrote in message
news:uj******** ******@TK2MSFTN GP12.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******@opton line.net> wrote in message
news:uj******** ******@TK2MSFTN GP12.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.WebR equest / WebResponse
if this doesn't help, please give more details.
Sharon.

"Rudy Ko" <th******@opton line.net> wrote in message
news:uj******** ******@TK2MSFTN GP12.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
2243
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 machine. Here is how I start the executable. It is initiated from the browser on the machine itself: pclose(popen("start " . $exe . $params, "r")); What normally happens is a cmd window pops up showing the executable's output to screen. My...
1
4093
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 has been made. Whenever I attempt to update my frmProgress, the events are put placed at the end of the thread's queue and executed after my algorithm is finished. Using the frmProgress.Label.Invoke method with delagates, I have heard would fix...
2
5523
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 application. But I am unable to start the console application using this method. When I write a batch file (app.Bat) like: cmdApp.exe %1 %2
1
1514
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 little test programs. Recently, I've moved to a new machine at work which came with MS .NET pre-installed. I can't
5
4303
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 exe. The button clicking part is working fine, but I just cannot get the method call. Here is my program snippet. **************************************************************
2
2250
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
5391
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 filter-object without setting any properties. but the value type-properties can´t be null and the filter is set to 0 (int) or false (bool). therefore i did implement the propertySpecified-pattern like this:
1
1916
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 web method through another
2
1683
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 IE. IE launches OK but crashes when the verb is invoked. Does anybody know how to do a shell print command in IE 6? When I specifically states to open the file using Acrobat, it opens in IE anyway. Code follows: Dim objProcess As...
0
8234
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8677
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8620
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8474
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7158
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5563
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4079
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.