-
- PublicKey / Hash attribute for .NET 3.0 Redistributable bootstrapper
by Patrick Sears
- 3 Replies
- Last post
by Patrick Sears
- Hi there, What I'm trying to do is create an installer for my .NET 3.0 application. I have specified the .NET 3.0 Framework as my prerequisite. This part is important: I have selected " Download prerequisites from the component vendor's website ." Yes, I know all about copying the dotnetfx3.exe installers to the NETFX30 folder under " Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\
-
- listbox value member
by Lint316
- 5 Replies
- Last post
by Rong-Chun Zhang - MSFT
- Hi folks.
I am populating a listbox using the variable values read in from a "Title" column. I then need to set the value member of the listbox to be call_id. I am reading the data straight from the database using sqlDataReader. I cant get it to work could somebody please help me with this
here is my code:
private void populateListBox()
{
listBox1.Items.Clear()
-
- How do i update the datasource, refresh the grid, and move to the newly created line in the GUI?
by orb6k
- 6 Replies
- Last post
by Yu Guo ¨C MSFT
- Hello, I'm using a TableAdapter to populate a DataGridView. I am inserting a new row using a typed function of the tableAdapter, but i don't know how to: 1. "Refresh" the datagridview in a manner which will automatically move and select the newly created line in the GUI. Comment: i would like to emphasize that i've seen some posts here that tell you to simply roll the datagridview to t
-
- How I can handle a scroll bar on a listview or listbox Controls?
by alonsoquijano@hotm
- 1 Replies
- Last post
by nobugz
- Hi
I Need handle a scroll bar thats the controls ListView and ListBox has embebed it'sselfs, because I need handle the user clicks on thems. When my users click "up" or click "down" in this "automatic" scroll bars, the controls not received a signals like event MouseClick,..down... or similars, those events are "ignored" by the controls, the items in the
-
- Simple question about the DataGridView
by AndyRayner
- 2 Replies
- Last post
by AndyRayner
- Hello, I am currently building a simple registration system prototype. On the form where the user/tutor will register attendance I have used a dataGridView to display a list of the students (id, surname, forename) from an SqlServer connection.
What I want to do next is implement a fictional card reader which will bring in the ID number from a card. When I recieve this ID number I want to go thr
-
- Problem using Forms in C#
by manjunath cv
- 2 Replies
- Last post
by atarikg
- we are developing a application which consist of 7 forms..............In First form personal detail business details in second transaction details in third and so on................... the problem is after entering the details in first form if we move to second form we can see the flickering b/w transistion is there any way that i can avoid flickering b/w transistion of the forms I am using frmApp
-
- printing a datagrid in VB2005
by gearcam
- 6 Replies
- Last post
by Tim erin
- Has anybody found a good solution to this yet
I can not get my grid to print I can only see some "C" code but that has not helped me much.
-
- Short cut to find a control in the designer
by RanceR
- 2 Replies
- Last post
by Rong-Chun Zhang - MSFT
- I am working on upgrading a Window app that utilizes a bunch of Panel controls. In the Visual Studio (2003), these panels are jumbled and stacked together and are presented to the user on a conditional-basis when the app is run. My trouble is getting to a particular panel at design time so that I can make changes. It isn't visible when I open the form in the UI designer (in Visual Studio) and I ha
-
- windows service setup error
by MKBender
- 1 Replies
- Last post
by PhilWilson
- Dear all, I'm very new to windows service programming and I keep getting the same error while trying to install. I followed the setup on the MSDN walk through of creating a windows service but still got an error. http://msdn2.microsoft.com/en-gb/library/aa984464(VS.71).aspx The error i get during the setup process is: 'An exception has occurred during the install phase.
SystemComponentMode.W
-
- Using StreamWriter To Write HTML File
by Amative
- 4 Replies
- Last post
by Omerkamal
- hiii
can any body tell me how can i use streamwiter to
*create an HTML file *write on the that file *using HTML tags in wrting in case i need to write in a formated Way (bold,italic,color,write data in HTML table)
...... if its not available using StreamWriter where could it be
thanx in advance .........
-
- Common dialog just to choose YES or NO ?!
by JGLP
- 2 Replies
- Last post
by JGLP
- Hi there Is there any way to launch a form, like MessageBox:: Show("blabla") but instead has a question, a YES button and a NO button. And like messageBox, the program only continue after clicking one button Is this the "Common Dialog" Can anyone give a small example please I'm using visual 2005 [c++] thanks
-
- Data Manipulation in DataGridView
by StephenRaj
- 1 Replies
- Last post
by hrubesh
- Hi !
At run time , I added new datarows and a column in datagridview. If I update the changes i have made in database, only rows getting updatted but the column is not updatting. The code I have written is as follows,
Private Sub DataGridView1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles DataGridView1.KeyDown
Dim strColName As String
-
- MDI Forms and the ShowInTaskbar property
by Catalin Barbu
- 5 Replies
- Last post
by Catalin Barbu
- Hi, I am working on a Visual Basic assignment involving a MDI Form and a MDI Child. I want to add the option to minimize the MDI Parent to the system tray, and at the same time hide its taskbar icon (i.e. ShowInTaskbar = false). This works nicely if the MDI child is not open. However, if I do this while the MDI child is visible, when the parent's icon disappears from the taskbar, all the UI contro
-
- Adding New Row to DataGridView: What Keys to Press?
by Ofer Elboher
- 4 Replies
- Last post
by Ofer Elboher
- Hi,
I'm having a data-grid-view where the addition of new rows is enabled. Now, immediately when typing something into any of the cells, a second new row is created, and the user may use the down-arrow to navigate into it. But if the user is just clicking one of the cells (which initially contains a valid default value) of the new row without typing anything, a new row isn't created, not ev
-
- Images for use in application development
by Voast Dev
- 3 Replies
- Last post
by nobugz
- If anyone else out there is graphically challenged like I am, can you tell me if you have located a good collection of images for use in Forms I need icons, button backgrounds and everything else. I found some on various pages but not one good extensive collection. I could use a good sound library as well if anyone knows of a good one of those.
links to good pages are a help as well.
-
- Button Image Transparent Background
by malkie
- 3 Replies
- Last post
by malkie
- I am adding a .bmp image to a button. The background of the image is transparent. However, on the button it is displayed with a white background. I tried saving the same image as a .gif graphic and I had the same issue.
How can I get the image to be displayed with the transparent background
Thanks in Advance.
-
- Hard Drives
by Deranged
- 3 Replies
- Last post
by Gavin Jin - MSFT
- Primary IDE hard drive. working fine. trying to get info off old sata drive. Sata drive shows up in system devices as an unknown mass storage device. Drive does not show under "My Computer" under the "Hard Disk Drives". anyone have a clue
-
- Theme support for Windows Forms Application
by &#169&
- 5 Replies
- Last post
by Timo S
- I'm willing to try out some themeing in my C# application. I know that it's possible to create own "theme" by putting some code into draw event of the form but on the other hand it's not what I want. When I use it, the form is not so clear and beautiful because of flickering and other problems (Yes, I use double buffering). So is there any other way to create my own theme and use it in m
-
- Printing a gridview in a WEB application
by Elna
- 5 Replies
- Last post
by Martin Xie - MSFT
- Hi,
I need to print the content of a grid view in a web application (I use ASP.NET 2 and C#). All the examples I find online are for windows applications.
Is it possible to do it for web applications
If not, what other options are there - generating a report, exporting to Excel, ...
Any help will be greatly appreciated!
Elna.
-
- printing a windows form to a printer
by don06van
- 6 Replies
- Last post
by don06van
- hi there hows it going.
i have been trying to create an offline customer invoice system so when our servers go down, our customers can still login and we can type there information in later.
the only problem is, im a damn noob and cant figure out how to print the form.
i set up a windows form in which the custmer fills out there name email telephone the files they are working
-
- I have to inserting the picturebox in particular DatagridviewCell
by Mack_1234
- 2 Replies
- Last post
by Gavin Jin - MSFT
- Hi to all
I am facing the problem to adding the picturebox control in datagridviewcell in vb.net 2005 please any help me, how to add the picturebox control in datagridview. If any solution please send the information to following email id, plz plz plz plz help me.
irshad.don@gmail.com
-
- Problem with Open/execute file.
by YeeBoon
- 2 Replies
- Last post
by YeeBoon
- Hi,
I am using VB.net 2005. I want to add a button in my windows form, so that when user click on the button, it will open the file.
The file is in the pre-set location, for example, C:\data.doc or D:\Info\data.pdf or d:\info\aaa.jpg
The file will be open with it default program like .doc will be open with MS Word, .pdf will be open with Adobe Reader,etc. If unknown file, it will prompt y
-
- Flicker-free painting
by nobugz
- 14 Replies
- Last post
by Pavel Tratavin (mr_robot)
- A frequently heard complaint at this forum is Windows Forms' tendency to cause "flicker" on forms with a lot of controls. There are two causes for this kind of flicker: 1. Windows sends a control two messages when a control needs to be painted. The first one (WM_ERASEBKGND) causes the background to be painted (OnPaintBackground), the second causes the foreground to be painted (WM_PAINT,
-
- Adding new row gone after binding DataGridView
by Yasser Jaffal
- 10 Replies
- Last post
by Yasser Jaffal
- Hi I believe this should be a simple question, when I bind a DataGridView to a list of objects, the last row which allows user to add new records disappears, even that DataGridView.AllowUserToAddRows property is set to True. How can I display this row
-
- Form Resize Event
by Azurewrath
- 6 Replies
- Last post
by Azurewrath
- Hi all,
I want to change a control's size when the form is resized, but couldn't do it:
private void frmNew_Resize ( object sender, EventArgs e )
{
tvwFiles.Size = //
}
I thought I could use e or sender to retrieve the size of the dialog but no luck. Do I have to get the size of the dialog manually
Thanks,
Aw