User Profile
Collapse
-
Okay, be sure to post back here once you've got anything to say, as it is very annoying to be able to develop a nice application that I have an idea for, but not knowing how to do it :'( -
That bothered me for a while too, but when you've logged in, do this:
1. Go to the Downloads section.
2. Choose the "Developeme nt Tools" section from the menu on the right.
3. Scroll down a little bit or search for "iTunes COM" and you will find it right there. ;)
EDiT: Don't scroll, it'd be better to search for it as it is a huge page :PLeave a comment:
-
Using COM interface with C#
Hi, this is kinda dumb question but I really can't figure it out!
How do you use a COM interface in C#? I have downloaded this API but I can't figure out how to use it in my application. Can someone help me on this?
Thanks,
Saser -
Not sure if it's this you're looking for, but anywayz.
Code:private void Form1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Escape) { this.WindowState = FormWindowState.Minimized; } }Leave a comment:
-
Try this:
Be sure to include the @ in FileName, because otherwise you'd need...Code:using System.Diagnostics; ... Process someProcess = new Process(); someProcess.StartInfo.FileName = @"<complete path to executable file here>"; someProcess.StartInfo.Arguments = ""; // If you want to pass some arguments to the file being executed someProcess.Start();
Leave a comment:
-
-
I don't think it's an illegal thing. I mean, somehow Windows Live Messenger catches up what you're listening to, even in iTunes. How does it do to catch the data?
And for that iPhone app, I don't think so. :PLeave a comment:
-
Detecting playing song
I'm thinking of making a program which must detect when a song played in, for example, iTunes. Whenever a new song is playing, either if a song has ended and another one start or if the user choose to play another song, I want my program to detect that and tell the user which artist, album and song name it is, maybe using ID3. Is there any way to do that?
Thanks in advance,
Saser.
Oh, and I'm not asking for code,... -
Haven't tested it, but quite sure this works:
Code:JTextArea TextArea = new JTextArea(); String text1 = TextArea.getText(); String text2 = text1.replaceAll("a", "e");Leave a comment:
-
Thanks for your answer.
If I'd override the Filter() method, I'd need to create an override for every possible combination of settings, for example I'd need to create one method for players and map, another for players and skill, another for map and skill and so forth...
Kinda nooby question, but is it really necessary to do this? Can't I just create one Filter() method which includes all parameters, and if I want to search...Leave a comment:
-
Web service and filtering list
Hi. I have two questions.
#1. I'm thinking of creating a web service which contain a list object which contain a number of entrys of the own-defined class Match, which will have the variables:
MapID (int)
Number of players (int)
SkillLevel (enum)
ServerIsOn (bool)
In a Windows application you can either choose to search for matches or create a match which will be searchable to others. If you choose to create... -
How do make my dream come true? (laughs)
My English isn't perfect, but please, bear with me :)
I thought of a program which will do the following:
1. Connects to a server which contain a list that is updated everytime a entry gets added or removed from the list.
2. Downloads the list, and then downloads it again every tenth second or when the user him-/herself choose to do so.
3. Lets the user specify which entrys he/she want to see.
4. Chooses... -
Thanks! I'll see if this code helps me :)
I started creating this program for two main reasons:
1. To have control over my time at the computer.
2. The programmming challenge.
You're right, I've been spending a little too much time at my computer since I started this project, but look at it from this point: instead of playing a game, I've been creative, and developed something that helps me :)
...Leave a comment:
-
Calling method when process starts
Hi all bytes out there.
I have a few little problems in my program.
The program is supposed to help me to not spend too much time of my day at the computer ;)
I play a game called Counter-Strike (CS) a lot, but I'm limited to 2 ½ hours a day, and a total of 4 hours a day. I have one button in my program which starts CS, and one button that "kills" CS. The Start-button starts a timer, and the Stop-button... -
Didn't work to me.
Anyways, quitted working on this project for a time, just finished another program that helps me to not sit at the computer too long. ;)
Thanks anyway
SaserLeave a comment:
-
C# compiler option - path to file?
Hi.
I wonder if there is any option to specify the input file path with csc.exe, like -file <file path> or -path <file path>?
I've googled it, and I found a topic at MSDN about "C# Compiler options", but it didn't have any information about -options, only /options. In my program, I'm going to execute csc.exe with the path to a file as an argument, but it doesn't work with:
...Code:public
-
Executing a .exe-program with arguments
First post, lol.
Please bear with my English, I'm a 14 year old guy from Sweden.
I just started learning C# a few days ago, so I wanted to create something simple (but yet still useful).
I'm making a console application which launches the compilers for different programming languages. So far have I got compilers for Java, C/C++, C# and Pascal. This is how the program works:
1. The user types in...
No activity results to display
Show More
Leave a comment: