all groups > dotnet windows forms > march 2007 > threads for march 8 - 14, 2007
Filter by week: 1 2 3 4 5
window service
Posted by Vinki at 3/14/2007 7:32:07 PM
Hello Everyone,
I have created a very simple window service. This window service in turn
is calling a function that exist in a windows form.
When I am trying to run this windows service. window service does not run
and start throwing error message.
Once I remove the windows form and put... more >>
How to change form language (in code)
Posted by Carlos Cruz at 3/14/2007 3:39:52 PM
Hi,
I'm trying to make a multilanguage application.
I manage to create the forms resource files for each language and to read
them (rm.GetString("Label1.Text", pCultureInfo)), but I need to change all
objects after changing pCultureInfo.
Is it possible to change the forma language in code? Wh... more >>
Assigning Default value to Enum Variable
Posted by Lucky at 3/14/2007 8:59:57 AM
Hi guys,
i was working with Enum and one Question strike, i thought it would be
good idea to ask more experience guys around.
the scenerio is like this :
[System.ComponentModel.DefaultValue(check.None)]
public enum check
{
No,
None,
yes,
why
... more >>
OutOfMemoryException when using a datagridview in a panel
Posted by sorensen.christoffer NO[at]SPAM gmail.com at 3/14/2007 1:55:14 AM
Hi,
I am using .NET 2.0 and a datagridview in panel.
The datagridview is bound to a datatable which is populated through a
database. The first column should be a combobox column. The combobox
column has a datasource which is another datatable so an integer is
mapped to a string (easier for ... more >>
Weird Task bar problem
Posted by Elmo Watson at 3/13/2007 10:17:55 PM
(VS.Net 2005/Visual Basic)
I've got a MDI application which, after about 3 months of development, I
changed the name.
I looked through every file, every config file, every xml file, every
directory, to remove any reference to the old application name.
All the assembly information references... more >>
Automatic version incrementing
Posted by Elmo Watson at 3/13/2007 8:18:24 PM
in VB6, I could set my applications, so that, with every build, it would
increment the version number.
However, I can't find that capability in VS.Net 2005....I can find it if I
publish the applicatioin, but I don't have any need for my users running the
application from my website - I want i... more >>
OK to use DoEvents() ??
Posted by David Adams at 3/13/2007 1:54:09 PM
Hi,
I have an application that recently has received a few complaints because of
slow repainting/refreshing of certain forms. For example, I am throwing up
a messagebox that prompts the user to perform an operation, if the user
clicks yes, I perform the operation which is rather resource i... more >>
sharing a dateset among forms
Posted by Flavio Raimondi at 3/13/2007 11:53:30 AM
Hi all,
I render different views of the same data using different forms (coincise
view, detailed view and so forth...), and I would like to avoid to fill in
the table adapters going back and forth among views.
The forms are built using standard components (dataset, datagrid,
bindingSource... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
TreeView AfterSelect not fired
Posted by Marius Horak at 3/13/2007 7:59:26 AM
VS2003, C#.
I have a user control that has a TreeView.
Depending on user role (rights) this TreeView can be either visible or
invisible.
After 3 hours of trying to find out why this control does not work as
intended I discovered that when the TreeView is invisible changing
SelectedNode does n... more >>
passing values
Posted by mydotnetdoubt NO[at]SPAM gmail.com at 3/13/2007 2:19:48 AM
Hai dear all,.
How can i capture child form close event in parent form in c# 2005,
I'll make it some more clear , I have one master form with 40 text
boxes, and one 'search' button , in the search button im calling child
form
(Form fReg = new frmRegistration();
fReg.Show();) ,the... more >>
passing values between forms
Posted by mydotnetdoubt NO[at]SPAM gmail.com at 3/13/2007 2:19:06 AM
Hai dear all,.
How can i capture child form close event in parent form in c# 2005,
I'll make it some more clear , I have one master form with 40 text
boxes, and one 'search' button , in the search button im calling child
form
(Form fReg = new frmRegistration();
fReg.Show();) ,the... more >>
TreeView Node Color
Posted by ahmed.maryam NO[at]SPAM gmail.com at 3/12/2007 5:41:42 PM
Hi there,
I'm a newbie to C#. I was wondering how I can change the individual
color of nodes in my TreeView control which I'm using to read in an
XML file. Any ideas?
Thanks!
~ Maryam
... more >>
Groups in ListViewGroup
Posted by Nei at 3/12/2007 11:58:43 AM
Hello!
I'm trying to introduce an action in the group line in ListViewGroup.
It´s possible?
For Exemple
+ Men
Sam - 12/08/2000
Joseph - 15/08/1950
Stalin - 12/04/2004
- Woman
Sara - 15/08/2000
The idea is: When I click in group (men/woman) call a determinated function.
Any Ide... more >>
tabbing not cyclic - focus disappearing completely !
Posted by Oli at 3/12/2007 10:12:44 AM
I have quite a complex form - build part in the designer, and part
dynamically.
The tabbing basically works - but when I tab off the last control in
my work area panel the focus disappears. no matter how many times I
subsequently press tab - it never returns......
This is tough to debug - h... more >>
basic deployment & version numbering
Posted by hawbsys at 3/12/2007 8:31:30 AM
Can anyone help with two basic questions about deployment?
First question. We deployed a WinForms application recently and it was
successful. We opted for the simple "publish" method via a CD. This
created an installer which placed the application in the folder C:
\Documents and Settings\[user... more >>
simple deployment & version numbers
Posted by hawbsys at 3/12/2007 8:29:58 AM
Can anyone help with two basic questions about deployment?
First question. We deployed a WinForms application recently and it was
successful. We opted for the simple "publish" method via a CD. This
created an installer which placed the application in the folder C:
\Documents and Settings\[user... more >>
Vista 'Run as admin' changes behavior forever. Why?
Posted by osumatt at 3/12/2007 8:20:00 AM
I have a .NET 1.1 Windows Forms app that is called through the following chain:
- Start the program, which is a VB6 app
- VB6 app calls CreateObject on .NET dll
- VB6 calls .ShowDialog on the instantied object
- OnLoad is overridden in the Windows Forms app - it spawns a thread that
does wor... more >>
ToolStripMenuItem bug ?
Posted by ptheate NO[at]SPAM gmail.com at 3/12/2007 6:37:28 AM
Hi,
I have a ToolStripMenuItem ('A') with a sub menu ('B') (also a
ToolStripMenuItem), their parent is a ToolStripDropDownButton.
Both ToolStripMenuItem use the check mark (property Checked).
After the sub menu 'B' check mark is clicked, the menu disappear.
But when the menu 'A' check mark i... more >>
Image transfer to another machine
Posted by Mahesh Deo at 3/12/2007 5:49:10 AM
-- I am programatically capturing image and then transfering it to another
machine.
but the size of image depends on the screen resolution. I want to keep the
size of image very small and still it should also maintaine it's clairity so
that it can be transfered faster.
Can anyone tell me... more >>
Image transfer to another machin
Posted by Mahesh Deo at 3/12/2007 5:43:18 AM
I am programatically capturing image and then transfering it to another
machine.
but the size of image depends on the screen resolution. I want to keep the
size of image very small and still it should also maintaine it's clairity so
that it can be transfered faster.
Can anyone tell me the ... more >>
Data communication between winforms of two different applications
Posted by vjsharma at 3/12/2007 3:03:33 AM
If i want to excahnge data between my application and WM 5.0 Native SMS
application.How can i do that? i.e sending data from my application to the
Windows mobile Native application such as SMS or phonebook .... and receive
some data from Native SMS application. I have taken SMS application jus... more >>
Passing values from child to parent form
Posted by naufelbasheer NO[at]SPAM gmail.com at 3/12/2007 2:09:08 AM
Dear All,
I have struck up with some probs, I m using c#.net (VS2005)
I have a form for employee details which is having 65 fields, from
there i'm calling a child window with a data grid which will display
only emp_name , id designation , my requirement is I need to fill
all fields in the p... more >>
ListBox SelectedValueChanged Event Anomaly!!!!
Posted by giddy at 3/11/2007 11:09:39 PM
Hi ,
someone brought to my notice sometime ago that the
SelectedValueChanged and SelectedIndexChanged event acts slightly
wierd.
Firstly ,the events fire even if you click/select the currently
selected item.
And secondly ,they fire when one clicks the white space!!(which is
horribly pec... more >>
VS2005 Icons for use on menu and buttons...
Posted by Charlie NO[at]SPAM CBFC at 3/10/2007 1:52:53 PM
Hi:
Where do you find all those cool icons used in Visual Studio? I want to use
them for my menus and buttons.
Thanks,
Charlie
... more >>
MVC question
Posted by Bill Gower at 3/9/2007 11:27:54 PM
I have a form that has 2 listboxes on it. The user can click a button and
send an item from one listbox to the other one.
When the user clicks the button, who should handle the move? Should the
view move the item into the other listbox or should an event be fired and
have the controller add... more >>
Focus Loss
Posted by Arlyn_L at 3/9/2007 12:18:22 PM
I am using VS 2005 to develope a WindowsForms application. In the application
I have a TextBox control which I am trying to use as data input to an
incremental search and positioning of the current row in a DataGridView,
which is sourced through a DataSource to a DataSet containing a DataTable... more >>
How do you bypass cells in a "DataGridView"
Posted by Michael Torville at 3/9/2007 12:13:13 PM
Does anyone know if it's possible to prevent a user from entering a
particular "DataGridView" cell. I simply want to redirect them into the next
available cell but nothing I try works. Setting the "CurrentCell" property
for instance causes no end of problems. If I call it in a "CellEnter"
ha... more >>
window painting slow
Posted by Jeff at 3/9/2007 4:31:15 AM
I'm writing an application that will need to run on about 150 existing pc's.
The problem is that the window loads slowly. You can see the controls
painting.
I just have one background image and then some buttons, labels etc.
I'm pretty sure that the problem is the slow graphics card that th... more >>
ApplicationSettingsBase and Usercontrols
Posted by Seth Gecko at 3/9/2007 3:30:35 AM
Hi
I have a custom usercontrol (a sort of grid) in which I want to store
the width of all columns. I only want to do this during runtime, when
the user has adjusted them to whatever width he/she prefers.
Elsewhere in my application I use a custom class, which inherits
ApplicationSettingsBase ... more >>
Is MDI a sensible choice for this app? If not, what is?
Posted by robintw at 3/9/2007 3:03:30 AM
Hi all,
I am trying to develop an application which is replacing an obselete
application running in DOS on old hardware. We are replacing it with a system
running Windows XP, and my new software which will be written in Visual C++
..Net.
The old system has a number of screens, each of wh... more >>
SplitContainer Panel2 Height = 0 Bug!
Posted by Richard Coltrane at 3/9/2007 12:00:00 AM
Hi there,
Setting the splitcontainer panel2 minsize to 0 appears to reverse the
drawing operations of the controls contained in both panel1 and panel2. i.e
Everything goes all Japan kneesy!!
Frankly this control sux. For the amount of time ive wasted so far I could
have built my own........ more >>
SplitterPanel Height - Docs completely wrong!!
Posted by Richard Coltrane at 3/9/2007 12:00:00 AM
Hi there,
If the splitter panelheight cannot be set then why at this Url
http://msdn2.microsoft.com/en-us/library/system.windows.forms.splitterpanel.height(VS.80).aspx
does Microsoft provide example code on how to set the splitter panel
height.... and why is the property caption written up... more >>
Retaining column widths in the datagridview (.net 2.0) :-(
Posted by Simon Harvey at 3/8/2007 4:57:13 PM
Hi all,
Can anyone tell me if there is an easy way to retain per-user column
widths for the datagridview in a windows forms application.
I know I could do it with a lot of database programming and what not,
but I was hoping there would be a much easier solution. It seems like
such an obv... more >>
How to ensure timer ticks
Posted by Richard Coltrane at 3/8/2007 3:04:00 PM
Hi there,
I have a custom progress bar control that is supposed to draw itself via
OnPaint whenever an internal timer ticks. Its for situations in which the
amount of time remaining cant be determined so it "progresses" in a loop.
When theres other more pressing work the internal timer tha... more >>
Validating controls when selecting a menu item
Posted by Bob Costello at 3/8/2007 12:57:25 PM
I have a form with a number of textbox controls, all of whose values need to
be validated. The form also has a menu with a menu item named Save, which
persists the form data. If I type a value into one field and then select the
Save menu item without leaving the TextBox, the TextBox never gets... more >>
help with C# and VB.NET differences ...
Posted by Philip at 3/8/2007 12:08:05 PM
Hi,
I am trying to follow some MSDN articles on multi-threading as I need to
tryu and do it, but I am working in VB.NET and the articleas are in c#.
The articles are here: http://msdn2.microsoft.com/en-us/library/ms951089.aspx
In c# I have this code that works
delegate void ShowProgres... more >>
VB.NET 1.1 - problems using delegate
Posted by Philip at 3/8/2007 11:04:30 AM
Hi,
I have defined a delegate like this:
Delegate Sub ShowProgressDelegate(ByVal dblPctDone As Integer, ByVal iMax As
Integer, ByRef bCancel As Boolean)
Private Sub cmdExecute_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles cmdExecute.Click
Dim dbl... more >>
PrintPreview
Posted by cosmin111 at 3/8/2007 11:03:59 AM
I 'm writing an application with a time consuming rendering alghoritm,so
generating in one shot all printpreview pages is very frustrating.
There is a way to draw the page only on demand, when it became the current
page in PrintPreviewControl?
I know the number of pages at begining of prin... more >>
How to set webservices ttlInSeconds through vb.net code
Posted by Tim at 3/8/2007 10:44:49 AM
I need to reset ttlInseconds in my project.
I don't have big ideas how to do it. Only thing I changed it is in
app.config, but it doesn't seems to working.
App.Config
<microsoft.web.services3>
<tokenIssuer>
<ttlInSeconds value="3600" />
</tokenIssuer>
</microsoft.web.serv... more >>
Split Control Scroll Probelm
Posted by Manish Bafna at 3/8/2007 5:10:08 AM
Hi,
I have one split control in which there are two panel(that is it is split
into two)In left panel there is treeview control and in right panel there is
datagridview control.Now there can be thousands of records in both panel.What
i want is that if i drag or move scrollbar of right panel th... more >>
how to control MPEG in vb.net app?
Posted by Joe at 3/8/2007 1:53:05 AM
how to control MPEG in vb.net app?
... more >>
|