all groups > dotnet windows forms > january 2007 > threads for january 22 - 28, 2007
Filter by week: 1 2 3 4 5
RunWorkerCompleted call from worker thread in VB CCW
Posted by Dicky at 1/28/2007 10:20:00 PM
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
notice that backgroundWorker_RunWorkerCompleted() method will... more >>
Steps Involved in transforming the code to MSIL
Posted by Ravi at 1/28/2007 9:56:01 PM
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... more >>
Form Icon
Posted by Craig at 1/28/2007 6:07:00 PM
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?
I tried setting the Icon property to Null in code but this didn't have any
ef... more >>
Binding to combo and checkbox not synching
Posted by Flomo Togba Kwele at 1/28/2007 4:19:04 PM
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 valu... more >>
Random numbers weird behavior
Posted by rlueneberg NO[at]SPAM gmail.com at 1/28/2007 4:22:55 AM
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,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,
6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,... more >>
simple path problem
Posted by Patrick F at 1/28/2007 4:11:01 AM
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\
I tried something like:
System.IO.Path.GetFullPath("\\")
but... more >>
Starting from ....
Posted by Gabriel at 1/27/2007 5:20:20 PM
Hello,
A very small question, how set the starting form in a Winforms projects (VS
2005, C#2.0).
I check in the project properties but I didn't see a way to select a form to
start.
Regards,
... more >>
windows xp proffesional
Posted by MEngstudent_07 at 1/27/2007 5:12:02 PM
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
sm bus controller ) loaded Nvidia drivers im lost for what to d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
simple combobox question
Posted by Patrick F at 1/27/2007 6:15:01 AM
Hello, just a simple comboboxquestion. i am using Visual Studio 2005 and .NET
2.0.
I have a combobox on the form and i want that combobox to be locked, so the
user can select a value, but the user cannot change the values inside of the
combobox.
Like a normal dropdown list on a internet webp... more >>
DirectoryInfo - How To Get Name in Proper Case?
Posted by Jeff Gaines at 1/27/2007 5:20:35 AM
I am writing an app where I want to save a directory path, provided it
exists.
If a user enters a path 'c:\temp' I can set up a new DirectoryInfo and
check it exists. Unfortunately the data inside the DirectoryInfo returns
the path as 'c:\temp' whereas it is actually 'C:\Temp'.
Case insens... more >>
Non-proportional (non Rectangular) resizing
Posted by GraGra33 at 1/26/2007 9:47:12 PM
Hi all...
I have developed an application for managing a very large resource of
artist's paintings and posts them to a web site. The application works well.
I'm trying to reduce the complexity of having to work with photoshop and
integrate one feature into the application > Distortion Transfor... more >>
Creating a web form to insert records into an SQL Server 2000 database
Posted by asp.net Newbie at 1/26/2007 1:48:32 PM
Hi all, I am completely new to ASP.Net and have a question regarding
ASP.Net 2.0. I want to create a custom web page that's only function
is to insert new records into a database. I want to have serveral
textboxes for user input and then a button. On button click I want the
data from the te... more >>
Studio 2005 and the ".Designer" file...?!? Code practice in properties.
Posted by Seth Gecko at 1/26/2007 9:18:34 AM
Hi
I have a created a custom usercontrol which inherites an Excel like
usercontrol. In this usercontrol I have a custom property called
SpreadTemplate, which is an enum with (at the moment) two members
called None and Pipeline.
When I set this property at design time it sets up the activesh... more >>
Using files in a ClickOnce Deployment
Posted by robin9876 NO[at]SPAM hotmail.com at 1/26/2007 8:48:31 AM
In a Windows application in VS 2005 VB.Net I have a XML file that needs
to be used in the application on the client pc. How do I reference this
file in code as it is not copied to the same location as the
application file?
... more >>
WinForm app write to command line
Posted by kh at 1/26/2007 1:48:00 AM
If my winform app is started with command line arguments i need to be able to
execute some code and then write back to the command line from where the app
was started. is this possible?
thanks
kh... more >>
DataGridView
Posted by Victor Rodriguez at 1/26/2007 12:05:16 AM
What's the best way to change the current record selected on a DatagridView
control using code in VB.NET 2005/C#.NET 2005?
Thanks,
Victor
... more >>
How to make a DataGridViewComboBox column more reactive?
Posted by Massimo at 1/25/2007 9:09:16 PM
I'm developing an application where there's a DataGridView and one of its
columns is of DataGridViewComboBox type. The combo box behaves as it should,
but I find it's a little too unfriendly to users, because of its very
lazy-looking behaviour.
I, as an user of the application, would like t... more >>
Form.Dispose method
Posted by Max2006 at 1/25/2007 5:21:36 PM
Hi,
Considering the fact that Form.Dispose method is implemented in the Designer
partial class, what would be the best way to have my own Dispose logic?
I assume that I should not modify the designer code and I am not sure how to
implement a Dispose method for my form.
Thank... more >>
ComboBox updating data source via look-up table
Posted by Dave S. at 1/25/2007 2:32:04 PM
Hi - first post and not quite sure which board to post to as it involves
windows forms and data access .... sorry if wrong one chosen!
I am developing a database project for my small vehicle trading business,
and thus have a cars table and (among others) a colours table. I use a combo
box ... more >>
constraint programming
Posted by Pieter at 1/25/2007 1:06:52 PM
Hi,
How can I include contraints in VB.NET (Windows Forms, 2.0), using Objects
with Propertys?
I need several property's be recalculated when others change, but not in a
straightforward way: When A is changed, B has to change, but when B changes,
A has to change (or C or ...).
Untill no... more >>
Design Question: onChange Event populating a second list box
Posted by Paul Hadfield at 1/25/2007 9:43:20 AM
I'm looking for thoughts on the "correct" design for this problem (DotNet
2.0 - in winforms). I've got two combo boxes (combo1 and combo2), both are
populating via database calls (using a separate DB handler class). "combo1"
contains a list of countries and is fairly static, it can be added... more >>
Form Transparent areas, regions and Windows 2000
Posted by Antonio Bruno at 1/25/2007 8:46:03 AM
Hi,
I'm implementing irregular shaped Windows Forms using the Region property in
..Net 2.0 (I'm not using TransparentKey to account for color depths > 16bpp)
I build the region mask adding 1 pixel high rectangles until all the area I
want to be transparent is covered (this tecnique is pre... more >>
Data Replication from Windows Form to SQL Server
Posted by robin9876 NO[at]SPAM hotmail.com at 1/25/2007 8:17:42 AM
In VS.Net 2005 Is it possible to replicate data between a windows form
and a SQL 2005 database?
... more >>
AJAX technology within WebBrowser control?
Posted by JezB at 1/25/2007 8:10:49 AM
Does anyone know if AJAX technology can be employed within a WebBrowser
control running in a rich client application ?
If so, what's the best way to attach AJAX libraries and tap into their
functions? And does this add any issues to deployment of the application ?
... more >>
DateTimePicker Fast Data entry problem
Posted by WoodenSWord at 1/25/2007 7:44:03 AM
Hello,
When i enter a date in datetimepicker (vb 2005) i have to press to key "/"
or the key right to get from day to month and then to year. That can be a
major drawback for fast data entry. I want to type just the day and the month
and the year.no other characters
Is there anyway to ov... more >>
Elegant lookup?
Posted by Jakob Lithner at 1/25/2007 6:19:01 AM
I have a commaseparated string of integers (from My.Settings).
I want to check if a specified number exists in the array.
My idea was to first convert to a string array and then do some kind of
search.
I can of course add them all manually to a hashtable, but is there some kind
of direct conv... more >>
Passing Value back from a form
Posted by robin9876 NO[at]SPAM hotmail.com at 1/25/2007 5:52:24 AM
In a windows form application created in VS 2005 VB.Net I have one form
which calls another form and supplies a value. In this additional form
I need to return a value back. Below is the code to call the other
form.
Dim x As New myForm2
x.aValue = Me.TextBox1.Text
x.Show()
How can I retur... more >>
Refresh databinding?
Posted by Jakob Lithner at 1/25/2007 4:54:01 AM
I have a form where I want to populate a grid wih a dataset table.
To get the convenient designtime help I have dragged a typed dataset onto
the form, thus receiving a dataset control and a bindingsource control on the
fly.
As the dataset is quite heavy I want to reuse an existing dataset ... more >>
Clearing bitmaps
Posted by Jon Harrop at 1/24/2007 11:17:10 PM
How do I clear a bitmap to a single color, or draw a rectangle into a bitmap
to clear it? Do I have to iterate over the pixels myself?
--
Dr Jon D Harrop, Flying Frog Consultancy
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists/index.html?usenet... more >>
Composite UI Application Block - Thread Safe
Posted by lwhitb1 at 1/24/2007 9:35:59 PM
Does anyone have any input on setting up my CAB application so that the
application is thread safe, and cached appropiately? I read that this
can be managed through Services, and dynamic injection. On the
contrary, I was told that this can be handled using Enterprise Library
cached application b... more >>
Problem when Form inherits from another Form
Posted by twahl at 1/24/2007 4:08:46 PM
I am using VS 2005/.Net 2.0. I have a base form that is contained in a
library project. When I try to inherit from this base form in another
project the designer get confused and displays the following error. Can I
not inhierit from a base form?
Thanks for your help!
Terry
Unable to lo... more >>
FlowLayoutPanel, why can't I remove the space between my controls?
Posted by ThunderMusic at 1/24/2007 3:58:50 PM
Hi,
I want to make a toolbox form (like the one in Adobe Photoshop), so I would
like to put many buttons one beside the others (beside, over and under, just
like the toolbox in photoshop). I thought FlowLayoutPanel would be the thing
to go, but I can't remove the space between my buttons even... more >>
How do convince a DataGridView it's been edited?
Posted by DanThMan at 1/24/2007 1:12:18 PM
The situation:
* I have a ButtonColumn in a DataGridView.
* When the user preses one of the buttons, a dialog appears.
* Based on what the user selects in the dialog, data is entered
programmatically into the the underlying cell (i.e., I'm setting Value
property of the cell based on user inpu... more >>
Stupid VS2005/ .NET 2.0 splash screen restrictions. Is there a solution.
Posted by Kevin at 1/24/2007 5:28:46 AM
I have just moved from 1.1, where I had my splash screen to a tee, to
2.0 where I find it impossible to get a satisfactory solution and its
driving me mad!
This is how a splash screen SHOULD work (and did in 1.1) when you load
a program (MICROSOFT, please take note!!!):
Splash screen appears
... more >>
The amazing, vanishing programmatically-entered data in my DataGridView
Posted by Daniel Manes at 1/23/2007 7:03:47 PM
I'm trying to automatically enter some data into a row when the user
first enters the row. So I created a RowEnter event handler that
contains several statements like the following:
_dataGrid.Rows(rowIndex).Cells(columnName).Value = newData
When I do this, data actually shows up in the row ... more >>
toolbar button with colour stripe
Posted by supremebeing NO[at]SPAM zoom.co.uk at 1/23/2007 3:50:23 PM
Hi
Ok this is probably really easy and i am just being really stupid, but
how do you create a toolbar button similar to the highlight/fill or
Font button as seen in microsoft products where the colour stripe
changes depending on the colour selected. I need to add a colour
button but i only w... more >>
Design Question regarding Events
Posted by Paul Hadfield at 1/23/2007 3:23:18 PM
I'm looking for input / ideas on the following design problem:
As an example for the business layer, there is a class "DataObjectHandler"
with one method "Get()" that returns an initialised list of the class
"DataObject". It also contains a method "Add(DataObject)" This adds the
passed Da... more >>
How to cancel this event
Posted by Rob Peterson at 1/23/2007 2:03:03 PM
Hi there,
Does anyone know how to actually "abort" the event (component change)
described in the following link. Apparently it's doable as mentined in the
"Remarks" section but how. Alternatively, it would be better to prevent this
event from being raised in the first place if anyone knows ... more >>
VB.NET StartupNextInstance and ClickOnce (.NET 2.0)
Posted by Gene McCrory at 1/23/2007 1:36:00 PM
VB.NET StartupNextInstance and ClickOnce (.NET 2.0)
VB.NET StartupNextInstance and ClickOnce (.NET 2.0):
A call to ApplicationDeployment.CurrentDeployment.ActivationUri.Query
returns same paramaters in event handler MyApplication_StartupNextInstance as
it returns in MyApplication_Startup eve... more >>
Windows Forms Binding to HTMLElement Events
Posted by AMDRIT at 1/23/2007 12:35:59 PM
Hello Everyone,
We have a production WinForms Application that uses a WebBrowser to display
readonly data. In the html document we have SPAN elements that facilitate
menu selections. We also have a TABLE object that is bound to an XML Data
Island, each row of the table has an option to "V... more >>
Record Filtering
Posted by BD at 1/23/2007 9:46:05 AM
MS Visual Studio 2005 Pro, C# development: I have a child form with
datagrid view showing customers/locations which is bound to text boxes,
also have a second datagrid view showing workorders related to
locations. Users want to double-click a row in the second datagrid
view to open up child fo... more >>
Datagridview bound to a dataview
Posted by xanthviper NO[at]SPAM gmail.com at 1/23/2007 7:33:12 AM
Pardon my ignorance here for I really can't find a direct answer to my
question concerning the DataGridView.
I have a Winform with a DataGridView on it. Its datasource is a
DataView. Life works great with the grid. I am able to sort, move
columns, and edit cells by clicking on the cell and mak... more >>
Visual Studio 2005 IDE (C# file )problem
Posted by Yogesh at 1/23/2007 3:52:05 AM
I got IDE problem. Some key is pressed by me and It uses dot(.) for
every white space
Can anybody know how to reverse this? Any short cut key or setting
I tried to find in option-text editor but cannt get any thing..
code look like this
e.g.
.........try
......... {
...................... more >>
Client Location of Published Application
Posted by robin9876 NO[at]SPAM hotmail.com at 1/23/2007 3:33:07 AM
When using the Publish Application option in a Windows form application
in VS.Net 2005 to a file share, the client successfully installed it on
their pc and can run the application. However the application.exe file
can not be found on the pc and the start menu shortcut does contain a
string that... more >>
Looking for a managed class to work with .zip and .cab files
Posted by Wayne Goodyear at 1/22/2007 11:57:46 PM
Sorry for the crosspost. I'm looking for a managed class library that allows
decompressing .zip and/or .cab files. Preferably free. If it supports the
..NET Compact Framework that will be even better. thanks!
... more >>
Topmost visible window of a screen point
Posted by pigeonrandle at 1/22/2007 11:48:01 AM
Hi,
I am building an application that is similar to spy++. I want the user
to be able to click on a 'window' (textbox/combo/etc) and have it
highlighted.
BUT... the window they click on may share common coordinates with
another window, so how do i find the topmost visible window, given a
top... more >>
|