Hack Forums
[C#] Problem adding vb theme to C# (Referencing) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Problem adding vb theme to C# (Referencing) (/showthread.php?tid=5002014)



Problem adding vb theme to C# (Referencing) - Velozity™ - Sep 27, 2015

So, I have referenced my .dll to my vb theme and am now choosing the DLL on my toolbox.

I get this error: [Image: kkjEVhf.png]

I know what it means, but how can I fix this?
Other themes don't do this, only a few I've had pull out this error.

Thanks!

Theme: http://pastebin.com/raw.php?i=jUuzNhSC


* - .cYRil. - Sep 27, 2015

Add it from toolbox "right click on the toolbox > Choose Items" , or you can drop the .dll to toolbox


* - Velozity™ - Sep 27, 2015

I did that mate, even says in OP.


* - Temploit - Sep 28, 2015

What theme are we talking about?


* - Velozity™ - Sep 28, 2015

(Sep 28, 2015 01:39 AM)Temploit Wrote:  What theme are we talking about?

UITheme


* - Odus - Sep 28, 2015

In the theme, are the modifiers private? Try changing them to public/setting them explicitly. Recompile and try again.


* - Velozity™ - Sep 28, 2015

(Sep 28, 2015 02:55 AM)Odus Wrote:  In the theme, are the modifiers private? Try changing them to public/setting them explicitly. Recompile and try again.

Nope thats not the issue.

Thanks anyways 🤝


* - Baseplate - Sep 28, 2015

Can you please show how the theme is set up?


* - Velozity™ - Sep 28, 2015

still looking to fix this :c


* - Programmist - Sep 29, 2015

If other themes aren't causing this issue, it might be a bug that the developer hasn't discovered. Also make sure you're importing the correct file if there's more than one to choose from. Some components aren't meant to be imported.


* - Snowfox - Sep 30, 2015

Changing access modifiers to public did the trick.

[Image: LN8HDiu.png?1]


Working Theme link.

https://www.dropbox.com/s/nnttmgtki038jcc/FlatUI.vb?dl=0


* - Odus - Oct 1, 2015

(Sep 30, 2015 10:14 PM)Nag4nethack Wrote:  Changing access modifiers to public did the trick.

Told you!


* - klash hacker - Oct 1, 2015

pastebin.com/xD5mvS9P

this is the theme for you my friend :*


and this is the screen shot

prntscr.com/8ml6mq