all groups > dotnet windows forms > january 2007 > threads for january 29 - 31, 2007
Filter by week: 1 2 3 4 5
Window Form Localization
Posted by Baskar at 1/31/2007 8:55:00 PM
Hi,
I have developed an application, now want to localize my application
according to regional and language option what user has selected in the OS.
To do this, Do i need to edit each and every label & captions of Form
controls to specific language?. I do not know the equivalent words for the ... more >>
Problems Firing an Event Handler
Posted by shookim NO[at]SPAM gmail.com at 1/31/2007 2:42:35 PM
I am trying to populate a combobox and then fire an indexchanged event
handler. My combobox populates fine, the problem is when it gets to
the datasource object (cmbClient.DataSource = ds), it immediately goes
to the event handler (SelectedIndexChanged), which later causes an
error. This is my ... more >>
Closing Event
Posted by Steven Spencer (Spinalogic) at 1/31/2007 11:23:13 AM
Gday,
I'm a java developer turned .net developer, and I'm unfamiliar with some
concepts, especially the event loop.
We have a form in which upon closing needs to save a significant amount of
data, and perform some thread cleanup etc for long running tasks. We have
added a handler to the... more >>
Excel grid control in Visual Studio 2005 app
Posted by Any User at 1/31/2007 10:44:58 AM
Hello
I have an Excel spreadsheet, that holds some tabular data, and a macro,
that exports it daily do SQL Server 2000 table.
Now I want to build VS2005 application, that embeds Excel grid, that is
connected directly to SQL Server.
I've seen such application (unfortunately closed source... more >>
.NET property names and translation
Posted by John Allen at 1/31/2007 9:30:51 AM
Hi there,
Does anyone know if the standard "PropertyGrid" control is (foreign)
language sensitive. If I display an object in the control, and my object has
the native .NET "Size" struct as a property (which also contains its own
""Width" and "Height" members), will someone running my app o... more >>
Get Culture Info from Language Name
Posted by lucky at 1/31/2007 3:29:07 AM
hi guys,
right now i'm going through System.Globalization Namespace. and i
found very intersting class there called CultureInfo.
i was trying to get cultureInfo on the basis of name but i didnt find
the way to do it. for example, if i pass the language name
"Danish","German",Russian", i'm sup... more >>
Clickonce deployment and XML Files at Runtime
Posted by robin9876 NO[at]SPAM hotmail.com at 1/31/2007 3:04:29 AM
In a windows form application that is deployed using the clickonce
method, the application needs to load a XML file at runtime.
How can the XML file be deployed and then is referenced in code at
runtime?
... more >>
GetPositionFromCharIndex(int index) in RichTextBox v.s. TextBox
Posted by JamesDastard NO[at]SPAM gmail.com at 1/30/2007 11:12:38 PM
Dear all,
I found the GetPositionFromCharIndex(int index) is a little different
from that in TextBox. And I have a question.
Explain:
If the length of TextBox & RichTextBox are both 2.
textBox1.GetPositionFromCharIndex(2) -> invalid, return 0.
textBox1.GetPositionFromCharIndex(1... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Alternatives to the Web Browser control
Posted by Brian Simmons at 1/30/2007 7:46:13 PM
Hi All,
Curious to see if anyone has experience or knows about any alternative
components to using the WebBrowser control.
I found this component:
http://www.syncfusion.com/products/htmlui/windows/default.aspx
Essential HTMLUI
Does pretty much everything that I'd be looking for, just ki... more >>
How to use c# to access the names that defined in excels?
Posted by marxi at 1/30/2007 5:21:01 PM
Hi:
I would like to use c# to access the names that defined in components
axspreedsheet. But I can not accomplish. why? the code like the followings:
System.Collections.IEnumerator myEnumerator =
Spreadsheet1.Names.GetEnumerator();
Console.WriteLine("The Array contai... more >>
Checkbox Text property not using new value.
Posted by Gavin Sullivan at 1/30/2007 2:51:26 PM
Hi,
I have a Checkbox on a form that I've set the Text property of. On the
designer it shows the correct text, in the Form partial class it show the
correct value, but when run, the old value that I changed from is still
appearing!!! I can find nowhere else in the code where this property... more >>
How can I build an app that can have Add-on built for it??
Posted by iKiLL at 1/30/2007 11:03:11 AM
Hi All,
As the subject suggests.
I am attempting to build a C# application from with in VS2005 that can have
add ons built for it to give it additional functionality.
It will be a Windows Mobile 5 application using CF2.0.
I know this might be a tall order but I was hoping s... more >>
datagridview as part of UserControl - error from designer: object reference not set to....
Posted by Oli at 1/30/2007 9:43:06 AM
I have written a simple UserControl that consists of a datagridview
and two buttons that control the scrolling of the grid.
All is fine and dandy - .....nearly ;)
The datagridview that's on the UserControl is actually exposed as a
property: "Grid" - this is a quick and dirty (suitable here... more >>
RichTextBox text on MDI Parent form Undo Redo etc
Posted by Jenbo at 1/30/2007 7:50:16 AM
I have a richtextbox sitting on a tab control on a child form under
the MDI parent. I have undo, redo, cut etc controls on a toolbar on
the same tab control, I can code these no problem as the richtextbox
text property is not blanking so the canundo method is fine to use. I
have these method... more >>
DataConnection wizard in application
Posted by Jakob Lithner at 1/30/2007 4:02:00 AM
I need to let the users change data connection in runtime.
I tried to let them specify the SQL connection string by hand, but it is
quite complicated to remember and an error is fatal.
I read somewhere that it should be possible to use the inbuilt connection
wizard used by the Visual Studio ... more >>
dynamic bound controls
Posted by Hergass at 1/30/2007 12:08:00 AM
Hi
I try to create a few dynamic bound combobox controls, but as soon as i
select a value from one of the controls, all the other controls are change to
the value witch i've selected.
how can I make each combo ack by itself?
Thanks in advance
Y. Hergass
... more >>
How to check for changes on the BindingSource/DataView, before they are poppulated to Datatables
Posted by buddha_bg at 1/29/2007 9:58:16 PM
Hi there,
It's a simple and common scenario, i have a data entry form with two
buttons at bottom 'Apply changes' and 'Cancel'. I use Datasets.
I want to enable/disable these buttons, depending on, if the user has
made a single change to the data in some visual control.
How do i check if there... more >>
Creating an exception viewer control
Posted by John Pouliezos at 1/29/2007 8:59:40 PM
Hi... any ideas on how to get a grip on the winforms control used by the
..net to show the details of an exception ?... more >>
switching between code and winform
Posted by .:Alex:. at 1/29/2007 12:28:26 PM
Hello,
I have this very annoying problem. for example I have a class , a
partial class of a Form. When I modify some code in this class and I switch
to the Form, I have to wait some time to refresh the control. It's very
interesting because I don't modify a param regarding the form...
... more >>
DataGridView sample for filtering and browsing through data
Posted by olympus_mons NO[at]SPAM gmx.de at 1/29/2007 10:59:24 AM
Hi,
I'm sorry if this is obvious, but as I'm just starting my C# adventure
with VS2005 I dare to ask:
Can somebody point me to a C#-sample showing what are the best
techniques to:
- present a window with e.g. a combobox with data from a lookup-tabe
and a simple text field and an empty D... more >>
Adjusting button height by font size
Posted by Bilz at 1/29/2007 10:33:30 AM
All,
I came across some code that doesn't work very well. It adjusts the
size of a button based on the font that we use. The font can be
adjusted by the user.
using (Graphics g = this._btnClose.CreateGraphics())
{
this._btnClose.Height = (int)(g.MeasureString(this._btnClose.Text,
... more >>
help me to create an array of controls at runtime
Posted by Philip at 1/29/2007 9:05:00 AM
Hi,
I have built a control consisting of two listboxes and a button. The idea is
that I populat ethe list on the left, and the user selects items that are
added to the listbox on the right. This list is exposed by my user control as
an array.
I want to bve able to add multiple controls a... more >>
Force IE to re-read the registry
Posted by Karin at 1/29/2007 7:14:01 AM
Does anybody knows if there's possible to force Internet Explorer to re-read
the registry for Internet Options?
I have built an Windows Forms application which changes proxy-settings in
the registry
(HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet
Settings). The appli... more >>
Property sheet and property pages in winforms
Posted by Thomas at 1/29/2007 3:02:07 AM
hi,
I want to create a wizard based application in .net (winforms)
In MFC/Win32 same can be achieved using property sheets and property
pages.
Whats the equivalent in .net?
regards,
Sachin
... more >>
SplitContainer
Posted by Steve Randall at 1/29/2007 2:19:01 AM
In products like the new version of Outlook the splitter bars contain a
series of 'dots' in the middle to indicate and highlight the splitter bar. I
see this is not available using the SplitContainer control in Visual Studio.
Is it possible to draw these 'dots' on the splitter bar? I have tri... more >>
|