|
-
Sep 8th, 2007, 11:24 AM
#1
Thread Starter
Member
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
-
Sep 8th, 2007, 02:19 PM
#2
Frenzied Member
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.
-
Sep 8th, 2007, 02:25 PM
#3
Hyperactive Member
Re: help me makin a app
 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
-
Sep 8th, 2007, 04:04 PM
#4
Frenzied Member
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.
-
Sep 8th, 2007, 04:26 PM
#5
Fanatic Member
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.
-
Sep 9th, 2007, 05:04 PM
#6
Thread Starter
Member
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 .
-
Sep 9th, 2007, 06:43 PM
#7
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 Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API 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 
-
Sep 9th, 2007, 08:33 PM
#8
New Member
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.
-
Sep 10th, 2007, 05:31 AM
#9
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.
-
Sep 11th, 2007, 06:22 PM
#10
Thread Starter
Member
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.
-
Sep 11th, 2007, 09:33 PM
#11
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|