C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 11-02-2006, 12:15 AM   #1
Registered User
 
Join Date: Nov 2006
Posts: 2
program to open IE

Hi,

im new to programming. I was just wondering if anyone can help me code a simple program that opens up a few instances of internet explorer when i type a certain symbol (of a stock) in to a text box

For example, if the symbol of a stock is 'msft' , i want to be able to type that into a text box, press a button, and 5-6 different sites would open up.

one site would be: http://stockcharts.com/h-sc/ui?s=msft

second would be:http://www.stockhouse.com/comp_info....SFT&table=LIST

and so on.

Since each site has a reference to the symbol that was entered in the text box, i guess all i have to do is create a variable that stores the name of the symbol, then inserts it into wherever the variable is called?

oh and I have access to visual studio 2005.


Thanks in advance for any help

PS: can anyone recommend any good books to learn C#?
This is not hw help btw
x2012 is offline   Reply With Quote
Old 11-03-2006, 05:34 PM   #2
and the Hat of Clumsiness
 
GanglyLamb's Avatar
 
Join Date: Oct 2002
Posts: 1,101
Check the Process class.

Quote:
Originally Posted by VS 2005 object browser
public class Process : System.ComponentModel.Component
Member of System.Diagnostics

Summary:
Provides access to local and remote processes and enables you to start and stop local system processes.
---------------

public static System.Diagnostics.Process Start(string fileName, string arguments)
Member of System.Diagnostics.Process

Summary:
Starts a process resource by specifying the name of an application and a set of command-line arguments, and associates the resource with a new System.Diagnostics.Process component.

Parameters:
fileName: The name of an application file to run in the process.
arguments: Command-line arguments to pass when starting the process.
That should get you on track.
GanglyLamb is offline   Reply With Quote
Old 11-03-2006, 09:07 PM   #3
Registered User
 
Join Date: Nov 2006
Posts: 2
thanks, got it to work yesterday. i'll post the code later today
x2012 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
airport Log program using 3D linked List : problem reading from file gemini_shooter C Programming 3 03-04-2005 02:46 PM
File Types Automatically Open With My Program ElWhapo Windows Programming 3 12-29-2004 05:39 PM
how to make certain file types open IN your program DarkViper Windows Programming 4 02-06-2003 11:37 PM
drawing over the open program. Unregistered Windows Programming 6 01-23-2002 03:37 PM
My program, anyhelp @licomb C Programming 14 08-14-2001 10:04 PM


All times are GMT -6. The time now is 08:50 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22