all groups > dotnet windows forms > march 2004 > threads for wednesday march 17
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
ComponentDesigner
Posted by Mark Olbert at 3/17/2004 8:42:24 PM
I've written a component whose design surface I only want to accept SqlDataAdapters and DataSets. In
other words, if the user attempts to drop any other component on the surface I want to block it (or
remove it).
I've tried a number of different approaches to implementing this kind of behavior,... more >>
size of windows form
Posted by Franz at 3/17/2004 8:05:38 PM
does the size of the windows form include the width of the form border?
thanks.
--
My C++ and C# (Traditional Chinese) Site :
http://www.franzwong.com/Programming
... more >>
Retrieve List of DataSets in Project
Posted by Mark Olbert at 3/17/2004 5:25:07 PM
Is there an example of how to retrieve a list of DataSet classes that are defined in a project? The
Create DataSet context menu command on the SqlDataAdapter component does this. I'd like to be able
to provide similar functionality in a component I'm writing.
Thanx in advance!
- Mark... more >>
Crystal Report Viewer - capture PrintReport, or ExportReport Cancel - How?
Posted by James Radke at 3/17/2004 5:22:04 PM
Hello,
I have a button on my Form that also includes the Crystal Report Viewer
component. If I invoke the ExportReport, or PrintReport methods of the
ReportVieiwer when the button is clicked, they both display dialog boxes -
however, I cannot seem to get the result back from these dialog boxe... more >>
security issue??
Posted by Charlie at 3/17/2004 5:14:08 PM
After creating the .exe for a vb.net app that accesses a SQL Server
database, I needed to port it over to several machines. So here are the
steps I followed in trying to get this app to run on the machines.
1] Install .NET Framework 1.0 on the machine
2] Install MDAC 2.7 Service Pack 1 Refresh
... more >>
Is there a way to open a HTML file in C#?
Posted by Hechmi at 3/17/2004 3:58:50 PM
Is there a way to open a HTML file in C#? I've just got a HTML version of a
manual, and I'd like for the user to be able to open it up when they click a
button within the program, but I can't seem to find out what the code it is
to do this...
any help please
... more >>
How to hide specific row in ListBox control?
Posted by Evgeny Zoldin at 3/17/2004 3:42:09 PM
Hi ALL.
How to hide (not remove) specified row in ListBox control?
Thanks
Evgeny
... more >>
Persisting Complex Properties
Posted by Mark Olbert at 3/17/2004 1:47:12 PM
I've written a component that has a few complex properties (i.e., properties with public
subproperties) that need to be persisted.
How do I do this?
I can get "simple" properties (e.g., string) to persist by attributing them with
DesignerSerializationVisiblity(DesignerSerializationVisibility... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Best method of localization for many languages
Posted by Pete Davis at 3/17/2004 1:11:15 PM
I've done some localized apps, but they were all dual language, English and
Spanish.
I'm now working on an open source app which I hope, some day, will be
localized into a number of languages.
Localizing the winforms is where I see the biggest problem. Using the VS.NET
IDE's support for loc... more >>
Show an Array in DataGrid
Posted by A.M at 3/17/2004 1:10:49 PM
Hi,
Is there any way to show and array inside a DataGrid ?
Tried something like this, but it didn't work:
string s;
s="a,b,c,d,e,f,g";
string[] a;
string token = ":";
a= s.Split (token.ToCharArray() );
DataGrid1..DataSource=a; // Why it just just shows 118 ?
Thanks,
Ali
... more >>
Crystal Reports Toolbar - Print Button Help! URGENT
Posted by James Radke at 3/17/2004 11:32:43 AM
Hello,
I have a crystal report viewer in a vb.net (Visual Studio.NET 2003) windows
application. The report, and all the toolbar options (print, export) are
all working fine.
The problem I have is that when we print a report, we need to update the
LastPrinted date in a database. Can I som... more >>
Mulithreading and the UI Thread
Posted by Kenny Carruthers at 3/17/2004 11:09:46 AM
Hoping someone can shed some light on the proper way to
setup multithreading for the following:
I've got a basic 'C' based dll with a reader thread in it
that is reading from a USB port. This reader thread is
calling a through, via a delegate, to a method in my C#
app. In turn, this C# me... more >>
Entering BLOB into DB
Posted by Yama at 3/17/2004 10:54:13 AM
My Dear Newsgroup Fellow Members,
Here is a little tip & trick for manipulating a BLOB field from the database
I figured out.
In my ASPX web page I have four fields. A dropdown with a list of all the
letters, a checkbox for activating a letter or setting it to innactive, a
text box for the ... more >>
dragenter event propagate up
Posted by Lance Johnson at 3/17/2004 10:08:15 AM
I have a textbox on my form and have its allowdrop property set to true. I
want to allow certain drag/drop types to be allowed. However, if it isn't
supported here, I'd like for this event to flow up. I've overridden the
OnDragEnter in my form, but the event is never happening. If I allowdrop... more >>
Possible to push a mainmenu under a panel?
Posted by DesignLink NO[at]SPAM earthlink.net at 3/17/2004 9:33:44 AM
Is it possible to push a MainMenu under a panel control that's docked
at the top of the window? If not, is it possible OwnerDraw MenuItems
into other controls. Essentially, I'm trying to move the MainMenu
functionality downward.
The effect I'm trying to acheive is sort of like this:
----... more >>
Keep selection in a datagrid in sync after a sort
Posted by Iain at 3/17/2004 8:41:36 AM
I want to select whole rows in my Datagrid. I do so using code from
SyncFusions WinForms FAQ which overrides the ColumnStyle Edit command and
deselects and selects according to a private variable as in the code sample
below.
The problem is if I click on a header to sort the DataGrid the resul... more >>
Distribution of custom controls
Posted by Ulfar Bjornsson at 3/17/2004 6:01:07 AM
H
I'm trying to "link" my library of custom controls to a program I am writing. I would like to be able to include the controls on build time and not distribute them in a seperate .dll. I have been reading up on Private and Global Assemblies and feel that I am on the right track but not quite. I ca... more >>
Delegates problem
Posted by Sachi at 3/17/2004 5:46:11 AM
My query was realated to delegates
My purpose for using delegate is to invoke dynamically a function from a particular class,
It is like thi
Class A
Transaction main clas
Class
Controller class
WINDOWS UI .
final UI
Now I got a kind of requireme... more >>
DataGrid Columns Hide?
Posted by Bill S at 3/17/2004 4:21:07 AM
I have created my dataset with from my Tables, I have to have the KeyID column in the dataset to use the UPDATE dataset. But I don't want to show the KeyID column in the DataGrid. Is this possilbe? Or if I can not do this, can I make just that column read only. If I have to show the column, I do... more >>
|