ListBox Performance - SetSelected
Hi there,
I have the case where I am trying to optimize some slow code that selects
listBox items.
For approximately 6,500 items, the IndexOf method takes about 3 seconds on a
2.4GHz machine, and SetSelected takes about 9 seconds.
The label lookup from the lable map takes about 0.004 seconds.
Is there any way of selecting items in a quicker, possible batch fashion?
SelectedIndices appears to be read only. Surely it can't take 9 seconds to
select all these indexes when only 10 or 12 are displayed at any one time.
I've tried SuspendLayout() and ResumeLayout() to try to avoid code that
updates the display after every selection, but the performance remained the
same.
for(int i = 1; i <= aenumElements.Count; i++)
{
string alabel = m_idLabelMap[aenumElements[i]] as string;
int aindex = listBoxElements.Items.IndexOf(alabel);
if(aindex >= 0)
listBoxElements.SetSelected(aindex, true);
}
Any tips would be greatly appreciated (short of re-working the use case to
not require 6,500 elements of course).
Thanks,
Wayne. Tag: Program the function key of Datagrid Tag: 51863
can we call function whose name store in variable
Hi All,
Is it possible to call a function whose name is store in variable using
VB.Net. Assume this
dim a as string
a = "GetEmployee()"
Now I have function name in a variable, how can I call this function that is
already define.
Thanks
AQ Tag: Program the function key of Datagrid Tag: 51861
Client/Server Samples with Business Logic Layer
Sorry for the cross-post, but I didn't know whom to ask..
Are there any samples for a true C/S app (preferably VB, but C# is welcomed)
with a middle tier using datasets/datatables similar to the the Fitch/Maher
sample w/VB6? The only thing i can find on windowsforms.com & MSDN is
TaskVision, which is overly complicated for my needs(dont need to expose
data via web services).
I have adopted the "MS Building Blocks" data access class, but it's only
been used in ASP.Net samples, and would like to continue using it in the
BLL. Is this possible?
Thanks,
Morgan Tag: Program the function key of Datagrid Tag: 51844
Disable MDI Scrollbars
Hi all!
Relating to an earier post I made.
I tried the EnableScrollBar API which didn't seem to work
for me. This is how I'm declaring it:
[ DllImport("user32.Dll", EntryPoint "EnableScrollBar") ]
public static extern bool EnableScrollBar(System.IntPtr
hWnd, int wSBflags, int wArrows);
Then using it like so:
EnableScrollBar(this.Handle, 3, 3);
If anyone has any success in disabling MDI parent
scrollbars then I'd love to know how you've done it!
Thanks,
Carl Tag: Program the function key of Datagrid Tag: 51843
Is it true that Windows Forms don't use config files?
WROX's "Professional ADO.NET" makes the following statement on page 54 when
discussing obtaining connection strings from a config file:
"In Web applications this file must be name web.config. In Console
applications, the configuration file also ends in .config, but is prefixed
with application name, such as MyApp.exe.config. Windows Forms applications
do not use configuration files."
I am curious why Windows Forms do not use config files and also what about
Windows Service apps (or they treated as "console" apps?)? Tag: Program the function key of Datagrid Tag: 51842
Inherited Control Location
I have an inherited form that has 2 broup boxes and 2 controls (textboxes)
on each group box. I am unable to move controls out of the group box. Is
this an inherited controls issue, or am I missing something else? Tag: Program the function key of Datagrid Tag: 51839
Datagrid: Full Row Select and Other Options like in TaskVision
All,
Maybe I'm just missing it but how do you do the following three things
with a WinForms DataGrid...
1: Make it so when the user clicks on any part of a row the FULL row
becomes selected
2: Hide the add new row from the bottom of the grid
3: Remove the grey side bar from the left of the grid
For an example see the main grid in the TaskVision Demo at:
http://www.windowsforms.net/default.aspx?tabIndex=7&tabId=44
This is the EXACT grid I want. I took a look at the source and I can't seem
to find where they made the tweaks.
The dgGrid is of type System.Windows.Forms.DataGrid so it is still the basic
grid.
I'm pretty sure it is something from the class "public sealed class
MainFormDgStyle" but I can't seem to find what.
-Jason Tag: Program the function key of Datagrid Tag: 51836
databinding lose focus
Hi, I was wondering if someone could give me a workaround for this...
I have a windows form with a number of text boxes that are databound
to a datatable. My problem lies in the fact that (to the best of my
knowledge) you must tab off of the control (ensure it has lost focus)
before it will update the datarow with the information that was typed
in the textbox.
This is an issue because I give users the option to 'save & close' the
form from a menu item, and menu's are specifically designed not to
accept focus - thus focus never leaves the control the user was last
typing in, therefore the last controls contents never make it back to
the datasource.
I've tried removing focus from the control programatically as part of
the 'save & close' function, but this doesn't seem to work.
Any ideas?
Cheers,
Matt Tag: Program the function key of Datagrid Tag: 51835
Multilanguage Keyboard
Im trying to create an onscreen keyboard onto one of my
forms. How do i take into consideration different
languages keyboard layouts (I want to be able to support
multiple languages).... for example where the "Q" key is
on an english keyboard on a French keyboard it is the "A"
Please any help will be greatly appreciated...
Thanks, Tag: Program the function key of Datagrid Tag: 51834
Adobe fonts don't show up in fontdialog
Does anyone have any exp with getting the adobe fonts to show up in the
fontdialog?
If I paste text from word into a .Net RTF I can retain the font in the RTF
(it looks correct on the scree and it prints correctly), but I can't show
the correct font in the font dialog.
Help Tag: Program the function key of Datagrid Tag: 51833
Set the focus with multiple panels
Hi,
I have a win form wich is composed of multiple panels (all
visible). In one of the panel, I have a UserControl that I
have made.
When the form gets loaded, I want to have the focus in a
Textbox inside the UserControl (which is inside a panel).
I used:
MyForm.MyUserControl.myTxtBox.Focus()
but it doesn't work: the boolean value returned by this
function is false!
Any idea of what I need to do?
thanks,
Jenny Tag: Program the function key of Datagrid Tag: 51832
How to customize a windows datagrid?
hiye... i need some help with customizing windows
datagrid. can anyone out there help me by giving me good
metarials to start with? i need the datagrid to have
flexability like the datagrid being used by asp.net.
i notice its abit hard to customize windows datagrid.
any help from you people its grealy appriciated
yours truly
Smen Tag: Program the function key of Datagrid Tag: 51830
On key press
I currently a have a form that has data bound fields to a SQL 2000
database with 4 textboxes. What i would like to do is when a user
changes the info in any of the textboxes to change the current textbox's
backgroud color?
Thanks for your help
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Program the function key of Datagrid Tag: 51829
Image Resource
Hi,
I have a picture box control in my form and I have 2 .GIF (animated GIF
image). And I want to display those GIF image in my picture-box (at first, I
want the control to show the first image and a few seconds later, I want the
control to present the second image).
The following are some ways I have try to deal with this task:
- Insert two picture-box control into my form and each control shows only
one image; and then, I will toggle the Visible property of them.
This is not a good solution if I want to display 10 or 100 images
- I make use of ImageList to keep my images. Through it's a very good idea,
my animated GIF image stop animating. It's become static image.
- Using the Image.FromFile to load image. But I don't want to reveal the
images to the user so that they can open,edit them and change my
application.
Is there better solution ?
I have used Visual C++. Using images in C++ is very easy: just insert them
into the resource file and display them with. Is there any easy way to use
resource in C# ?
Thanks Tag: Program the function key of Datagrid Tag: 51825
C#(Quit the application) - shift+Ctrl+Q
Dear Friends,
I have created Application using VC#.
How do to the following tasks?
The user should not be allowed to exit the program: the start menu, end
task and all other ways of exiting the program should be
disabled. The Shift+Ctrl+Q (or other keystroke combination) should be the
only way to exit the program.
I disabled the close button.
If anyone knows ....Please help me....
Any suggestions would be greatly appreciated....
Thanks,
Rajan Tag: Program the function key of Datagrid Tag: 51815
GetClipBox Function in Visuall Basic
Is there Visual Basic.Net function equivalent to the
Visual C++ GetClipBox()? I will use that function to only
paint the portion of a form displayed on screen. Thanks Tag: Program the function key of Datagrid Tag: 51811
ImageList bitmap strip
I am attempting to add a strip of images to an image list
using the Image Collection Editor. The image strip is a
64x16 bmp and the image size of the ImageList is 16*16.
When I add this bitmap it comes in as a single image. Can
I use the Image Collection Editor to add a bitmap strip
and if so what do I need to do?
Thanks,
Dan Tag: Program the function key of Datagrid Tag: 51809
Changing mouse cursor styles
Hi,
How does one change the Mouse cursor style?
Any code snippets would help
Thanks
Sankalp Tag: Program the function key of Datagrid Tag: 51807
TreeControl expand button always present
Hi,
I would like to fill in a tree control on demand, so I
would like to + sign to appear even if there are no child
nodes. In C++ I would just set the window style, but I'm
not even sure how to do that in C#.
Thanks. Tag: Program the function key of Datagrid Tag: 51798
Cannot close dialog form by OK/Cancles buttons and Enter/Esc keys.
This is a multi-part message in MIME format.
------=_NextPart_000_001D_01C345F9.0FD44A50
Content-Type: text/plain;
charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
Hi!
There is a dialog form containing some panels, each panel contains some =
buttons.
The one button have .DialogResult property assigned to OK,
and the one have .DialogResult assigned to Cancel.
Form properties .AcceptButton =E8 .CancelButton are assigned to these =
two buttons.
All other buttons have .DialogResult =3D None.
Problem: form ignores clicks on OK =E8 Cancel buttons, and pressing =
Enter and Esc.
What's happen? Where can be a bug?!?
The another form that contains OK and Cancel buttons only works =
properly.
WBR, Ilya
------=_NextPart_000_001D_01C345F9.0FD44A50
Content-Type: text/html;
charset="windows-1251"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1251">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2> Hi!</FONT></DIV>
<DIV>There is a dialog form containing some panels, each panel contains =
some=20
buttons.</DIV>
<DIV>The one button have .DialogResult property assigned to OK,</DIV>
<DIV>and the one have .DialogResult assigned to Cancel.</DIV>
<DIV> </DIV>
<DIV>Form properties <FONT size=3D2>.AcceptButton </FONT><FONT =
size=3D2>=E8=20
.CancelButton </FONT><FONT size=3D2>are assigned to these two=20
buttons.</FONT></DIV>
<DIV> </DIV>
<DIV>All other buttons have <FONT size=3D2>.DialogResult =3D =
None.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Problem: form ignores clicks on OK =E8 Cancel =
buttons,=20
</FONT><FONT size=3D2>and pressing Enter and Esc.</FONT></DIV>
<DIV><FONT size=3D2>What's happen? Where can be a bug?!?</FONT></DIV>
<DIV> </DIV>
<DIV>The another form that contains OK and Cancel buttons only works=20
properly.</DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV>WBR, Ilya</DIV></FONT></DIV></BODY></HTML>
------=_NextPart_000_001D_01C345F9.0FD44A50-- Tag: Program the function key of Datagrid Tag: 51793
A row of checkboxes in datagrid?
Hi:
It's easy to add one column of checkboxes in to datagrid. Has anyone tried
to add one row of checkboxes in to datagrid(or listview)? If you know how to
do, please give some hints.
Thanks,
Dennis Huang Tag: Program the function key of Datagrid Tag: 51791
ImageList image strip
Is there a way to load an image strip into an ImageList
using the Image Collection Editor?
Thanks,
Dan Tag: Program the function key of Datagrid Tag: 51789
DataGrid.VisibleRowCount is 0 after databind
I run the following code:
dgSearchResults.DataSource = MyDataTable
MsgBox(dgSearchResults.VisibleRowCount)
and I get 0. Can someone explain why I get 0?
Thanks,
John Tag: Program the function key of Datagrid Tag: 51783
ListView subitem
I have a listview that I need to get the text in a subitem in a selected
item (line).
I can get the selected item index, but I can not get the data back from the
subitem.
If you can point me to an example or tell me how to do it that would be
great!
The is managed C++ but C# will do.
Thanks!
Larry Hilley Tag: Program the function key of Datagrid Tag: 51780
Win XP application taskbar grouping
I am working on a windows form application that is a single document
editor. When several instances of the editor are run at the same time
on windows xp, the applications are grouped in the taskbar as (#)
where # is the number of instances running. The grouped application
name is not displayed with the #. It is important to note that the
title of an instance sometimes changes. Normally it is "Editor", but
if a document is loaded then it is "Editor - Document". How can I
group them collectively as "# Editor"? Tag: Program the function key of Datagrid Tag: 51779
Bound data doesn't change with dataset.
. Reply (E-mail) Forward (E-mail)
Subject: Bound data doesn't change with cleared dataset.
From: "M K" <mark@centurycolor.com> Sent: 7/8/2003
8:29:42 AM
I have a win form app that has several bound controls
(mostly textbox). When I load a job, the dataSet is
filled, and the controls show the data as I navigate. If I
then go and load a new job (new data) I clear the dataset,
and do a new fill. But the controls still show the old
data. Why is this? What am I missing? The controls are
bound at design time. The data is filled at run time. Here
is how I am doing it:
If Not Me.DsOrder1.Orders Is Nothing Then
Me.DsOrder1.Orders.Clear()
Me.cmdSelOrders.Parameters.Add(New OleDb.OleDbParameter
("?JobId", Me._jobId))
Me.daOrders.Fill(Me.DsOrder1)
Any ideas please? Don't know where to look for info on
this. Tag: Program the function key of Datagrid Tag: 51772
TransparencyKey and Paintbox
How do I get a bitmap to display with transparency on a form? I've used
exactly the same colour (green: $40FF40) on the form and the bitmap and
the colour on the form is transparent, but the colour on the bitmap
remains green. I've even tried using e.Graphics.DrawImage in the Paint
event to see if that worked, but it didn't.
The TransparencyKey property almost seems useless if you can't use it
with bitmaps!! Tag: Program the function key of Datagrid Tag: 51765
TreeView Selected Node
This is a multi-part message in MIME format.
------=_NextPart_000_0007_01C34543.2A96D800
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
All,
I can find the selected node of a treview but how can I change the =
format of the one node. I am trying to bold it or change the font color =
so that the user knows which node is selected. Currently, if another =
control is selected, the selection states goes away in treeview.
Thanks,=20
Brian P. Hammer
------=_NextPart_000_0007_01C34543.2A96D800
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252"><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<STYLE>BODY {
BACKGROUND-POSITION: left top; FONT-SIZE: 12pt; COLOR: #000000; =
BACKGROUND-REPEAT: no-repeat; FONT-FAMILY: Times New Roman
}
</STYLE>
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff>
<DIV>All,</DIV>
<DIV> </DIV>
<DIV>I can find the selected node of a treview but how can I change the =
format=20
of the one node. I am trying to bold it or change the font color =
so that=20
the user knows which node is selected. Currently, if another =
control is=20
selected, the selection states goes away in treeview.</DIV>
<DIV> </DIV>
<DIV>Thanks, <BR>Brian P. Hammer</DIV></BODY></HTML>
------=_NextPart_000_0007_01C34543.2A96D800-- Tag: Program the function key of Datagrid Tag: 51761
Control Licensing
Help please!
I'm trying to implement control licensing using the LicFileLicenseProvider
implementation of the LicenseProvider class, but I cannot seem to get the
right format either in my <controlname>.LIC file, or in the first line
"myClass name is a licensed component" in the file. (I will implement my own
validation once I get the basic structure working.)
All I can find in the literature is a reference to using the fully qualified
name of the control, and the fully qualified name of the component.
My control is called ctlAlarmClock and it's contained in a component class
called ctlClockLib. So I would have thought that
filename = ctlClockLib.ctlAlarmClock.LIC
text = "ctlClockLib is a licensed component"
should both work.
Any help would be greatly appreciated.
Mauro Tag: Program the function key of Datagrid Tag: 51758
Debugging designer instantiation
Hello...Im using VS.net and i have a problem with the
windowsfrom designer it when i attempt to bring up the
designer for a form (that is derives another form i made)
i get an exception message ("ExecuteReader requires an
open and available Connection. The connection's current
state is Closed") in a message box and when i click ok it
show X...An error has occured ........ instead of the form
Now how can i find out where this error occurs, can i
somehow debug this instantiation, that occurs when
starting the designer, using breakpoint and such like
when debugging the program? Tag: Program the function key of Datagrid Tag: 51750
Convert COLORREF to Color
I would like to convert the COLORREF returned by the
GetThemeColor function to a Color type using C#. I would
appreciate any guidance on the best way to accomplish
this.
Thanks,
Dan Tag: Program the function key of Datagrid Tag: 51743
message that .NET is not installed
Hi,
I have written a Windows Forms application. When someone tries to run it on
a machine where .NET is not installed, he sees the message that does not
give any idea of what went wrong.
I want to show a message box with message that .NET is not installed.
Is this possible?
What do I need to add to my code?
Thanks,
Mitri Tag: Program the function key of Datagrid Tag: 51740
Databound Listbox Update Problem
Hi,
I've bound a listbox to a dataset and everything populates
fine. I can even add a new item by running an insert
query on the dataset and then adding the same item to the
listbox using 'ListBox1.Items.Add(TextBox1.Text.ToString)'.
The problem I'm having is with deleting an item. Removing
from the listbox through 'ListBox1.Items.RemoveAt
(ListBox1.SelectedIndex)' works fine as far as the listbox
goes, but after having ADDED a row to the listbox I notice
that the dataset # ROWS has not changed and when I try to
delete an item whose index is higher than the # ROWS in
the dataset I get an error stating that that row does not
exist.
Question: How do I ensure that the dataset information is
updated when I do an INSERT/FILL on it?
John H. Tag: Program the function key of Datagrid Tag: 51739
scrollbar invalidation on change
any time I so much as touch a value in the scrollbar, be it minsize
max or whatever, it fires an invalidate to the parent. Is there a way
to stop this? The problem especially arises when you 'change' a value
that in fact doesn't change. So if you set max to 200 and its already
200, it STILL fires an invalidate. arghhhh. Short of writing a new
scrollbar class to check every value before its set, is there a way to
fix this?
thanks Tag: Program the function key of Datagrid Tag: 51737
Error inheriting a form with a parameter
I am attempting to inherit a form that has a parameter passed to it:
public frmListbox_c0(string strConnectionString)
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
The form tests successfully if included in a program but when inherited for
a class library it gets the error:
"An exception occurred while trying to create an instance of
Listbox.frmListbox_c0. The exception was "Constructor on type
Listbox.frmListbox_c0 not found.".
Is this a do-able thing?
Any help is greatly appreciated. Tag: Program the function key of Datagrid Tag: 51730
IE ?ontrol
Hi,
I would like to add an IE control to my winfrom. Do You have a tutorial:
"how to ..."?
Tnx. Tag: Program the function key of Datagrid Tag: 51716
Error: Picture control, Clipboard and Metafiles
I am trying to copy an enhanced windows metafile from the clipboard
into a picture control. It works if I load it directly from file or if
I copy it as a bitmap (see below). Any ideas ?
Thanks
Des
Dim MetaData As IDataObject = Clipboard.GetDataObject()
If MetaData.GetDataPresent(DataFormats.EnhancedMetafile, True) Then
' this does not work
MyPictureBox.Image =
MetaData.GetData(DataFormats.EnhancedMetafile, False)
end if
' this two work
MyPictureBox.Image = MetaData.GetData(DataFormats.Bitmap, False)
MyPictureBox.Image = Image.FromFile("c:\temp\arrow.wmf", False) Tag: Program the function key of Datagrid Tag: 51713
on closing windows forms
hi
when i close a form (while the application is running)
using me.close()..will it destroy the data???
my problem is when i close the form..it seems to retain
the same state as i left it at before..like if i was doin
a save operation and closed the form..when i open the
form ..i find the form in the save oprn mode itself!!!
when i close the form and open it again i want a new
instance of the form to be open...what must i do for
this ?? Tag: Program the function key of Datagrid Tag: 51710
Visual inheritance problem with GridSize property
Hi
I have create a base form, I've set value (10,12) GridSize property.
I have inherit my base form to a new form but this property don't set (8,8).
I'cannot use the option of the ide of vs.net (Windows Forms Designer).
Is this a bug of visual inheritance?
Thanks in advance. Tag: Program the function key of Datagrid Tag: 51709
ANN: Media Player
Able Consulting's .NET Media Player component allows .NET developers to
easily play audio and video files from within their Windows applications.
Supported media files include MP3, WAV, MIDI, and CDs. You can even play
multiple media files at the same time.
Written in pure .NET code, there are no dependencies on other DLLs. And the
single redistributable DLL is only 14 KB in size.
You can try a free demo.
Here's more information:
http://www.able-consulting.com/Products/MediaPlayer.htm Tag: Program the function key of Datagrid Tag: 51700
passing arguments from web-form to win-form
Hello all,
I have an existing GUI written in asp.net, which performs a search
operation, and displays the results. I have also another win-form
application that needs these search results. I want to open the web-form
from my windows application, to enable searching, and finally, to pass the
results back to the win form.
does someone has an idea how to make it?
Thanks, David. Tag: Program the function key of Datagrid Tag: 51699
ItemActivate event on a windows form
Hi all,
I have a ListView which is firing the ItemActivate event
twice when I select an item. I only want it to fire
onece. Any ideas out there? I have placed a message box
in the ItemActivate method and the message box comes up
twice (ie two firings).
regards
talljames Tag: Program the function key of Datagrid Tag: 51697
KeyPreview Bug?
My Form has KeyPreview set to True, but when I add a button to the form,
the button has the focus and Form_KeyDown (MyBase.KeyDown) is never
triggered, unless I disable the button. Is this a bug?
(My form does NOT have default or cancel button set)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! Tag: Program the function key of Datagrid Tag: 51696
Retreiving CF_HTML fromat data from Clipboard
I've written some code following.
IDataObject o = Clipboard.GetDataObject();
string html = (string) o.GetData(DataFormats.Html);
According to the CF_HTML documentation, the data in the
clipboard was encoded by UTF8, But It returns string
which encoded by system default.
Due to illegal decoding, Some characaters(3-byte char in
Unicode) were lost.
How can I fix this problem? Is it bug in the Framework?
I'm using DBCS WindowsXP like Japanese or Korean. Tag: Program the function key of Datagrid Tag: 51694
DragDrop registration failed
I have a C# Application that is posing some interesting issues when
run within Win98. Let me preface this by saying that everything works
like a charm under Win2000.
Anyhow, the current issue is that under "certain" circumstances
(there's no logic as to how/why this happens), you will fire up this
application under Win98 and get a "DragDrop Error: registration
failed" MessageBox from JIT.
The source code line in question is, of course, a simple
"this.AllowDrop = true;" property. If I were to remove it, the problem
would go away. Of course, I need that call in order for the
application to function correctly.
And before anybody asks the obvious, I _do_ have the following line in
my main Form:
[STAThread]
static void Main(string[] args)
I can't really make heads or tails out of this issue, and it
definitely presents itself only under Win98.
This particular Win98 machine is up to scratch, in terms of
patches/updates/etc. The OS has IE6.0 installed, as well as .NET
runtime v1.1. The Application is compiled using .NET Studio 2003.
Can anybody shed any light on this? Any workarounds? Tag: Program the function key of Datagrid Tag: 51693
Strange Error upon Exiting .Net Application on Win 2k Advanced Server
Hi -
I've been having a problem with a Vb.net application that
utilizes Office Web Components. The app works fine on Win
2000 Professional. When I run it on Windows 2K Advanced
Server (sp4), the app also runs fine, until it closes.
Somehow, after the app closes, a "the memory could not be
read" error appears.
Does anyone have any ideas as to what might be causing
this? It is happening on every machine with Win 2K
Advanced Server (but not Professional).
Thanks very much in advance. Tag: Program the function key of Datagrid Tag: 51692
PrintPreviewDialog
I am unable to preview large documents (5000+ pages) in
the PrintPreviewDialog due to memory usage.
Short of writing my own custom preview control, is there
a fix for this? Tag: Program the function key of Datagrid Tag: 51690
TextBox Maximum Line Limit?
I have a multiline TextBox control and it won't let me paste in more than
964 lines(30,841 characters) of text. Have I hit some kind of limit in the
TextBox's capabilities?
Thanks,
Steve Tag: Program the function key of Datagrid Tag: 51688
MenuItem_Popup Event Not Firing?
Is there a problem with the MenuItem_Popup event in 1.0? I have an event
handler attached and the code within the handler is never called. Any
insights appreciated.
Thanks,
Chris Tag: Program the function key of Datagrid Tag: 51679
Slow refresh on some WF controls
Certain controls refresh very slowly (Label, ListView, PictureBox etc...),
slow enough on older machines that people think something is wrong with the
application. I know this is a common complaint, is there any fix for this
problem?
Thanks,
Jeremy Tag: Program the function key of Datagrid Tag: 51676
How to program the function keys(right arrow, left arrow,
Up arrow, down arrow, tab, PgUp, PgDn) of datagrid?
Re: Program the function key of Datagrid by Jeremy
Jeremy
Thu Jul 10 11:34:25 CDT 2003
"Chrysan" <san17@hotmail.com> wrote in message
news:0bc801c346b7$e1b74630$a101280a@phx.gbl...
> How to program the function keys(right arrow, left arrow,
> Up arrow, down arrow, tab, PgUp, PgDn) of datagrid?
>
Have you tried trapping the KeyUp/Down/Press events yet?