Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: netman06

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    192

    Re: String Remove Question

    I figure it out
    string result2 = result1.Remove((result1.Length -2),2);

    Thanks
  2. Replies
    2
    Views
    192

    String Remove Question

    Hello,

    I'm trying to remove these two char's from this string and it has many different user names, so this data changes, but the last two KB will never change.

    I currently have it removing...
  3. Replies
    1
    Views
    252

    Need help on a simple split string issue

    Hello,

    I'm trying to split this string up and only get the first word in the array. I only need the first word, in this case "there", how can I split this up.

    I have tried doing these:...
  4. Re: Trying to get a foreach loop working with CSV file

    Thanks to both of you for your help.
    I'll give this a try.

    Mike
  5. Trying to get a foreach loop working with CSV file

    Hello,

    I found a class that can read a CSV file. But it reads everything in the column into the textbox.

    I was able to get it to only get the first row of the column. But I'm needing it to...
  6. Replies
    4
    Views
    248

    Re: .NET Framework Question

    Sounds Good, sorry I did not tell you that at first. But does make sense. I just wanted to make sure there was not a better choice.

    Thanks,

    -Mike
  7. Replies
    4
    Views
    248

    Re: .NET Framework Question

    "Yes, that would work, but this application is very small 5kb, and it is being deployed via automation tools.

    So, I would have to re think the application, if I was going to use a installer, maybe...
  8. Replies
    4
    Views
    248

    .NET Framework Question

    Hello,

    I have a question about how .NET 2.0 works with Visual Studio 2010.

    I developed a Console Application that I need to run on Windows Server 2003-2012.

    Since I used .NET 2.0 FW, when I...
  9. Replies
    2
    Views
    317

    Collection Item Question

    Hello,

    I have been trying to figure out how I can get a specific item from this collection, output to a Console.Writeline.

    Sample output from console as of now:
    Enter computer name: sql
    cn ...
  10. Has anyone used SaveFileDialog with either Network Share or UNC Path

    Hello,

    I need to save a file on a network share, from within a SaveFileDialog. I have search the internet and have not found much on this process.

    I have tried setting the InitialDirectory to...
  11. Replies
    1
    Views
    229

    need help with Listview and Foreach loop

    Hello,

    I'm trying to create my first Foreach loop and use a listview to hold the data.

    Here is my code.

    private void button1_Click(object sender, EventArgs e)
    {
    ...
  12. How can you add numbers within a single textBox

    Hello,

    I'm trying to add a number like this with a textBox, 451422518 31521142025, into another textBox.

    What is the best way to perform this task. I found a guy looking for the same thing,...
  13. Replies
    2
    Views
    1,805

    Re: Replace Text with textBox

    I got it to work!

    Mike
  14. Replies
    2
    Views
    1,805

    Replace Text with textBox

    Hello,

    I'm trying to replace text within a textBox . I have it working with one set, if I uncomment two if these lines, it does not work.

    I have been trying to figure out how to append it,...
  15. How can I call a Event when user clicks a button.

    Hello,

    I have a application that has a tab control and I change the font and color on form load.

    But now I need to switch the font and color when I user clicks a button event.

    I have 8 of...
  16. Replies
    2
    Views
    474

    Re: Code structure question

    Thanks, Nikola.Lukovic,

    I like the regions Idea, this may help. I also agree with good comments.

    Take Care,

    -Mike
  17. Replies
    2
    Views
    474

    Code structure question

    Hello,

    I'm trying to learn how to properly organize code. But I was wondering to start if it is possible to have any code that is in a button or form load event, to be called to another .cs file....
  18. Replies
    10
    Views
    887

    Re: Use StreamReader to find text within file

    Thanks, Arjay,

    Got it working great, now I understand the index's, had to adjust it a few ticks and thanks to you I learn something new, using C#.

    -Mike
  19. Re: Can C# programs access the Sysprep program?

    Native is the correct folder, check MSDN, for System32, on 64-bit system.
  20. Re: Can C# programs access the Sysprep program?

    Hi JasonF,

    Try using this code. I left the args line in, if you want to pass an unattend.xml file to it.

    I also, used manifest files with UAC elevated, if you are still having rights issues.
    ...
  21. Replies
    10
    Views
    887

    Re: Use StreamReader to find text within file

    Hi Arjay,

    I tested the code and I'm getting this error message.

    FormatException was unhandled

    Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

    I look at...
  22. Replies
    1
    Views
    394

    If else statement Question

    Hello,

    I have been trying to get this to work for a while now and just to new to fully understand what is the problem.

    I'm using a OS class, that I found on the internet.


    static public...
  23. Replies
    10
    Views
    887

    Re: Use StreamReader to find text within file

    Yes, but I need to figure out how to just pull out the IdentifyingNumber , which will always be a number within {}

    It might be helpful of you run this command on your computer to see the output.
    ...
  24. Replies
    10
    Views
    887

    Re: Use StreamReader to find text within file

    Hi dglienna,

    I have it working with the way the code is now. But I need to find and/or search within the text file, looking for just "VM Tools", once found, next find numbers contained with the...
  25. Replies
    10
    Views
    887

    Use StreamReader to find text within file

    Hello,

    I'm trying to figure out how to search a text file looking for a word "VMware Tools", then read that line and extract only this specific part.
    {AADE8E70-A924-4EDF-BD94-08A31758A531}
    ...
Results 1 to 25 of 36
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center