all groups > dotnet windows forms > may 2008
Filter by week: 1 2 3 4 5
PostScript font support in GDI+?
Posted by Luc at 5/30/2008 3:00:43 PM
Is support for PostScript fonts planned, or possible through a workaround?
Only TrueType fonts and OpenType fonts containing TrueType outlines can be
picked for WinForms forms and controls; Type 1 and OpenType with Postscript
outlines don't show up in the font selector.
I'm working on a ki... more >>
Expired certificates in the clickonce manifest
Posted by Brian at 5/30/2008 2:33:08 PM
When a certificate expires, what options are available?
- use an internal certificate authority where you can renew a
certificate with the same private key
- delete the clickonce cache from each computer
- any others?
Background:
The ClickOnce technology requires every application update to ... more >>
Setup project - add uninstall
Posted by Seth Williams at 5/30/2008 12:28:13 PM
In the Setup/deployment projects, how can you add an icon to the Programs
menu, to uninstall your application or dll?
... more >>
Main form doesn't repaint until mouse moved
Posted by km at 5/30/2008 9:57:03 AM
I've got a c# desktop app with various menu items that display modal dialogs
for changing app settings, etc.. Standard stuff.
After a particular dialog is closed, the main form doesn't repaint the area
that was covered by the child form until the user moves the mouse.
I can't see how this ... more >>
Native Chart support
Posted by Thiago Macedo at 5/30/2008 8:00:35 AM
Hi,
Does anybody know a native .net framework class for display GDI
charts? Like Component1 or Interop, but it need to be .Net native.
Thanks for any appointment
Thiago... more >>
XP DISC SCRATCHED
Posted by da man at 5/30/2008 3:54:01 AM
IF YOU HAVE ORIGINAL XP DISK WITH PRODUCT KEY CAN YOU DOWN LOAD FROM NET THE
PROGRAM ? FROM MICROSOFT... more >>
Datagridview conditional formatting using separate column
Posted by Rob Oldfield at 5/30/2008 2:12:02 AM
Hi,
I want to conditionally format a column in a datagridview according to the
value in a different of my datasource. So if col 1 is true, then display col
2 in a different colour.
I know that I can use the cell formatting event if I want to conditionally
format the cell according to th... more >>
DataGridView bound to BindingList<myObj> -- how to update immediately when they click a checkbox?
Posted by RobinS at 5/29/2008 2:43:18 PM
I have a DataGridView bound to a BindingList<myObj>.
In my DGV I have two checkbox columns. Right now, the user can check these,
and if he clicks on another row or clicks on one of the buttons of the form,
it will fire the EndEdit event, in which I have embedded a Save().
Is there a way to... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Application Settings and Form Location & Size
Posted by Roger Down at 5/29/2008 12:22:48 PM
I'm trying to use Application Settings with From Location & Size. I have
created the property binding from the Designer in Visual Studio.
ClientSize = MainFormClientSize
Location = MainFormLocation
I also have the following code:
private void MainForm_FormClosing(object sender, FormClosi... more >>
RichTextBox very slow
Posted by kelvin.koogan@googlemail.com at 5/29/2008 5:31:48 AM
I'm using a RichTextBox in a protocol analyser I'm developing. However
as the amount of data gets large, e.g. 500000 lines, the control
becomes very slow.
For example if I load in a saved file it can take 30 seconds just to
transfer data from a StringBuilder to the RichTextBox, even with
upda... more >>
windows xp
Posted by ni at 5/28/2008 2:41:04 PM
i have a computer that will not boot up at all i need to know how to get it
to boot up.. i can not get in windows at all... when i turn on the computer
it will not show any thing.. i was looking for a boot up disk but i can not
find one .. can some one help me..... more >>
Localization in Classes
Posted by Pieter at 5/28/2008 11:26:42 AM
Hi,
I'm using VB.NET with VS.NET 2005. I'm using the standard localization to
localize my Forms and UserControls, which works perfect.
BUT: I also want to localize the (error)messages I'm using in my CLASSES.
But there isn't a .resx file created for my classes. Is there any way to
genera... more >>
Play Medai Whilst Updating Tags and FileName
Posted by chubbyarsemusic@googlemail.com at 5/28/2008 3:24:07 AM
Hi All,
I'm developing a small utility which will allow me to take my ever
growing list of Mp3's and update the tags and cover art to upload to
my Mp3 player.Most of my mp3's don't have any tags to go on, and some
don't even have filenames to indicate what they are. To this end I'm
developing... more >>
Wrong size of UserControl
Posted by Hamed at 5/27/2008 6:39:29 PM
Hello
I have a UserControl sized to 100; 200
When I drop it in my form the initial size is 100;200 (as I prefer). Then I
decided to change the size of my UserControl to 200;200 but although I have
not set any value to the size of the dropped control in my form, recompiling
the project does... more >>
Progress bar sometimes refuses to refresh (but works OK with DoEve
Posted by David at 5/27/2008 11:40:01 AM
I have a .NET 3.0 (VS2005) Winform app. The UI invokes a long-running BRL
process (synchronously, on the same thread). The BRL raises events
periodically to tell the UI to update a progress bar. Works OK, most of the
time. But if the user does something as simple as clicking on the form, the... more >>
Uninstall linux
Posted by TF7 at 5/26/2008 5:34:01 AM
I am attempting to uninstall linux and it's bootloader from my desktop. I
attempted to use the fdisk/mbr command from my xp install disk. I enter
restore and get to the admin password which it does not accept. I cannot get
pate this point. Any help or another method to accomplish this would b... more >>
Change the image of 3-state checkbox in datagridview
Posted by Dan at 5/23/2008 9:19:02 AM
Hi,
I would like to change the image of indeterminate state of a checkbox in
datagridview from green square to red check.
Can anybody tell me how to do it? Thanks a lot.
Dan... more >>
VB low level IO
Posted by Paul Ilacqua at 5/22/2008 5:19:48 PM
I'm using VB 2005 and want to build and use a counter file. It will be used
as an autonumber field for a database application. It will be hit 10 - 15000
times a day. Naturally I want to lock all reads - writes while the number is
incremented. The file can be read - incremented and be rewritten... more >>
Can't add user control in a separate assemly
Posted by Rami at 5/22/2008 10:16:23 AM
I manage to add a class in my project namespace, add UserControl inharitance
and after compilation I see its usercontrol representation in the toolbox.
On the other hand if I create the class in a separate project and assembly
which I added to the solution, it doesn't appear there.
Can someone a... more >>
Windows explorer on Vista keeps not responding
Posted by woodsstorm at 5/21/2008 4:00:00 PM
I have run every help program out there but there is no soulotions the
problem that im having it doesn't matter what im running windows explorer
just locks up and keeps not responding and i have to end the process and run
it again, i need some help on this please thank you.
my computer spec... more >>
ClickOnce Start Folder Name keeps getting overwritten
Posted by Jones at 5/21/2008 10:57:28 AM
Hello,
I've figured out how to use Mage to update the manifest to change the
name for the Startup folder. However, every time I build the project,
this information just gets overwritten again. So for example I want it
to be Company Inc and after the build it becomes Company NA. I'm not
sure... more >>
Resizing controls embedded in a composite user control
Posted by Ron at 5/21/2008 10:00:45 AM
I have a composite control consisting of a textbox and label. When i place
the custom composite control on a form I would like to allow the user to
resize the individual controls within the composite control using the
standard drag and alignment hints Visual Studio creates for all of the ot... more >>
Beginner questions
Posted by Rami at 5/20/2008 12:28:57 PM
I'm a beginner in dotnet and I'd like to ask a few questions-
1. What is the advantage of puting some controls on a panel control instead
of directly on the form?
2. When I set backgroundcolor and backgroundimage to certain values (to
certain color and certain image, respectively of a form) and ... more >>
Connecting to WebService using Proxy Server
Posted by Sanjay Pais at 5/20/2008 11:21:13 AM
We have a windows application built using .net 2.0 & c#
This application has a web reference that allows us to connect to a web
service.
This application works fine except in some cases....
We have clients who use a proxy server to connect to the internet. Our
application is unable to connect... more >>
How do I create Forms that behave like the Visual Studio layout?
Posted by Michael at 5/20/2008 8:16:29 AM
You'll notice that forms in the Visual Studio interface automatically
resize when a form is deleted or resized, or when a new form is added.
Is there a simple way to accomplish this? (the SplitContainer will not
accomplish this behavior). Thanks for your help.... more >>
Plugin architecture
Posted by John at 5/20/2008 3:57:23 AM
Hi
Is there a way to write a "plug-in" that can be used with both a winform app
and a windows service? If so, how?
Thanks
Regards
... more >>
ANN: VintaSoftAnnotation.NET Plug-in v1.0 has been released.
Posted by support@vintasoft.com at 5/20/2008 3:55:49 AM
VintaSoftAnnotation.NET is a developer's tool that allows to annotate
images: create, process, delete, save to XML or TIFF file, merge the
annotations with image. Supported annotation types: rectangle,
ellipse, image, text, rubber stamp. Individual annotation features:
moving, resizing, rotate a... more >>
Need URGENT help with bug in my Dialog box
Posted by BillG at 5/19/2008 6:57:46 PM
I have a dialog box which I pop up with ShowDialog(). On this form, I have
a menu item that when clicked pops up a crystal reports viewer and displays
a report. When the menu item is clicked the report never shows. I tabbed
to another window on my development machine and when I came back, t... more >>
windows forms datagridview doesn't sort automatically
Posted by BillE at 5/19/2008 11:49:22 AM
I'm building a windows forms application using vs2005, vb.net.
I have a form with a datagridview bound to a BindingSource.
Even though the Sortmode is set to Automatic for all columns, they do not
sort when the header is clicked.
Is this because of the type of datasource I am using?
Ho... more >>
FormBorderStyle.None hide windows bar...
Posted by cold80 at 5/19/2008 9:08:20 AM
I would like to use the value FormBorderStyle.None for the border of
the form, so I can hide the title bar of my window. But when I set
this property I also get that the windows bar is hidden. I would like
this bar to be shown as my users would use the taskbar to switch to
other programs. I've l... more >>
I get Open with: when trying to open or explore my hard drive C:\
Posted by ippo at 5/19/2008 1:48:05 AM
winforms based product updates provision
Posted by enzeez at 5/17/2008 1:40:39 PM
Hello,
I need to provide an updater exe along with my product executable in setup.
My product exe will check for updates if any, available and will launch
a process , updater.exe.
updater.exe downloads the updated version available.
This updater.exe needs to replace the current product exe... more >>
BackgroundWorker question
Posted by Seth Williams at 5/16/2008 12:58:29 PM
I know how to update a status bar using the ProgressChanged event, if all
the processes are in the form.
However, I have a separate class, which does a recursive file copy. In that,
I'd like to update the status bar as each file is addressed. (I have several
places in classes, I'd like to... more >>
Click-Once deployment problem (mshtml problem?)
Posted by B. Chernick at 5/16/2008 11:21:23 AM
I think I'm getting lost here. I've written a VB/Dot Net 2.0 Winforms app
that making calls to Microsoft project through the interop. I'm trying to
distribute this through ClickOnce.
One of the files listed in the Application Files popup is
Microsoft.mshtml.dll (Prequsite(Auto) (None)).... more >>
Cannot install updates after SP3 on XP
Posted by Roland at 5/16/2008 10:45:01 AM
We have built a laptop with XP MSE 2005. Had it all set to deliver with
latest MS updates when SP3 came out late last week. SP3 installed fine and
the system runs good but now it will not install updates from the MS Update
site. The Tuesday patches downloaded fine but refuse to install, ther... more >>
Application.ThreadException issue
Posted by Andy at 5/16/2008 7:03:30 AM
Hi,
This may seem obvious, but I just want to be sure.
I have my Program.cs, which executes a bunch of code prior to
executing Application.Run( mainForm ).
My question is this; right away, I hook an event handler to
Application.ThreadException. If an exception occurs BEFORE
Application.... more >>
ToolTip for custom control
Posted by cronusf@gmail.com at 5/15/2008 7:08:41 PM
I have a custom control that draws some of its elements. When the
mouse is over certain areas, I want to display a tooltip. The problem
is that these elements are not Controls, so I cannot use
ToolTip.SetToolTip.
Is there an API so that I can draw a tooltip with the text and
position I want... more >>
Best way to avoid piracy
Posted by Cirene at 5/15/2008 1:41:19 PM
I create a simple little winform app. Any advice on how I can easily
implement an anti-piracy solution so that people won't just email the
program to their friends? What solutions have you found useful?
... more >>
Redraw PictureBox immediately
Posted by Peter Morris at 5/15/2008 1:09:33 PM
Is there a way to get a PictureBox to repaint immediately rather than having
to wait for Invalidate? I am changing its image based on the mouse moving
whilst held down, but the control is not redrawn until I release the mouse
button. As a result the user does not see the result of their move... more >>
CancellationPending Always False
Posted by Krip at 5/14/2008 2:16:29 PM
I'm writing a WinForms app in .NET 3.0 using the BackgroundWorker component.
I call the CancelAsync method, and in another method check
CancellationPending. CancellationPending is always false. Anyone else have
this? Or know why this is?
Thanks,
Krip
... more >>
DtaGridView - Add DataBinding using bindingsource
Posted by Ryan at 5/14/2008 6:18:22 AM
Hello all,
I am relatively new to windows forms and I am trying to make this work
(pseudo code):
Create bindingsource.
Set DataSource property of bindingsource to generic list
Check to see if datasource of datagridview is null
if it isn't add databindings
i.e.
private BindingSource b... more >>
How to create multilingual application in Visual c++ .net
Posted by Abhijit D. Babar at 5/14/2008 4:58:03 AM
I have to create a multilingual application in Visual c++ .net. I have a
Windows form application and i want to run this on multilingual suuport. So
how can i do this. Which change i have made in my application setting ot
properties. Is there any code i have to write into application?. I h... more >>
Updating Label Value and Recursing Through Directories
Posted by Edwin Velez at 5/13/2008 12:51:31 PM
http://msdn.microsoft.com/en-us/library/806sc8c5.aspx
The URL above gives sample code for use within a Console Application. What
I would like to do is use this code within a Windows Form. That part is
easy. The part that I am having trouble with is using the code in a form
and having a Labe... more >>
VB.Net Treeviews
Posted by Rob Oldfield at 5/13/2008 4:28:02 AM
I've been searching around for a good example of how to build/maintain
Treeviews but haven't managed to find one. Could anyone point me at a good
one please.
Windows forms application using VS 2005.... more >>
How to control size of length in richtexbox per line ?
Posted by engteng at 5/12/2008 5:47:35 PM
How to control size of length in richtexbox per line ?
Regards,
Tee
... more >>
A DataTable-bound DataGridView throws a low-level Exception when columns are sorted, removed and re-added to the underlying DataTable.
Posted by Sath123 at 5/11/2008 7:00:21 PM
Hi,
I am experiencing this issue when I am working on creating a dynamic
datagrid. Please let me know if there is any work around for this
problem. If I am posting this in the wrong newsgroup please point me
to the right newsgroup.
Issue: A DataTable-bound DataGridView throws a low-level Ex... more >>
Key Handling Problem
Posted by Anthony Peterson at 5/9/2008 7:32:34 AM
I have written an MDI windows application that handles key presses to
do things like make text bold, and in a previous version successfully
used cut, copy and paste with a RichTextBox. However, at some point in
time, just the Cut, Copy and Paste stopped working. I was trying to
set it up so I c... more >>
Suspending screen updates
Posted by John at 5/8/2008 10:02:21 PM
Hi
I have a winform with a panel on it. I am doing visual changes to the panel.
Is there a way to suspend screen painting during these changes? If the whole
form needs its display suspended then that would work for me too. How can I
do this?
Thanks
Regards
... more >>
Splash screen duration
Posted by John at 5/8/2008 8:33:50 PM
Hi
I have a typical vs 2008 winfrom app with a start-up form and a splash
screen managed by the framework. My question is what makes the splash screen
disappear as I want to keep it displayed for a few more moments than it
does?
Thanks
Regards
... more >>
Speed issue loading image
Posted by John at 5/8/2008 5:08:50 PM
Hi
I am using below statement to load an image;
Me.MyPictureBox.Image = Image.FromFile(CStr(Me.txtMyPhotoPath.Value))
Problem is it is taking too long and slowing the app down. Is there another
faster way to achieve this? or to degrade the quality of image on the fly to
have to load sma... more >>
|