all groups > dotnet windows forms > november 2007
Filter by week: 1 2 3 4 5
Export to PDF
Posted by Luc at 11/30/2007 12:12:01 AM
Hi All,
I urgently need to export an xls into PDF using a .NET control (freeware if
possible) . can anybody have a suggestion / help me finding one??
--
Best regards
Luc
--
Best regards
Luc... more >>
What's the difference between Enter and GotFocus?
Posted by moondaddy at 11/29/2007 1:59:27 PM
I'm writing a vb.net 2.0 app and am wondering what's the difference between
the Enter and GotFocus events. I know that one fires before the other, but
other than that, what's the difference that would make me choose one over
the other?
Thanks.
--
moondaddy@newsgroup.nospam
... more >>
WebBrowser Control: Show Popups in customized WinForm with correct size
Posted by Markus Strobl at 11/29/2007 10:37:31 AM
Hi!
i'm processing the NewWindow2-Event to create my own customized
Browser-Forms when the Website wants to show Popups and display them within
my own Form.
It actually works fine but i have the following problem:
How can i detect the size of the newly created HTML-Popup-Window and ajus... more >>
Detect when mouse enters/leaves form
Posted by Terry Wahl at 11/29/2007 9:28:04 AM
I need way to detect when the mouse enters/leaves a form.
MouseEnter/MouseLeave events will not work because I receive a MouseEnter
event when the mouse moves into the form but once the mouse moves over a
control contained in the form a MouseLeave event is fired. Is there an easy
way to do... more >>
Why should controls inherited from a base form be invisible at des
Posted by Pat Moran at 11/29/2007 8:47:05 AM
I have created a C# form with several controls on it each of which have the
protected modifier set.
When I inherit a form from this base clas then none of the inherited
controls are visible at design time though they are visible and operational
in the inherited form at run time.
i can no... more >>
Application exiting on printing
Posted by pascal.fluck@gmail.com at 11/29/2007 8:26:12 AM
Hi all,
I have a strange problem:
When my application print something with
System.Drawing.Printing.PrintDocument(), my application thread
(MessageLoop) is going down.
I know that because I putted an event on Application.ThreadExit and
this event is launched when printing.
What is also str... more >>
Icons vs Bmp in Resource Files
Posted by Techno_Dex at 11/28/2007 9:25:45 AM
Does anyone have a way to import icons as bmps as "Linked" in Resource files
in the IDE? I need the ability to add icons to a resource file but have
them show up under the Images section with a file type of Windows Bitmap so
that they can be selected at Design Time through the IDE. I have re... more >>
Round button from round image
Posted by Amb k at 11/28/2007 5:29:04 AM
Hi,
I have an image round in shape, now i want to create a button with the image
in the background, but the image is coming in rectangular shape. How to make
it round. I can do it by picturebox but the push pull style for the button
misses in picturebox, any way to do the same . Thanks
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Toolbar button images
Posted by dragonslayer008@hotmail.com at 11/27/2007 8:43:00 PM
I added a button to my tool bar. I noticed the "Image" property.
When I click that it brings me to an open file dialog to choose the
image file. My question is, is the chosen image file loaded as a
resource embedded in the EXE or does it just reference the file?
If it is not loaded as a reso... more >>
toolstrip
Posted by dragonslayer008@hotmail.com at 11/27/2007 8:39:28 PM
I dragged a tool strip control onto a custom control I am working on.
The custom control in turn lives on a form and is set to fill dock.
The problem is when the form is resized, my control is resized
accordingly, but the tool strip is not resized to be longer (to cover
the entire top width of t... more >>
WPF Active element
Posted by Mircea Pleteriu at 11/27/2007 9:54:20 AM
Hi all,
I'm working on a WPF applicaation. How to get the current active (focused)
element in the window?
... more >>
"Posting" a method call to the UI thread
Posted by Eric Dan at 11/27/2007 8:13:02 AM
Hi,
Sometimes while handling an event in the UI thread I need to call some
action but I don't want it to be invoked in the context of the event (some
reentrant function calls may fail for example) but right after (in the same
UI thread) , something like PostMessage to the UI thread.
Is ... more >>
how to stop my app from closing
Posted by jmagaram at 11/26/2007 3:15:03 PM
i have written a c# .net app that runs in the notification area of the
taskbar. it should stay alive as long as the windows session is alive (like
the volume control or clock in the taskbar). the problem is that my app
closes on Log Off even if the Log Off is aborted. for example, suppose the ... more >>
vs2008 or not
Posted by John at 11/25/2007 8:49:06 AM
Hi
I need to start a new win form project and I am wondering if I should choose
2008 at this stage. My questions are following;
1. Is 2008 much different from vs 2005 in terms of skill set to prohibit
smooth development of application ie is there a steep learning curve for
common app dev... more >>
Devloping Help like Office 2007
Posted by BillG at 11/24/2007 4:41:47 PM
Does anyone know what tool was used to develop the help documents in Office
2007?
Bill
... more >>
Passing paramter to Assembly.
Posted by Ibrahim. at 11/24/2007 7:18:01 AM
Hello,
I have DLL library, this DLL im invoking from Client application, I need to
pass some paramter to the DLL library (user id).
something like static Main method declared in the assembly (DLL library).
how can i achieve this?
thanks.
... more >>
Help on Microsoft DLL based SQL Engine
Posted by David at 11/23/2007 3:29:13 PM
I know that Microsoft was working on DLL based SQL min-Engine, eg.
you install the DLL with the app. Was this product released and, if
so, what is the name?
Thanks
... more >>
vs2005 Saving to File
Posted by Don at 11/23/2007 1:23:02 PM
I can print a Report, with Grapics etc, directly from vs2005.
I would like to know haw I may Print to File OR save a File, to be printed
later.
Hope there's help.
Thank you
--
Don... more >>
View PDF Inside a Form
Posted by George Shubin at 11/23/2007 11:04:37 AM
Does anyone have a recommendation for a PDF viewer component or control?
Preferrably low or no cost.
Thanks.
GS
... more >>
Seeking Code Editor component
Posted by Alexander Vasilevsky at 11/23/2007 10:13:39 AM
Seeking Code Editor component
http://www.alvas.net - Audio tools for C# and VB.Net developers
... more >>
scrollbar maximum
Posted by jonpb at 11/22/2007 1:08:10 PM
Hi, My scrollbars never hit their maximum value. Has anyone else
experienced this? Is there a work around other than setting the maximum
to a higher number? The scrollbar increments a value that is used as an
angle of rotation from 0 to 180, it cannot have a value greater than 180.
Thanks f... more >>
Keyup event firing when it shouldn't!
Posted by Gav at 11/22/2007 3:39:00 AM
Hi all,
I'm creating a MDI program, so far when it runs, it shows a dialog box for
logging in (modal dialog form with acceptbutton/cancelbutton set, accept
button validates username and password). After receiving the DialogResult if
all is OK I make a treeview visible (that is docked to lef... more >>
How do I disable a Post
Posted by Don at 11/21/2007 5:47:01 PM
I would like to be able to clear aPost so I may rephrase it.
Thanks for reply.
--
Don... more >>
How do I clear a posting
Posted by Don at 11/21/2007 5:35:00 PM
How do I clear a posting, that has not been answered, so I may rephrase it.
Thanks
--
Don... more >>
DataGridView and images column
Posted by rodchar at 11/21/2007 1:33:01 PM
hey all,
i'd like to place one of two images in a column of my DataGridView based on
a value that's coming in for that row from the database. can someone please
show me how to do this?
thanks,
rodchar... more >>
How to keep focus on a control?
Posted by Andrew at 11/21/2007 1:22:18 PM
Hello, friends,
In VB6, we have SetFocus() to keep cursor in a masked box if the format is
not right. In c#.net 2005, what is the corresponding function/method? I tried
BringToFront(), it did not work. Focus still left from wrong-formatted-date
masked box and went to another control.
Tha... more >>
Clearing Question
Posted by Don at 11/21/2007 12:59:02 PM
How do I clear a question I have entered??
I nkow dumb question for me.
thanks
--
Don... more >>
frm.visible=true vs. frm.show
Posted by moondaddy at 11/21/2007 12:46:05 PM
using vb.net 2.0:
What's the difference between: frm.visible=true vs. frm.show ?
dim frm as New Form1
frm.Visible=True
or
frm.Show
Thanks.
--
moondaddy@newsgroup.nospam
... more >>
PasswordChar property in ToolStrip textbox
Posted by Junior at 11/21/2007 11:46:05 AM
Hi everyone,
As I noticed, there's no such property in a toolstrip textbox. So, if I need
to collect a password in a toolstrip, what would be the best approach ?
Thanks !... more >>
Security issue when rolling app to Network
Posted by Richard at 11/21/2007 9:10:53 AM
The dot Net 2 based VB.NET app works fine when used on the server
When used by any machine other than a machine loaded with VS on the
newtork it fails with this error:
************** Exception Text **************
System.Security.SecurityException:
System.Security.Permissions.SecurityPermissio... more >>
Model View Controller with .Net
Posted by Martin Widmer at 11/20/2007 3:21:38 PM
Hi Guys
We are trying to develop a brand new version of a more than 10 yrs old
16-bit application by state of the art architecture. Due to many views on
different business objects we decided to use the MVC pattern do decouple the
logic from the views. Since we do it the first time there are... more >>
Determine when dragging a form has stopped.
Posted by Bob Johnson at 11/20/2007 12:47:35 PM
How can I programmatically determine when a MDI child form has been dragged
from one location to another within its MDI parent form? Ideally I'd like to
trap some event that occurs when the dragging has stopped.
Thanks.
... more >>
Need Advice on GUI design
Posted by BillG at 11/20/2007 12:23:34 PM
I am creating a Wpf app that will have a Navigator bar (Group bar) on the
left hand side of the main form that will display groups like Customers,
Invoices, Deposits etc. When the user clicks on the Customer group bar for
example the customer list will be displayed in a grid and the naviagato... more >>
Changes to Attached Database not updated
Posted by Crazy Cat at 11/20/2007 12:05:40 PM
Hi,
I am deploying a ClickOnce application with an attached database. I
set the BuildAction to Content and set Copy To Output Directory to
Copy Always. When I make changes to the attached database in the
deployed application they appear to be written, however when I open
the application all m... more >>
Free Windows Control
Posted by Max at 11/20/2007 5:22:33 AM
Hi, where i found a free window control ?
Thanks... more >>
Window service
Posted by AMP at 11/20/2007 4:59:34 AM
I am trying to find the details of all the services that are running
a machine
I have used
Dim services() As ServiceController
Dim i As Integer
services = System.ServiceProcess.ServiceController.GetServices()
For i = 0 To services.Length - 1
msgbox (services(i).... more >>
How to simulate HelpButtonClicked event
Posted by clkurtz at 11/20/2007 1:56:43 AM
I'm working on an windows application, framework 2, language c#. I'm
debugging on Windows Vista and XP.
I need to have the [?] button in the caption bar, but also minimize
box and maximize box.
The only way to have the [?] button visible is to disable minimize and
maximize box. Okay, this is ... more >>
Windows Service - FileWatcher doesn't work on D drive
Posted by Elmo Watson at 11/19/2007 9:41:42 AM
I'm using a windows service, with a Filewatcher, to poll a particular
folder.
I can always get it to work correctly if I set the folder somewhere on the C
drive (which is the boot drive also), however, it never works at all if I
set it to look an any folder on the D Drive. The files are total... more >>
New Namespace in .Net 3.5 for building CBT apps... I can't remember what it's called!
Posted by Jason Kendall at 11/19/2007 6:49:58 AM
A couple weeks back I read an article about a new namespace available
with the .Net 3.5 framework that allows easily doing things like
moving the mouse, clicking buttons, and such. It was really a great
way to do things that used to require API calls.
This article also included a link to a wi... more >>
Databind enum to a ComboBox
Posted by Rowland Shaw at 11/19/2007 4:10:01 AM
I'm trying to display values of an enumeration (below) in a combo box.
As a proof of concept, I've attempted to do this via a TypeConverter; but it
would appear that the associated TypeConverter is never instantiated, let
alone called.
Am I missing something silly, or is there some limita... more >>
Mdi Child Form - Limiting Placement Within Mdi Parent
Posted by Bob Johnson at 11/19/2007 12:29:02 AM
..NET 3.5: I have placed two controls at the top of an Mdi parent form.
The top-most control is a Panel that is docked to the Top.
Immediately below the Panel is a user control that is Anchored to the Top,
Left, and Right.
At runtme I can drag Mdi child forms toward the top of the Mdi parent.... more >>
System.OutOfMemoryException in System.Drawing.dll
Posted by Evan at 11/18/2007 11:52:46 PM
I've been working on a Windows Forms application for some time now,
but I'm having some trouble when I call Application.DoEvents(). When I
do this after the program has been running for a few hours it causes a
System.OutOfMemoryException to be thrown in System.Drawing.dll. Can
anyone steer me in... more >>
ControlDesigner for a custom form (not a child control)
Posted by vmantrana at 11/17/2007 4:28:20 PM
Hi guys:
I have been learning about design-time support and I have question
about this. I have test how it works for my own controls and it did
great; however I tried to attach a ControlDesigner to my custom form
and it didnt work.
My question is, how can I attach a ControlDesigner to my cust... more >>
ProgressBar or WaitCursor
Posted by PK at 11/17/2007 12:46:43 PM
I have a MDI Application. It has a simple menu. On clicking menu
items, child forms open. Since, the loading of the form was taking
quite sometime, I have separated the loading of data by using a
background thread. Now, first the UI elements are loaded, the form is
displayed and then the data is... more >>
Can a ContextMenuStrip use a MenuItem from a regular Menu
Posted by Elmo Watson at 11/16/2007 10:30:07 PM
Up on the top of my app, I have a normal menu strip (file/View/Windows, etc)
I want to actually use one of those MenuStripItems as a context menu
Is there any way to use one of these MenuStripItems (like View), as a
ContextMenu?
... more >>
Wierd problem with ComboBox
Posted by BillG at 11/16/2007 4:05:03 PM
I have 3 combo boxes on a win form. I have set the DisplayMember,
ValueMember and DataSource correctly for all 3. When I go to retrieve the
SelectedValue of all 3, 2 of them show the value selected while the third
shows the object that is being stored in the combo box. If I examine the
va... more >>
Bind Property of Child-Objecty to DataGridView
Posted by Pieter at 11/16/2007 10:17:37 AM
Hi,
I want to bind a proeprty of a child object to a DataGridView, but it
doesn't work.
For instance:
Imagen that I have an object Company, and this object company has a child
object Address.
Address has a property Street.
Now I want to bind a list oc Company objects to my DataGridVie... more >>
Is There a Simpler Way To Display Parent/Child Data in Two ComboBox Controls
Posted by Bob Johnson at 11/16/2007 7:42:42 AM
..NET 3.5, Windows Forms app: My objective is to display parent/child data in
two ComboBox controls, such that when a parent item is selected in one combo
box, associated child items appear in the other combo box.
I already know one way to make this work using two DataTables and a
DataView,... more >>
What does this.Close() do?
Posted by gol at 11/16/2007 12:40:01 AM
Hi,
I'm developing an application in c# for a pocket pc with Windows Mobile 5.0.
I have two forms, let's call them A and B. At a button click in form A I
want to see form B. However, I want to keep form A "alive", to go back to it
later, and collect the data received in form B.
In form B I ha... more >>
Close event in winform
Posted by moondaddy at 11/15/2007 11:53:25 PM
I have a vb.net 2.0 winforms app. In the old days there was a close event
that would fire when the form closes but I don't see any close or unload
events. Can you please tell me what event fires when the form closes so I
can run some cleanup code?
Thanks.
--
moondaddy@newsgroup.nospa... more >>
|