|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Windows Formsmicrosoft.public.dotnet.framework.windowsforms
3 tiers application ....
Gabriel -
3 Feb 2007 8:22 PM - 3 messages
Hello, I'm trying to do a 3 tiers application (data access layer and business layer) with a winforms application. I start from Microsoft sample for ASP.NET I added a dataset to my project, the name of this is "Adventure" ...
Form Controls Naming Standards
Bill Gower -
3 Feb 2007 5:50 PM - 3 messages
Having come from a VB6 background I liked to prefix all my control names with txt, cmd, btn etc. What is the accepted standard for Windows forms controls. I have been looking and looking for MS standards and can't find ...
MaskedTextBox - How to hide the prompt characters?
mehdi_mousavi -
3 Feb 2007 9:44 AM - 2 messages
Hi folks, I need to hide the prompt characters not only "OnLeave" but also "OnFocus"! i.e., if the control has got the focus, I need to hide the "Prompt Characters" too. Any help would be highly appreciated, Cheers, Mehdi ...
help explain this winform behaviour
dadizhu -
3 Feb 2007 4:38 AM - 2 messages
Hi, everyone. I ran into an UI freeze issue with threading and simplied the problem down to the following sample code. The logic is as follows: 1. The main UI thread creates a non-UI STA thread(m_MainThread). ...
Windows Defendows
steveg114 -
2 Feb 2007 11:17 PM - 2 messages
try to remove unwanted items but each time error 0x8050800f have all updates for windows defender ...
No webbrowser?
Rolf Barbakken -
2 Feb 2007 10:17 PM - 3 messages
This may be a stupid question, but I have VS2005 Pro, on Windows XP SP2, IE7, and in my toolbox in VS2005 there is no WebBrowser control, but there is a WebControl that is disabled. In my references I have System.Web, ...
Calling a function from another form
Kevin Humphreys -
2 Feb 2007 5:29 PM - 2 messages
Hi There, I have 2 forms and I need to execute a subroutine on formA from FormB passing specific parameters. Can this be done using VB.NET? I would prefer not to use a global function. Just something local to 2 ...
Advice on Images and CF2 Please???
iKiLL -
2 Feb 2007 3:28 PM - 2 messages
Hi All, I am new to .Net and Compact Framework. So I have a really basic question for you all. I am building an application in C# for Windows Mobile 5.0 in VS2005 CF2.0 I would like this application to have some customizable features with out ...
Validating Fires When Control Doesn't have focus on form close
Malachy O'Connor -
2 Feb 2007 11:03 AM - 3 messages
Hi, I'm having weird problems with Valadating Events. I have a number of countrols that handle their own Valadating events in to perform data validation. I also have a Custom control that contains Add, Edit, Delete, Save and Cancel buttons. ...
Clickonce application not launched within HTTP onload event handler using IE 7
james -
2 Feb 2007 9:22 AM - 6 messages
Dear, As following sample, if the Clickonce application launched within HTTP onload event , it seems not work. But if it called from onclick event, everything is just fine. I have already turned off IE Popup-blocker in IE7. Thanks a lot ...
Transparent BackStyle for label
Elmo Watson -
2 Feb 2007 3:37 AM - 6 messages
In the 'good old days' of vb6, labels had a 'BackStyle' property - you could set them Opaque or Transparent. I have a need for the Transparent attribute - - in VB.Net (2005), how can this be accomplished? ...
Caching objects between forms
Brian Sokolnicki -
2 Feb 2007 12:36 AM - 3 messages
I'm trying to cache a user object and gain access to it from a mutlipe forms. I have created a base class that all forms will inherit from. In this base class, I have a propery to a User class which I want to cache and reuse on ...
user control with a datagrid control in it
David C -
1 Feb 2007 9:52 PM - 2 messages
I have a user control with a datagrid in it. Here is what I would like to do * As the width of the datagrid grows or shrinks, have the user control adjust so that it always looks full in the user control with no ...
Overriding ErrorProvider with Cancel Button....
Charlie@CBFC -
1 Feb 2007 9:24 PM - 2 messages
Hi: Once your in an error state (icon is blinking) form won't respond to any events until error is corrected. I would like to allow user to press a cancel button to override error and close form. How do you do that? ...
setting Font property of Label control in code
David C -
1 Feb 2007 7:06 PM - 4 messages
This is a very basic question here. I must be missing something here. At run time, I am trying to set the text of the label control bold. lblMyLabel.Font.Bold = true; does not work since it's read only (why why why why why). ...
Smart Client using correct webservice version
Brian Sokolnicki -
1 Feb 2007 3:46 PM - 2 messages
I have a question regarding versioning with a Smart Client and a Web Service. If we deploy an updated web service for some reason (say we rearrange the parameters on a function call, or added a new one) before we deploy the ...
custom menustrip in C#
sreelakshmi -
1 Feb 2007 12:47 PM - 2 messages
Hi, I am looking at a problem where i need to create a menu in which the child-items (the items in the dropdown) do not have the area for icons/ images. If you look at an xp-style menu(in a word document) or the default ...
MS Flexgrid control in .NET 1.1 Windows Froms (VS 2003)
Philip -
1 Feb 2007 10:08 AM - 3 messages
Hi, is there no MS Flexgrid control in Windows Forms? I tried using the MS Flexgrid version 6 and got a license error... How do I use such a flexible grid in Windows Forms please? thanks Philip ...
Window Form Localization
Baskar -
1 Feb 2007 4:55 AM - 7 messages
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 ...
Problems Firing an Event Handler
shookim -
31 Jan 2007 10:42 PM - 3 messages
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 ...
Get Culture Info from Language Name
lucky -
31 Jan 2007 11:29 AM - 12 messages
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 ...
Clickonce deployment and XML Files at Runtime
robin9876 -
31 Jan 2007 11:04 AM - 2 messages
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? ...
Excel grid control in Visual Studio 2005 app
Any User -
31 Jan 2007 9:44 AM - 10 messages
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. ...
GetPositionFromCharIndex(int index) in RichTextBox v.s. TextBox
JamesDastard -
31 Jan 2007 7:12 AM - 2 messages
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. ...
Closing Event
Steven Spencer (Spinalogic) -
31 Jan 2007 1:23 AM - 3 messages
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 ...
How to use c# to access the names that defined in excels?
marxi -
31 Jan 2007 1:21 AM - 4 messages
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(); ...
Alternatives to the Web Browser control
Brian Simmons -
31 Jan 2007 12:46 AM - 5 messages
Hi All, Curious to see if anyone has experience or knows about any alternative components to using the WebBrowser control. I found this component: [link] Essential HTMLUI Does pretty much everything that I'd be looking for, just kinda put off by ...
datagridview as part of UserControl - error from designer: object reference not set to....
Oli -
30 Jan 2007 5:43 PM - 2 messages
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) way of ...
RichTextBox text on MDI Parent form Undo Redo etc
Jenbo -
30 Jan 2007 3:50 PM - 4 messages
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 ...
DataConnection wizard in application
Jakob Lithner -
30 Jan 2007 12:02 PM - 13 messages
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 ...
How can I build an app that can have Add-on built for it??
iKiLL -
30 Jan 2007 11:03 AM - 3 messages
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. ...
dynamic bound controls
Hergass -
30 Jan 2007 8:08 AM - 5 messages
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? ...
How to check for changes on the BindingSource/DataView, before they are poppulated to Datatables
buddha_bg -
30 Jan 2007 5:58 AM - 2 messages
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 ...
Creating an exception viewer control
John Pouliezos -
29 Jan 2007 6:59 PM - 5 messages
Hi... any ideas on how to get a grip on the winforms control used by the ..net to show the details of an exception ? ...
DataGridView sample for filtering and browsing through data
olympus_mons -
29 Jan 2007 6:59 PM - 6 messages
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 ...
Adjusting button height by font size
Bilz -
29 Jan 2007 6:33 PM - 4 messages
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()) ...
help me to create an array of controls at runtime
Philip -
29 Jan 2007 5:05 PM - 2 messages
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 ...
Force IE to re-read the registry
Karin -
29 Jan 2007 3:14 PM - 3 messages
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 application is build in C# and I use SHDocVw to enumerate ...
Property sheet and property pages in winforms
Thomas -
29 Jan 2007 11:02 AM - 2 messages
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 ...
switching between code and winform
.:Alex:. -
29 Jan 2007 10:28 AM - 2 messages
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 ...
SplitContainer
Steve Randall -
29 Jan 2007 10:19 AM - 5 messages
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 tried ...
RunWorkerCompleted call from worker thread in VB CCW
Dicky -
29 Jan 2007 6:20 AM - 2 messages
I have a .net library with backgroundWorker object, and it is working fine in ..net environment. Then I exposes the library to VB application to call. Using standard Callable COM Wrapper (CCW) method, the method can be called, but I ...
Steps Involved in transforming the code to MSIL
Ravi -
29 Jan 2007 5:56 AM - 5 messages
Hi All i am new to this group, i would like to know the steps that CLR takes to convert the code to MSIL. Thanks -- ravib ...
Form Icon
Craig -
29 Jan 2007 2:07 AM - 10 messages
Hi If you have a form where the FormBorderStyle=Sizable and no icon is assigned to the form; you get the WindowsForms 'generic' icon. Is there a way to remove the 'generic' icon and have no icon displayed? ...
Binding to combo and checkbox not synching
Flomo Togba Kwele -
29 Jan 2007 12:19 AM - 3 messages
I have some comboxes and checkboxes on a UserControl, all of which are bound to a BindingSource. When I bound the bindingsource to the checkbox Checked property and the user accepted the default (unchecked, false), the bindingsource blew in the EndEdit event of the bindingsource on a null value for the ...
Random numbers weird behavior
rlueneberg -
28 Jan 2007 12:22 PM - 5 messages
I want to output a string of random integers with 20 rows and 20 cols separated by comma. The problem I am having is that it is always printing the same number like below: 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6, ...
simple path problem
Patrick F -
28 Jan 2007 12:11 PM - 6 messages
How do you get the path to the folder the program is in. Lets say i have something like this: c:\programs\myprogram\another folder\program.exe now in my program i want to get the path, c:\programs\myprogram\another folder\ ...
windows xp proffesional
MEngstudent_07 -
28 Jan 2007 1:12 AM - 2 messages
im having trouble booting my windows xp professional it gets to the loading screen and then just goes blank, it seems to only start up in safe mode and after trying to re-install xp 3times and checking for driver errors (repaired ...
|
|||||||||||||||||||||||