i will need to generate a report based on user input for every food that will look like this:
i plan to have a pdf displayed on a winform using the adobe pdf reader control. the pdf will be the header of the above graphic, but the list of foods and the reactions will be generated. this is what i need:
i need the form to be printable...
I am of the understanding that this can't be done but opted for a public method that would do the specific work I need without exposing my control and keeping it private. So exposing specific properties of a control that I want access to for simple dsicrete set and get operations is fine by me via a public property is also fine.
URL: ht...
I'm creating a User Control that's basically a Panel (with random content inside), and I need to be able to scroll up and down this Panel using buttons (up and down) rather than the scrollbar.
The reason I have to do it this way is because the program will be used on a touch screen monitor and we need big buttons rather than an ugly lit...
I can set the ToolTip property of a ListView control, but that's for the whole control.
Can I just have a tooltip for the Details View header area?
...
I have tested a number of solutions to capture the HTML content of a CWebBrowser2 element into a vector metafile. I can get either part of the web page as vector emf, or I can get all of the webpage as a raster bitblt wrapped in an emf wrapper. What I want is All of the webpage as vector with only original bitmaps, flash, etc represent...
I have a DataGridView that is bound to a DataTable, is there a way to reorder the rows in the DataGridView and have the changes reflected in the bound DataTable?
...
when the user installs my vb.net application, i would like my icon (a shortcut) to be placed on the user's desktop. i am using vb express 2008, and am using the installer that it comes with. how do i specify an icon for this:?
...
I want to make the form background transparent. But not other elements.
How do I do that.
...
in C# winforms when we display a message box it has no title in the title bar and no title in its button that is in the task bar.
What if i want to set title and icon for a message box.
one option is that create a form that appears and behaves like a message box and i show and hide it when i want. yes that can be done but i want to mo...
I can subclass ListViewItem and even ListViewItem.ListViewSubItem, but I can't subclass ListViewGroup.
Why is that?
...
How do I create windows with irregular shapes using WinForms and C#?
...
The problem: combobox is databound to a DataView, first item in the dataview is DataRowView whose fields are DBNull.Value; Combo DropdownStyle = ComboBoxStyle.DropDownList
Loads fine, displays fine, selects fine, problem is to Unselect via code. Setting the SelectedIndex to 0 throws an exception. (Setting to -1 is a no-no as per msdn do...
i am using thread.abort command to kill the thread but it not working is there any other way of terminating the thread
private void button1_Click(object sender, EventArgs e)
{
if (Reciever.IsAlive == true)
{
MessageBox.Show("Alive");
Reciever.Abort();
}
else
{
...
Hi friends
I have Two ListViews...
I have ListView(ListView1) with items, and another one(ListView2) is empty. i need to copy the checked items from ListView1 to ListView2 at the same time i have to remove the checked item in ListView1 using C#...
I am using windows form...
Thanks in advance...
...
I am using a simple client interaction in which i use
TcpClient c = t.AcceptTcpClient();
now it waits indefinately for a client to register.Now what i want is it wait for say 5 mins and then automatically stop to listen
...
I'mt tring to edit multipage tiff by creating Graphics from the image, but i encountered the error message: “A Graphics object cannot be created from an image that has an indexed pixel format.”
How can i edit multipage tiff?
...
Hi,
Currently I have a DataGrid, and a datasource.
The Datasource is directly pulled from the database in this order:
Id, SalaryId, Old, New
Problem is that it displays the SalaryId, I want it to display the SalaryId Value
How do I do this?
Thanks,
-Kristof
...
I have been extending the RichTextBox control in VS2008 using C# (adding printer support and URL links). I have most of the functionality I need but the control is not that good. I do not know how to change the mouse cursor for image sizing handles. Bullets get out of wack with the size and colour. I need this for winforms not asp.net or...
I have a web service that I'd like to include as a project reference inside a windows forms application. (The application will be running on non-networked hardware.) I could simply copy the *.vb files I need into my forms project, but I'd rather not fork the code base.
It wasn't hard to include the ASP project in the windows forms sol...
I have a WinForms app that is retrieving data from a web service on a worker thread and I need to disable all input to my app until the data is loaded.
Currently, I create a semi-transparent form and place it over my application. When the data call completes I close this overlay form. This works fine accept that it causes considerable...