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

Search:

Type: Posts; User: netman06

Search: Search took 0.01 seconds.

  1. 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...
  2. Replies
    2
    Views
    205

    Re: Code structure question

    Thanks, Nikola.Lukovic,

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

    Take Care,

    -Mike
  3. Replies
    2
    Views
    205

    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....
  4. Replies
    10
    Views
    312

    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
  5. Re: Can C# programs access the Sysprep program?

    Native is the correct folder, check MSDN, for System32, on 64-bit system.
  6. 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.
    ...
  7. Replies
    10
    Views
    312

    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...
  8. Replies
    1
    Views
    168

    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...
  9. Replies
    10
    Views
    312

    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.
    ...
  10. Replies
    10
    Views
    312

    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...
  11. Replies
    10
    Views
    312

    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}
    ...
  12. Replies
    3
    Views
    225

    Re: If else statement Question

    Thanks Arjay,

    That helped me.

    Mike
  13. Replies
    3
    Views
    225

    If else statement Question

    Hello,

    I'm trying to figure out how to make this work. I do not know what would be a better fit to help me with this code.


    if (OSVersionInfo.ServicePack != string.Empty)
    ...
  14. Having trouble working with a Windows\System32 Folder

    Hello,

    I have been working for two days trying to figure out what is my problem with copying files from the local C:\windows\system32\certsrv\certenroll folder to a UNC path.

    My code working...
  15. Best way to store 2-3 parameters per line, separated by commas.

    Hello,

    I'm working on a project, where I need to store 2 to 3 parameters per line, and reading them back out one line at a time.

    Server1,Name,Path
    Server2,Name,Path
    Server3,Name,Path

    Then,...
  16. Replies
    1
    Views
    241

    Sting with Quotes Issue

    Hello,

    I have been trying for hours to understand how to escape with double quotes and have had no luck.

    I need to pass a string to a process.start arguments line like this.

    String DF =...
  17. How can I round this Convert.ToInt64 number that will be returned

    Hello,

    I need to have this number rounded and have never done this before, so If you can help me that would be great.

    long mem1 = Convert.ToInt64(objPartition["Size"].ToString()) / 1024 / 1024...
  18. Replies
    4
    Views
    429

    Re: Escape Double Quote Problem

    I tryied removing the @, but it still does not like it.

    I need to have the " in the string code for the app that I'm passing it to.

    Thanks,

    Mike
  19. Replies
    4
    Views
    429

    Escape Double Quote Problem

    Hello,

    I'm having trouble figuring out how to add a single double quote in my string.

    My Code line



    String Commandstr1 = @"C:\Temp\eventcombMT.exe" + " /file:" + "\"" +...
  20. Replies
    4
    Views
    321

    Re: Text Replacing code

    Hello TheGreatCthulhu,

    Ok, that makes sense, so I'll go with the stringbuilder.

    Thanks Again,

    Mike
  21. Replies
    4
    Views
    321

    Re: Text Replacing code

    Hello, Talikag

    So if I have a A-Z,a-z replacing all letters with words, will this not work.

    Because basically what I'm needing is to read a textbox, maybe to string and then replace all letters...
  22. Replies
    4
    Views
    321

    Text Replacing code

    Hello,

    I'm trying to figure out how to replace characters with a word.

    Like this d would be delta, D would be Delta.

    I have been trying strings, streambuilder, with no luck.
Results 1 to 22 of 22


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center