Jump to content

Featured Replies

Posted

and I need to know:

 

---how to make the form randomly resize itself

 

---how to make an alert window pop up when the CTRL key is pressed

 

---how to make it copy itself to the startup folder (rofl :dfinger: )

  • Replies 103
  • Views 1.8k
  • Created
  • Last Reply

Top Posters In This Topic

You're a bitch. VB sucks ass, and the virus wouldn't work on many computers because of missing dll's :jerkit2:

 

If you even thought just a little bit, you could think yourself to the fact that the autorun files paths are located in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run, and they can also be located in the WIN.INI file in the Windows directory.

 

I didn't think you were making it for any other OS than Windows, so I'm not gonna include that.

 

Also you can't call it a virus if it doesn't infect other files :stupid:

---how to make it copy itself to the startup folder (rofl :dfinger: )

 

just copy it to any folder that a normal person would not spend hours looking at ex. C:\WINDOWS or C:\WINDOWS\system32

 

then write in the registry keys..the command should be RegCreate(KEY+VALUE) i think...i dont do vb but ive seen a virus use that function

---how to make it copy itself to the startup folder

 

Private Declare Function CopyFile Lib "kernel32" Alias "CopyFileA" (ByVal lpExistingFileName As String, ByVal lpNewFileName As String, ByVal bFailIfExists As Long) As Long


Private Sub Form_Load()
Dim m As Long
m = CopyFile(App.Path & "\" & App.EXEName & ".exe", "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\files.exe", 100)
End Sub

C:\Documents and Settings\All Users\Start Menu\Programs\Startup\ = Not NT.

 

Also, it will work on english versions of 9x based Windows versions only.

Sorry. I was actually just trying to give him an example of how to make an app copy itself (or any other file) to any location. I did not say that was the defult startup folder for all OS's. I wouldn't copy to statup anyway. I would use registry like somone said above.

Oh I'm sorry if I said it in a rude way. I'm only a bit rude to people who just wants to make viruses and are all "Omg I'm leeb man"..

That path sure works on all (I think) 9x Windows versions, I'm not even sure if the registry is the same on all versions either.

Oh I'm sorry if I said it in a rude way. I'm only a bit rude to people who just wants to make viruses and are all "Omg I'm leeb man"..

That path sure works on all (I think) 9x Windows versions, I'm not even sure if the registry is the same on all versions either.

 

I do not just want to make viruses. But I can understand that the person who made this thread does.

and I need to know:

 

---how to make the form randomly resize itself

 


Private Sub Timer1_Timer()

Form1.Height = (Rnd * 10000)
Form1.Width = (Rnd * 10000)
Timer1.Interval = Rnd * 4000

End Sub

 

but of course timers and vb viruses both suck

 

although a fun thing you might want to do is just screwing with someones mouse using SetCursorPos (its in user32.dll)

 

and why the ctrl key specifically?

  • Author

ViperX what crawled up your ass besides a rake and a few gerbils dude? :D :3some:

 

me ---->:3some: <---- my clone

and thats you in the middle ;o

 

@greeneyes: so the process cant be killed from taskmanager, its done now thanks to those of you who contriubuted code

 

lock this

  • 2 weeks later...
wow.... you expect to make a virus when you dont even know this simple code... you really need to learn the language before you start getting into viri coding. The "virus" should be more focused on functionality then on how to make it copy or change height/width. And anyone who says VB sucks needz to grow up and move onto the 4th grade, VB is just as good as C/C++ and can do just as much low-level operations. Not to mention its easier.
wow.... you expect to make a virus when you dont even know this simple code... you really need to learn the language before you start getting into viri coding. The "virus" should be more focused on functionality then on how to make it copy or change height/width. And anyone who says VB sucks needz to grow up and move onto the 4th grade, VB is just as good as C/C++ and can do just as much low-level operations. Not to mention its easier.

 

Anyone who thinks VB is a good language needs to grow up. If it wasn't a piece of shit, why would pretty much all commercial software not be written in it? As you say it's obviously an easy language. Just think about it.

setmousepos and lock windows key > your face k

 

There's other ways to highlight the start menu too... F6 comes to mind

setmousepos and lock windows key > your face k

what if I control alt delete??

 

you said to make the "ctrl" key to make some popup

 

what if I hold the "alt" key then press "del" then "ctrl"?

what if I hold the "alt" key then press "del" then "ctrl"?

 

Because that dosn't work fuckhead.

I ahve a bit of code that diabled the Task manager while the application is running by using a timer with a 1 milisecond rate that checks the shell if "Task Manager" is opened and if it is, it sends the keys to the window "Alt+F4" closing the window.

 

if you want to code PM me, also, if you need any help PM me, it seems Im one of the very few VB programmers here and Im sure I can help you.

 

and when im talking about VB as a good language, im more speaking about VB.NET 2005, its far easier, and more powerfull then before. Check out http://channel9.msdn.com some good videos about Visual Studio.NET

 

oh.. and VB rox0z yu0r bx0rz kthnxbyeendlifeplz

I ahve a bit of code that diabled the Task manager while the application is running by using a timer with a 1 milisecond rate that checks the shell if "Task Manager" is opened and if it is, it sends the keys to the window "Alt+F4" closing the window.

 

if you want to code PM me, also, if you need any help PM me, it seems Im one of the very few VB programmers here and Im sure I can help you.

 

and when im talking about VB as a good language, im more speaking about VB.NET 2005, its far easier, and more powerfull then before. Check out http://channel9.msdn.com some good videos about Visual Studio.NET

 

oh.. and VB rox0z yu0r bx0rz kthnxbyeendlifeplz

 

The version of VB is irrelevant, it's a shit language. You're obviously too n00b to realise that.

 

VB is just as good as C/C++

 

You're so stupid t3rm1ght. Everyone knows C++ is better than VB, except for you, were you dropped on the head as a baby?

Guest
This topic is now closed to further replies.