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...
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...
Hi,
I have a problem with CheckedListBoxes that is confusing me.
This is the code I have in the constructor, where the designer code just adds the checkedlistbox:
InitializeComponent();
array2 = (ArrayList) array.Clone();
this.checkedListBox1.DataSource = array2...
...don't know a lot about it and any tutorials I have found just confuse me more.
Here is some code with the errors its producing:
//main.cpp
Manage* manage;
int WINAPI WinMain(..,..,..,..)
{
manage = new Manage();
manage->Method();
return 0;
}
//manage.h
__gc class Manage
{...
I have a rather difficult problem I have been struggling with for a while now.
I have two programs which need to run at the same time, but each program needs each other's objects from time to time.
So why not combine them into one big program with a launcher. Firstly I need to send a request...
...Am I able to define functions in a struct just as I would in a class, for example like the code below:
//h file
struct S
{
bool a;
char* b;
int c;
S();
~S();
};
//cpp file
S:S()
{
b = 0;
}
S:~S()
{
free(b);
}
Having the destructor would mean I would have to...
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.