473,378 Members | 1,309 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Calling a progr in another dir

How do you call a prog in another dir?

new lib.prog.();

Will not work if lib. and prog. are in another dir.

Probably very elementary stuff. But never done it before.

Please help,
Thanks,
Adrian.

Nov 16 '05 #1
4 980
In prog, you mean another program? In that case, look at
System.Diagnostics.Process.Start

--
Sriram Krishnan

http://www.dotnetjunkies.com/weblog/sriram
"Adrian" <aa@aa.aa> wrote in message
news:cc***************************@freeler.nl...
How do you call a prog in another dir?

new lib.prog.();

Will not work if lib. and prog. are in another dir.

Probably very elementary stuff. But never done it before.

Please help,
Thanks,
Adrian.

Nov 16 '05 #2
"Sriram Krishnan" <ks*****@NOSPAMgmx.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
In prog, you mean another program? In that case, look at
System.Diagnostics.Process.Start


Right, thank you.
Adrian.
Nov 16 '05 #3
"Sriram Krishnan" <ks*****@NOSPAMgmx.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
In prog, you mean another program? In that case, look at
System.Diagnostics.Process.Start


Again, sorry, this is rather basic stuff:

I have an assembly
in a library
in a directory
all these are different from the calling program,
what should the syntax be of a Process.Start(??); statement?

Please help,
Many thanks,
Adrian.
Nov 16 '05 #4
"Adrian" <aa@aa.aa> wrote in message
news:c7***************************@freeler.nl...
"Sriram Krishnan" <ks*****@NOSPAMgmx.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
In prog, you mean another program? In that case, look at
System.Diagnostics.Process.Start

<snips>

I found out how it works,
many thanks,
Adrian.
Nov 16 '05 #5

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

Similar topics

12
by: bhennon | last post by:
Hey all, I have a small php script that calls a random image at the following page. http://www.2006ymcanationals.com/random.php IT WORKS IF I go directly to the above link. I am trying to...
14
by: Michael Winter | last post by:
In an attempt to answer another question in this group, I've had to resort to calling the DOM method, Node.removeChild(), using a reference to it (long story...). That is, passing Node.removeChild....
5
by: Chris | last post by:
Hi I have a scenario where I've created another AppDomain to dynamically load a DLL(s) into. In this newly loaded DLL I want to call a static method on a class. The problem arise is that I have...
18
by: Simula | last post by:
I am developing an HTML javascript application and I want to preserve state in a way that can be book-marked. I chose HTML anchors as a means of preserving state. When the application changes...
15
by: Bryan | last post by:
I have a multi-threaded C# console application that uses WMI (System.Management namespace) to make RPC calls to several servers (600+ ) and returns ScheduledJobs. The section of my code that...
17
by: Bill Grigg | last post by:
I have been successfully calling DLL's using VC++ 6.0 and also using VC++7.1 (.NET). I only mention this because I have never felt comfortable with the process, but nonetheless it did work....
5
by: Nick Flandry | last post by:
I'm running into an Invalid Cast Exception on an ASP.NET application that runs fine in my development environment (Win2K server running IIS 5) and a test environment (also Win2K server running IIS...
11
by: briankirkpatrick | last post by:
Forgive me if my post seems a little amateurish... I'm requesting assistance from some of you smart folks out there to get the managed calls write that meet the specification in the esa.h for...
7
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.