Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C# 

Adding a VB theme to a .dll

Hello there HF, I am having a problem adding a vb theme to a .dll for a C# project, what I am doing is the following: I am creating a Class Library in VB adding the source from the theme to the class and trying to build it but I am getting over 200 errors, I tried it in a vb windows form and the theme works fine there. Can you please tell me what I am doing wrong please.
You will need to add references to at least System.Drawing and potentially System.Windows.Forms...A class library usually doesn't require either of those two References, so the template for Class Libraries does not include them.
I got those mate, any other ideas what I could of done wrong :D

Edit: I fixed it now thank you.
if you couldn't tell why you were getting 200+ errors you shouldn't be using custom controls.
(Jan 25, 2015 06:46 AM)Astek Wrote:  if you couldn't tell why you were getting 200+ errors you shouldn't be using custom controls.

The theme might needed Themebase... which must have added now by him/her as errors are resolved... ;)
BTC - bc1q3efew3yzfwhdz290dafykaw0a2w56g2j69g2c6
ETH - 0xf1c873217032468990D3313da6509D1b813c4671
USDT - 0xf1c873217032468990D3313da6509D1b813c4671
PP - [email protected]
(Jan 25, 2015 11:30 AM)SaketSaket Wrote:  The theme might needed Themebase... which must have added now by him/her as errors are resolved... ;)
I guess that could be true, but he wasn't adding Drawing and Windows.Forms as a ref 😊
(Jan 26, 2015 06:40 PM)Astek Wrote:  I guess that could be true, but he wasn't adding Drawing and Windows.Forms as a ref 😊

(Jan 25, 2015 05:10 AM)AspectModding Wrote:  I got those mate, any other ideas what I could of done wrong :D

Edit: I fixed it now thank you.

According to ^, he did have System.Drawing/Windows.Forms referenced and it was something else.
(Jan 27, 2015 02:56 AM)Nikey646 Wrote:  According to ^, he did have System.Drawing/Windows.Forms referenced and it was something else.
touche 🤝, but I'm guessing he had the Imports but didn't actually reference them...


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by SecurifierJan 17, 2020 07:20 AM 12 416 Jan 17, 2020 07:20 AM
Last Post: SIM-3602340
[.NET] by VENIAug 11, 2018 06:05 AM 1 119 Aug 11, 2018 06:05 AM
Last Post: Washi
[C#] by ๖ۣۜAnubisOct 28, 2016 12:55 PM 7 2,462 Oct 28, 2016 12:55 PM
Last Post: Zippy™