Hello friends now i'm programming in vb but i've got an confusion can you suggest me how to make a same vb exe file hidden.
Printable View
Hello friends now i'm programming in vb but i've got an confusion can you suggest me how to make a same vb exe file hidden.
Just do that in the operating system by right-clickong on the executable and checking the box that says "hidden."
Hi bishaw..
Welcome to the forums...:wave:
There's a function in VB called setattr(). You can use it to set attributes (like vbHidden) to a file.
Example:
Good luck...:thumb:Code:Option Explicit
Private Sub Command1_Click()
SetAttr App.Path & "\" & App.EXEName & ".exe", vbHidden
End Sub
Why do you want to hide an exe file?
Thank you alot friend but can you help me how to rate
any person
Thank you friends
I would suggest going through the FAQ of vbforums. You will find answers not only to the above question but to several others which might pop up in the future :wave:
You didn't answer my question.
Ok i'm sorry actually my friend had build message carrying virus using vb so i was thinking how that is possible that's the reason,but dont think that i'm going to make such program anyway thank you friends.
Discussing anything related to creating viruses, and other malicious things are against the forum policies ! And also, creating viruses is a big offense and you'll be arrested and sent to prison ! So, don't even think about it. Use your knowledge to create useful programs and helping others. Don't try wasting it on creating viruses.
If your thread is RESOLVED, you can mark it as RESOLVED by using the Thread Tools situated at the top of this page.
Good luck...:thumb:
Sorry i was just thinking how that is possible actually i'm going in the process of making notepad so i need help how to make save,open and also about using common dialoger.
Creating a virus isn't an offense of the law. Unauthorized access to a network or system is. Running a virus, whether one creates it or not, on a machine which you are unauthorized to access is an offense.
By all means, if viruses interest you, then develop them. We(techies, computer enthusiasts, computer users) need security experts(white hat hackers) just as much as any other type of programmer.
We can't all just bury our heads in the sand and think "eh! no one would ever try to penetrate our security". We would be foolish to think such a thing!
The moral of the story is you need authorization to access a private network or private system. You should not intentionally disrupt any service which you do not own, operate, or have WRITTEN consent to perform security audits on.
The difference is intent. A white hat hacker has noble intentions, to strengthen networks, and to improve security of the system(and has PERMISSION aka written consent). A grey hat hacker mostly does things for his or her own amusement. A black hat hacker is purely malicious, and is interested in stealing information/resources/bandwidth, disrupting services, and general unsavory contemptible acts.
No one likes a black hat. And grey hats aren't really respectable either. If you're a white hat, always be sure you get a legally binding contract to ensure you're free of ALL liability.
There are very sad stories of hackers who didn't even break into anything and get slapped with felony charges of 'unauthorized access'. You have to be careful!
Imagine simply visiting a URL(that anyone could access, without any authorization). That can be all it takes!
Thanks for the info, FireXtol .....:wave: