all groups > dotnet windows forms controls > november 2004
Filter by week: 1 2 3 4 5
Windows Service System Account Permissions
Posted by Daniel at 11/30/2004 8:39:17 PM
Windows Service System Account Permissions
My windows service runs under the system account but the system account
can't see a domain on the LAN. Is there some sort of permissions that have
to be set for the system account to see the domain on the lan? my user
account when i log onto my own ... more >>
UserControl issues continue...
Posted by Serg at 11/30/2004 6:55:04 PM
I was being too optimistic in my other post. I add a user control assembly to
the toolbar - no problems. User control and all dependent dlls are in GAC.
But when I drag and drop a user control from the toolbox onto my form I get
exception: ".NET assembly WB could not be found". WB assembly is ... more >>
[OT] Help-File
Posted by Leon Friesema at 11/30/2004 5:21:08 PM
Really off-topic actually, but how can I create Help-files easily?
I currently use the "HTML Help Workshop", but this thingy needs some
attention from the people at Microsoft. Buggy, hazy, unreliable, so I
can't really use that one. Anybody got some ideas?
TIA,
Leon.... more >>
Allow the selection of null in bound listbox
Posted by waxabi NO[at]SPAM excite.com at 11/30/2004 3:01:17 PM
Here's the scenario:
I have a nullable column in a table. I have a listbox bound to that
column that is built from the foreign key table.
Without inserting some sort of (no value),etc record in the foreign
key table, is there any way I can add a selection of "null" to the
bound listbox?
... more >>
Commit changes in a DataGrid without leaving the row
Posted by rettigcd NO[at]SPAM bigfoot.com at 11/30/2004 1:13:15 PM
I need to commit changes in my DataGrid to the corresponding DataTable
without forcing the user to leave the row. As soon as they enter a
value, I want it transferred to the DataTable.
I've seen messages that say that I should "commit changes on
ColumnChanged event".
Well, I don't know how... more >>
Hiding TabPages from User with TabControl
Posted by Leon Friesema at 11/29/2004 11:28:24 PM
Hi,
is there a possibilty to hide the TabPages from a TabControl and if
so, how?
What I actually want is hiding the TabPages from the user so the user
can only see and use the one TabPage I'm showing him (or her for that
matter ;-)), but wont be able to choose (or see) the TabPages.
Leon... more >>
[I] HTML Oracle
Posted by CJ at 11/29/2004 5:11:22 PM
I need some help from the HTML/Website oracle.
I'm generating html files from a C# app - they're basically log files
for our application, so while they're html they won't actually be on the
web.
What I want to do is be able to "hide" text in certain cases, so that
clicking on a link ab... more >>
how do i access methods when the .net assembly was loaded with late biding?
Posted by Daniel at 11/29/2004 4:23:17 PM
how do i access methods when the .net assembly was loaded with late biding?
class Class1
{
public static void Main()
{
System.Reflection.Assembly SampleAssembly;
SampleAssembly =
System.Reflection.Assembly.LoadFrom("C:\\SimpleSolutions\\asmload\\asmtoload
\\bin\\Debug\\asmtoload.dll"... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
how to load a C# dll from another C# assembly if the path of the loaded dll is not known until runtime
Posted by Daniel at 11/29/2004 3:16:01 PM
how to load a C# dll from another C# assembly if the path of the loaded dll
is not known until runtime
... more >>
How do i dynamicaly load and unload a C# dll at runtime
Posted by Daniel at 11/29/2004 3:06:38 PM
How do i dynamicaly load and unload a C# dll at runtime
... more >>
Resize Panel to Height of TreeView
Posted by George at 11/29/2004 2:54:10 PM
I have a treeview which is added to a Expandable Panel.
I need to resize the panel so as all the nodes of the
treeview are being displayed. Is there anyway to get
the 'required' height of the treeview so I can set the
panel to this size.
Thanks for any help.... more >>
OnClick in listbox
Posted by Ken Beauchesne at 11/29/2004 1:14:33 PM
I am trying to put an OnClick handler for a listbox into my program but no
matter what I do I can't get
the OnClick to fire, does the event work for compact framework ?
thanks
ken b
... more >>
Selecting a TreeView node with a "right click"
Posted by BBM at 11/29/2004 12:49:03 PM
I'm using a context sensitive menu to edit underlying objects that are
organized for the user by a TreeView control. The context menu items need to
change depending on where in the Tree the user right clicks. Right now, I'm
deciding what menu to display based on the type of underlying object... more >>
Double-click behavior of TreeView - changeable?
Posted by BBM at 11/29/2004 12:31:05 PM
I have a TreeView in which the nodes represent more complex objects. There
are several levels of objects (Parent/Child/GrandChild/GreatGrandChild) with
a different type of underlying object at each level.
I would like the users to double click on a TreeNode to edit the underlying
object. ... more >>
control that inherits from built-in WinForms control : major architectural problem
Posted by Bill Woodruff at 11/29/2004 9:14:36 AM
For a UserControl there is the 'Load event you can exploit to make sure the
internal structure of your control that inherits from a built-in WinForms
control is setup properly, most likely based on the user's changing the public
properties you have exposed to the IDE designer.
But for a contro... more >>
Datagrid paging issue
Posted by jojo_koshy NO[at]SPAM yahoo.com at 11/29/2004 4:36:47 AM
Hi ,
I have an arraylist bound to a winform datagrid and I am paging the
datagrid by changing the arraylist that is bound to the datagrid. I
have used DatagridTableStyles for my datagrid which works fine when
the data first loads. But when I bind the datagrid again with the new
ArrayList for ... more >>
Can't import .OCX assembly into Web Matrix Project.
Posted by Jason Robertson at 11/29/2004 2:36:08 AM
Hi,
I am using Web Matrix Project as .NET programming environment. Can you show
me detailed steps how to import the .ocx library into the Web Matrix
Project. I can't seem to be able to import other assembly than .dll, .exe or
..mcl . I am pretty new to the .NET programming environment, and ma... more >>
Any Custom TextBox control
Posted by Amit at 11/28/2004 9:56:23 PM
hi,
does anyone r using extended textbox controls.????
providing MaskEdit features....,numeric,date,currency etc.
Of course Open source !!!
Thanks...
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/... more >>
Custom controls/GAC/toolbox
Posted by Serg at 11/28/2004 7:35:06 PM
Hello,
When using "customize toolbox" to add a control to the vs toolbox, is there
a way to have my custom control listed in the .net components tab without
having to navigate to the actuall dll? It is in GAC now, and I thought that
alone would be enough but it's not.
A command-line uti... more >>
Adding control to GAC error
Posted by Serg at 11/28/2004 4:51:06 PM
Hello, I get an error: Assembly generation failed -- Referenced assembly
'AxInterop.SHDocVw' does not have a strong name
I am trying to add my custom control to GAC, but I get the error above. My
control references AxInterop.SHDocVw.dll
Is there a workaround this issue, or can you give a l... more >>
[C#] FolderBrowserDialog
Posted by Leon Friesema at 11/26/2004 10:02:34 PM
Hi,
Does anybody got a clue why the FolderBrowserDialog does display as a
dialog (with buttons et al), but without the actual "browsing" part?
In other words: I see the Dialog, but without the white
"pick-your-folder-from-the-tree" part.
I'm using .NET Framework 1.1 (for obvious reasons)
T... more >>
How to display a windows form as a control ?
Posted by Magne Ryholt at 11/26/2004 10:53:29 AM
{System.Windows.Forms}
I have a Form (form1) with a panel on it (panel1).
I also have a Form (form2) with some controls.
Now I want to display form2 in the panel of form1 (in a way "reducing" the
form to a control programmatically).
The following code does this:
Form2 form2 = new Form2();... more >>
Dependent combo box in winform datagrid control
Posted by ramireddy at 11/26/2004 8:01:38 AM
I have an editable datagrid with two dropdown lists, one of which is
dependent on the other. When a first dropdown is initially edited (
selected Index changed) , I am able to successfully generate the dataview
and bind it to dependent combo box. However, if i go to second row and
chnage the ite... more >>
Custom double buffer
Posted by Kuba Florczyk at 11/26/2004 2:02:13 AM
Hi
I've got some problem doing double buffer.
Here is my problem:
I've got custom control on which i paint some data (chat messages, lets call
it ChatControl), this control is puted on a scrollable panel.
Of course i've set right styles on a ChatControl:
//styles
this.SetStyle(Control... more >>
MultiColumn Listbox ??
Posted by Lan Nhi at 11/26/2004 1:01:39 AM
Hello!
After assigning the property MultiColumn for my ListBox, what must i do to
add columns to this listbox? And how if I want to lisbox has a Column
Header?
thanks for your help!
... more >>
PropertyGrid
Posted by Patrick at 11/25/2004 5:41:05 AM
Hi Ng,
if I use a property Grid during runtime. How can I hide unimportant
properties and how can I show important ones?
best regards,
Patrick... more >>
Constructor calls
Posted by Patrick at 11/25/2004 5:07:02 AM
Hi Ng,
I have a class MyPanel : Panel where I have to constructors:
public MyPanel()
{
myObject.myEvent += new myEventHandler(myMethod);
}
public MyPanel(Object o) : this()
{
this.myObject = o;
// do sth with myObject
}
If I call the 2nd constructor to create the panel... more >>
how to add an user control??
Posted by Alex at 11/25/2004 12:59:40 AM
Hello!
Please help me to tell how to add an User control? for example, we have
written a control and compile to .dll file, what do we need to add this
control to our application?
Thanks all!
... more >>
Control's Property not being updated from Designer
Posted by Serg at 11/24/2004 2:55:33 PM
Hello,
I am updating control's property from within my designer class (using Verb,
and popping up a dialog).
The property in the "properties" box gets updated value, but it is not
written to code gen part of the Initialize...() method of my control. This
happens when my property is of t... more >>
moving record in datagrid
Posted by C. Vidal at 11/24/2004 2:30:08 PM
Hi,
I have a datagrid with some columns which is binfind to a dataset.
I would like the users can move the rows as they want in the datagrid and
save this change in the database.
How can i do this?
I may be find a solution to move records in the datagrid but i don't know
how save the order... more >>
How to disable scrollbar action on Listview
Posted by nzpcmad NO[at]SPAM yahoo.co.uk at 11/24/2004 11:38:30 AM
The scrollbar on a Listview control is part of the non-client area.
Setting "Scrollable = false" removes the scrollbar but also stops the
list from scrolling using arrow keys even if "EnsureVisible" is used.
This causes problems if the requirement is to remove the scrollbar.
There are a number... more >>
Date Time Picker
Posted by Charles A. Lackman at 11/23/2004 5:32:06 PM
Hello,
I have a DateTimePicker on my form and I need to make every Even week Red
and every Odd week Yellow.
Any Suggestions will be greatly appreciated (Detailed help is even more
appreciated).
Thanks,
Chuck
... more >>
the simplest way to move data between listviews
Posted by zbcong at 11/23/2004 2:16:01 PM
hello
there are two ListViews with the SAME coloumns within one winform,i want to
move the data from one ListView into other one,what is the simplest method?
thank you!!
... more >>
Persist values entered in Designer?
Posted by Serg at 11/23/2004 2:05:02 PM
Yet another question from a controls newbie. I have a Verb which pops up a
dialog and allows users to customize my control. Is there a built in way to
persist users' entries? (similar to that of customizing a .NET DataGrid
control). Where does that info get stored? Thank you.... more >>
Embedded UserControl accessing ws-security web service
Posted by Ryan Yoder at 11/23/2004 11:35:11 AM
I have a UserControl embedded in an aspx page that needs to access a
ws-security enabled web service.
The web service requires an encrypted UsernameToken in the soap headers and
authenticates on every call.
Use case:
User enters username/password into login.aspx page over https.
If authent... more >>
Disable a Property
Posted by MFRASER at 11/22/2004 8:57:28 AM
How do I disable a user from using a property that is inherited?
I have a control that I do not want a user to set the AutoScroll property
on.
How can I disable this property?
... more >>
Color combobox in PropertyGrid
Posted by John Hart at 11/21/2004 7:16:53 PM
Hello all
I need a color picker combobox like one used in the PropertyGrid to
edit properties of type System.Drawing.Color. Is it usable outside of
PropertyGrid?
TIA.... more >>
GiveFeedback event not firing in treeview
Posted by Erez - Bgumail at 11/21/2004 11:32:12 AM
hello all,
i have a strange problem:
i allowed my treeview drag-drop events : itemDrag , dragdrop ect..
But, the GiveFeedback event is never firing .
somebody has a clue why?
Thanks,
Erez
... more >>
How to make a specific row an invidual color in DataGrid!??
Posted by Alex at 11/19/2004 3:47:54 PM
Hello!
Please help me to make a specific row invidual color in DataGrid!
I have read some help in forums and found how to make a Cell or a Column,
but not for a Row.
Thanks for all your helps!
... more >>
Find a value in a column and select that row in a bound DataGrid???
Posted by John Tenney at 11/19/2004 9:08:36 AM
OK - I give up. I've looked a lot of places and couldn't find a hint how to
do this. I've got a bound DataGrid control and I want to find a particular
value in a column on the DataGrid and select that entire row (like a Find
feature). I've tried using the Select statement from the underlying d... more >>
Controls and their container forms
Posted by vladimir.nabokov NO[at]SPAM palefire.com at 11/19/2004 3:47:30 AM
Hi,
I want to compose a form entirely from user controls.
However I also want to implement a model-view-controller
architecture and to this end I instantiate a controller
object in the form's constructor.
Now, if I have a button on one of the resident
usercontrols which should ultimat... more >>
Scrolling a treeView
Posted by Valerie Hough at 11/18/2004 6:12:21 PM
There is a scroll bar in my treeView. How can I scroll it up or down to
bring items of my choice into view ?
Thanks in advance,
Chris Hough
... more >>
ListBox with Checkbox???
Posted by Darryn Ross at 11/18/2004 12:55:46 PM
Hi
I am wondering if there is a way to add tick boxes to a list box control, so
you could make selections of the listed items by ticking them.
Regards
Darryn
... more >>
DesignerSerializationVisibility attribute question
Posted by cant_have_my_email NO[at]SPAM yahoo.com at 11/18/2004 12:28:29 PM
Hello all....here's my conundrum. We are building distributed apps
with VB.Net and Remoting. We have a common set of user controls that
all applications need to use - pretty typical. For example, we have a
Customer control that consists of a link label and a text box. If
they click the link ... more >>
Getting Control from location
Posted by MFRASER at 11/18/2004 9:29:12 AM
Is there any way to find the current control that is at the mouse location?
... more >>
Identify IExtenderProvider On A Control
Posted by Dubnikova at 11/18/2004 6:03:03 AM
Hi,
How can I find through code whether a control has an IextenderProvider
attached to it? Also, I would like to acertain the name of the extender. For
example:
Dim c as Control
For Each c in Parent.Controls
Does C has an IexntenderProvider
if so , Which?
..... etc.
Next
... more >>
ScrollableControl can't stop horizontal scroll bar from appearing
Posted by Tim Jarvis at 11/18/2004 2:48:15 AM
Hi,
I have a control that inherits from ScrollableControl, I want this
control to be able to grow, but only up to a set maximum, then for the
control to display a vertical scroll bar, and only a vertical scroll
bar. The docs say....
"To manually override which scroll bars are visible, set t... more >>
Adding Items to ListBox
Posted by MFRASER at 11/17/2004 12:12:05 PM
I am trying to add items to a list box of type ColumnListItem, but the Name
or Text does not display. I see the type of the object that I added. What
property is displayed in the listbox, or how can I make it so that the Text
of my columnlistitem is displayed?
public class ColumnListItem
... more >>
ToolTip on a UserControl
Posted by atk at 11/17/2004 11:33:55 AM
I am trying to assign a ToolTip to my UserControl. I want it to show when
the mouse hovers over the control's surface. The code in the MouseHover
event handler is:
ToolTip toolTip = new ToolTip();
toolTip.ShowAlways = true;
toolTip.SetToolTip(this, "ToolTip for UserControl1");
When I run t... more >>
treeview, afterselect, clicking twice
Posted by foldface NO[at]SPAM yahoo.co.uk at 11/17/2004 8:58:19 AM
Hi
Judging by previous posts on here this can't be done, still...
I want to distinguish between expanding a tree node and selecting it.
The first time is not a problem as I can use AfterSelect, however
this only works on the first select of a treenode.
I could do the below in MouseDown:
... more >>
|