|
发表于 2010-5-6 18:07:31
|
显示全部楼层
31# download
1/ I got it, but app crash when I paste it to declaration section (module, form, anywhere) :) otherwise, sample with openprocess above not working for me too ... an obscure problem on my side 
2/ I am sure it is expression server not IE sever object ;) yes, it is for VBA, this function is implemented in some others dll like expsrv.dll, vbar332.dll .. but this is not important for us for now ;)
3/ If I understand Google translator :)... in openproces sample above you have problem that new form is showed ... we can use Sub main as you describe above, or make an copy of VBHeader (it is about 104 bytes long) and patch &H2C byte, where is stored info about what is loaded on startup ... look at http://www.vb-decompiler.com/viewtopic.php?f=2&t=2&p=2&hilit=vbheader#p2 for vbheader structure ;) |
|