User Profile

Collapse

Profile Sidebar

Collapse
Gilfindore
Gilfindore
Last Activity: Jul 2 '07, 03:28 AM
Joined: Jan 12 '07
Location: Arizona
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Gilfindore
    replied to show text box in a currency value
    in .NET
    Hello maximas4

    you could use "format" to do it.
    ex.
    Code:
    Format(300, "currency")
    The result is "$300.00".
    Hope that helps.
    See more | Go to post
    Last edited by Gilfindore; Jan 14 '07, 03:39 AM. Reason: Spelling

    Leave a comment:


  • Gilfindore
    replied to Combinations
    in .NET
    Hello jaakinye

    This code should do it.

    Code:
    int1 = 1 + Rnd() * 44
    int2 = 1 + Rnd() * 44
    [INDENT]Do While int1 = int2
    int2 = 1 + Rnd() * 44
    Loop[/INDENT]
    int3 = 1 + Rnd() * 44[INDENT]Do While int1 = int3 Or int2 = int3
    int3 = 1 + Rnd() * 44
    Loop[/INDENT]
    int4 = 1 + Rnd() * 44[INDENT]Do While int1 = int4 Or int2 = int4 Or int3 = int4
    int4 = 1 + Rnd() * 44
    Loop[/INDENT]
    int5 = 1 + Rnd() * 44[INDENT]Do While[/]
    ...
    See more | Go to post

    Leave a comment:


  • Unauthorized access exception when using kill command

    I am working on an uninstaller for a small game that I am working on and have managed to make it work except on the uninstaller itself. I am using windows XP Media Center and VB.Net 2003. I have checked to make sure that I have the correct permissions in "Debug Programs". Is it impossible to make a program delete itself or is there something I don't know about? The code I am using is below.

    Code:
    strPath = Windows.Forms.Application.ExecutablePath
    ...
    See more | Go to post
No activity results to display
Show More
Working...