Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
all groups > dotnet windows forms > recent posts

Re: Displaying high-res images in .NET?
Posted by Bob Powell [MVP] at 4/24/2008 9:18:53 PM
There are no real solutions to this problem. A 32 bit process has a 2 gigabyte address limit but in reality the usable limits of memory in a .NET program are somewhat less. GDI+ is not well suited to dealing with large images and certainly, a 14000 by 10000 full colour image would hit the s...more >>


Re: title bar
Posted by cal at 4/24/2008 9:18:02 PM
sorry, I use csharp, thanks "cal" <a@a.com> wrote in message news:u2H3dlmpIHA.4888@TK2MSFTNGP04.phx.gbl... > Hi group, I want to hide the titlebar of Form1, VS2005 > > thanks very much, Carlos. > > ...more >>

title bar
Posted by cal at 4/24/2008 9:13:07 PM
Hi group, I want to hide the titlebar of Form1, VS2005 thanks very much, Carlos. ...more >>

Displaying high-res images in .NET?
Posted by Usenet User at 4/24/2008 5:48:51 PM
..NET 1.1/2.0 I have a need to display high-resolution scrollable images in a .NET application (Windows Forms). One well known solution is to create a Panel with AutoScroll set to "true" and then add a PictureBox or another Panel to it, that is used to display the image. The above approach ...more >>

Re: Displaying high-res images in .NET?
Posted by Ben Voigt [C++ MVP] at 4/24/2008 5:04:02 PM
Bob Powell [MVP] wrote: > There are no real solutions to this problem. A 32 bit process has a 2 > gigabyte address limit but in reality the usable limits of memory in > a .NET program are somewhat less. At least, potential solutions such as MapViewOfFile aren't very accessible from C#. > ...more >>

Re: Opening forms in background thread
Posted by Tom Shelton at 4/24/2008 3:35:26 PM
On Apr 24, 3:48=A0pm, "John" <i...@nospam.infovis.co.uk> wrote: > Hi > > I have a number of forms which open like this; > > Dim frm1 As frmForm1 =3D New frmForm1 > Dim frm2 As frmForm2 =3D New frmForm2 > Dim frm3 As frmForm3 =3D New frmForm3 > Dim frm4 As frmForm4 =3D New frmForm4 > > .......more >>

RE: C# Application Dies for Only 1 User
Posted by Erik Reiter at 4/24/2008 2:26:01 PM
I have added some additional logging to the app and can still not find the root cause. I had the user copy the application from the debug directory of my dev machine and put it in the c:\temp directory. The version in the c:\temp directory is not auto closing. Erik...more >>

Re: Application start-up events without start-up form
Posted by Bill McCarthy at 4/24/2008 2:20:37 PM
What is it you are trying to do ? If you want to change the startup from at runtime you can do that in the Startup event by setting Me.MainForm to the appropriate form. "John" <info@nospam.infovis.co.uk> wrote in message news:eVXen%23ZpIHA.1420@TK2MSFTNGP03.phx.gbl... > Hi > > My app ...more >>



Re: Application start-up events without start-up form
Posted by John at 4/24/2008 1:21:18 PM
Hi I need the vb.net app to work in background (so to speak) as it will get an event by an external app periodically by it (vb.net app) being called with a parameter by the external app. I am using MyApplication_Startup and MyApplication_StartupNextInstance events to pick up that command li...more >>

Hooking into DataSet Auto Generated Code
Posted by apitman at 4/24/2008 12:24:06 PM
I have an application that I am trying to use auto generated code as much as possible. It makes writing the application so much easier. I have created a DataSet based on an SQL database connection. VS2008 generated the dataset class and code. I need to insert some logic in the UpdateAll me...more >>

Re: Reading Data From The Browser
Posted by Jeff Gaines at 4/24/2008 10:22:26 AM
On 24/04/2008 in message <d07c8ec5-89cb-45de-a6cc-4b204924553c@27g2000hsf.googlegroups.com> emarvets@gmail.com wrote: >I haven't touched the IE API's in years, but know there has to be a >way. I doubt very seriously that FireFox does, but if anyone has any >ideas, it is more than appreciat...more >>

Reading Data From The Browser
Posted by emarvets@gmail.com at 4/24/2008 9:13:25 AM
I'm working on a stand-alone winform app and could add a really cool feature if I could just get the URL of the active tab in the active browser window. Note that the browser would have focus...my app just sits in the background and based on the current URL, it would change the context of inf...more >>

