go to any dotnet application shortcut made by dotnet setup and click property, in the screen that's come up, why find target button is disabled?!
this just happened to the shortcut produced by dotnet Setup, why? and how to enable it?
...
Hello,
I'm using a DataGridView in VB.Net in VS 2005. The issue is, when there are rows that exceed the width of the DataGridView, the horizontal scroll bar doesn't appear (the ScrollBars property is set to "Both"), but an ellipsis appears at the end of each row that is too long. I don't want the ellipsis, but the horizontal scroll ba...
In Windows Forms (.NET 2.0, Visual Studio 2005 SP1) : I have a typed DataSet, with a column which type is System.Boolean, which is nullable and which default value is DBNull. I have a Form, containing a CheckBox control that I want to bind to the prior column value.
I have tried to bind the Checked property to the column via the design...
Maybe the title is not so clear, but this is what I'm experiencing:
I have created a base-form which contains an OK and a Cancel button (which is called BaseOkCancelButtonForm)
This form also has some properties which look like this:
[Browsable (true)]
[Category ("Design")]
[DesignerSerializationVisibility (DesignerSeriali...
The worry
Is it bad practice to create controls/forms on threads other than the main thread in WinForms? I thought the rule was just that one thread couldn't change something on a control created on another thread?
The scenario
I have an application with some worker threads. Those worker threads may each display their own instance o...
While searching SO for approaches to error handling related to business rule validation , all I encounter are examples of structured exception handling.
MSDN and many other reputable development resources are very clear that exceptions are not to be used to handle routine error cases. They are only to be used for exceptional circumstan...
I'm sure this is a pretty straight forward question. I'm writing a small windows forms app using C++/CLI. When the form initializes, I start a thread that will process some code. When the code in the thread is executed, I want the thread to somehow update the text in a statusbar in the bottom of the window. So I was thinking something li...
In Winforms (.NET 2.0+), Form has AutoScrollMinSize so you can set the minimum area that the scrollbars help you maintain. What's the equivalent in ToolStripContainer.ContentPanel (ie: ToolStripContainer)? All of the methods I can find (AutoScroll, AutoScrollMargin, AutoScrollMinSize, etc.) say "This property is not relevant for this cla...
Is there any way that we can insert a new control in a panel on previous index as we can do with the List collection like this:
List.Insert(2,Value);
I am working with C# winforms.
I want to do this because I want to access the controls in a specific order, like this:
Control c = panelThumbnail.GetNextControl(control, true);
It gi...
how do i detect when the user has changed the colors in the custom colors in colordialog?
...
What is the correct way to supply WindowsCredentials to the ReportViewer control in order to authenticate to a Report Server?
When browsing to the reports a popup will ask for credentials, but i'm not able to provide the credentials in code? Have tried numerous sollutions on the web, but nothing seems to fit?
...
I have the following code, repeated on each Form, as part of the Update process. When the page loads the BLL returns a DataSet, say
_personInfo = ConnectBLL.BLL.Person.GetPerson(personID);
I store that DataSet in a Form level variable which I then use to check against for changes during the Validate/Update process. I pass a row at ...
I need to know if I can get the selected text from a pdf that has been loaded into a web browser control that is in a windows form. I am using C# and Visual Studio 2008 with .net 3.5 and down. I have the pdf showing in the control but I can not figure out how to get access to the selected text within that document. The mshtml document is...
i want to save a variable to application settings and i dont want it to be in my invisible textbox1.text. i just want a plain old variable that i can manipulate during runtime and then have it save it after i reload the application. what do i do instead of attaching my.settings to textbox1.text?
...
I didn't realize at the time I create this particular application that I'd need to reuse some of the components - some Windows forms and a class or two.
Now that I've already created the fairly complex forms inside one project, what's the easiest way to transform those forms into inheritable forms that I can reuse in other projects? On...
Hello,
I'm not looking for a solution, rather I just want to know if this is possible or not with VB.NET (which I'm still just a beginner on).
What I'm looking to develop is a WinForm application that allows users within the company network to share files and other information. Is this possible? Thanks.
...
Hi
I'm creating a client application where the user will be able to open a Windows Forms SaveFileDialog. There the user will enter a specific SharePoint library. Thankfully for me, the saveFileDialog prompts for credentials every time the user enters to a library where he doesn't have access. Later I need to call some SharePoint web ser...
i am working on a Windows Forms application using VB.net. It basically is an application made in vb 6.0 being upgraded to vb.net. Now i have an idea but i am not sure if it exists.
Say i have a database (My_DB) and it has a table (item_details).
I wish to make dataentry into the elements of item_details table which currently has 6 fiel...
I have a Windows application that takes the data in the textboxes and writes them into a randomly generated text file, kinda keeping logs. Then there is this listbox that lists all these separate log files. The thing I want to do is to have another listbox display the file info of the selected one, the 2nd, 7th, 12th, ..., (2+5n)th lines...
I have an app with 2 DataGridView's and have implemented Drag/Drop to allow the user to move data between them. Within the context of my application dragging rows between two instances of a form isn't a meaningful action. I'm not sure how to detect it in drag enter so that I can set e.Effect to DragDropEffects.None.
If I don't do so...