Search:

Type: Posts; User: bat711

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    33,284

    Re: MkDir Path/File Access Error

    :o

    Oops...

    I had reused .FileExists from when I was originally just trying to copy the file. Then I realized the directory structure might not exist as well. Switching to .FolderExists...
  2. Replies
    11
    Views
    33,284

    Re: MkDir Path/File Access Error

    Yes I am using environ. Sorry, should have posted my full code... :blush:



    Dim strUserPath As String
    Dim strSource As String
    Dim strDest As String
    Dim fso As Object
    ...
  3. Replies
    11
    Views
    33,284

    [RESOLVED] MkDir Path/File Access Error

    I'm using the following code to make a directory if not already created:



    If fso.FileExists(strUserPath & "\AppData\") Then
    Else
    MkDir (strUserPath & "\AppData\")...
  4. Replies
    3
    Views
    3,480

    Re: Variable Length Array?

    Ahh...thanks! I didn't think there was any way to declare an array using a variable for the number of elements, but the below worked...




    ReDim Preserve txtTrans(gsNumTrans)
  5. Replies
    3
    Views
    3,480

    [RESOLVED] Variable Length Array?

    I want to use an array, but I don't know what the size will be until I read the number of fields from a DB. All of the fields have the same name with a number appended to them (lr_transaction1,...
  6. Replies
    2
    Views
    507

    Re: Using A Timer

    Thanks, I didn't think of doing something like that.
  7. Replies
    3
    Views
    532

    Re: Help making a break program

    I'm assuming to cheat.
  8. Replies
    7
    Views
    637

    Re: how i can import text from regedit

    Are you trying to say that you want to put the value name or value data into a text box in your application?
  9. Replies
    2
    Views
    507

    [RESOLVED] Using A Timer

    I'm using a third part OCX to check for an update via the internet. Unfortunately the error handling for when there is no connection (either no internet connection or the web site is down) that was...
  10. Replies
    1
    Views
    744

    Create A Binary Registry Value

    I'm trying to add a few web sites to Interenet Explorer's allowed pop up sites, but I'm having some trouble creating a new binary registry value. What's the proper way to add a new binary value under...
  11. Re: Pass A Variable Between Executables?

    Thanks, I guess I'll stick with using an INI file.
  12. [RESOLVED] Pass A Variable Between Executables?

    I have an application that is currently using two EXEs. Is it possible to send a variable from one EXE to the other? I have text box as part of one EXE that I would like to populate with different...
  13. Replies
    2
    Views
    5,378

    Inno Setup - Install file in user's profile

    I'd imagine this has been answered before, but a few searches didn't yield anything. I need to install a file in the user's profile. Unfortunately Vista and XP have different paths for them. Is...
  14. Re: InnoSetup / ISTool -- Creating a shortcut in favorites folder

    Nevermind, I figured out what I was doing wrong. I was trying to do this:

    Name: {%UserProfiles}\Favorites; Filename: {app}\YourExeName.exe; WorkingDir: {app}

    But needed this format because...
  15. Re: InnoSetup / ISTool -- Creating a shortcut in favorites folder

    Using this:
    Name: {%UserProfile}\MyShortcut; Filename: {app}\{#MyAppExeName}

    I was able to get it into the Users directory, but I'm not sure how to move it from:

    user\

    to:

    user\Favorites\
  16. Re: InnoSetup / ISTool -- Creating a shortcut in favorites folder

    Tried changing {%UserProfiles} to {%UserProfile} but still nothing was created in the Favorites folder.
  17. Re: InnoSetup / ISTool -- Creating a shortcut in favorites folder

    Thanks for your help Randem, but I still can't seem to get it working properly. So I was thinking, is it possible to just copy a desktop shortcut that is already created into the Favorites folder?
  18. Re: InnoSetup / ISTool -- Creating a shortcut in favorites folder

    I tried using the following line in the [Icons] group, but no shortcut is showing up:

    Name: {%UserProfiles}\Favorites; Filename: {app}\{#MyAppExeName}

    Is this the proper format?
  19. [RESOLVED] InnoSetup / ISTool -- Creating a shortcut in favorites folder

    I had a request to make a shortcut similar to the one on the desktop in the favorites folder. Is this possible?

    It's the folder located at:

    (Drive Letter):\documents and...
  20. Thread: Launch IE 7

    by bat711
    Replies
    4
    Views
    453

    Re: Launch IE 7

    Yeah I'm aware of that, I'm wondering if it has changed from version 6 to version 7. I can't install it to test it on this PC, so if someone else has can you test it out.

    I just want to make sure...
  21. Thread: Launch IE 7

    by bat711
    Replies
    4
    Views
    453

    Launch IE 7

    Does anyone know if IE 7 uses the same shell command to open IE to a specific website like:

    iexplore.exe www.yahoo.com


    Thanks
  22. Replies
    4
    Views
    2,393

    Re: updating of app exe. file

    What I do is for this is create a text file that contains a version number or in your case a date would work, place it on the server and then read this file from my application which has a text file...
  23. Replies
    2
    Views
    545

    Re: Shortcuts and App.Path

    You were right I did have it as a forward slash. I had been typing too many URLs...

    EDIT:

    Nevermind...I was missing an App.Path for one of my .txt files

    :blush:

    Thanks...
  24. Replies
    2
    Views
    545

    [RESOLVED] Shortcuts and App.Path

    Are there issues with using App.Path in a program when the program will be launched from a shortcut on the desktop? My program can't find a text file that I describe the path as


    App.Path &...
  25. Replies
    4
    Views
    551

    Re: Case or If Statement

    Thanks, that cleared it up...
  26. Replies
    4
    Views
    551

    Re: Case or If Statement

    Thanks, that worked...

    Now I've got another problem with the case statement though. Here is my case statement. It is not setting strURL to the correct website for some reason when strState is...
  27. Replies
    4
    Views
    551

    [RESOLVED] Case or If Statement

    I want to use a case or an if statement to launch IE to a certain website if the user is from a certain state.

    I was trying to put together a case statement that went something like this but it is...
  28. Replies
    6
    Views
    522

    Re: Pop Up Form

    Ok, thanks all...
  29. Replies
    6
    Views
    522

    Re: Pop Up Form

    Thanks space_monkey, how do you release?


    Form2.Hide
  30. Replies
    6
    Views
    522

    [RESOLVED] Pop Up Form

    I want to make a form pop up the first time a user executes my application to create some settings to save to an INI file for future reference.

    How do I make this form pop up but not load the main...
  31. Replies
    4
    Views
    1,060

    Re: Changing IE settings

    There are registry settings that you need to change to switch the default search engine to google. They are located here:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Search

    The...
  32. Replies
    2
    Views
    360

    Re: Making reference to ADO

    Thanks!
  33. Replies
    2
    Views
    360

    [RESOLVED] Making reference to ADO

    I'm trying to make a reference in my project to ADO connections. In the reference list I'm finding "Microsoft ActiveX Data Objects 2.x Library" is this the the correct one? I thought it was just...
  34. Re: InnoSetup - Writing a Version Number to the Setup file

    Thanks, for some reason it wasn't using the version information that I gave my files in VB6.
  35. [RESOLVED] InnoSetup - Writing a Version Number to the Setup file

    I'm using **********/InnoSetup to create my setup .EXE file. I'd like it to write the version number into the setup .EXE file it outputs. It currently is showing up as 0.0.0.0 when I check the...
  36. Replies
    1
    Views
    1,859

    Re: Creating Zero-Length Binary in Registry

    Just realized why this might not be working. In my code I'm trying to create a key that already exists, what I need to do is create multiple values.

    So I would need to change it to check for the...
  37. Replies
    1
    Views
    1,859

    Creating Zero-Length Binary in Registry

    I'm trying to create a new binary value under the HKCU\Software\Microsoft\Internet Explorer\New Windows\Allow key. Unfortunately I am having some trouble. How do I create a new zero-length binary...
  38. Re: InnoSetup - Delete Files During Installation

    Thanks, again.
  39. Re: InnoSetup - Delete Files During Installation

    Thanks,

    When you are deleting a file it goes in the [InstallDelete] section, or does it not matter?
  40. Re: InnoSetup - Delete Files During Installation

    Thanks, I keep forgetting that I'm using ISTool as well and when I was looking around in the help documetation I wasn't finding anything. :blush: :thumb:

    For the path can you use the script...
Results 1 to 40 of 136
Page 1 of 4 1 2 3 4



Click Here to Expand Forum to Full Width