Re: App design advise
Posted by Bill McCarthy at 4/24/2008 6:14:07 AM
"Tom Shelton" <tom_shelton@YOUKNOWTHEDRILLcomcast.net> wrote in message news:ejxDQzXpIHA.3408@TK2MSFTNGP03.phx.gbl... > > If your asking how to get command line parameters, then in VB.NET you > have several choices.... > > Use a main method as your startup object: > > Sub Main(ByVal args(...more >>

Re: DPI issues
Posted by Jeff at 4/24/2008 6:12:06 AM
I was able to get the application to look ok in 120 DPI by making sure that all the controls had panels or group boxes around them and have the form set to use autoscalemode = dpi. Microsoft advised me agaist trying to hard code the positions if at all possible. I would still like to see so...more >>

Application start-up events without start-up form
Posted by John at 4/24/2008 1:10:51 AM
Hi My app needs to use the MyApplication_Startup and MyApplication_StartupNextInstance events but do not need the start-up form. How can I get rid of the start-up form as I can't select the Sub Main when application framework is enabled.? Thanks Regards ...more >>

Re: Big Problem with Tabcontrol
Posted by Jeff Gaines at 4/24/2008 12:57:51 AM
On 24/04/2008 in message <be38b724-4fbc-42e3-9479-8060ff4c66cf@b1g2000hsg.googlegroups.com> zorrothefox.groups@gmail.com wrote: >I have run out of ideas here. Any help would be highly welcome. >Windows Forms Gurus, please show me the light! I use the second technique you mention with user...more >>

Re: title bar
Posted by v-lliu@online.microsoft.com at 4/24/2008 12:00:00 AM
Hi Carlos, You can remove the WS_CAPTION window style from the Form1 to get what you want. To do this, override the CreateParams property of the Form1 and remove the WS_CAPTION window style from the original window style. The following is a sample: public partial class Form1 : Form { ...more >>

Re: title bar
Posted by Scott M. at 4/24/2008 12:00:00 AM
Simply change the form's border property to none. "cal" <a@a.com> wrote in message news:eYUPPompIHA.4280@TK2MSFTNGP02.phx.gbl... > sorry, I use csharp, thanks > > "cal" <a@a.com> wrote in message > news:u2H3dlmpIHA.4888@TK2MSFTNGP04.phx.gbl... >> Hi group, I want to hide the titlebar of ...more >>

Re: Opening forms in background thread
Posted by John at 4/24/2008 12:00:00 AM
Hi Tom Many Thanks Regards "Tom Shelton" <tom_shelton@comcast.net> wrote in message news:013c1fea-93b5-4ac4-9c8c-d9b51287c900@m36g2000hse.googlegroups.com... On Apr 24, 3:48 pm, "John" <i...@nospam.infovis.co.uk> wrote: > Hi > > I have a number of forms which open like this; > > Dim...more >>

Opening forms in background thread
Posted by John at 4/24/2008 12:00:00 AM
Hi I have a number of forms which open like this; Dim frm1 As frmForm1 = New frmForm1 Dim frm2 As frmForm2 = New frmForm2 Dim frm3 As frmForm3 = New frmForm3 Dim frm4 As frmForm4 = New frmForm4 ..... and so on and then finally open the first form with frm1.Show(). My question is,...more >>

Re: ClickOnce Updates from a Different Publish Server
Posted by RobinS at 4/23/2008 11:55:50 PM
"OscarM" <OscarM@discussions.microsoft.com> wrote in message news:80080F0E-89EE-4FCA-8454-BBFCDC375C7E@microsoft.com... > Hi, > > I'm currently using ClickOnce to deploy an application written in Visual > C# > 2005. The client has it installed already. > > I'm wondering if there is a way...more >>

Re: DPI issues
Posted by RobinS at 4/23/2008 11:53:45 PM
Did you ever figure out how to do this? I'm having the same issue. When I set the autoscalemode to DPI, it resizes stuff pretty well, except the forms where we have hardcoded splitters. In those cases, I think I'm going to have to calculate the positioning. RobinS. GoldMail.com "Jeff" <...more >>

Re: Books recommendations please
Posted by RobinS at 4/23/2008 11:51:46 PM
The DataBinding book by Brian Noyes is awesome. You might also want to check out Deborah Kurata's Doing Objects in VB2005. With that book you end up building an entire application using business objects, including setting up the stored procs for updating. RobinS. GoldMail.com "John"...more >>

Listview subitems issue in VISTA
Posted by himaushu at 4/23/2008 10:51:39 PM
hi, I have an application containing multiple listviews. The items in listviews are seen fine on all the other OSs than VISTA.Due VISTA's default theme, one element is shown less. Also the border or all the MDI forms is seen one pixel thick. Is there any code solution for it apart from changing...more >>

Re: App design advise
Posted by John at 4/23/2008 9:09:07 PM
Wouldn't a new instance of .net app be run on each incoming call resulting in multiple copies of app running? Thanks Regards "Tom Shelton" <tom_shelton@YOUKNOWTHEDRILLcomcast.net> wrote in message news:ejxDQzXpIHA.3408@TK2MSFTNGP03.phx.gbl... > On 2008-04-23, John <info@nospam.infovis....more >>

Re: Application start-up events without start-up form
Posted by Tom Shelton at 4/23/2008 9:01:07 PM
On Apr 23, 6:10=A0pm, "John" <i...@nospam.infovis.co.uk> wrote: > Hi > > My app needs to use the MyApplication_Startup and > MyApplication_StartupNextInstance events but do not need the start-up form= .. > How can I get rid of the start-up form as I can't select the Sub Main when= > applica...more >>

App design advise
Posted by John at 4/23/2008 8:47:13 PM
Hi I have a third party telephony app that can inform of the any incoming call tel number by one of two methods; a) It can run a windows app with tel number passed as parameter, or b) It can run a vbscript with tel number passed as parameter to the script. My question is how can I desi...more >>

Big Problem with Tabcontrol
Posted by zorrothefox.groups@gmail.com at 4/23/2008 6:36:56 PM
Hi, I have an Windows Forms application written in C# which has a tabcontrol in it. The tabcontrol has many pages in it. Each tabpage deals with a specific feature in the application. e.g. Download, Upload, Erase etc. If I add all the controls directly to the tabpages, then that basi...more >>

Printing Multiple Page Documents from Windows App
Posted by Ross Culver at 4/23/2008 3:47:29 PM
If anyone is willing to look through all this code I've posted below, it would be tremendously appreciated. I can't seem to get the second (or 3rd, etc.) page to print on a new piece of paper. For instance, I have 15 line items in an order. The header and the 1st 12 lines print on page 1, ...more >>

SerialPort event not firing after ShowDialog - C#
Posted by SoftCalc at 4/23/2008 2:30:21 PM
I have a C# application that uses the SerialPort class. The SerialPort is being used for an external input device (a Disto). It works perfectly except when a modal dialog pops up. When a modal window is up the serial port events don't fire. The odd thing is they aren't eaten, they appear to be...more >>


DevelopmentNow Blog