How to Lock VBProject Programmatically without SendKeys (Note:- I don't want to Unlock or crack the VBProject. Just want to Lock it Programmatically)

  • Follow


Hi all, I got macro in which I can Lock VBProject with SendKeys.  But
problem with SendKeys that they not work on every User's Computer and
Users can see all the hard work which I put to create my macros.  I
tried to search for the sultion but I came across with the comments
that its not available because of the security issues.  Well i want to
say that i don't want to Unlock or Cract the VBProject.  I just want
to Lock it Programmatically.  If there is no sultion then its my
message to Microsoft that they should at least put this function also
that you can secure your Macros or VBProjects with programming so if
any one who works very hard to create VB codes, someone else could not
copy his work without his permission.
0
Reply K 5/13/2010 8:55:58 AM

Sorry,

I don't understand you.

Is this about an Net Exe or something else.

I get the idea that you are writing about something like MS Access

A Net project is normally not distributed.

Cor

"K" <kamranr1982@yahoo.co.uk> wrote in message 
news:8f914554-c32e-4b5e-a355-d7804530a993@e1g2000yqe.googlegroups.com...
> Hi all, I got macro in which I can Lock VBProject with SendKeys.  But
> problem with SendKeys that they not work on every User's Computer and
> Users can see all the hard work which I put to create my macros.  I
> tried to search for the sultion but I came across with the comments
> that its not available because of the security issues.  Well i want to
> say that i don't want to Unlock or Cract the VBProject.  I just want
> to Lock it Programmatically.  If there is no sultion then its my
> message to Microsoft that they should at least put this function also
> that you can secure your Macros or VBProjects with programming so if
> any one who works very hard to create VB codes, someone else could not
> copy his work without his permission.
> 
0
Reply Cor 5/13/2010 9:42:25 AM


Hello K ,

If Cor is right and we are indeed  dealing here with a person who wrote a 
"program" in office VBA
well then the solution would be to rewrite that macro into a full featured 
program and deploy it as a compiled exe

If you choose .Net as your platform then do not forget to obfuscate the 
binaries otherwise you are back at your original problem :-)

HTH

Michel



"Cor Ligthert[MVP]" <Notmyfirstname@planet.nl> schreef in bericht 
news:uLm$XCo8KHA.1888@TK2MSFTNGP05.phx.gbl...
> Sorry,
>
> I don't understand you.
>
> Is this about an Net Exe or something else.
>
> I get the idea that you are writing about something like MS Access
>
> A Net project is normally not distributed.
>
> Cor
>
> "K" <kamranr1982@yahoo.co.uk> wrote in message 
> news:8f914554-c32e-4b5e-a355-d7804530a993@e1g2000yqe.googlegroups.com...
>> Hi all, I got macro in which I can Lock VBProject with SendKeys.  But
>> problem with SendKeys that they not work on every User's Computer and
>> Users can see all the hard work which I put to create my macros.  I
>> tried to search for the sultion but I came across with the comments
>> that its not available because of the security issues.  Well i want to
>> say that i don't want to Unlock or Cract the VBProject.  I just want
>> to Lock it Programmatically.  If there is no sultion then its my
>> message to Microsoft that they should at least put this function also
>> that you can secure your Macros or VBProjects with programming so if
>> any one who works very hard to create VB codes, someone else could not
>> copy his work without his permission.
>> 

0
Reply Michel 5/13/2010 10:04:10 AM

On May 13, 5:04=A0am, "Michel Posseth [MCP]" <m...@posseth.com> wrote:
> Hello K ,
>
> If Cor is right and we are indeed =A0dealing here with a person who wrote=
 a
> "program" in office VBA
> well then the solution would be to rewrite that macro into a full feature=
d
> program and deploy it as a compiled exe
>
> If you choose .Net as your platform then do not forget to obfuscate the
> binaries otherwise you are back at your original problem :-)
>
> HTH
>
> Michel
>
> "Cor Ligthert[MVP]" <Notmyfirstn...@planet.nl> schreef in berichtnews:uLm=
$XCo8KHA.1888@TK2MSFTNGP05.phx.gbl...
>
> > Sorry,
>
> > I don't understand you.
>
> > Is this about an Net Exe or something else.
>
> > I get the idea that you are writing about something like MS Access
>
> > A Net project is normally not distributed.
>
> > Cor
>
> > "K" <kamranr1...@yahoo.co.uk> wrote in message
> >news:8f914554-c32e-4b5e-a355-d7804530a993@e1g2000yqe.googlegroups.com...
> >> Hi all, I got macro in which I can Lock VBProject with SendKeys. =A0Bu=
t
> >> problem with SendKeys that they not work on every User's Computer and
> >> Users can see all the hard work which I put to create my macros. =A0I
> >> tried to search for the sultion but I came across with the comments
> >> that its not available because of the security issues. =A0Well i want =
to
> >> say that i don't want to Unlock or Cract the VBProject. =A0I just want
> >> to Lock it Programmatically. =A0If there is no sultion then its my
> >> message to Microsoft that they should at least put this function also
> >> that you can secure your Macros or VBProjects with programming so if
> >> any one who works very hard to create VB codes, someone else could not
> >> copy his work without his permission.

What do you recommend to obfuscate your .NET assembly? or to obfuscate
it?

AGP
0
Reply DIOS 5/21/2010 3:55:28 PM

3 Replies
159 Views

(page loaded in 0.082 seconds)

Similiar Articles:







7/23/2012 4:13:44 AM


Reply: