all groups > dotnet windows forms > march 2007 > threads for march 1 - 7, 2007
Filter by week: 1 2 3 4 5
Composite UI App Block
Posted by Sagi at 3/7/2007 11:50:25 PM
Hello,
Anyone Know where i can find any good examples of CAB usage. But not the
regular stuff included with the CAB packages.
... more >>
Crystal Reports: displaying data from an SQL DataTable in C#
Posted by JT at 3/7/2007 4:33:43 PM
This is my first Crystal Report project, using the CrystalReportViewer in
Visual Studio 2005. I want to display records in a DataTable (called
DTable) created by my C# program, taken from an SQL database. My project is
a Windows Forms project, not an ASP.NET project.
I dragged an instance of... more >>
Browse images in an explorer like view
Posted by Philipp_Pätzold at 3/7/2007 4:33:23 PM
Hello,
I want to load a bunch of images from a web uri and display them, so the
user can browse the images and select them, just like in the thumbnail
view of the windows explorer. Which control is suitable for that task...
Listviews with ImageLists are not an option since the images are of... more >>
OO design problem (mainform and user control)
Posted by Tarscher at 3/7/2007 6:59:14 AM
Hi all,
I have a main form that has a user control. I need access to a control
when an event is fired on the user control. Since the main control
knows the user control but not vice versa I cannot do this.
Is there a way I can pass a variable to the main control from the user
control? how i... more >>
what event to fire
Posted by Tarscher at 3/7/2007 2:17:10 AM
Hi all,
I have a panel containing controls like textboxes and radiobuttons.
When the value of a control in the panel changes a event has to fire.
Can someone tell me what event I use best?
Thanks
Stijn
... more >>
How to set focus back in DataGridView Cell
Posted by Hank at 3/6/2007 11:40:26 PM
Hi,
I am catching the CellValidating event in the DataGridView cell, if
validating fails, I want put focus back to the cell, following is my code(it
doens't work)
private void dataGridView_CellValidating(object sender,
DataGridViewCellValidatingEventArgs e)
{
try
{
// c... more >>
different profiles in .net
Posted by Vinki at 3/6/2007 8:40:03 PM
Hello Everyone,
I really need help in this email. I am using pop3 service to connect to
microsoft exchange. I have two profiles defined
in microsoft exchange.
One is west1 and another one is west2.
When I am trying to connect to west1.
I can succesfully connect to the excahnge mail bo... more >>
How to constrain height in ListView like control in designer?
Posted by d-e-j-a-v-u NO[at]SPAM web.de at 3/6/2007 3:57:53 PM
Hi everybody,
I am developing a ListView / ListBox / TreeView like Control for .NET
CF. I was wondering how to make the designer constrain the height to
multiples of the basic line height - pretty much the way this is done
with a ListBox control when resized in the designer.
(It works witho... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Form Finished Loading
Posted by Siapash at 3/6/2007 3:03:05 PM
Hi There
I'd like to call a function when a form is fully loaded (and visible). For
now I am using "Activated" event handler + a "first time flag" to do it. Is
there any better way?.
Thanks,... more >>
how many obfuscate?
Posted by Dandle at 3/6/2007 2:16:09 PM
Hi all,
I am posting to the windows forms group because it occurs to me that
ASP.NET projects do not have the risks of code being decompiled like
distributed applications do.
My questions are:
1) How many people are using obfuscation to protect their code?
2) Is there alternatives to... more >>
How to determine which window is on top?
Posted by Andrew at 3/6/2007 12:44:16 PM
Hello, friends,
We have an C#.net app, which opens several form windows. How to determine
which form window is on top or active? Thanks a lot.
... more >>
having user thread update listViewItem.BackColor
Posted by yancheng.cheok NO[at]SPAM gmail.com at 3/6/2007 10:07:06 AM
Hello all,
I try to have user thread to perform update on the window form list
view item back color. However, I can see the new item was added each
time. However, the back color just not changed until I move the window
around. May I noe what code I had missing out?
Thank you very much!
... more >>
Errors with DLL Referencing loading Source on New Desktop
Posted by pete.navarra NO[at]SPAM healthways.com at 3/6/2007 8:56:44 AM
Greetings all,
I am going to attempt to describe the issue that I am having in full.
I apologize ahead of time that this may be a long posting, however, I
have found no other solution to my problem.
I am working with a VS2003 .NET1.1 Solution Project. The Solution
contains 6 Projects:
C... more >>
ClickOnce - Website Deployment - Authenticated Access
Posted by Mark at 3/5/2007 11:03:25 AM
We are deploying our Smart Client APP to our external vendors via ClickOnce
and an IIS6 virtual directory. Since the deployment is visible to the
Internet, we have protected the deployment site using Integrated Windows
authentication without anonymous access and enumerated the authorized users... more >>
Non MDI plugin framework
Posted by stride51 NO[at]SPAM gmail.com at 3/5/2007 10:49:31 AM
I wanted to know if anyone has any ideas for me. I've been through the
steps to create an MDI application but need to take that concept
further. Let's assume we have a simple windows application with a
simple form. I need to get rid of the form and only have the .vb file
but still have the vb fi... more >>
how to get path info in treeview when I double-click a node
Posted by david at 3/5/2007 8:48:23 AM
The path means that the info of all nodes from the root to the clicked node.
Thanks
David... more >>
Using IMenuCommandService
Posted by Dan Reber at 3/5/2007 8:17:25 AM
I have application that is using IDesignerHost so my users can design
dashboards at runtime. I got the Design and NameCreation, Selection and UI
services working but I cannot get IMenuCommandService implemented. I have
found examples but it looks like they are all for component integration ... more >>
Which COM I should pick?
Posted by Andrew at 3/5/2007 7:19:05 AM
Hello, friends,
I need to implement MS Word and Excel in our .net (2005) app. I found the
following related items in the COM list when I tried to add reference.
Microsoft Excel 11.0 Object Library
Microsoft Office 11.0 Object Library
Microsoft Office Control 1.0 Type Library
Microsfot Off... more >>
anchor ListBox to FlowLayoutPanel that Fills the Form
Posted by Steve Richter at 3/5/2007 5:48:08 AM
When I anchor a ListBox directly to the Form the ListBox widens as the Form
is widened. But when anchor the ListBox to a FlowLayoutPanel which in turn
is DockStyle.Fill in the Parent Form, the flow panel widens as the Form is
widened, but the ListBox gets left behind, never growing in size.
... more >>
reading an xml file from the client
Posted by Vicky at 3/5/2007 1:09:29 AM
hello,
i have to read an xml file sent by http post method run by the client
coded in java
How do i read the whole file from the server which is written in
VB.net
Please reply soon
Thanks
Vikram
... more >>
application framework
Posted by Paolo Liverani at 3/5/2007 12:00:00 AM
Does anyone know if there is an open source application framework to build
enterprise applications (something like Dnn for web sites)?
Thank you, Paolo
... more >>
Validating/Focus problem
Posted by Paolo Pagano at 3/5/2007 12:00:00 AM
I have a Form with two TextBox's, I validate first one:
private void textBox1_Validating( object sender, CancelEventArgs e )
{
if( String.IsNullOrEmpty( textBox1.Text ) )
{
DialogResult res = MessageBox.Show( "Retry?", "Error: empty
... more >>
Problem with dataset
Posted by JO at 3/5/2007 12:00:00 AM
hello,
do you know where i find a sample witch explain how install dataset
with 2 form, onr master form ans one detail form.
thx
... more >>
Update and delete sql not generated by wizard
Posted by John at 3/4/2007 2:26:00 AM
Hi
In my vb winform data app with sql server 2005 backend, when in dataset I
run the data adapter configuration wizard it generates insert and select sql
statements but not delete and update. As a result the data is not updated
when changed in form. What is the problem and how can I get the... more >>
Column does not allow nulls when saving
Posted by John at 3/3/2007 6:05:02 PM
Hi
I have a vb.net winform data app with sql server 2005 backend. The ID field
in the tblClients table is an 'int' identity column that does not allow
nulls. The problem is that when I try to save the record using the below
code;
Me.Validate()
Me.CompaniesBindingSource.EndEdit()
Me.Com... more >>
Drawing Custom Control Past Form Edge
Posted by townes NO[at]SPAM asdf2.com at 3/3/2007 3:03:51 AM
I'm creating a UserControl that is essentially a button that displays
a panel when it is clicked. It will behave similar to a ComboBox, but
requires a custom look. Both the Button and the Panel are defined in the
designer, and I set each elements Visible key to match the state I want.
I c... more >>
Bindingsource problem
Posted by Flomo Togba Kwele at 3/2/2007 8:22:38 PM
Why would the first statement execute fine, but the second errors out? How can this be?
The first line is in the Load event, the second in a button event. The error message
follows the second line.
Also, aBindingSource.SupportsSearching is True.
TextBox1.DataBindings.Add("Text", aBindingSo... more >>
DataGrid
Posted by b89 at 3/2/2007 4:23:59 PM
I am working with Visual C++ .NET 2003. I need to be able to use a DataGrid
in my application. My program is not and will not be connected to a
database. I must be able edit each cell as a user and allow the program to
access each cell and the edit them. The program needs to load the cells
d... more >>
Arrow keys don't seem to match Keys.Down
Posted by MarcG at 3/2/2007 2:43:51 PM
This has to be something silly but...
I have a breakpoint at the start of my KeyDown event handler where I want to
check for the Down Arrow key (which I can't seem to match)
When I press the Down Arrow key on the arrow keypad of my keyboard, I get
e.KeyCode == RButton | ShiftKey
and
e.... more >>
Datagrid reorders columns on Databind
Posted by LQQKIN at 3/2/2007 1:18:44 PM
Hi everyone.
I encountered a weirdest problem. Every time i databaind a dataset to the
grid it reorders the columns.
Any ideas????
Thanks a lot! ... more >>
How to host the ssrc report designer inside a winform application
Posted by Rob Dob at 3/2/2007 12:57:29 PM
Hi,
is there a can to host the report designer inside my winform application? I
would like to be able to give the end user of my application the ability to
make minor changes to the report.
thanks
... more >>
TreeView Question
Posted by Demetri at 3/2/2007 6:28:00 AM
I have a tree view that i'm populating with a lot of heiracheral data. I only
want to populate a node with children if the user expands it. However, that
presents a problem. If I do not populate it with children then the
expand/collapse bitmap does not appear.
So, my question is how do I m... more >>
Programming the Windows Forms Datagrid?
Posted by Philip at 3/2/2007 5:34:02 AM
Hi,
Using Windows Forms 1.1 (VB.NET)
I have a datagrid on my form and no datasource, just a collection of
Parameters (for a stored procedure selected by the user at runtime) which
have been populated by the user.
I want to display all these parameters in the datagrid so the user can
r... more >>
Is it possible to create library which start a User interface so as to be called by a Cconsole application
Posted by pableratz at 3/2/2007 2:10:15 AM
I have programmed a multi thread C control application, and now I
want
to add User interface functionality to my main thread. I would like
to
know if i could generate a library from a MFC or Window form Screen
and call it from
my main thread.
Thanks for your attention
... more >>
evlogxxxxx.bak files
Posted by Richard at 3/2/2007 12:41:11 AM
Hi experts,
My Windows 2000 server system is suffering from too many evlogxxxxx.bak files.
Please let me know followings:
q1. when does system start to backup eventlog? I mean what trigger the
system make the backup files. I set Overwrite events as needed. I cannot
understand why system m... more >>
UNC paths from drive mappings
Posted by JezB at 3/2/2007 12:00:00 AM
I can get a list of drive mappings via
Directory.GetLogicalDrives
but is there any way I can get the UNC path (eg. \\machine\sharename) for
those drives that are mapped to network shares?
... more >>
Open Specific URL from Windows Desktop
Posted by waheed iqbal at 3/2/2007 12:00:00 AM
i am using C#.net and i want to open a specific url using windows brwoser .
this is very easy to launch IE process and provide url .
But url required authentication and i need to provide this authentication
automatically. or can any body tell me how can i save password for specific
url progra... more >>
axWebBrowser control and javascript errors
Posted by Greg B at 3/1/2007 7:03:46 PM
hi all,
Has anyone come across working code for a Windows Forms application
that uses AxWebBrowser control and is capable of intercepting and
dealing with the 'Internet Explorer Script Error' (An error has
occured in the script on this page') type errors. I know the
WebBrowser control (the o... more >>
Cannot call Invoke or InvokeAsync on a control
Posted by Bruce Wood at 3/1/2007 6:14:03 PM
I have some sort of a concurrency problem that has me stumped.
I have a form (actually several) that run background worker threads
from the OnLoad method. Sometimes... occasionally... I get a crash
dump from a user that indicates that I "cannot call Invoke or
InvokeAsync on a control until the... more >>
What is the best way to modify report ( .rdl ) within c# winform app
Posted by Rob Dob at 3/1/2007 5:04:16 PM
Hi,
I have several reports within my c# winform application, I need to be able
to give the user the ability to make minor modifications to some of these
reports prior to running them. Currently I am making use of both .rdl and
..rdlc reports within my application. the modifications that t... more >>
Sending Form to a class
Posted by sck10 at 3/1/2007 3:42:26 PM
Hello,
I am trying to call a class and send the form as a parameter, but I don't
know the syntax. In ASP, you would use "this.Page" as an example:
HidePanelsHelper.HidePanels(this.Page)
My question is what is the syntax for sending the form to a class?
Thanks, sck10
In my Form, I ... more >>
Loop through Controls using a class
Posted by sck10 at 3/1/2007 2:23:24 PM
Hello,
I just started using WinForms and built the following to hide panels:
private void AppCodeHidePanels()
{
foreach(Control ctrl in this.Controls)
{
if(ctrl is Panel) ((Panel)(ctrl)).Visible = false;
}
}
I would like to move this to a class... more >>
Non-Modal Forms
Posted by JerryWEC at 3/1/2007 11:25:41 AM
I have these forms that are going to be displayed and require the user to
respond to the options on the form but there is not specific time that user
will make the chooses on the form. What is the best way to handle this
situation. Create events and raise the event when the user makes the cho... more >>
single instance on TS?
Posted by mtczx232 NO[at]SPAM yahoo.com at 3/1/2007 9:29:57 AM
I try the windows application framework properties (My.Application)
option: Make single instance Application. but is not work on TS
(terminal server).
how I can make sure that only one session cross the all sessions?
... more >>
Error When Trying to copy a row from a datagrid
Posted by bidalah NO[at]SPAM yahoo.com at 3/1/2007 8:54:00 AM
Hi,
I have a vb.net windows form with a datagrid, and I am simply trying
to click on a row, hit CTRL-C to copy and then CTRL-P to paste it
somewhere else. This works fine for individual cells. When I try it
with an entire row however, I get the following error:
DataGridColumnStyle of '' c... more >>
Propertygrid issue
Posted by ser at 3/1/2007 7:03:05 AM
Hi,
I have an application which has two winforms. One is the parent form which
has around 20 odd controls. And the other has a propertygrid and two buttons,
viz OK and Cancel. This form runs in the designerhost. Hence if a property is
changed the componentchanged event fires and changes are... more >>
Forms and namespaces in vb.net
Posted by Eric at 3/1/2007 6:56:13 AM
Hi,
What is the best way to assign a form to a namespace in VB.NET with VS 2005?
I have this project with dozens of Forms and im beggining to need a pretty
good imagination to find different names for them!!!
Thx... more >>
Opening MDI Child From MDI Child Form, like VisStudio Start Page
Posted by Jenbo at 3/1/2007 4:47:21 AM
Hi, I have an MDI application which contains a start page with a
listview of items in it that can be used to click on and open as a
child form. So the start page is the child at start up of form.
However, when I try to open another child from this start form it
opens ok, but will not show or foc... more >>
Problem with label word wrap and accented characters
Posted by ssissa NO[at]SPAM newsgroups.nospam at 3/1/2007 2:49:10 AM
Hi,
It seems that the .NET Label control incorrectly wraps words at accented
characters (or non-ascii characters in general). The same is observed when
using Graphics.DrawString() directly. I am using .NET Framework 1.1.
The text "Vous obtiendrez une meilleure traduction en évitant les
... more >>
Nice GUI
Posted by Stefan_Sch=F6b at 3/1/2007 1:10:35 AM
Hi
How can i create a GUI like this one:
http://www.kynosarges.de/NDoc.html
My .NET Tools always looks like old NT-Applications except the
Menustrip and the statusbar.
Is there perhaps a good tutorial to build nice GUI's?
Thx a lot for each information ;)
Greetz
... more >>
AutoResizeColumns in a DataGridView
Posted by Jörgen Ahrens at 3/1/2007 12:00:00 AM
Hi All
VS 2005 SP1
I use a DataGridView to display some figures. I have a cellpainting event
that displays a couple of numbers in bold and other numbers in regular font
style. When i double click the Column devider it resizes the column so that
the regular formated columns fit in but not... more >>
MDI Form
Posted by JO at 3/1/2007 12:00:00 AM
Hello
how can i make to pass a child form to foreground ?
thx
//**********************
Bonjour,
comment puis je faire pour repasser un formulaire MDI enfant au premier
plan??
merci
//************************
... more >>
|