1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Question about VB program...

Discussion in 'Software Development' started by asbo, Jan 21, 2002.

Thread Status:
Not open for further replies.
Advertisement
  1. asbo

    asbo Thread Starter

    Joined:
    Sep 21, 2001
    Messages:
    507
  2. Rockn

    Rockn

    Joined:
    Jul 29, 2001
    Messages:
    21,334
    What kind of program....I know u said VB
     
  3. TimCottee

    TimCottee

    Joined:
    Oct 10, 2001
    Messages:
    186
    Some simple pointers:

    The textboxes contain the information you need in cmdSave_Click sub you would have something like:

    Private Sub cmdSave_Click()
    FileCopy Text1.Text,Text2.Text
    'where text1 is your saved file name, text2 is the destination
    If chkExitWhenDone.Value = 1 Then
    Unload Me
    End If
    End Sub
     
  4. asbo

    asbo Thread Starter

    Joined:
    Sep 21, 2001
    Messages:
    507
    Thanks for the Tim.

    I have moved on to a larger problem...
    That was only the Options screen...
    On frmMain there is a button that copies the directory in Text1 (Not Text1.Text, but the directory path IN it...) to a directory, if specified in Text2 (specify copy destination). If not it goes to some obscure destination out of harms way. I'm gonna have to add a 'Restore' button...

    Above and beyond all this, I want to save these setting to the Registry... More info is @ my post Messing with the Registry.

    Sorry if this is :confused: confusing :confused: !

    Thanks for ANY help you can give me...
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/65782

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice