473,396 Members | 2,052 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.

How to open a url link in s sharp?


hi all,

i used to open a url link in visual c++ like this method:
shell_execute("groups.google.com","open",NULL.NULL ,NULL),

how can i do that in csharp?
could anyone help me?
thanks

Mar 17 '07 #1
2 7068
VJ
take a look at the process class..

System.Diagnostics.ProcessStartInfo
procFormsBuilderStartInfo = new System.Diagnostics.ProcessStartInfo();
procFormsBuilderStartInfo.FileName =
"http://www.google.com";
procFormsBuilderStartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Maximized;
System.Diagnostics.Process procFormsBuilder = new
System.Diagnostics.Process();
procFormsBuilder.StartInfo = procFormsBuilderStartInfo;
procFormsBuilder.Start();

VJ

"HackerisNewKnight" <ha********@gmail.comwrote in message
news:11*********************@l75g2000hse.googlegro ups.com...
>
hi all,

i used to open a url link in visual c++ like this method:
shell_execute("groups.google.com","open",NULL.NULL ,NULL),

how can i do that in csharp?
could anyone help me?
thanks

Mar 17 '07 #2
thanks it worked!!!!
Mar 20 '07 #3

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

Similar topics

0
by: Vi | last post by:
Some of you might be interested in this open source AutoUpdater for ..NET "Sharp AutoUpdater provides an auto-update feature for .NET applications. Using XML configuration files, Sharp...
1
by: C Sharp beginner | last post by:
I'm sorry about this verbose posting. This is a follow-up to my yesterday's posting. Thanks William for your reply. I understand it is a good practice to open connections as late as possible and...
4
by: Hai Nguyen | last post by:
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using panel to test myself. I tried to use these code below, which is written in VB, and to transform them to c sharp but I got...
2
by: HishHish | last post by:
I have a Java code that I want to convert it to C-sharp in order to put it in my ASP.NET web application. I used the JLCA (Java Language Conversion Assistant) for conversion, but it gave me many...
5
by: Alberto | last post by:
What sharp (from c sharp) stand for or where does it comes from? thank you
23
by: Afifov | last post by:
Hello All, I am a software engineer, and I got promoted and no longer doing programming as in pure coding. I want to remain in touch with my C programming skills, especially that we are...
20
by: windandwaves | last post by:
Hi Folk I am a PHP programmer, but I like to learn c-sharp as it seems to be in hot demand around here. My questions are: - how does c-sharp relate to PHP - do you like c-sharp and its...
5
by: stoogots2 | last post by:
I have written a windows application that performs several functions (is multi threaded). I have a Textbox in the main window of the app which I want to display the contents of the logfile and...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
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
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.