Results 1 to 11 of 11

Thread: help me makin a app

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    62

    help me makin a app

    i have a problem !!
    im making an app but i dont know one command
    i wana make that the app to copy it self in other location or
    u can tell me other thing how to make that the app to load automaticly at startup !!
    please help me i really need these things

  2. #2
    Frenzied Member
    Join Date
    Sep 2006
    Location
    Scotland
    Posts
    1,054

    Re: help me makin a app

    Why do you need to do this? Also I recommend that you change your username to something other than your email address or your inbox will be flooded with spam. Although its probably too late now anyway....


    Edit: Just saw the start up thing. Do a search. This question has been answered about a hundred times.
    Last edited by 03myersd; Sep 8th, 2007 at 02:23 PM.

  3. #3
    Hyperactive Member
    Join Date
    Sep 2007
    Posts
    360

    Re: help me makin a app

    Quote Originally Posted by [email protected]
    i have a problem !!
    im making an app but i dont know one command
    i wana make that the app to copy it self in other location or
    u can tell me other thing how to make that the app to load automaticly at startup !!
    please help me i really need these things
    Copy itself to another location? Run at startup?

    You're not trying to create a virus are you? lol

  4. #4
    Frenzied Member
    Join Date
    Sep 2006
    Location
    Scotland
    Posts
    1,054

    Re: help me makin a app

    Oh maybe I did read it right in the first place. A virus was my immediate thought. Then I thought it meant that he wanted to copy it to the startup folder (not thinking that you only put a shortcut there). Yes it does sound like some form of virus. I suggest that you explain what you are trying to achieve and then let us help you from there.

  5. #5
    Fanatic Member
    Join Date
    May 2007
    Location
    Merced
    Posts
    868

    Re: help me makin a app

    Yes, I myself agree. Please give us a little more detail so we can know what you are trying to explain cause it sounds like a virus to me. Maybe it is not but we dont know that.

  6. #6

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    62
    oh no im not trying to make a virus !! i dont know much about programing
    all im trying to do is to load at startup any program i choose to for example a calendar or something .

  7. #7
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: help me makin a app

    Just place your shortcut to the desired app in your startup menu folder.

    Why do you need the program to copy itself to another location?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  8. #8
    New Member
    Join Date
    Sep 2007
    Posts
    3

    Re: help me makin a app

    Seems rather suspicious, but yeah, just place application in the startup menu folder. Although, you can also call reg api to add it in the registry, which would be less detectable, if you get me, lol.

  9. #9
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: help me makin a app

    A running application can't copy itself. You would need something external to the app to do the copy for you.

  10. #10

    Thread Starter
    Member
    Join Date
    Sep 2007
    Posts
    62

    Re: help me makin a app

    ok !! i found this while i was searching in the forum :
    Code:
    Private Sub Command1_Click()
    Dim SScript
    Set SScript = CreateObject("WScript.Shell")
    SScript.RegWrite "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Cool", "App.Path & "\" & App.ExeName"
    as i sad im new in programming and my second app is a calendar and i want this calendar to run at windows startup but this code that i found it doesn't work for me !! when i try it , it says : "run-time error 13 , type mismatch"

    And for the app to copy it self in another location i wanted because one of my friend sad to me if u make a copy in C:\WINDOWS\startup\myapp.exe then the app it will be at startup !!


    Sorry if my English wasn't good because im from Albania !!
    Last edited by jareck; Sep 11th, 2007 at 06:27 PM.

  11. #11
    Fanatic Member
    Join Date
    May 2007
    Location
    Merced
    Posts
    868

    Re: help me makin a app

    That weird this can just be me but i know virus install in that location. May i ask why dont you want your "PROGRAM" in the program files folder?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width