Hi,
My app is very slow and I am trying to make it more efficient but can't seem to work out which method to override.
I have a lot of buttons (100 - 200) added to a panel and wish to resize the panel so that the buttons resize themselves in the window. The buttons are quite long (200 pixels...
Ok, having done a bit more research on this, I understand the problem is not with the OS, but the version of Office I am compiling the program with.
I have Office 2003, but I have downloaded the Office XP PIAs to make it compatible with Office XP. However, I also wish it to be compatible with...
Hi,
I have written a program that works perfectly under Windows XP and Office 2003, however I have discovered that it does not work with earlier versions of Windows or Office.
The problem is I have not got a copy of Windows 2000 to test this with to get it to work. I require the user to get...
Hi,
I am trying to write a simple operating system in java with terminal polling, microkernel, etc. Would anyone be able to point me in the right direction, either an existing simple os I could look at, or merely some assistance in how to go about it, I don't really know where to start?
Thanks
Hi,
I am trying to create a simple C# application that I can run from my home computer that will upload a file to some web space I have.
I have managed to create an ASP.NET file that I have uploaded and when I browse for a file and upload it, it works fine.
My question is how to do this from...
Hi,
I am having a problem overriding the new and delete operators. I have overwritten the new operator with the following:
void * operator new(size_t size, char const* file, int line)
{
void* v = malloc(size + sizeof(size_t));
return v;
}
and the delete with the following:
void operator...
Hi,
It doesn't have to be an Excel print dialog, I just assumed that would be the easiest way.
Basically, if I use the code below as on MSDN then the document prints fine. However this does not allow for the user to change how many pages they want to print, or which printed to print to...
Hi,
How do I display Excel's print dialog box from c#? I understand that to do it in VBA I use the code:
excel.Dialogs(xlDialogPrint).Show();
But I cannot do the same thing in c# it seems. Have I maybe got the syntax wrong, or do I need to include a directive. The error message is that...
Hi,
I am trying to change the properties of each item in a listbox so that I can have items of different colours.
I cannot seem to find a way of doing this, however I did find the following code, which suggests that I am looking for the attributes object, but it does not exist in my listbox...
Fair comments.
I agree it looks a lot nicer to use a method in the constructor than to have all the transactions there.
I didn't actually explain all of what I was doing, just the relevant bits. In fact I am using a checklistbox next to a listbox, the checklist obtains its data from an array I...
Yes, I managed to get it to work by doing this.Show() before the transactions.
Well, where are the GUI transactions supposed to go if they don't go in the constructor, because you certainly cannot put them in the Windows Designer Code?
I have solved the second problem, by changing the eventhandler to link to checkedListBox.ItemCheck as opposed to checkedListBox.SelectedItemCheck, and this now seems to cover every check event.
That side of things is working very well, its just loading in some data when the form first loads...
I also cannot get the checkBoxList to respond quickly enough.
I have the SelectedIndexChanged tied to an event handler, so whenever a box is checked or unchecked a method is called adding or removing the item from the listbox.
However, if you click twice in quick succession, despite the check...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.