User Profile

Collapse

Profile Sidebar

Collapse
Saser
Saser
Last Activity: Jul 26 '10, 05:18 PM
Joined: Jul 9 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Saser
    replied to Using COM interface with C#
    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 :'(
    See more | Go to post

    Leave a comment:


  • Saser
    replied to Using COM interface with C#
    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 :P
    See more | Go to post

    Leave a comment:


  • Saser
    started a topic Using COM interface with C#

    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
    See more | Go to post

  • Saser
    replied to How to minimize by pressing esc(c#)
    in .NET
    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;
                }
            }
    See more | Go to post

    Leave a comment:


  • Saser
    replied to running .exe file from my program
    Try this:

    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();
    Be sure to include the @ in FileName, because otherwise you'd need...
    See more | Go to post

    Leave a comment:


  • Saser
    replied to Detecting playing song
    I downloaded that SDK, but I don't know how to use it :P
    See more | Go to post

    Leave a comment:


  • Saser
    replied to Detecting playing song
    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. :P
    See more | Go to post

    Leave a comment:


  • Saser
    started a topic Detecting playing song

    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,...
    See more | Go to post

  • Saser
    replied to How to convert a TextArea to a String?
    in Java
    Haven't tested it, but quite sure this works:

    Code:
    JTextArea TextArea = new JTextArea();
    String text1 = TextArea.getText();
    String text2 = text1.replaceAll("a", "e");
    See more | Go to post

    Leave a comment:


  • Saser
    replied to Web service and filtering list
    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...
    See more | Go to post

    Leave a comment:


  • Saser
    started a topic Web service and filtering list

    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...
    See more | Go to post

  • Saser
    started a topic How do make my dream come true? (laughs)

    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...
    See more | Go to post

  • Saser
    replied to Calling method when process starts
    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 :)
    ...
    See more | Go to post

    Leave a comment:


  • Saser
    started a topic Calling method when process starts

    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...
    See more | Go to post

  • Saser
    replied to C# compiler option - path to file?
    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
    Saser
    See more | Go to post

    Leave a comment:


  • Saser
    started a topic C# compiler option - path to file?

    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
    ...
    See more | Go to post

  • Saser
    started a topic Executing a .exe-program with arguments

    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...
    See more | Go to post
No activity results to display
Show More
Working...