all groups > dotnet windows forms > april 2005 > threads for april 1 - 7, 2005
Filter by week: 1 2 3 4 5
How to print form with page scaling?
Posted by Ngan Ly via DotNetMonster.com at 4/7/2005 8:18:01 PM
I'm having trouble when trying to print a form that is bigger than the
paper size. I would like the program to programmacitly scale to fit to
paper size and send the drawing to the printer. Any idea?
--
Message posted via http://www.dotnetmonster.com... more >>
Minimize (and Not Maximize) options for borderless form
Posted by Phil Jones at 4/7/2005 7:36:34 PM
I have a borderless WIndows Form.
I've found that with a borderless form the ContextMenu for the program
button in the task-bar is turned off. Upon advice from this list I can turn
it back on by overriding the CreateParams property like so:
Protected Overrides ReadOnly Property Cr... more >>
How to host HTML Help Viewer in MDI child form?
Posted by Dave Leach at 4/7/2005 5:01:02 PM
I am developing an MDI Windows Forms application using VS.NET 2003 in C#. I
want to display help for the application when the user presses the F1 key. I
have been able to get the HTML Help Viewer to display in a separate form as
shown below.
Is there a way to display the help viewer withi... more >>
Runtime PropertyGrid and custom UITypeEditor with Business object
Posted by jc at 4/7/2005 4:49:47 PM
I have a conundrum I'm hoping someone here might have an idea for:
I am implementing a propertygrid on a form that is "bound" to a business
object class containing global settings that a user will edit using the
property grid.
So far so good, works just fine etc etc.
One of the properties... more >>
How to attach to ParentForm.Closed?
Posted by Boris Drajer at 4/7/2005 3:49:53 PM
When is a good moment to attach to ParentForm.Closed event? I want to be
notified when the form is closing, because I want to kill a worker
thread in my control. But, I don't know when the ParentForm property has
a valid value: if I put my control in a tab, ParentForm is null in OnLoad.
... more >>
CurrencyManager Position issue
Posted by Pete Davis at 4/7/2005 3:24:26 PM
I'm asking to see if anyone has found a way to deal with the issue of
"non-selection" with the CurrencyManager. In particular, we have a grid
control that we've created. When you have a parent and child grid, the
CurrencyManager for each is set to the first row, so if the first row of the
parent... more >>
List view - ICOn display XP
Posted by JK at 4/7/2005 3:21:07 PM
Hi
I have a strange issue. I am using a listview control and have an
imagelist. The Listview is being displayed in details view . I have an icon
against each of the list item.These icons show up perfectly in Windows 2000
but in XP , I dont see the icons. I am finding it difficult to troubl... more >>
zoom pictures
Posted by harry at 4/7/2005 1:21:16 PM
Hello everybody.
I want to do simple image viewer. I want to provide zoom functionality.
I have done this, by changing PictureBox control dimesions. But this
solution isn't good.
Can we put into picuterbox fragment of our picture and don't change
dimensions of the picutrebox.
May you tell... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Rotate User Control
Posted by news NO[at]SPAM endys.cz at 4/7/2005 1:00:58 PM
Hello,
i want to create my own control, but this control must be able to rotate.
I know, how to overide OnPaint method.
But..., for example I want to paint this control as rectangle with width 40,
height 60 with variable rotation.
How do I get new size of my control afer rotation?
Is there... more >>
Prevent borderless Form to appear in "Alt+TAB" window
Posted by Frank Stegerwald at 4/7/2005 12:00:29 PM
Hi,
i have a Windows Form (Splashscreen) that runs on
a seperate thread until my main app is up and running.
This form has its FrameBorderStyle set to "None".
How can I prevent this Form from beeing displayed in the
"ALT+TAB" list?
Any help will be greatly appreciated
Frank Stegerwald... more >>
Mouse over text in richtextbox
Posted by Lance Johnson at 4/7/2005 9:56:52 AM
I can't seem to find out if the mouse cursor is over text in a richtextbox.
I can use GetCharIndexFromPosition but all that does is tell me the closest
character. But if the cursor is outside the range of current text, there's
no way to calculate that. I'm sure there should be something to t... more >>
Listview background image
Posted by Bob Dankert at 4/7/2005 9:52:28 AM
After doing google searches of the web and newsgroup postings, it would seem
as though it would be really easy to add a background image to a listview
using the provided responces everyone seems to give. Each responce is based
off the same thing, using PInvoke and sendmessage with LVM_SETBKIM... more >>
Grids sought
Posted by rharter at 4/7/2005 8:13:09 AM
I am looking for a grid control that also supports excell like calculaions
functionality. I have looked at the Infragistics grid/calc engine and it
lacks support for defining calculations on a range of cells/rows.
Does anyone know of a grid that meets the requirements we have?
--
Tha... more >>
How to make table inside datagrid resize?
Posted by Steve at 4/7/2005 7:11:02 AM
I have form with datagrid control. I bind dataview object to datasource
property of the datagrid to populate it with data.
My question is how can I make columns and rows of the table inside datagrid
resize when form itself resizes. I set anchor property properly so datagrid
control itself D... more >>
Establish z-order of forms between applications
Posted by Brad Herman at 4/7/2005 6:47:14 AM
I have two separate Forms executables that interact and behave visually to
the user as one application. When my second app starts I set it's form to
TopMost to ensure the user can see it above the first app so it appears like
a child of the first. Of course this is not really what I want beca... more >>
DataGrid in Winforms
Posted by Rhea Bockhorst at 4/7/2005 6:03:01 AM
I am using an arrary of double as the DataSource of a DataGrid object, but
the DataGrid window contains nothing.
What am I doing wrong?... more >>
Where can I find the IE 5.01?
Posted by ʱ¹â·ÉÊÅ at 4/7/2005 12:00:00 AM
Guys,
I have a e-custom program which require Windows 98& IE 5.0 environment, and
it is forbidden by this program to be upgraded to IE5.5 or higher.
At the same time, I have a .net based program requiring that the IE must be
equal with or higher than IE 5.01.
But as the Windows 98 is no... more >>
Custom Shortcut Keys
Posted by Peder Y at 4/7/2005 12:00:00 AM
How can I specify shortcut key combinations and hook them to my own
events, similar to the ones that are optional in the MenuItems?
- Peder -... more >>
Register Now and Learn How to World-Ready Software at Tech•Ed 2005
Posted by Dr. International at 4/6/2005 5:49:50 PM
Did You Know:
a.. By 2010, emerging PC markets like China, Russia and India will add 566
million new PCs. (Source: Forrester Research)
b.. Web users are up to four times more likely to purchase from a site
that communicates in the customer's language. (Source: www.idc.com)
Tech•Ed 200... more >>
image list
Posted by Pascal Cloup at 4/6/2005 5:20:44 PM
Hello,
Is there a simple way to save a collection of Image objects in one file?
thanks in advance
Pascal
... more >>
Problems with reading tag property
Posted by Rod at 4/6/2005 4:28:24 PM
At design time I have entered some text into the tag property of some of my
controls.
(text boxes, labels etc)
At run time I try and read the tag (MyCntrl.Tag.ToString), but it is always
empty.
Any help very much appreciated.
thanks
Rod
... more >>
simulating asp.net impersonation
Posted by TS at 4/6/2005 3:38:34 PM
i have win app that access web services for information.I want to lock down
web services. I want to add users or groups to authorization tag to restrict
access to only a few users. The only way i know to do this is to:
add each person separetely - this means i have to maintain this section when... more >>
Suppressing the partially trusted context bubble
Posted by Luke Stevens at 4/6/2005 3:31:04 PM
When running a no-touch deployment app from the Internet or Trusted Sites
zone, the form opens with a bubble:
"Microsoft .NET Security Information: This application is running in a
partially trusted context. Some functionality in the application may be
disabled due to security restrictions."... more >>
Check box question
Posted by Craig Johnson via DotNetMonster.com at 4/6/2005 3:30:47 PM
How do you change the displayed check when a checkbox is checked? I would
like to show a red X in the box instead of the check mark.
Thanks,
Craig
--
Message posted via http://www.dotnetmonster.com... more >>
A select box
Posted by Cameron at 4/6/2005 12:48:11 PM
I am a web designer/programmer who is attempting to hammer out a little
windows application. I can not figure out what is the equivilenet of a
select box. The combobox looks right but you can type in it like a
textbox. The listbox/listview don't look right and have scrollies
instead of a dro... more >>
Capturing image of a hidden control
Posted by Roy Soltoff at 4/6/2005 10:40:17 AM
I have seen various methods of capturing the screen or a window in .Net, but
so far, code found can only capture a visible window. In VB6, I used a
technique from MSKB article Q194580 to do this using SendMessage. My need is
to be able to capture the image of the contents of all tabs in a tabstri... more >>
Doing work after the window has displayed.
Posted by clintp NO[at]SPAM gmail.com at 4/6/2005 10:33:32 AM
I have a form, and I need to do some processing after the form has
displayed. The processing could take a few moments and could result in
a dialog box being displayed.
The problem is, I can't seem to find the event (to insert my
processing) that happens after the form has displayed. Back in ... more >>
Combo Box Problem
Posted by Ivan Gibbs at 4/6/2005 10:16:48 AM
I have a combo box and populate it for my form. If you use
the arrow key on the keyboard to go through the list, it
works fine. If you use the mouse and click on the \/
button to show the whole list, nothing shows up.
Does anyone know what is going on here?... more >>
Mimic Notepad menuEditFind
Posted by James Morton at 4/6/2005 9:59:36 AM
I am trying to mimic the behavior of notepad where the find form stays in
front and active yet the text form actively highlights the search string.
Right now I have to close the find form in order to see the highlighted
text.
What do I need to do? Here is what I have now (note I am using the t... more >>
Empty row at the bottom of DataGrid ...
Posted by Steve at 4/6/2005 9:17:04 AM
The DataGrid control always displays empty row at the bottom with the star in
the row header. Is there any way to hide or delete this row?
Thanks... more >>
Help - Assigning MDI Child to MDI Container when called in a Modul
Posted by Leo at 4/6/2005 6:53:03 AM
I am trying to figure out how to assign the child form to the mdi container,
in VB, when the child is called from a module and not from the container form.
I know when called from the container form it is just:
dim form1 as new form1
form1.MDIParent = me (being the container form)
but thi... more >>
How do I make my form bigger during runtime ?
Posted by Wiggur at 4/6/2005 6:13:03 AM
I´m tying to make my VB form bigger during runtime, but I can´t find out how
to do. I would like the same function as the "replace" button has in the Find
dialog in VB.NET.
--
Wiggur... more >>
Why does the OnPaint method not be invoked in TreeView
Posted by Niciyou at 4/6/2005 5:57:06 AM
I create a class derived from TreeView and override the OnPaint method in
which I add some drawing act.
But when I run the program and find that the OnPaint method not be invoked
actually.
Why?????
--
Niciyou
Beijing, China... more >>
datagrid keydown event
Posted by Ralf Ziller at 4/6/2005 3:57:04 AM
I am using the datagrid keydown event to make changes to selected rows
(increment a column value when + is pressed). This works for the first time
the key is pressed but the datagrid then goes in edit mode and jumps into the
first textcolumn for editing.
How can I prevent this behaviour? The ... more >>
API declaration in C# to be converted into VB.NET - HELP !!!
Posted by Ahmed Jewahar at 4/6/2005 2:19:06 AM
Dear All,
Below code I found in a post which bit older. I really appreciate if any
of you could help me out to convert into VB.NET.
Declare the API function.
---------------------------
[System.Runtime.InteropServices.DllImportAttribute("gdi32.dll")]
private static extern bool BitBlt(
... more >>
Forms Collection?
Posted by Dick at 4/6/2005 2:17:02 AM
Is it possible to itterate through each of a .net application's forms just
like we did in VB6?... more >>
Exception in Application.Run()
Posted by BillyMac at 4/6/2005 1:55:04 AM
Hi - I am getting a Null Reference Exception that is being thrown from
Application.Run() method. This ocurrs after multiple events are raised which
update a few user controls inside the Main Form.
i cannot seem to isolate the exception any further than the Run method()
even though I have p... more >>
the Values were shared by many forms !
Posted by Kylin at 4/5/2005 11:31:27 PM
How can I set a values in a mainform,
and all the other's windows form can get this value ?
I have a try,
but failed !
any document ,or some simple code ?
--
FireCrow Studio
Kylin Garden
EMail:w0wd@sohu.com
ICQ:156134382
... more >>
Security across different servers?
Posted by Stephen Russell at 4/5/2005 10:01:49 PM
I have a winform app that is having security issue when it attempts to pull
data from another server in the same domain.
User for this app is a Domain Admin. Data is Paradox. Client has a utility
app to fix the paradox data. That app will work in the directory where the
data is in, but it w... more >>
2GB memory limit
Posted by Yahya at 4/5/2005 6:52:19 PM
Dear Sirs,
I have developed a VB .Net windows application, but unfortunately when I
this application tries to use more than 2GB memory it fails although there
is available 4GB of memory on the machine. How may I allocate more virtual
memory to be used by the application or extend this limi... more >>
RichTextBox
Posted by Sanjay at 4/5/2005 5:45:37 PM
hi,
In VB6 we usedt to have property called selBold,selItalic etc on
RichTextBox.In .NET , we no longer have such properties . Setting SelBold
etc to true/false did all our work.
How can we achieve such in .NET.Main problems occur we want to format text
of mixed fontStyles.
for example,Som... more >>
Get controls
Posted by Paul at 4/5/2005 5:39:09 PM
Hello,
I know how to get a handle to a window using FindWindow() but how do I get
all the controls on the window itself?
Please help, thank you.
-p... more >>
Automation - CPL files
Posted by Paul at 4/5/2005 4:41:02 PM
Hi,
I'd like to develop a winform to launch CPL (control panel file) file and
set some values on it.
For example, %windir%\system32\inetcpl.cpl file (this file brings up IE
"Internet Options" dialog) and I'd like to set some values on the dialog,
e.g. "home page address" on the "General"... more >>
Toolbar icons
Posted by John J. Hughes II at 4/5/2005 1:57:25 PM
I have a toolbar on a windows tab control tab page which is on a form. I
have added three buttons with icons via an image list. The icons display
correctly in the VS and the first time I compile from the runtime. But when
I compile again they vanish from the runtime but still appear correct... more >>
Can I add a Form into a Panel?
Posted by Galaxia at 4/5/2005 1:50:06 PM
SSBhbSB0cnlpbmcgdG8gYWRkIGEgRm9ybSBpbnRvIGEgUGFuZWwgaW4gLk5FVCAyMDAzOg0KDQog
ICBGb3JtMiBmZjIgPSBuZXcgRm9ybTIoKTsNCiAgIHBhbmVsMi5Db250cm9scy5BZGQoZmYyKTsN
Cg0KQnV0IGl0IGZhaWxlZCBpbiBydW50aW1lIHdoaWNoIHNhaWQgSSBjb3VsZCBub3QgYWRkIGEg
dG9wIGNvbnRyb2wgaW50byBhbm90aGVyIGNvbnRyb2wuDQpDYW4gSSBoYXZlIGFueS... more >>
Running a process from a Windows Service App
Posted by Jim Bob at 4/5/2005 12:36:22 PM
I have a service that I want to start a process to run another process.
My code is
Sub ExecuteProcess()
Try
Dim Msg As String = "Download Service has fired"
Dim RunJob As New System.Diagnostics.Process
RunJob.StartInfo.FileName = "Runjob.bat"
... more >>
autostart an internal thread in a winform
Posted by Arne at 4/5/2005 11:25:05 AM
I am looking for a form event that fires when form_load has been completed.
I need to start a long running process in the background and the process
need to start by itself.
What is the best way autostart an internal thread in a winform?... more >>
Inherited controls in worng location
Posted by Dick at 4/5/2005 11:03:05 AM
Please can you explain the following...
I create a new form and add to it the following objects: a MainMenu, A
MenuItem, a PictureBox and a Button. I change the button properties so that
it is anchored BottomRight.
I then create another form which inherits from the first. And I add to it
... more >>
ReadOnly ComboBox
Posted by Dick at 4/5/2005 11:03:02 AM
Is there an easy (i.e. without creating a new control) way to make a ComboBox
ReadOnly such that the user can't change its value but doesn't have to strain
their eyes to read its greyed out text? ... more >>
Binding property with CancelCurrentEdit
Posted by Marina at 4/5/2005 11:00:22 AM
Hi,
I have a text control bound to a column that is of type Decimal. I am doing
the validation myself to see if the user typed in something invalid, calling
CancelCurrentEdit and cancelling the validation event.
If the user typed in something that is not a number, such as 'abc', then
do... more >>
How to display row header caption in the DataGrid control?
Posted by Steve at 4/5/2005 10:55:01 AM
Does anyone know if there is some way to set the Row Header Caption in a
DataGrid or DataRow? I have no problem setting the column name through the
DataColumn class using Caption {get; set;}. However, I can't seem to find
the equivalent for the DataRow class.
Thanks
... more >>
New to WindowsForms
Posted by Sam at 4/5/2005 10:31:30 AM
Hi I am learning windows fomrs and started with the sample in the quickstart
tutorials and I am not able to display the control on my aspx page.
I created a control library with one simple control having a panel and a
button. panel's visible property is false by default and I added color to
p... more >>
MDI Maximized children forms without controlbox
Posted by Pieter Coetzer via .NET 247 at 4/5/2005 8:52:27 AM
I have been searching the web and everywhere I asked the=
question, the answer is that it is a Microsoft Bug=2E Well instead=
of telling me that it is a bug, how do I fix this?
My situation:
I have a parent form (frmMain), a welcome/startup (or background)=
form (frmWelcome) and other chil... more >>
VB6 DLL versus VB.NET DLL
Posted by Chris Zopers at 4/5/2005 12:52:58 AM
Hello,
I would like to know the following:
In VB 6 I could create a dll file, place it on a server and register the
dll file on each client computer, so all client computers know that the
dll file is on the server.
This way, I could make small changes to the dll, without having to
reïnstal... more >>
Adding Reference to User Control
Posted by C# Learner at 4/4/2005 9:37:26 PM
I added a custom control to my project (Project -> Add User Control) and it
won't show up under 'My User Controls' in the Toolbox.
How do I get it to show up?
(I know I could get it to show by right-clicking over the Toolbox, choosing
'Add/Remove Items...', and then browsing for my project's... more >>
Modaly Load A Windows Form User Control From Another Windows Form User Control - Sort of like a popup.
Posted by Richard at 4/4/2005 9:09:01 PM
I think I'm going brain dead on this one. Can someone give me an idea on how
to do this? Some sample code would be helpful.
... more >>
RichTextBox
Posted by Sanjay at 4/4/2005 7:42:51 PM
hi all,
In VB6 we used to have a property called OLEObjects on RichTextBox.
I used it to make my richTextbox not accept OLE objects when user tries to
paste.
Code something like following:
If RichTextBox1.OLEObjects.count > 0 Then
If Len(Clipboard.getText) = 0 Then
' sh... more >>
Pause code until file fully downloaded
Posted by Rob Oldfield at 4/4/2005 6:23:28 PM
I have a situation where I need to scan a folder for downloaded files and
then process those files. I have a file system watcher which is looking for
the creation of a file but clearly I want wait until the file is completely
downloaded before I start trying to use it. At present I'm trying thi... more >>
TabControl and Transparency
Posted by Bob Dankert at 4/4/2005 4:47:46 PM
(Notes: This is with DotNet 1.1, Windows XP SP2)
I have a tabcontrol located on a form where the form has a background image.
Ideally, I would like to have the background near the upper-portion of the
tabs be transparent so the image of the form will show through. Initially,
this seemed to ... more >>
HELP !!! Focus() always return false if a child control is Focused already
Posted by Mike Zhang at 4/4/2005 4:21:14 PM
I am writing a user control which contains a some child controls (all
TextBox controls).
When the user control is loaded, I could set it as focused, but non of it's
child controls is focused. THen I could click on one of the child controls
to make it focused. After that I try to set the focus ... more >>
With different credentials.
Posted by Yahya at 4/4/2005 4:20:54 PM
Dear Sirs,
I would like to run the below code using other credentials than the user
running it, how can I use different credentials?
Thank you,
Yahya
Dim msgobj
msgobj = CreateObject("CDO.Message")
msgobj.DataSource.Open(sUrl, , 3)
If msgobj.fields("urn:schemas:httpmail:hasat... more >>
Inherited User Control + Subclassed components + Dissapear after build!!!!!!!!!!!!!!!
Posted by snesbit at 4/4/2005 3:37:17 PM
I have 2 components.
1) A User Control with a subclassed infragistics label docked =
at the top and a panel filling the rest.=20
2) A subclassed infragistics textbox control
I create a new component inherited from #1 above and then I drag my #2 =
(textbox control) on... more >>
How can share the value between more Windows Forms ?
Posted by Kylin at 4/4/2005 3:18:21 PM
hi,
Where the user input there Login Name and Password,
and I want to remerber this values In maninform,
and this values will be used by other form,
eg: Change password Form,
this need the user's name ,oldpassword, new password,
and the user's name comes from the mainform.
how can do for th... more >>
Colour of Tab control tabs
Posted by Rod at 4/4/2005 3:10:05 PM
I know how to change the background colour of a tab page, but the actual tab
itself stays grey.
In fact the whole bar in which the tab is in stays grey.
I would like to be able to change both the tab and the tab bar.
Any clues much appreciated
thanks
Rod
... more >>
Datagrid row-specific tooltips
Posted by JezB at 4/4/2005 2:34:22 PM
Anyone know how to get a tooltip on each row of a datagrid ? The tooltip
text must be configured depending on the row that the mouse is hovering
over, and the hover timer must be reset when the user is moving the mouse
over the rows of the grid (but not necessarily moving off the grid).
No ... more >>
Tray application still displays window (sort of)
Posted by Buddy Ackerman at 4/4/2005 2:14:39 PM
I have an applicaiton that is supposed to run in the system tray but on some PCs there is a grey panel displayed. It's
not a complete window but just looks like the grey background of the window. Why does this happen and how do I get rid
of it?... more >>
WYSIWYG Editor
Posted by rsanan NO[at]SPAM gmail.com at 4/4/2005 1:00:18 PM
I am looking for Wysiwyg Control for one of my projects - under C#
windows forms Framework 1.1
Any thing simple and easy to implement.
Thanks
... more >>
Databinding and Validation with UserControls
Posted by Christof Nordiek at 4/4/2005 12:31:03 PM
Hi folks,
I've got a Form with several Controls. One of it is a UserControl.
Then I have put some DataBinding to the Controls with
control.DataBindings.Add(...);
Know there is some strange Behaviour:
Fist: When I change to the UserControl (by clicking in the control), it
doesn't cause vali... more >>
DataGrid simple question
Posted by Cezar at 4/4/2005 11:51:02 AM
It is probably a very simple question, but I can't find a right DataGrid
property that prevents the user from adding new rows. Of course the
'ReadOnly' property does it, but the grid cannot be read only, since the user
should be allowed to edit existing rows.
However, when I leave ReadOnly se... more >>
fonts
Posted by David Sobey at 4/4/2005 8:42:59 AM
anyone know a simple way to make a font property persist for a custom
control?
cheers
dave
... more >>
Background process as delegate
Posted by Arne at 4/4/2005 7:35:08 AM
I have a winform that will start directly from the scheduler. The program
will perform a batch process and put status messages on a winform.
I start up the back ground process as a delegate directly in my winform
constructor after InitializeComponent();.
Is this a good idea or is there a bett... more >>
How can I limit the number of the applicatin' login trying ?
Posted by ÷èÁé at 4/3/2005 11:54:29 PM
I give a login form for my application,
and I give 3 times to the app's user,
if he input his name and pwd out 3 times,
the login form will closed .
how can I do it ?
... more >>
Datarepeater
Posted by at 4/3/2005 5:28:29 PM
Hi, NG!
Is there any updated version (.Net) of the Datarepeater control or do I have
to use the old (VS6.0) version?
Thanks.
pax
... more >>
How to set screen color depth and disable hardware acceleration in .net?
Posted by William Li at 4/3/2005 2:33:35 PM
Hi,
Does anyboy know how to implement following 2 features in .net?
1.Change screen color depth
2.Disable hardware acceleration
So far, I know how to change screen resolution in .net, but havent found
solutions for above 2 requirements.
Looking forward to ur reply.
Thank,
Willia... more >>
dropdownlist - index of an item
Posted by Lubomir at 4/3/2005 1:23:01 PM
Hi,
I have in a dropdownlist the following values: "aa", "bb", "cc"
I want the item "bb" will be the selected item. I can find it in a
collection by:
myItem = myControl.Items.FindByText("bb");
To make this item selected I can use:
int index = myControl.Items.IndexOf(myItem).
is ther... more >>
best contol for capturing steaming and displaying streaming input?
Posted by Jamie Holloway at 4/2/2005 7:15:01 AM
I have a Windows forms application that is reading messages off off a queue,
and I want to stream them into a window to view. Currently I am using a
textbox classes/methods of textbox.Append(...) and textbox.ScrollToCaret()...
It seems that there is limit to the number of characters you can ... more >>
Creating a 1bpp mask from a byte array
Posted by Teis Johansen at 4/2/2005 5:29:29 AM
Hi
First of, I am posting to this newsgroup as it seemed best suited even though I am writing C++ for a standard Windows application. The application uses GDI+ which forms the basis of the System.Drawing namespace...anyway here goes:
I am trying to create a 1 bit per pixel mask to use as an ov... more >>
making forms larger than screen size
Posted by Zaher Zeidan via .NET 247 at 4/1/2005 8:13:04 PM
(Type your message here)
--------------------------------
From: Zaher Zeidan
is there a way to resize a form so that it's bigger than the screen size of the windows??
I mean if you run your windows with 780x1024 resolution you won't be able to set your height or width to any thing larger tha... more >>
Validating event not firing for a checkbox
Posted by Marina at 4/1/2005 3:59:07 PM
Hi,
I am generically adding a handler for the Validating event of various
controls. When added to a checkbox, the event never fires. Any solution
here?
... more >>
What happens when WindowState =Minimized ?
Posted by Grigol Avetikov at 4/1/2005 3:11:24 PM
Hi, i found unusal things happening when Program main window is minimized.
I'm writing large programm on C# and having problem whith memory size
allocated bu program.
Every time i use some dialog's ShowDialog() the memory size of process
increases.
But ones i minimize main window memory size ... more >>
How to change the font in the grid?
Posted by Eve at 4/1/2005 3:01:02 PM
My textboxes use Tahoma, 9. I want to use the same for my grid. Is is
possible? How do I do this?
I found this:
DataGrid1.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
in another forum, ... more >>
Data path changes after saving files with SaveFileDialog
Posted by Microsoft News Server at 4/1/2005 2:52:57 PM
Using VB.NET
I have the path to my Access file stored in an App.config file:
<add key="constring" value="Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=Data/METL.mdb;Persist Security Info=False"/>
I usually set the connection like this:
'* Get the appSettings constring value (set in the ... more >>
How to make the gray area of the grid white?
Posted by Eve at 4/1/2005 2:25:10 PM
I'm developing an application for Pocket PC in VB .NET. My grid can contain
up to 10 rows, but my table has only 2 and I see the dark gray area. Is there
a way to change the color of it? 'DataGrid1.BackgroundColor' works for a
Windows Application, but not Smart Device Application...... more >>
Drag a tree view node on to a richedit
Posted by Jeremy Chapman at 4/1/2005 11:46:06 AM
I want to be able to drag a treeview node, drop it on to a rich edit box and
when that event occures, insert some text into the rich edit at the location
that the node was dropped.
Possible? Any hints on how to do this, as I'm not sure where to start.
... more >>
Windows app access db internet
Posted by JJ at 4/1/2005 11:27:02 AM
Hi,
I built a windows form client app that access a db on a network. Now I was
wondering how can I set it up so that the app accesses the database through
the web? I don't want to rebuild the client app into an asp.net app. Maybe I
could or should use Web Services that sits on a web serve... more >>
Multirow listview (sort of)
Posted by Nils Hedstr=f6m at 4/1/2005 6:43:26 AM
I have a problem with my windows form.
I want to display items that doesn't fit on one row in a listview.
I would like to find a control which enables me to add all my columns but
one to the first row and the last column on the second row.
If it was a html-table an item would look like this
<... more >>
An Application's forms
Posted by Dick at 4/1/2005 3:07:08 AM
Is it possible to get a reference to a collection of all an Application's
loaded forms?
I want to do something like...
For each Form in Application.Forms
Form.ResetLocation
Next Form
... more >>
Form question (Re-usuable code)
Posted by Paul at 4/1/2005 2:13:38 AM
Is there any way of making the following code into a function so that I
don't have to re-use the same code for all my buttons? I've tried to do this
with the code at the bottom of my post but I get a build error saying 'Type
FormToShow is not defined'.
Cheers,
Paul
Private WithEvents Exa... more >>
Form question (Re-usuable code)
Posted by Paul at 4/1/2005 2:13:03 AM
Is there any way of making the following code into a function so that I
don't have to re-use the same code for all my buttons? I've tried to do this
with the code at the bottom of my post but I get a build error saying 'Type
FormToShow is not defined'.
Cheers,
Paul
Private WithEvents ... more >>
Skip LinkLabel in TAB order
Posted by Guido Kraus at 4/1/2005 1:57:02 AM
I have designed a custom control derived from UserControl which contains a
LinkLabel and a TextBox. If the user uses the TAB key to move the focus to my
custom control I want the TextBox to get the focus and not the LinkLabel.
Therefore I set the TabStop property of the LinkLabel control to Fa... more >>
How to achieve the following functionality with Windows Forms ?
Posted by Al at 4/1/2005 1:41:02 AM
I have a useful framework, written in a different language (PowerBuilder),
which I'd like to replicate in .Net and Forms, but I'm unsure of how to
approach it, as the Event model is being used different between the
development environments.
Currently we have data entry screens, whose column... more >>
|