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

Search:

Type: Posts; User: mavy-online

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    1,825

    Re: parse string into decimal variable

    Just my luck.

    This is a default visual basic installation. Any tips on how to fix this ?
  2. Replies
    15
    Views
    1,825

    Re: parse string into decimal variable

    what other code? Its only 4 lines:




    http://img135.imageshack.us/img135/7727/naamloosuu.png

    Uploaded with ImageShack.us

    Same with every other method mentioned, The dot gets removed or at...
  3. Replies
    15
    Views
    1,825

    Re: parse string into decimal variable

    I thank all of you for your responses, however all solutions mentioned, are incorrect.

    dim a as string = "169.65"
    dim b as decimal = System.Convert.ToDecimal(a)
    ' Now b = 16965

    dim a as...
  4. Replies
    15
    Views
    1,825

    Re: parse string into decimal variable

    Thanks for your reply, however i do not understand it.

    A code sample would help me alot.
  5. Replies
    5
    Views
    1,296

    Re: executing shell commands from string

    You concatenate your command of choice with everything in the textbox.

    dim batfile as string = "cd " & textBox1.Text
  6. Replies
    5
    Views
    1,296

    Re: executing shell commands from string

    You write the complete command to a .bat file, and use shell("batfile.bat")
  7. Replies
    15
    Views
    1,825

    parse string into decimal variable

    Howdy,

    dim a as decimal
    dim b as string = "169.65"

    How do i get b into a, without removing the dot ?

    Thanks.
  8. Simulate keyboard strokes in external applications

    Howdy all,

    I am looking for a way to automatically control another application, such as skype for example
    by simulating keyboard input to that application.

    I have a .csv database file, and i...
  9. Re: problem with 2Forms+progressbar+background worker

    Isnt that because your progress bar is running on form2 ?

    If so, put the progress bar on another thread/background worker, and that problem should be solved.
  10. Re: problem with 2Forms+progressbar+background worker

    So if you can access objects on form1 from form 2, all is okay ?

    The backgroundworker modifier must be PUBLIC. , i think its private by default.

    When you create form2 , you must pass the main...
  11. Replies
    1
    Views
    467

    Re: Downloading web page source code

    You will have to write your own converter, there is nothing out of the box on the net for this that
    i know of. IMO, webbrowsers should show the actual code of the page, instead of theyre own ...
  12. Replies
    5
    Views
    577

    Re: Question | Remove text from string

    string Original = "aaaa \r\n -- abcde \r\n aaaa";
    string new_string = Original;

    int start = 0;
    int end = 0;
    int len = 0;

    do{
    ...
  13. Replies
    14
    Views
    51,002

    Re: How to remove leading Zeros

    string a = "000012340";
    string b = a.TrimStart('0');


    I like things simple, any reason not to remove leading 0's this way?
  14. Re: Button.Text property not updated in compiled executable

    Thanks for the tip!
  15. Re: Button.Text property not updated in compiled executable

    Thank you Arjay, Thou art a genius.

    I wrote a small batch script that searches for the relevant text:


    set str=test
    set outputfn=test.txt

    for /f "tokens=*" %%a in ('dir /b *.cs') do (...
  16. Re: Button.Text property not updated in compiled executable

    Image:

    http://img833.imageshack.us/img833/9482/48916141.png

    Uploaded with ImageShack.us

    The one on the right obviously is the visual studio, the one on the right is the executeable in ...
  17. Re: Button.Text property not updated in compiled executable

    See, code wise, and Visual studio wise, everything looks correct.

    Its just, when running the compiled executeable, the button still says, "Test Credentials"

    I checked, for the text "test" , and...
  18. Re: Button.Text property not updated in compiled executable

    No problem.

    Anyone else have any suggestions as to why the button text property does not update ?
  19. Replies
    3
    Views
    4,199

    Re: how to browse folder on remote pc

    The folderbrowserdialog is the correct choice.

    I have one, in my application, and i can browse other computers over the LAN. (windows 7)
    If the network option is not there, you might be able to...
  20. Re: Button.Text property not updated in compiled executable

    I found the solution to that on google:

    http://blogs.vertigo.com/personal/keithc/Blog/archive/2007/07/20/missing-menu-options-in-visual-studio-2005.aspx

    Unfortunately, the text property is...
  21. Re: Button.Text property not updated in compiled executable

    Thanks for your trouble, however, that menuitem is missing ?

    I have: file edit view project debug data tools window help

    No build...
  22. Re: Button.Text property not updated in compiled executable

    I am changing the text property in the properties dialog.

    Can you tell me where i can find the "rebuild" option in VS2010 ?
    I only have the "build" option in the debug submenu.

    Google search...
  23. Button.Text property not updated in compiled executable

    Hello folks,

    Sometimes (including right now) when i change a property in my program, such as the text property
    of buttons and labels, and i run the debug button in visual studio 2010 (.net 4.0),...
Results 1 to 23 of 23


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