User Profile

Collapse

Profile Sidebar

Collapse
Lovro Mirnik
Lovro Mirnik
Last Activity: Mar 2 '11, 01:48 PM
Joined: Feb 20 '11
Location: School
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • How to display part of a line in a .txt file?

    Hello,

    I'm need of some help again.
    I've got a Folder, in which there is a File.
    In the File, there are two lines, and the data in the lines is seperated with a " // ".

    Example:
    There is a folder at location @"C:\ExampleFol der_ABCD\"
    In the folder there is a file @"C:\ExampleFol der_ABCD\Exampl eFile_ABCD.txt"
    In the file there are two lines:
    Name_1
    ...
    See more | Go to post

  • It helped a lot. Actually, I feel bad for not digging deeper into the MSDN Library.

    Anyhow, thank you.

    Lovro Mirnik
    See more | Go to post

    Leave a comment:


  • Thank you both for answering. I'm sure I'll work something out now...
    Since Gary's answer was more informative, it should by all right be chosen as the best answer.

    But, I'll chose Leito's. It's simpler, and more beginners can relate to it.

    Lovro Mirnik
    See more | Go to post

    Leave a comment:


  • Could someone please explain dates in C# to me?

    Hello,

    I've been working with Dates today and the entire thing baffles my mind. I'm looking for an explanation of this simple code.
    Code:
    DateTime date1 = new DateTime(2008, 6, 1, 7, 47, 0);
    Console.WriteLine(date1.ToString());
    
    // Get date-only portion of date, without its time.
    DateTime dateOnly = date1.Date;
    // Display date using short date string.
    Console.WriteLine(dateOnly.ToString("d"));
    ...
    See more | Go to post

  • Hello,

    I'm not particulary skilled with WindowsForm applications.
    Although, I think I understand your problem...

    If your script looks anything like this:

    These are only for show, as they are completely unfunctional as a script!

    Month = UserInput for Month
    Day = UserInput for Day
    Year = UserInput for Year

    ComboBoxDisplay (Month + " " + Day + "
    ...
    See more | Go to post

    Leave a comment:


  • Solved

    Hello,

    I'm here to let you know that I've found a solution.
    A full topic covered on bytes can be found here.

    Thank you,
    Lovro Mirnik
    See more | Go to post

    Leave a comment:


  • Lovro Mirnik
    started a topic Calculating in C# with the data type "byte"

    Calculating in C# with the data type "byte"

    Greetings,

    I need some help.
    In order to save memory space, I would like to perform calculations with the byte data type, instead of int.

    The number will never reach beyond 255, and will never be negative...
    The problem is described in the code, so please take a look.
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    namespace
    ...
    See more | Go to post

  • Displaying files in a Folder, then choosing one...

    Greetings,

    I need some assistance.
    My goal is to create a program which does the following.
    Checks for a Folder ( C:\ExampleFolde r\ )
    If it exists, it checks for any files in the Folder ( Baby.txt )
    If it does not, creates it.

    If there are any files in the folder, it displays all of them in a list, with an added number. ( 1,2,3,4... )
    Then asks me, to which one I'd like to write to....
    See more | Go to post
No activity results to display
Show More
Working...