473,465 Members | 1,444 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 4763
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: 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...
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...
1
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
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
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
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.