View Full Version : Visual c#.net Studio chat!
JerethMiller
June 10th, 2003, 05:46 PM
:phil: Hey everyone Im jereth, and I was wondering if anyone uses Visual c#.net Studio if you do I am in need of help of making a pre- loader in this software
Aislin
June 26th, 2003, 01:18 PM
I do not use it. But someone likely does. Bump.
ahmed
June 26th, 2003, 02:54 PM
Raydred does :)
Raydred
June 26th, 2003, 04:14 PM
Yes i do =)
whats up Jereth ? what cha need?
JerethMiller
June 26th, 2003, 04:33 PM
well see I need help...lol...Im curently making an "extremem Lazy" Program and My fscommands arent working...lol...I want it to launch yahoo messenger, hotmail.com, and msn all at the same time...could you help me al littl?
Raydred
June 26th, 2003, 06:12 PM
Sure, you're working with the Flash Active X control right, and defining your FScommands, (i havent messed with Flash in my programs much yet, but i will) ..
and you need help launching programs =)
If this is correct please press the number 1 (hehe jk)..
heres a simple way to execute a program... basically you need to start a thread, you define the path and start the thread, this will launch the program =)
i put it in a method so that you call the method with the path and it starts.
private void runProgram(string inPath)
{
Process prc;
prc= new Process();
prc.StartInfo.FileName = inPath;
//prc.StartInfo.Arguments = arg;
//This is commented out.. but i wanted to show that this is possible.
prc.StartInfo.WindowStyle = ProcessWindowStyle.Normal;
// if you want the window minimized just add this
//instread of the windowstyle.normal , ProcessWindowStyle.Minimized;
prc.StartInfo.WorkingDirectory = @"c:\";
prc.Start();
prc.WaitForExit();
}
this should work.. now all you have to do to call this a program is this...
runProgram(@"c:\windows\calc.exe");
now the @ before the string means 'The following is a path', or you'd have to escape the "\" like this.. "C:\\windows\\calc.exe"
hope this helps =)
Raydred
June 26th, 2003, 07:41 PM
im home now, lemme see if i can make a demo =) im curious myself =)
JerethMiller
June 26th, 2003, 07:50 PM
thanks raydred, do you mind showing me a How to with fscommands in flash id like to publsih my program also with flash mx if you could id appreciate it
Raydred
June 26th, 2003, 07:55 PM
sure i give ya a sample here in a bit, but just give me props if you publish it ;)
Raydred
June 26th, 2003, 09:57 PM
ok heres the demo..
www.raydred.com/flash/tutorials/winflashDemo.zip
the swf and Fla are both in the \bin\release folder of the zip..
if you need me to explain things, just ask. =)
i didnt spent tons of time on the flash =) hehe
i was just kidding about the props too..
take what ya need, its no secret =)
JerethMiller
June 27th, 2003, 01:34 AM
would you please explain things...and also should I set up my files in a folder lik eyou did yours
morse
June 27th, 2003, 02:03 AM
ray, he wants a full tut!
JerethMiller
June 27th, 2003, 02:52 AM
im sorry :( but yes that would be great....I am very new to this...:(
I wont bother you, besides it takes to long to make tut's so Ill just try and figure it out :P thansk anyway
Raydred
June 27th, 2003, 10:15 AM
Well Jereth, if you wait till tonight (possibly tomarrow) i can have a full tute for ya. =) its no bother, ive been wanting to make my tutorials in c# anyway =) It wouldnt take too long to write =)
I'll let ya know when its ready. =)
Raydred
June 29th, 2003, 08:05 PM
SOrry i couldnt get to the tutorial as soon as i could.. ive been kinda busy, i'll try to get a tute out soon =)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.