all groups > dotnet windows forms > february 2004 > threads for tuesday february 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
When to use BMP vs IMAGE?
Posted by Ray Martin at 2/17/2004 11:22:25 PM
What the difference and advantages of using:
dim MyImage as Image = Image.Fromfile("sample.jpg")
vs
dim MyImage as new bitmap("sample.jpg")
Both seem to work fine.
... more >>
office 2003 like floating toolbar
Posted by Action at 2/17/2004 10:57:49 PM
where can i find one such control?
thx
... more >>
(C#)OpenFileDialog Filter not working for me
Posted by gs_sarge NO[at]SPAM yahoo.com at 2/17/2004 10:08:43 PM
Hello:
I'm trying to get my OpenFileDialog box to filter out all files except
jpg files, but am unable to do so.
When I run the dialog box (Called from another custom dialog box) and
click on the 'Files of Type' field, it won't drop down.
I've even tried using the string given in the MSDN... more >>
Form Location
Posted by FatboyCanteen at 2/17/2004 10:01:06 PM
I want to set the location of the form at right hand corner
but different screen resolution will
have different points what I need to set...
Any Idea
Thank You... more >>
RE: Passing a Parameter to a Form when Opening
Posted by Paul Fairless at 2/17/2004 9:31:30 PM
I have a form called frmCustSearch to search for customers against an SQL
Server database.
The form contains a simple textbox into which the Customers surname is
typed, and a datagrid then becomes visible on the form containing the
CustID, Surname, Forename and address of all people with that ... more >>
HOW TO: Deploy shared Assy to the GAC.
Posted by Jeff Ptak at 2/17/2004 8:01:43 PM
Can anyone explain to me what I need to do to deploy a strong-named assembly
into the GAC? I have an assembly that I can deploy on its own into the GAC
using a Setup project. This works fine for a developer's machine.
However, when a developer makes a reference to the shared assy, it is copie... more >>
Drag and drop between applications
Posted by Julian Hershel at 2/17/2004 7:10:00 PM
One of my forms has a multiline textbox to allow my users type some
comments. I can successfuly drag and drop text between the controls of my
form but I need to give the application the ability to drag and drop text
between the application and MS Word or Wordpad. I could not find any example
or ... more >>
OnKeyDown
Posted by Jaga at 2/17/2004 6:56:08 PM
If I trap the event OnKeyDown in a Control, I become a
System.Windows.Forms.KeyEventArgs.
How can I determine whether the key in the KeyEventArgs a printable char is?
Thanks in advance
Jaga
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Make Listview Column width equal listbox item length
Posted by Gerry Viator at 2/17/2004 6:23:05 PM
Hi all,
I would like to make a listview column width to fit the width of the largest
item length from a listbox?
Do I have to convert to pixcels? How?
Dim o As Object
Dim ItemSz As Integer
For Each o In ListEntries.Items
If o.length > ItemSz... more >>
Very slow updating Listview.Items(x).SubItems(y).Text
Posted by Nate at 2/17/2004 3:26:08 PM
Hello
I have a listview control which contains a number of rows of data, probably just less than a hundred. There are approx. 10 columns, no sorting, control set to show data in Detail mode
I want to update just 3 columns, but for all items, as quickly as possible..
The problem is, that when I... more >>
Unable to shut down machine when a .net application is running
Posted by kuldeep at 2/17/2004 1:00:48 PM
Hi all,
I have a application developed in C# .net. The problem I face is I am unable
to shutdown my machine
when the exe is running. Windows is unable to close this exe an shut down.
Can anyone help.
Regards,
Kuldeep Pawar
Programmer,
Maximize Learning, Pune.
www.maximizelearning.com
... more >>
Total columns in a Datagrid
Posted by Fred Pizarro at 2/17/2004 1:00:15 PM
Hi, somebody know hoy can I add a row with total over one on more columns in
a Datagrid ?
Thanks ...
... more >>
Memory Usage by DataTables
Posted by Brandon Owensby at 2/17/2004 12:30:46 PM
I would like to know how much of the memory my application is taking up is
being taken up by a particular table. Is there a way I can see how much
memory a DataTable is using?
Thanks in advance for any help provided,
Brandon
... more >>
Problem accessing crystal reports in WinForms app
Posted by Jon Robinson at 2/17/2004 11:26:06 AM
I have a WinForms app that is being accessed by users across a network share. All the users have the 1.1 framework installed locally. Whenever a user tries to bring up one of the reports in the app, an error occurs saying the crystal engine cannot be found. Does the framework not include this? W... more >>
Dynamically creating a DataGridTableStyle
Posted by Jeff Molby at 2/17/2004 11:23:06 AM
This is frustrating me. I have to create a new table at runtime, and
I'm able to, but it doesn't appear. The datagrid always shows the default
tablestyle, no matter what I do. Here's my code.
<Snip>
Dim col As Windows.Forms.DataGridColumnStyle
Dim ts As New Windows.Forms.DataGridTableStyle
... more >>
Crystal Reports NULL Parameter
Posted by Iain at 2/17/2004 11:00:20 AM
Sorry if this is the wrong forum, but I can't find any Crystal Reports
specific ones.
I have a report based on a stored procedure. I pass a NULL value into the
stored procedure to select a default (actually the parameters are start and
end dates, NULL means forever!).
If I try and pass thi... more >>
Inheriting from a UserControl that you've created
Posted by Crispin Horsfield at 2/17/2004 10:16:12 AM
If you design a UserControl (ie your class has line 2 as "Inherits System.Windows.Forms.UserControl"), is it then possible to inherit from this homemade user control to make more controls? If so how?
Thanks in advance
Crispin... more >>
Reboot...
Posted by Nuno at 2/17/2004 8:56:10 AM
I put some sample of code that was given here in the newsgroup
Dim ms As System.Management.ManagementScope = New System.Management.ManagementScope("\\LocalHost\root\cimv2"
Dim mo As System.Management.ManagementObjec
ms.Options.EnablePrivileges = Tru
' Verwende... more >>
What Control is Microsoft Using Here?
Posted by Anthony Bouch at 2/17/2004 8:52:52 AM
Can anyone tell me what type of control Microsoft is using on the project
properties pages in Visual Studio .Net? To see it right click on a project
and select Properties. The control I'm interested in is the one in the
middle displaying the Application, Project, and Wrapper Assembly data.
It ... more >>
VB.NET service stuck in "starting" mode?
Posted by pillbug22 at 2/17/2004 5:46:08 AM
Hi everyone
I am trying to write a fairly simple VB.NET service (use a timer to poll a network location for a file, if file exists, send message)
The service correctly starts, stops, runs the timer, etc. I can tell this from a custom event log I created, and it adds new entries on start, stop, a... more >>
Want to create Setup which can be run on Machine that has no Framework Installed
Posted by Pauravi at 2/17/2004 3:26:06 AM
Hi Friends,
I want to create setup for windows application.This setup should not depend on .Framework.It should also run on machine that has no Framework Installed.
Please anybody can guide me the step by step procedure to solve problem.
Thanks... more >>
vbc command line
Posted by FatBoyCanteen at 2/17/2004 1:46:12 AM
If I use the vbc command line to
compile the vb program with external dll library!
vbc /verbose /debug- /optimize+ /target:winexe /out:HelloWorld.exe HelloWorld.vb /r:System.Dll /r:System.Windows.Forms.Dll /r:../dir/connection.dll
The Problem is that
I need to place the connection.dll in... more >>
A GDI+ problem
Posted by Cem Louis at 2/17/2004 12:24:08 AM
Hi,
I have a problem in GDI+, I put a code snippet (draws a rectangle with a
text inside) in the onpaint event handler of my simple form but when I
resize the form, the handler redraws my rectangle? Is there a way to
determine if there is a rectangle or some other thing on the form's drawing
... more >>
|