Startup - Printable Version +- 0Day Forums (https://zeroday.vip) +-- Forum: Coding (https://zeroday.vip/Forum-Coding) +--- Forum: VB.NET (https://zeroday.vip/Forum-VB-NET) +--- Thread: Startup (/Thread-Startup) |
Startup - deuterogamy288 - 01-28-2011 Hey :smile: Well... My bot that I released has a problem with registry startup, I think I tried to repair it for long enough to ask for help :biggrin: Well, here is the code: Hidden Content Error is: Object reference not set to an instance of an object Also, I'm not 100% sure its this :smile: might be other thing, but I want to make sure, before I will completely recode everything :biggrin: Thanks alooooot!!!! -gives a cookie- RE: Startup - dermatophobia557718 - 01-29-2011 This should work. Normalized your code too. :smile: Hidden Content RE: Startup - syenitic856473 - 01-29-2011 Thanks :smile: Still can't figure out why my code didn't work :tongue: but probably computers are more clever then we think and they saw its coded in dumb way RE: Startup - origanums426643 - 01-30-2011 You get that error 91 when your variable is not blank or it's not a new instance. You had this: Hidden Content Should be: Hidden Content RE: Startup - ablation849148 - 01-30-2011 Quote:(01-30-2011, 05:22 AM)Coder-san Wrote: wow thanks :smile: I actually thought it would be other way around! :smile: thanks! EDIT: 'regkey has no contructors' ... What is causing that? I tried similar thing like with threading, but failed (ofc) Hidden Content RE: Startup - laminariaceous430126 - 01-30-2011 sad i can't help but think coder can... btw the first code you can use (environ("temp") & "\" & application.productname & ".exe") RE: Startup - Sirreflets899 - 01-30-2011 Hidden Content try it and good luck :3 RE: Startup - arvindcbesqnww - 01-30-2011 Quote:(01-30-2011, 12:57 PM)1llusion Wrote: Hmm, yeah I didn't test that. You can use this: Hidden Content For starting a Thread you need this: Hidden Content RE: Startup - fetishists21699 - 01-30-2011 thanks :smile: damn without you I would be still making simple phishers O.o |