No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Re: Instead of trying to fix something that's being done in a slightly odd (and definitely inconvenient) way, why not explain to us what it is that you ultimately want to achieve? Maybe we could offer some advice on how to do it more efficiently. You should never have to use … | |
Re: In Design View, set your form's TransparencyKey to Magenta, then set the form's Background property to Magenta. When you run your program, anything set to Magenta will appear transparent. | |
Re: This code is quite long and redundant. A better way to do this would be to keep track of all added controls using a HashSet<Control>. Here's some example code that I tested prior to posting this reply: [code=c#] public partial class MyForm: Form { // A hashset that will contain … | |
Re: Where are you getting this string from? If it's from a MySQL database, why not just store it as a byte array in a blob? Alternatively, you could roll your own string -> byte array converter very easily: [code=c#] List<byte> temp = new List<byte>(); foreach (char c in yourString) temp.Add((byte)c); … | |
Re: Create an instance of the background form from inside your foreground form and display it using .Show(). Then, handle the LocationChanged event of your foreground form and set the background form's Location relative to your foreground form's Location. As the background form was created from inside the foreground, it will … | |
I'm currently writing a program in vb.net 2008, that is split into the main program and several DLLs (of which the user can select 1 to use). In the DLL, I have a function that reads data from a filestream into a structure, then returns the structure. While trying to … |
The End.