473,396 Members | 2,090 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,396 software developers and data experts.

params question

hello.

I have a LinkLabel control in my form, it looks like vl*********@ukr.net,
so, how can I execute OutLook Express and to pass needed email to it for
sending message ?
I 'm trying to do this like

System.Diagnostics.Process.Start(@"C:\Program Files\Outlook
Express\msimn.exe sa*********@ukr.net");
and it's not working:

And one more question - how to open IE with params ?
if I use cmd (it works) : C:\Program Files\Internet Explorer\IEXPLORE.EXE
some_site.some_domain, in C# I'm writing
System.Diagnostics.Process.Start(@"C:\Program Files\Internet
Explorer\IEXPLORE.EXE some_site.some_domain");

But it's not working


Nov 15 '05 #1
8 4762
For IE:

System.Dianogstics.Process.Start("http://some_site.some_domain");

That will bring up the default browser.

For OE, not totally sure that it is possible using Process.Start(). I
searched but could not find a listing of command line arguments for OE. In
fact, doing a msimn.exe -?, /?, or just --help just launched OE.

Are you doing this on a Windows form or in ASP.NET? I am assuming a Windows
form since you are using Process. For the email, you may want to use .NET
built in System.Web.Mail and specifiy a SMTP server and let you app handle
sending the email out. There are other options, but I am not sure exactly
where you want to go with this.

Can you provide a better idea of what you want to do with OE?

HTH,

Bill P.

On Fri, 1 Aug 2003 17:11:55 +0400, Scherbina Vladimir Nickolaevich
<vl*********@ukr.net> wrote:
hello.

I have a LinkLabel control in my form, it looks like vl*********@ukr.net,
so, how can I execute OutLook Express and to pass needed email to it for
sending message ?
I 'm trying to do this like

System.Diagnostics.Process.Start(@"C:\Program Files\Outlook
Express\msimn.exe sa*********@ukr.net");
and it's not working:

And one more question - how to open IE with params ?
if I use cmd (it works) : C:\Program Files\Internet Explorer\IEXPLORE.EXE
some_site.some_domain, in C# I'm writing
System.Diagnostics.Process.Start(@"C:\Program Files\Internet
Explorer\IEXPLORE.EXE some_site.some_domain");

But it's not working



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #2
For IE:

System.Dianogstics.Process.Start("http://some_site.some_domain");

That will bring up the default browser.

For OE, not totally sure that it is possible using Process.Start(). I
searched but could not find a listing of command line arguments for OE. In
fact, doing a msimn.exe -?, /?, or just --help just launched OE.

Are you doing this on a Windows form or in ASP.NET? I am assuming a Windows
form since you are using Process. For the email, you may want to use .NET
built in System.Web.Mail and specifiy a SMTP server and let you app handle
sending the email out. There are other options, but I am not sure exactly
where you want to go with this.

Can you provide a better idea of what you want to do with OE?

HTH,

Bill P.

On Fri, 1 Aug 2003 17:11:55 +0400, Scherbina Vladimir Nickolaevich
<vl*********@ukr.net> wrote:
hello.

I have a LinkLabel control in my form, it looks like vl*********@ukr.net,
so, how can I execute OutLook Express and to pass needed email to it for
sending message ?
I 'm trying to do this like

System.Diagnostics.Process.Start(@"C:\Program Files\Outlook
Express\msimn.exe sa*********@ukr.net");
and it's not working:

And one more question - how to open IE with params ?
if I use cmd (it works) : C:\Program Files\Internet Explorer\IEXPLORE.EXE
some_site.some_domain, in C# I'm writing
System.Diagnostics.Process.Start(@"C:\Program Files\Internet
Explorer\IEXPLORE.EXE some_site.some_domain");

But it's not working



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #3

"Bill Priess" <no*****@nospam.com> wrote in message
news:oprs8gwooocimqky@localhost...
For IE:

System.Dianogstics.Process.Start("http://some_site.some_domain"); thanks, it works That will bring up the default browser.

For OE, not totally sure that it is possible using Process.Start(). I
searched but could not find a listing of command line arguments for OE. In
fact, doing a msimn.exe -?, /?, or just --help just launched OE. when I launch it in this way(via cmd.exe), just OE starts, and there're no
information in console Are you doing this on a Windows form or in ASP.NET? I am assuming a Windows
I do this on W.F. form since you are using Process. For the email, you may want to use .NET
built in System.Web.Mail and specifiy a SMTP server and let you app handle
sending the email out. There are other options, but I am not sure exactly
where you want to go with this.

Can you provide a better idea of what you want to do with OE? I just want to open OE and "New Message" window, placing in "To" edit field
adress, which has been clicked.
P.S. the same as in html
<a href = 'mailto:some_adres@some_domain'>some_adres@some_do main</a> HTH,
Bill P.


Nov 15 '05 #4

"Bill Priess" <no*****@nospam.com> wrote in message
news:oprs8gwooocimqky@localhost...
For IE:

System.Dianogstics.Process.Start("http://some_site.some_domain"); thanks, it works That will bring up the default browser.

For OE, not totally sure that it is possible using Process.Start(). I
searched but could not find a listing of command line arguments for OE. In
fact, doing a msimn.exe -?, /?, or just --help just launched OE. when I launch it in this way(via cmd.exe), just OE starts, and there're no
information in console Are you doing this on a Windows form or in ASP.NET? I am assuming a Windows
I do this on W.F. form since you are using Process. For the email, you may want to use .NET
built in System.Web.Mail and specifiy a SMTP server and let you app handle
sending the email out. There are other options, but I am not sure exactly
where you want to go with this.

Can you provide a better idea of what you want to do with OE? I just want to open OE and "New Message" window, placing in "To" edit field
adress, which has been clicked.
P.S. the same as in html
<a href = 'mailto:some_adres@some_domain'>some_adres@some_do main</a> HTH,
Bill P.


Nov 15 '05 #5
got it... for OE:

Same thing as for opening IE:
System.Dianogstics.Process.Start("mailto:some_pers on@some_site.some_domain")
;

Worked like a charm on my machine.. I had forgotten that mailto: is a
registered handler...

HTH,

Bill P.
On Fri, 1 Aug 2003 21:31:02 +0400, Scherbina Vladimir Nickolaevich
<vl*********@ukr.net> wrote:

"Bill Priess" <no*****@nospam.com> wrote in message
news:oprs8gwooocimqky@localhost...
For IE:

System.Dianogstics.Process.Start("http://some_site.some_domain");

thanks, it works
That will bring up the default browser.

For OE, not totally sure that it is possible using Process.Start(). I
searched but could not find a listing of command line arguments for OE.
In
fact, doing a msimn.exe -?, /?, or just --help just launched OE.

when I launch it in this way(via cmd.exe), just OE starts, and there're
no
information in console
Are you doing this on a Windows form or in ASP.NET? I am assuming a

Windows
I do this on W.F.
form since you are using Process. For the email, you may want to use
.NET
built in System.Web.Mail and specifiy a SMTP server and let you app
handle
sending the email out. There are other options, but I am not sure
exactly
where you want to go with this.

Can you provide a better idea of what you want to do with OE?

I just want to open OE and "New Message" window, placing in "To" edit
field
adress, which has been clicked.
P.S. the same as in html
<a href = 'mailto:some_adres@some_domain'>some_adres@some_do main</a>
HTH,
Bill P.



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #6
got it... for OE:

Same thing as for opening IE:
System.Dianogstics.Process.Start("mailto:some_pers on@some_site.some_domain")
;

Worked like a charm on my machine.. I had forgotten that mailto: is a
registered handler...

HTH,

Bill P.
On Fri, 1 Aug 2003 21:31:02 +0400, Scherbina Vladimir Nickolaevich
<vl*********@ukr.net> wrote:

"Bill Priess" <no*****@nospam.com> wrote in message
news:oprs8gwooocimqky@localhost...
For IE:

System.Dianogstics.Process.Start("http://some_site.some_domain");

thanks, it works
That will bring up the default browser.

For OE, not totally sure that it is possible using Process.Start(). I
searched but could not find a listing of command line arguments for OE.
In
fact, doing a msimn.exe -?, /?, or just --help just launched OE.

when I launch it in this way(via cmd.exe), just OE starts, and there're
no
information in console
Are you doing this on a Windows form or in ASP.NET? I am assuming a

Windows
I do this on W.F.
form since you are using Process. For the email, you may want to use
.NET
built in System.Web.Mail and specifiy a SMTP server and let you app
handle
sending the email out. There are other options, but I am not sure
exactly
where you want to go with this.

Can you provide a better idea of what you want to do with OE?

I just want to open OE and "New Message" window, placing in "To" edit
field
adress, which has been clicked.
P.S. the same as in html
<a href = 'mailto:some_adres@some_domain'>some_adres@some_do main</a>
HTH,
Bill P.



--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
Nov 15 '05 #7

"Bill Priess" <no*****@nospam.com> wrote in message
news:oprs8pskz6cimqky@localhost...
got it... for OE:

Same thing as for opening IE:
System.Dianogstics.Process.Start("mailto:some_pers on@some_site.some_domain") ;

Worked like a charm on my machine.. I had forgotten that mailto: is a
registered handler...

HTH,

Bill P.


thanks
Nov 15 '05 #8

"Bill Priess" <no*****@nospam.com> wrote in message
news:oprs8pskz6cimqky@localhost...
got it... for OE:

Same thing as for opening IE:
System.Dianogstics.Process.Start("mailto:some_pers on@some_site.some_domain") ;

Worked like a charm on my machine.. I had forgotten that mailto: is a
registered handler...

HTH,

Bill P.


thanks
Nov 15 '05 #9

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

Similar topics

0
by: Programmer | last post by:
Hi all I have an VB.NET object registered in a Web Page with the <object classid="http:My.dll#Name /> Now. The Question is that a want to have many params inside the object tag that are...
2
by: Tobias Olbort | last post by:
Hello, i've a outer function, which takes a params-array as a parameter. I want to pass this array to inner function with a params-array (e. g. string.format). When i've passed an integer to...
3
by: Stan Huff | last post by:
Is there any way to disable the "params" on a particular invocation so that one can pass an array containing the arguments and not have receiver get an array having you argument array stuffed into...
1
by: Jozsef Bekes | last post by:
Hi All, I need to offer scripting possibilities in my app, and have to use MSSCriptControl for some reasons. I would like to use the feature that's called variable number of arguments, that is...
2
by: Coneection OLAP | last post by:
Hi: Me question is the next: I would like know how, I can do it to pass params, from a control of a page ASPX to other page ASPX, but I don't want that this params can see in the URL, ...
8
by: David Duerrenmatt | last post by:
Hi there For some reasons, I've to use Python 1.5.2 and am looking for a workaround: In newer Python versions, I can call a function this way: func = some_function func(*params) Then,...
2
by: Ross | last post by:
Hi folks This is just a general question. Suppose I have a SP that has several params and this includes one optional param. If I have all the params as args for the WS, and suppose for a...
2
by: kofa | last post by:
Hi All, we're new to DB2 (using Express-C on Windows). We'd like to monitor the SQL that Hibernate (a Java ORM) generates, along with query params. It was quite simple to do so with MySQL, but...
2
by: FFMG | last post by:
Hi, I was looking at http://www.php.net/manual/en/function.call-user-func-array.php and I was wondering... Given, // -- function foo( &$params) {
9
by: =?Utf-8?B?UElFQkFMRA==?= | last post by:
Given a method like void F ( params object args ) { ... } I had always _assumed_ that args would never be null, but now it's been brought to my attention that if the caller uses F ( null )...
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: 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...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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
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,...

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.