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

Search:

Type: Posts; User: d0uga1

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    707

    how to trap an error

    hi need some help with this i dont know how to trap errors properly

    i have a module passing code from my listbox when user double clicks it (it starts a program using shell function)

    now if the...
  2. Replies
    7
    Views
    893

    Re: removing test from listbox

    thanks for all the help got it sorted now

    heres what ive changed


    Public Sub ListFolder1(sFolderPath As String)
    Dim FS As New FileSystemObject
    Dim FSfile
    Dim FSfolder As Folder...
  3. Replies
    7
    Views
    893

    Re: removing test from listbox

    i need to know now how to remove the .exe from list1.text

    so instead of game.exe i want it to say game

    please
  4. Replies
    7
    Views
    893

    Re: removing test from listbox

    been looking at this tonight and found how to do it by accident

    heres my code that was search folders and subfolders then displaying in a list box



    Private Sub ListFolder1(sFolderPath As...
  5. Replies
    7
    Views
    893

    removing test from listbox

    hi me again with another question

    i have a listbox control that gets populated during a search for files and when an item is added to the listbox it shouws the full path with the file extension
    ...
  6. Replies
    2
    Views
    797

    Re: filesystemobject question

    excellent thankyou very much
  7. Replies
    2
    Views
    797

    filesystemobject question

    im using the filesystemobject to search for files in a folder and susbfolders then show these files in a listbox but when my form loads and executes the search the listbox fills with every file in...
  8. Thread: error handling

    by d0uga1
    Replies
    3
    Views
    654

    Re: error handling

    thanks for the reply

    not too sure how to use your code in my app yet gonna have a good look at it in the morning.

    thanks again
  9. Thread: error handling

    by d0uga1
    Replies
    3
    Views
    654

    error handling

    hi heres another question

    how to i catch an error and then skip the piece of code causing the error

    i have a list box with 30 odd items in it and they will open a individual app on double...
  10. Replies
    4
    Views
    690

    Re: copy .dll to system dir

    thanks for the info guys

    i managed to get it to work and to check if the dll is the current version required.

    cheers
  11. Replies
    4
    Views
    690

    Re: copy .dll to system dir

    the dlls are files that arnt windows o/s dependant and have been created to aid the running of a small program but i want to update these dlls when my app starts
  12. Replies
    4
    Views
    690

    [RESOLVED] copy .dll to system dir

    how can i copy several .dll files from my app.path to the system folder on form load.

    also if the file is already there how to overwrite it.

    also how can i check if the .netfix is installed and...
  13. Thread: timer question

    by d0uga1
    Replies
    2
    Views
    1,040

    timer question

    hi i have 3 timers on a userform i need to know how to stop timer1 when the timer caption = my random number then stop timer2 with a half second delay then timer 3 with another half second delay. is...
  14. Replies
    3
    Views
    1,009

    Re: using Or statement

    ThankYou It Worked A Treat.
  15. Replies
    3
    Views
    1,009

    using Or statement

    can someone help me im trying to use the Or statement in a project

    i have a checkbox which gets checked when i click a label then i want to see if when a cmd button is clicked weather the outcome...
  16. Replies
    2
    Views
    934

    [RESOLVED] using maths in vb6

    ive got a really stupid question to ask but for the life of me i cannot remember how to do it i have done it before but was a while ago

    basically i have a control array of labels...
  17. Replies
    7
    Views
    16,095

    Re: percentage button on a calculator

    i have been looking at msdn help in vb but that isnt clear enough for me lol

    im just looking for the easiest solution really. thanks for your post it was kinda helpful
  18. Replies
    7
    Views
    16,095

    percentage button on a calculator

    a simple request really but its giving me a rather hard time trying to sort it so i thought as a last resort id try here but couldnt find anything about it strangly enough so here goes

    i have made...
  19. Replies
    4
    Views
    947

    Re: module call event

    can this be done

    on the outcome of a random number have that number placed in the loadrespicture id section

    like this
    image1.picture = LoadResPicture (My Random Number outcome, vbresbitmap)...
  20. Replies
    4
    Views
    947

    Re: module call event

    thankyou i didnt think about that and have managed to sort it out its ok now thanks again.
  21. Replies
    4
    Views
    947

    module call event

    hi ive another problem regarding a module i am using in my program

    what happens is this i have a second form which is shown when i click the color option in my menu. On this form i have the...
  22. Replies
    7
    Views
    1,412

    [RESOLVED] random number

    i cannot get a random number to be generated from 1 - 12 each time i try i get 1 then 13 then 157 then 1885 and so on what am i doing wrong please help heres my code


    Private Sub Start_Click()...
  23. Replies
    4
    Views
    3,275

    Re: how to move images in a imagebox

    thanks for your reply but somehow managed to get what i wanted using a imageox inside a frame then using a timer function and the imagebox.top method then hard coding from the timer sequence so that...
  24. Replies
    4
    Views
    3,275

    how to move images in a imagebox

    hi guys need a bit of help and with it being my first post on this site please be nice lol (just kidding)

    what i have is a image box which is loaded with one of several items from a resource file...
Results 1 to 24 of 24





Click Here to Expand Forum to Full Width

Featured