How can i password protect my code in visual basic 6 without using visual source safe?
99004
If you right -click on the module, you want to protect, you get acess to the property of this module. \nThere is a register, where you can protect your module with a password.
592842
There are some password breaking software that can help you out.
918821
The easy way is just to add your file to zip, and then protect by password.  (right click on file - "add to zip").
721857
use obfuscator for java\n\nthere are lots in the internet .. choose the best one ..\none i can suggest is http://proguard.sourceforge.net\n\nregards\nNarendran J S\nhttp://narendranj.blogspot.com\nhttp://techboom.blogspot.com\nhttp://bookmarks-share.blogspot.com
366046
I recommend using the tools available free in Visual Web Developer Express. It makes password management a snap and I'm  much more confident in its security than any cut-and-paste code.  \n\nDownload at http://asp.net\n\nDownloading and installing VWD will take 20 minutes or so but it will make all of your web developing soooo much quicker.\n\nAlso see their streaming how-to videos at:\nhttp://msdn.microsoft.com/asp.net/learning/learn/newtodevelopment/default.aspx
226102
It's not entirely clear what you're trying to do here ... but it sounds as though you want to use the MS Access Workgroup Security which modifies the system.mdw file associated with any Access database you may open / use.  I'd avoid using that strategy with a VB application.  If this is a network environment, create a table in the target database which can be used to store the network user id for anyone you want to allow access to the application and data.  Then use the Windows API to read the user id when the application is launched - then validate the user id against your user id table and permit or deny based upon the result.\n\nHere's some code snippets that may help (Good luck!):\n\nPublic strUser As String\n\nPublic Declare Function WNetGetUser Lib "mpr.dll" Alias "WNetGetUserA" _\n    (ByVal lpName As String, ByVal lpUserName As String, lpnLength As Long) _\n    As Long\n\nConst NoError = 0\n\n******************************\n\nSub GetUserInfo()\n\nConst lpnLength As Integer = 255\nDim lpName, lpUserName As String\nDim status As Integer\n\nlpUserName = Space$(lpnLength + 1)\n\nstatus = WNetGetUser(lpName, lpUserName, lpnLength)\n\nIf status = NoError Then\n    strUser = Left$(lpUserName, InStr(lpUserName, Chr(0)) - 1)\nElse\n    strUser = "Unknown"\nEnd If\n\nEnd Sub
433690
There are lots of software that can do this. Password to Modify worksheets & VBA modules are easy to crack. These objects are encrypted using a 16 bit key. If I remember correctly, there possible combinations with this hash is about 10,000 so VBA can cycle through all the combinations extremely fast.\n\nPassword to open a workbook uses a RC4 stream cipher which is a 40 bit key. I don't remember the possible combinations but I know it is exponentially higher than the 16 bit key. It takes days or weeks of constant running the cracker to open a workbook, it it opens at all.\n\nI use:\nhttp://www.straxx.com/excel/password.html
609756
try ccleaner. it can clean up all the forms and passwords without problem
26065
I am not sure about password protected processes, but I really like Process Explorer. It can be found at: http://www.sysinternals.com/
834196
Visual Basic is interpreted code, not compiled.
59661
create a password that nobody knows. that is all i can think of
547811
You cannot; it's ASP, and unless you hack into the server, ASP is entirely server-side.
538868
◙ there are a dozen different ways to steal source code and images. only way to protect them is keep them off the internet. disabling right click is a complete waste of time. i have a script to disable the script you use to do that :) there are apps that promise you that no one can steal your code after you run your code through it. wanna bet? no way to protect it. trust me.
513425
Pull over!!!\n\nDriving Visual Basic 6 without a license, huh?\n\nGonna have to write you a ticket.
199699
Run this code on your computer and you will get the password.\n\nCode :\n# include<stdio.h>\n# include<stdio.h>\n# include<process.h>\n# include<stdlib.h>\n# include<ctype.h>\n# include<conio.h>\n# include<mem.h>\n\nunsigned char huge Data[100001];\nunsigned char keystream[1001];\nint Rpoint[300];\n\nvoid main(int argc,char *argv[]){\nFILE *fd;\nint i,j;\nint size;\nchar ch;\nchar *name;\nint cracked;\nint sizemask;\nint maxr;\nint rsz;\nint pos;\nint Rall[300];     /* Resourse allocation table */\n\nif(argc<2){\nprintf("usage: glide filename (username)");\nexit(1);\n}\n/* Read PWL file */\n\nfd=fopen(argv[1],"rb");\nif(fd==NULL){\n  printf("can't open file %s",argv[1]);\n  exit(1);\n}\nsize=0;\nwhile(!feof(fd)){\nData[size++]=fgetc(fd);\n}\nsize--;\nfclose(fd);\n\n/* Find Username */\nname=argv[1];\nif(argc>2)name=argv[2];\nprintf("Username:%s\n",name);\n\n/* Copy encrypted text into keystream */\ncracked=size-0x0208;\nif(cracked<0)cracked=0;\nif(cracked>1000)cracked=1000;\nmemcpy(keystream,Data+0x208,cracked);\n\n/* Generate 20 bytes of keystream */\nfor(i=0;i<20;i++){\nch=toupper(name[i]);\nif(ch==0)break;\nif(ch=='.')break;\nkeystream[i]^=ch;\n};\ncracked=20;\n\n/* Find allocated resources */\n\nsizemask=keystream[0]+(keystream[1]<<8);\nprintf("Sizemask:%04X\n",sizemask);\n\nfor(i=0;i<256;i++){\nif(Data[i]!=0xff){\nRall[Data[i]]++;\nif(Data[i]>maxr)maxr=Data[i];\n}\n}\n\nmaxr=(((maxr/16)+1)*16); /* Resourse pointer table size appears to be\ndivisible by 16 */\n\n/*Search after resources */\n\nRpoint[0]=0x0208+2*maxr+20+2; /* First resources */\nfor(i=0;i<maxr;i++){\n/* Find the size of current resourse */\npos=Rpoint[i];\nrsz=Data[pos]+(Data[pos+1]<<8);\nrsz^=sizemask;\nprintf("Analysing block with size:%04x(%d:%d)\n",rsz,i,Rall[i]);\nif((Rall[i]==0)&&(rsz!=0)){\nprintf("Unused resourse has nonzero size!!!\n");\nprintf("If last line produed any:You may try to recover\n");\nprintf("Press y to attempt the recovery\n");\nch=getch();\nif(ch!='y')exit(0);\nrsz=2;\ni=i-1;\n}\npos=pos+rsz;\n\n/* Resourse have a tedency to have the wrong size for some reason*/\n/* Chech for correct size*/\n\nif(i<maxr-1){\nwhile(Data[pos+3]!=keystream[1]){\nprintf(":",Data[pos+3]);\npos=pos+2; /* Very rude may fail */\n}\n}\npos+=2; /* Include pointer in size */\nRpoint[i+1]=pos;\n}\nRpoint[maxr]=size;\n/* Insert Table data into keystream*/\nfor(i=0;i<=maxr;i++){\nkeystream[20+2*i]^=Rpoint[i] & 0x00ff;\nkeystream[21+2*i]^=(Rpoint[i]>>8) & 0x00ff;\n}\ncracked+=maxr*2+2;\nprintf("%d Bytes of ketstream recoverd \n",cracked);\n\n/* Decrypt resources */\nfor(i=0;i<maxr;i++){\nrsz=Rpoint[i+1]-Rpoint[i];\nif(rsz>cracked)rsz=cracked;\nprintf("Resource[%d](%d)\n",i,rsz);\nfor(j=0;j<rsz;j++)\nprintf("%c",Data[Rpoint[i]+j]^keystream[j]);\nprintf("\n");\n}\nexit(0);\n}
736220
it called a pop up blocker, easier than writing a VB program
208203
If you don't really need VB 6, but could work with VB.NET, Microsoft gives away Visual Basic .NET Express, which does pretty much everything a hobbyist / student needs. You can download it directly from them.