all groups > dotnet windows forms > november 2004 > threads for november 15 - 21, 2004
Filter by week: 1 2 3 4 5
Controls question (System.ComponentModel.Design)
Posted by Serg at 11/21/2004 11:15:04 PM
Hello - 2 questions:
1. I am writing a control which hosts an IE control (AxWebBrowser). As a
result of IE being on my control, the control does not get events such as
right click, left click, ect when clicking inside IE. What can I do here?
2. If I could determine if I am in "design mode"... more >>
Open and save Excel file in C# ????
Posted by npqk at 11/21/2004 9:33:01 PM
how can i browse and open excel file, show it in Datagrid, then save into
databse (SQLserver) (C#) ???... more >>
Testing an Assembly to see if it implements a give interface
Posted by Wayne Wise at 11/21/2004 4:11:03 PM
I have an application that gets all the assemblies in a folder structure.
Once I have that list I want to test each assembly to see if it implements a
interface I require. This is what I currently have using C#:
Assembly a = Assembly.LoadFile( file );
Type test = a.GetType( "InterfaceTest.... more >>
MSN Messenger Forms
Posted by yihcheng at 11/21/2004 3:57:04 PM
Hi all,
Does anyone know how to do the windows forms like MSN Messenger (from login
to enter the messenger) ?
Thanks,
... more >>
.Net Style Control
Posted by Brian Hammer at 11/21/2004 12:56:50 PM
All - I am looking for the type of control that shows when you mouse over it
and then hides when the mouse out. Like the Toolbox window when you unpush
the pushpin. Know where I can find it?
Thanks,
Brian
... more >>
Printing Windows Forms
Posted by microsoft.public.dotnet.framework.windowsforms at 11/21/2004 10:28:03 AM
I am developing a Windows application (Visual Studio .Net)in which I
need to view calculated data on a given Windows Form using the Paint
method. No problem with that, but how to manage printing of the Form's
content when the information is too long for just one page (Letter
format)?
To print ... more >>
Where can I get open/closed folder icons for TreeView ImageList
Posted by Windows Forms newbie at 11/20/2004 12:19:02 PM
I assume .NET has some standard icons for things like open and closed folders
that are used in treeview controls, but where are they? I looked at the
explorer.exe resources in Visual Studio to try to capture some icons but none
of the icons or bitmaps in that executable seem to match the ones ... more >>
why does build resize form controls?
Posted by shamus at 11/20/2004 10:25:03 AM
I'd posted months without having a grasp of what the problem really is. The
issue is with an Infragistics UltraWinListBar control. It's on a base form,
many forms inherit from the base form. The UltraWinListBar controls on the
inherited forms seem to want to use their own size information inst... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to hide a object's inherited properties ?
Posted by mrVithan at 11/20/2004 9:19:01 AM
I create a user control object and show its properties through a propertygrid
object in my application. It is sure that there are 100 hundred of properties
inherited from System.Windows.Forms.UserControl and they are all showed on
the propertygrid. Is there a way i can hide all these inherited... more >>
catch system shutdown event
Posted by fadi at 11/20/2004 2:39:02 AM
I'm developing a windows service application using C#.NET and I need to catch
the system shutdown event to run service closing process. I override the
OnShutDown event but nothing happened when rebooting the system. I also need
to catch the same event in the service manager (winsows form appli... more >>
Share one common imagelist amongst many forms
Posted by moondaddy at 11/19/2004 11:55:20 PM
I'm writing an app in vb.net 1.1 and would like to share one common
imagelist amongst many forms. Is there a way to do this? Perhaps put the
image list in a component and then have each form create an instance of this
component. What are some recommendations for this? I know I could put it... more >>
Drag and Drop with custom controls
Posted by AlBruAn at 11/19/2004 3:11:31 PM
I have what is probably a stupid question, but I have an array of controls
based on a custom control I want to allow users to drag and drop from one
form (similar to a toolbox) onto the primary form. The custom control has a
bitmap and contains text that varies among the array of custom contr... more >>
Customizing the Propertygrid control
Posted by Dave at 11/19/2004 12:14:50 PM
Hi!
I am writing an application that needs to provide a way for users to query a
database, by filling out a form of fields and values - i.e. QBE (Query By
Example).
I'm playing with different ideas as to how to best provide a UI to do this.
The main idea I'm working with now is to use the .... more >>
How to get previous row # on CurrentCellChanged datagrid event
Posted by JJ at 11/19/2004 11:24:08 AM
In a datagrid, I can get the cell row/col where the focus was moved to using
the CurrentCellChanged event. But I need to find out what row (if any) the
focus was in prior to moving - how can I do that?
What I'm trying to accomplish with this is to have a button display in a
cell, but only on ... more >>
How to add a dropshadow to a Form
Posted by marcos at 11/19/2004 10:31:17 AM
Hi to all,
I need to add a dropshadow to a form, how can I do it (vb .net)? I found the
syle CS_DROPSHADOW but it requires me to subclass the window (I don't know
how to do it).
Thanks,
marcos
... more >>
I still not understand
Posted by mttc at 11/19/2004 10:31:00 AM
I still not understand, at microsoft Example itself,
I see this line:
Public Sub QueryDataBase()
...
-->> Label1.Text = "DataSet Filled"
This is not call to UI from another thread.
... more >>
Installing a Winforms app
Posted by TheNortonZ at 11/19/2004 10:20:26 AM
I have build a WinForms app in VB.Net and compiled it into release mode.
I see in the Release directory that I have an executable and several
resource files. If I move my resource files to some other directory, the
..exe dissappears.
When performing an install, do I need to install the exe... more >>
Combine 2 images in one, using VB.NET
Posted by Richard_VB at 11/19/2004 9:51:02 AM
Hi,
Anyone knows know can I combine 2 images (gif, jpg, etc) in one image, using
VB6 or VB.NET code?? Thanks for your help.
Richard... more >>
Label.AutoSize and right-side align
Posted by Christoffer at 11/19/2004 9:50:30 AM
Hello, I have a form with a label on. The label is aligned to the right side
of the form and the label's anchor is set to Bottom, Right. This means that
if the label expands (due to the AutoSize property) it should expand to the
left. However, this is not done and the result is that the text in t... more >>
Problem in Multiple lines Textbox
Posted by ColaChups at 11/19/2004 6:39:03 AM
When I use Multiple lines Textbox, it always appears with a 1 character
padding on the left. How do I remove the 1 character padding? I have already
tried TextBox.Text.PadLeft and tried to set some of the properties but it
doesn't work at all.
The textbox I am using the System.Windows.Forms... more >>
Connect to ftpsite
Posted by Kerr at 11/19/2004 5:48:53 AM
I am not quite sure if this is correct forum to post this but I'll see
what response I get.
I need to create an app that will connect to an FTP location in VB.NET.
I have no experience in doing this hense the email.
When I have connected to the ftp site, I have an app that will read
throu... more >>
FindForm returns null if control resides on TabPage
Posted by kingerus NO[at]SPAM yandex.ru at 11/19/2004 5:04:44 AM
Calling FindForm of UserControl which resides on form returns instance
of this form, but when I put this control on TabPage FindForm returns
null.
How can I get Form on which my usercontrol is on?... more >>
Display HTML in message box
Posted by sean at 11/18/2004 10:02:27 PM
After I upload a file from a windows app to a webserver I'll get HTML
message back indicating the uploading successful or having error. I'like to
popup a message box to display the HTML response. Could someone tell me how
to display HTML text on a message box or a windows form?
Thanks,
sea... more >>
Datatable updated by multiple threads yields datagrid problem
Posted by Becker at 11/18/2004 9:51:13 PM
I have a datatable that I use to display running processes. These running
processes are spawned as different threads. I use the readerwriterlock
class to ensure that when I write to the datatable, I obtain a write lock.
The datagrid is set to have a datasource of the datatable.
The problem is... more >>
Problem Hiding Columns when Populating a Datagrid with a DataView of A DataTable From Dataset returned via an Asynchronous Web-Service
Posted by Bob Davies at 11/18/2004 4:45:50 PM
Hi
I have a webservice that retrieves data from a database, this is then
returned to the calling client application built in windows forms within a
dataset, however upon attempting to create tablestyles to format any of the
columns within the datagrid, the exception "Can-not parent objects ... more >>
Property Persistance
Posted by Daisuke at 11/18/2004 2:57:02 PM
I am working on a control where I have several exposed properties during
Design-Time. When I set the values of the properties they are immediately
applied to the variables, and the control updates. Unfortunately, as soon as
the control loses focus, and if focus is returned again (or the applic... more >>
KeyPreview/KeyDown on TreeView control - Possible Bug?
Posted by kevin_g_frey NO[at]SPAM hotmail.com at 11/18/2004 2:47:14 PM
We have a dialog containing a treeview on the left displaying groups
and a grid on the right, displaying data records belonging to the
group.
We are using Shift-F2 to view the full details of the record displayed
in the grid.
We have turned on KeyPreview so that if focus is on the treeview,... more >>
Datagrid Font Control
Posted by Nite at 11/18/2004 1:55:04 PM
Hi,
How do I strike-out some text in a certain cell(line through text)? This
would be in C# and a windows form.
Thanks.... more >>
threading, what different between DataGrid Binding to Binding TextBox
Posted by mttc at 11/18/2004 1:53:52 PM
I read this article:
HOW TO: Populate Datagrid on Background Thread with Data Binding by Using
Visual
http://support.microsoft.com/kb/318604/
I try it, I call from new thread to binding DS to control . And I find out:
This code throws exception:
DataGrid1.DataSource = Ds
DataGrid... more >>
How to set Backgroud Img for ToolBar??
Posted by Alex at 11/18/2004 1:38:56 PM
hello!
Pls tell me how to set Background image for Toolbar (without setting
background for main form). Usually when I set the backgound img for main
form, the toolbart automatically setted by this Img, but I don't want the
Main form to be setted!
Thannks for all helps!
... more >>
Property Get being called??? Why?
Posted by Bob at 11/18/2004 1:35:06 PM
This chunk of code are causing me grief. It puts the correct Text Display in
a ComboBox on a form depending on what is in the ImgFocus Property of a
Custom Control. But it is calling the GET() portion of a property that is
undesired. Any Idead?
Dim index As Integer
index = cmbSoftFocus.... more >>
How can I create an instance of a class (form) with only it's name
Posted by Rene Mansveld at 11/18/2004 11:17:13 AM
Hi,
how can I create an instance (object) of a class (form) if I only know the
classname (VB.NET 1.0)?
I need to do this in a complex app where jobs consist of parts. Each part's
data is saved in a separate database table. For the parts, the form's class
name is saved in a data table, so that... more >>
how to sort bound dropdown list vb.net
Posted by dev guy at 11/18/2004 10:50:20 AM
hi
I have a drop-down list (combobox) bound to a dataset, on a windows form,
I want the displayed strings in the list to be sorted. so I have set
ds.defaultview.sort="field name"
however this does not work.
Can somebody throw some light on this behaviour?
warm regards
... more >>
auto scrolling a rich text box.
Posted by Chris at 11/18/2004 8:14:01 AM
Hi,
I have a control on a form. A richtextbox.
During user activity I do a richtextbox.append("here is the text") statement.
How do I get the richtextbox to scroll automatically so the most recently
appended
line of text is shown without the user having to manually scroll down.
This wou... more >>
Floating Form - Always on Top
Posted by TMesh at 11/18/2004 8:00:02 AM
Hello
I have a windows form that I would like to float on top of another form so I
set the TopMost property as follows:
m_F_WorkHistory.TopMost = True
But when I try to inertact with the calling form, the m_F_WorkHistory form
disappears. The form is to be used to help fill out the ... more >>
Override Default Button Selection behaviour
Posted by ian.mcewan NO[at]SPAM atonement.net at 11/18/2004 3:47:52 AM
Hi,
I have a number of buttons on a form. I do not want any
button to be selected by default. Seems like .Net selects
the button which has the lowest tabindex ordinal by
default. Any way around this?
THx.... more >>
Application dies, but not in loop
Posted by Dave at 11/17/2004 11:39:49 PM
I have created a large MDI app that just stops working at random times,
often when focus leaves the app, then comes back, but it can happen anytime.
The Main form is still there and everything, when it is in this state, but
the main form's title bar and the mdi child form's titile bar are grayed
... more >>
NullReferenceException in MessageLoop
Posted by sunil NO[at]SPAM volcanomail.com at 11/17/2004 11:13:06 PM
Dear All,
I frequently get a NullReferenceException in my application. The
workflow in this case is that it happens only the first time when I
drop-down a combo box and select a value...how do I track this error
and find what is null in the messageloop...will adding IMessageFilter
and using ... more >>
Weird Form Dispose Error
Posted by Jonathan Bindel at 11/17/2004 7:18:02 PM
I have a form that contains a wrapper class for a TcpConnection that is to be
used as an MDI Child form. Sometimes, when this form is closed from the main
form, it will throw a System.NullReferenceException in the default Dispose
override method (provided by the form designer).
protected o... more >>
C# Change Default Path For Setup Project
Posted by Mae Lim at 11/17/2004 6:45:05 PM
Dear all,
I have a question on C# Winform on the Setup Project. The question is, I
want to change the default path of the destination folder for the setup
project instead of 'DefaultLocation' -> [ProgramFilesFolder]\[ProductName].
Change to, for example, "C:\MyDocument\ProductName", can i... more >>
Toolbar Question
Posted by Ken Williams at 11/17/2004 4:52:02 PM
Hi everyone,
I need your expertise.
VB 6 allowed you to place a place holder on a toolbar and then place another
control like a text box on the place holder. VB .Net does not have
placeholders but I need to have that functionality.
Can anyone help please!!!
Your assistance is highly... more >>
How to Create progress bar with cancel button?
Posted by david at 11/17/2004 3:50:09 PM
Hi All,
I need to create reports which may take long time.
I want to give the customer "Cancel" button with progress bar at building
data.
I tried to use System.Threading.ThreadPool.QueueUserWorkItem, but
application freezes after creating report.
Please help!
Thanks in advance.
Davi... more >>
MDI child forms without title bars
Posted by Scott McChesney at 11/17/2004 3:35:45 PM
Hi, folks. I've been searching the 'net for a while, and I'm not finding
what I want, so I thought I'd ask for some help here. Perhaps I'm looking
at this wrong.
I'm developing an application, and the goal is to get an Outlook-style app.
So I've been searching through Outlook, seeing everyth... more >>
preview and print pdf(or html) files
Posted by Igor Anic at 11/17/2004 2:46:18 PM
I have few reports which i need to distribute to a lot of clients and I
have following requirements on the clients:
- preview reports
- print reports
- count the number of printed pages (if the report is printed), this is
absolutely necessary functionality because clients are charged by the
... more >>
HELP!!! Random exceptions
Posted by Randall Berkeley at 11/17/2004 2:20:02 PM
I get "object reference not set to an instance of an object" exception thrown
at seemingly random places in my app. This stack trace doesn't show where
this ties back to my code. Can someone point me in the right direction?
Also, what exactly is a Parking Window?
at System.Windows.Forms... more >>
Custom Control with SetWindowLong() P/Invoke calls
Posted by mhe at 11/17/2004 2:13:05 PM
I'm trying to create a custom listbox control that can fire events before the
selected item changes in the list box and let subscribers prevent the changes.
I'm using SetWindowLong() to set a new message pump function to the listbox
using the GWL_WNDPROC constant and a delegate to my C# message... more >>
asynch + ui
Posted by Paul at 11/17/2004 1:16:01 PM
Hi,
I need help on how to check and wait if an async
....
DownloadDelegate download = new DownloadDelegate(DownloadFile);
IAsyncResult aResult = download.BeginInvoke(null, null); // start download
asynch.
aResult.AsyncWaitHandle.WaitOne(); // wait for download completes
download.EndInvoke(... more >>
Windows Form Unload
Posted by John Mason at 11/17/2004 8:31:03 AM
Can someone please tell me what event gets fired when the x in the top RH
corner of a Windows Form gets clicked.
I've spent about a day trying to find this information to no avail. I am
trying to trap the event to allow the user to confirm that they wish to exit
the application.
TIA... more >>
Proper graphic coordinates
Posted by AlBruAn at 11/17/2004 7:24:02 AM
I have a form containing a TreeView control in which I've overriden the
OnResize and WndProc functions and added a PaintEventHandler. One thing I
want to do is use DrawReversibleLine for 'rubberbanding' lines connecting
specific nodes with other controls on the form. DrawReversibleLine expec... more >>
Drawing at highest z-layer???
Posted by jason NO[at]SPAM mailinator.com at 11/17/2004 6:29:51 AM
Hi --
I have a very simple question, the answer of which has eluded me for
quite some time: How can I draw at the topmost layer of forms and
controls from .NET (or from unmanaged code, that would be fine too)??
Any GDI+ drawing I've done only appears on the background of the
form/control/wh... more >>
transparent user control
Posted by vrush desh via .NET 247 at 11/17/2004 1:03:44 AM
(Type your message here)
Hi,
I want to make user control transparent. I have made it tarnsparent
using maketransparent method but while moving that control its taking
background of parent control which i dont want so how can i make this??
Please help me ASAP.
my email id is vrushalid@gmail.c... more >>
Docked panels and Z-order problem.
Posted by Dominik Jeske via .NET 247 at 11/17/2004 1:02:35 AM
Hallo=2E
I have two panels docked on the right of the form (p1 on the left=
and p2 on the right) and I want third panel to slide from right=
to left into a view between p1 and p2 (Just like Solution=
Explorer window in Visual Studio ? if it is in auto hide mode=
its slides to left when mous... more >>
Drag and Drop - Cannot Get GiveFeedBack To Fire
Posted by David Miller at 11/16/2004 5:52:32 PM
Dear Sir or Madam:
I can't for the life of me get the GiveFeedback event to fire during
drag-and-drop operations. I am using VS.Net 2003 on WinXP SP2. I have
attached a sample application that reproduces the problem.
Anyone know what I am doing wrong?
Thanks,
Dave
begin 666 Give... more >>
Default view in parent-child datagrid
Posted by Brian Bischof at 11/16/2004 4:58:28 PM
I have a parent-child datagrid working fine with three datasets connected.
My question is how to make it open to the first level automatically. Right
now when the form opens it just shows a blank datagrid with a plus sign. I
click the plus sign and then it shows me all three levels to choose from... more >>
Picture Resize Event
Posted by Z D at 11/16/2004 3:55:33 PM
Hello,
BACKGROUND:
==============
I've created a Windows User Control that contains an Image Control (among
other controls).
The user control handles the picture resize event. Whenever the parent that
holds my user control is resized, I resize my image so that it uses the
maximum avai... more >>
table look in datagrid column
Posted by Andrea Sansottera at 11/16/2004 3:38:33 PM
Hi all,
I've a a child table in a DataGrid (System.Windows.Forms).
I'd like to make the cells of the foreign key column to show the user
which values he can enter in that field (those contained in the parent
table).
I've read the following paragraph in the framework documentation:
ms-h... more >>
Animated Charts
Posted by marcos at 11/16/2004 2:38:13 PM
Hi,
Do you know of a component for VB .NET that allows me to create animated
(flash) charts? I found some of them, but they are only for ASP .NET,
instead I'd like to create some charts in VB .NET that will be shown on a
large screen to public (so they need to be very eye-appealing).
Thanks... more >>
Frustrating error message - "Cannot copy assembly 'abc' to"...
Posted by Dmitry at 11/16/2004 2:18:32 PM
Hello everybody -
I'm working on a WinForms project (MSDev 2003, C#, .NET 1.1) and every now
and then I get the following error message when I try to build it:
"Cannot copy assembly abc to file C:\...\abc.dll'. The process cannot
access the file because it is being used by another proce... more >>
Binding to Comboboxes
Posted by Daisuke at 11/16/2004 2:15:07 PM
Hello,
I am writing an app in vb.net and bind 4 combobox controls to the same table
in the same dataset. What happens is that when I change the selection in any
of the 4 comboboxes, *all* off the comboboxes change to the same selection. I
have in no way coded it to do this! Can someone plea... more >>
Locating non-UI components on form
Posted by Gerrit at 11/16/2004 1:59:47 PM
Hi.
I'm looking for a way to programmatically find and access at run-time any
controls that are placed on the "component tray" area on a form (such as
ImageLists). The Form.Controls collection is of no use as it does not
contain any controls that are not placed on the form itself.
Gerr... more >>
reengineering a large winform app
Posted by Jack at 11/16/2004 1:44:09 PM
Hi there,
I've inherited a winform application written in vb.net which I have to fix
up and add functionality to. I'm at a bit of a loss looking through it and
was wondering if anyone had any advice or could point me towards any
resources to do with refactoring/reengineering this vb.net ap... more >>
IE Hosted UserControls blocked by 3rd Party Tools?
Posted by Wells Caughey at 11/16/2004 11:55:15 AM
Hi everyone,
I have a strange and difficult to debug situation: I have developed and
deployed an IE hosted Windows Forms UserControl as part of my company's web
portal, and for just about all of our clients everything has worked well.
But for one client who is running XP SP2 and has the .N... more >>
Encryption/Decryption of a Byte Array in VB.Net
Posted by Fred Herring at 11/16/2004 10:13:01 AM
I am looking for an example showing how to encrypt/decrypt a byte array in
vb.net. I can examples dealing with strings but I would like to deal
directly with the byte array if possible.
Thanks,
Fred... more >>
Update DataRow/DataTable in DataSet
Posted by SMG at 11/16/2004 10:11:49 AM
Hi there,
We have a DataSet with one datatable with three columns and multiple
rows. [Each rows has a unique key]
1st Column : Unique Key
2nd Column : Value to Change
3rd Column : Value to Change
Based on some conditions I want to update the values of the 2nd and 3rd
column but want t... more >>
Ligthest SO for .NET
Posted by Ken at 11/16/2004 9:14:12 AM
What is the ligthest (uses few resources) MS operating System in ordert to
install .NET (obvious not is XP) ?
... more >>
Alternative to Windows.Forms
Posted by tommy.carlier NO[at]SPAM telenet.be at 11/16/2004 8:16:03 AM
I'm curious: has anyone ever created an alternative for Windows Forms?
Maybe a more lightweight GUI library that replaces Windows Forms for
the .NET Framework?... more >>
Make a DataBindable object
Posted by Danny van Kasteel at 11/16/2004 7:46:03 AM
Hi,
I'm struggling to find a way to make a single object databindable, i.e. show
up as a possible data source in the databindings dropdown in design time.
I have been able to create something that's close, by implementing
ITypedList and IListSource, but what I really need is to be able to... more >>
Tooltip on UserControls with Child Controls
Posted by Mike in Paradise at 11/16/2004 7:14:08 AM
It seems inelegant to get a UserControl with Child Controls to display a
tooltip.
According to the documentation you just set ToolTip.ShowAlways = true;
ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpref/html/frlrfSystemWindowsFormsToolTipClassShowAlwaysTopic.htm
This feature is also use... more >>
Threadsafe control wrapper
Posted by Gravy at 11/16/2004 4:34:03 AM
Hi,
Has anyone implemented a threadsafe UserControl or Form wrapper? I want to
provide an easy way of calling in to a windows forms control from a worker
thread without having to declare loads of delegates in the worker thread.
Regards
... more >>
String Collection Editor
Posted by JyotiPB at 11/16/2004 4:19:01 AM
when the string collection editor gets invoked it opens up a dialog which has
the caption "String Collection Editor", for e.g. as in the Lines property for
a TextBox. Is it possible to change the caption to something else other than
the default one. I know we can create our own CustomUIType ed... more >>
DataGridTextBoxColumn Paint event never executed
Posted by mark13 at 11/16/2004 2:23:03 AM
There's something very strange in my windows application. I created a derived
class from DataGridTextBoxColumn to show pictures on a column of the datagrid
control.
Everything seems fine except that the paint event of the derived class is
never executed (no matter where the breakpoint is put)... more >>
ToolBar help
Posted by Alex at 11/16/2004 1:17:54 AM
Hi all!
I want to design a Toolbar with too this feature:
- Some buttons are on the most left edge and some other buttons are on the
most right edge!
How to do it?
Wait for your helps!
Thanks!
... more >>
System.Windows.Forms.Control.Invoke() throws ArgumentException after sp1
Posted by Nicki Carstensen at 11/15/2004 9:35:46 PM
Greetings and salutations...
I'm using the ISynchronizeInvoke interface to call events on a
userinterface from a worker thread. But after i installed .net framework
1.1 sp1, one of the events (with a delegate like this:
public delegate void FigureReceivedHandler(Stream figure);
now thorws t... more >>
custom control: combobox + timer
Posted by Bernie Yaeger at 11/15/2004 7:50:35 PM
I'm trying to create a custom control that contains both a combobox and a
timer. Any ideas how I can accomplish this? I do know how to create a 'one
control' inheritance control, but when I add the timer, it compiles but I
don't get its functionality - and it's not ticking, as I want it to.
... more >>
Can you find a MenuItem by name?
Posted by aualias at 11/15/2004 2:51:30 PM
I have a UIManager object that sets properties on various UI objects when
certain events happen in the application (my events, not standard events).
Objects can register and unregister for these events.
If I wish to enable a menu item (but do not want expose it as a property)
from the UIManage... more >>
Formatting a DataGrid bound to an ArrayList
Posted by -gtu99 at 11/15/2004 2:24:01 PM
Hi,
I have a List of objects that I would like to display in a DataGrid. The
problem is I don't want to display all of the public accessors, only a few.
However, the default for seems to be for the DataGrid to display everything.
I am unable to assign the DataSource in the designer, I gues... more >>
Shutdown
Posted by Thom Little at 11/15/2004 12:49:17 PM
I have a Winform application that is always running.
If this application is to be revised I need to shut down the current
version, install the new version, and the start the new version.
Is there a recommended approach for the installer to request a shutdown and
for the executing program t... more >>
Red cross on datagrid
Posted by Rob Oldfield at 11/15/2004 12:11:20 PM
I have a VB windows forms app that generally works fine. Just occasionally
though users are getting an error message (I still haven't managed to get
any of them to behave themselves and make a note of it) and then the
datagrid on the form is replaced with a red cross. I've tried lots of
testin... more >>
Embedding UserControl in Internet Explorer
Posted by Peter Bromley at 11/15/2004 11:34:38 AM
Hi,
I have an outstanding issue with my control which I would like help with
if anybody can help, thanks.
I need to control the size of my UserControl which is embedded within
Internet Explorer pages. My control is able to determine minimum and
maximum sizes (based on sizes and positions... more >>
Closing Form
Posted by Fernando Hunth at 11/15/2004 11:13:04 AM
I am showing a MDI Child Form.
That form has a validation by logged user.
So that if an invalid user wants to open the forma message is displayed and
the form is closed.
But the problem that i cannot use the close() method neither on the Load nor
the Activate Event.
How can I solve it?
... more >>
How to resize win form?
Posted by jiangyh at 11/15/2004 10:30:42 AM
hi there:
I have a win from that set then set the FormBorderStyle property to
None.My question is how to resize windows form at run time.
--
Jiangyh
http://bbqb.com/bbs/index.php
... more >>
form versions on different logoned users?
Posted by alanchinese NO[at]SPAM yahoo.com at 11/15/2004 8:59:33 AM
my form has a main menu, a datagrid, a set of controls displaying one
record of data, and a set of control buttons corresponding the
menuitems in the main menu, and maybe some context menus too.
my question is, user A belongs to group A, user B belongs to group B.
how do i manage the versions ... more >>
Loading a PictureControl from a gif file in C#
Posted by pegasusuk NO[at]SPAM hotmail.com at 11/15/2004 4:59:20 AM
Hi there - I hope someone can help with this problem....
A colleague and myself are trying to load a PictureControl (using C#)
from a GIF file. We don't want to set the file in the resource
properties, as the file is generated on the fly, and placingthe
filename in the properties appears to em... more >>
PrintPreview for TreeView
Posted by Dev2004 at 11/15/2004 3:20:13 AM
Hello,
Does anyone have any examples on how I could show the
contents of the TreeView in a PrintPreview window. I've
looked at the PrintPreviewDialog control but could not
see how I could link the TreeView control to it. I'm
assumming I've got to print the pages myself.
Thanks,... more >>
|