Welcome, Visitor!

Hello, we are really happy that you have reached us. However, since you are viewing the forum as a visitor, you cannot benefit from many features of the forum. How about taking advantage of all the features exclusive to our members by registering? You can register right now, taking just 2 minutes of your time. We would love to see you among us.

VB.NET Program Adı Değiş. Engelleme

H

HZ.CİN

Cin Terbiyecisi
Thread Starter
Ultra Member
Joined
Dec 22, 2019
Messages
385
Reaction score
62
Points
28
Location
Cehennem
VB.NET Program Adı Değiş. Engelleme


Code:
Dim programadi As String = IO.Path.GetFileNameWithoutExtension(Application.Ex ecutablePath)

If programadi = "test.exe" Then ' programın adi .exe yapın

ElseIf programadi = "test" Then 'programın adını .exe koymadan yazın

Else
MsgBox("Program Adi Değiştirildiği İçin Kapatılıyor Lütfen Yeniden Yükleyiniz.", MsgBoxStyle.Critical, "Hata")
Me.Close()
End If
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Theme editor

Top Bottom