I am having trouble in storing the files in a string array from a directory in c++, using System::IO::Directory::GetFiles in c++
Also would like to know if we could copy an entire folder to a new destination/ in c++ like given in http://www.codeproject.com/KB/files/xdirectorycopy.aspx for c#
...
I have a WPF application which launches a WPF window. In the window, I want to double click an item in a ListView, which would open a WinForm.
Will there be any side-effects in doing this?
...
I've tried several things, but none of them work...
I have Form that should come in front of all Windows on clicking NotifyIcon. So here is what I tried:
private void notifyIcon1_MouseDown(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
this.TopMost = true;
this.BringToFront();
th...
I have a winforms custom UI control library which contains a control for displaying modal dialogs Picture-in-Picture.
This custom control receives as a parameter a pointer to the control which has initiated it's display. So they are tied together. This allows the control to be modally displayed over the window which launched it.
...
I'm using WinForms : C# .NET.
I'm facing a problem with ContextMenuStrip and Toolstrip. Visual Stuido's Property editor is not letting me to change the property I want.
Here is the snapshot of how I want my ContextMenuStrip to looklike & same is the case with Toolstrip. I don't understand how to do this.
If I need to learn something,...
Hi,
I created a TabControl using Windows Forms but the tab headers look very ugly. I want to make them with rounded corners and also create some space between two tab headers. Can anyone please tell how it can be done using C#.
Thanks,
gary
...
Alright, this is an easy one:
What's the difference between Application.ThreadException and AppDomain.CurrentDomain.UnhandledException?
Do I need to handle both?
Thanks!
...
I have Form subclass with handlers for MouseHover and MouseLeave. When the pointer is on the background of the window, the events work fine, but when the pointer moves onto a control inside the window, it causes a MouseLeave event.
Is there anyway to have an event covering the whole window.
(.NET 2.0, Visual Studio 2005, Windows XP.)
...
I populate the GridView.DataSource from a EntityFramework Model:
gwTimeLog.DataSource = _entities.TimeLogs;
When a new row is added to the _entities, I try to update the grid (tried using the same statement as above, setting it null, then back to _entities.TimeLogs, etc...), but the grid simply won't update. Even though _entities.Tim...
Hello all
I'm a C++/Java developer and have no idea about .net or GUIs. I need to develop a windows app for 2000/XP/Vista/7.
I think I've come to conclusion that C# is the best and the fastest way to go (please correct me if I'm wrong). What do you recommend? Which GUI approach should I learn? (Forms? Any other stuff?)
Is it the best w...
I'm trying to get scrollbars working with the web browser control. However, as I'll be using it to display a message for a custom messagebox, I don't want the scrollbar to appear even if its not needed - as it seems to do by default. To circumvent this I decided to disable scrollbars on the control and instead use scrollbars on another...
I am using just a simple DataGridView to hold a bunch of data (Funny that).
I have decimals in a particular column. But when it comes to ordering by that decimal column, it orders it incorrectly. For example :
Starting order might be :
0.56
3.45
500.89
20078.90
1.56
100.29
2.39
The ending order would be :
0.56
100.29
1.56
200...
Hi, All
I have a multiple checkboxes on a Winforms without having the Text Property of all checkboxes,
so the problem is that when i hover a mouse on the checkbox it highlighted but when i go to the checkbox using tab key it never get highlighted..
If anyone have the similar issue and already solved it Please help..
...
I've got an SQL query that returns hundreds of rows, and I need to add them to a WinForms DataGrid in a way that will still allow the user to view/scroll the DataGrid as the rows are added.
Currently I'm using a BackgroundWorker thread to execute the SQL statement and loop through the rows in a DataReader, before using Control.BeginInvo...
hi guys,
I have a datagridview in which i have fourth column as checkbox.On clicking checkbox i want to get checkbox value in codebehind.Can anybody help?
...
I am developing an application in C# and there is a requirement of the form of the main window in rounded rectangle or some times triangle type or round shape.
so, how can I achieve this kind of features in C# 2008
...
I have a SQL table containing currently 1 million rows that will grow over time.
There is a specific user requirement to present a sortable grid that displays all rows without paging. The user expects to be able to very quickly jump from row to row and top to bottom by using the scrollbar.
I am familiar with "virtual mode" grids that...
Why does scrolling position change after refocusing the Form?
Situation:
Design mode and application just started Remark the scroll panel position.
Scrolling manually the panel to left with mouse
Changing the focus to other application and refocusing back our application(click/click)
You can see that when the application loses...
I am planning to create a WPF application with a main window which would launch various WinForms. Some of the WinForms use the System.Windows.Forms.Application class (DoEvents, Application.Path, etc). Do you think that there will be a problem in doing this?
Can I still use System.Windows.Forms.Application.DoEvents() from a WinForm that ...
As shown in this screenshot, windows forms widgets appear different in design mode than they do in the actual runtime.
I'm using VS2008 Pro and my desktop is set to use the default windows-xp style. Why does .net insist on using legacy widgets? My google-foo fails to find a solution that doesn't require custom widgets or extended user...