From cfoust at infostatsystems.com Wed Sep 10 10:48:19 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:48:19 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control Message-ID: Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From cfoust at infostatsystems.com Wed Sep 10 10:58:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:58:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: References: Message-ID: Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From accessd at shaw.ca Wed Sep 10 12:03:00 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 10:03:00 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: References: Message-ID: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim From dw-murphy at cox.net Wed Sep 10 12:19:56 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 10 Sep 2008 10:19:56 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Message-ID: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Wed Sep 10 19:06:27 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 10:06:27 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 10 20:33:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 18:33:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Sep 11 00:25:00 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 15:25:00 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 11 01:46:14 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 23:46:14 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> <004401c91369$723e0210$0200a8c0@murphy3234aaf1> Message-ID: Hi Doug: Thank you that information. It will give me a start with the research. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, September 10, 2008 10:20 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] SOAP on SSL No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 11 09:55:12 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 11 Sep 2008 07:55:12 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> Message-ID: I've looked at it, but it uses a datetimepicker and I'm not sure that's what the boss has in mind. Oh well ... Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 10:25 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 04:05:04 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 11:05:04 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 05:16:23 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 14:16:23 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <001b01c9171c$1c2e4f90$6601a8c0@nant> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 05:50:40 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 12:50:40 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 06:46:46 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 15:46:46 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000d01c91728$bcbc7d90$6601a8c0@nant> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 15 07:23:16 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 16:23:16 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000001c9172d$d60a82b0$6601a8c0@nant> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 08:21:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:21:49 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Thanks, that is very close to my scenario. I googled for something like that but without success. So I better fire up a BackgroundWorker. /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 14:23 >>> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Gustav at cactus.dk Mon Sep 15 08:50:36 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:50:36 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Found this which supports you: http://channel9.msdn.com/forums/TechOff/252416-C-and-WPF-progressbar/ Note the link near the bottom to this about the BackgroundWorker and why and how to use it: http://pavanpodila.spaces.live.com/blog/cns%219C9E888164859398%21246.entry /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 13:46 >>> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From cfoust at infostatsystems.com Mon Sep 15 10:40:49 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Sep 2008 08:40:49 -0700 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: References: Message-ID: Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 11:21:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 18:21:43 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Charlotte OK, I'm convinced. It was just that I had this routine ready and debugged copying the data and the form worked great - on XP. I have Vista on my other machine but for some reason I have never run that particular form on Vista - so could I just insert a few code lines to get that progressbar to update like on XP - should have been no big deal. No where else have I experienced any difference between XP and Vista except for the visual style, of course. Thanks for the tip regarding reports. That was my next task - to create some reports. Nothing fancy, so they should run pretty fast but now I'm prepared. /gustav >>> cfoust at infostatsystems.com 15-09-2008 17:40 >>> Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Jdemarco at hudsonhealthplan.org Tue Sep 16 15:27:02 2008 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 16 Sep 2008 16:27:02 -0400 Subject: [dba-VB] VB6 - control event not firing Message-ID: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY From michael at ddisolutions.com.au Tue Sep 16 21:44:21 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 17 Sep 2008 12:44:21 +1000 Subject: [dba-VB] VB6 - control event not firing References: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013C0043@ddi-01.DDI.local> IIRC this could happen if an error happens in some 3rd party library. You say you changed to a list box, was it still a 3rd party list box? Are the any DoEvents being called? Is there any threading involved? Any chance of working around with a diff event? Regards Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, 17 September 2008 6:27 AM To: dba-VB at databaseadvisors.com Subject: [dba-VB] VB6 - control event not firing Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 17 10:50:50 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 17 Sep 2008 17:50:50 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From dwaters at usinternet.com Wed Sep 17 11:12:32 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 17 Sep 2008 11:12:32 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Hi Gustav, You know, turning a flag upside down is an indicator of distress. Is this the result of Visual Studio Reports? Dan ;-) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 10:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 10:40:47 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 08:40:47 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dwaters at usinternet.com Thu Sep 18 10:59:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Sep 2008 10:59:08 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Sep 18 11:18:29 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 18 Sep 2008 18:18:29 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From cfoust at infostatsystems.com Thu Sep 18 16:01:35 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:01:35 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You can import Access reports, but there's still a lot of work to be done afterwards, especially if you used subreports. The wizard can be helpful, but it isn't perfect. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, September 18, 2008 8:59 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 16:05:50 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:05:50 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 19 01:18:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 08:18:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From shamil at smsconsulting.spb.ru Fri Sep 19 11:31:44 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 19 Sep 2008 20:31:44 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <001401c91a75$3628a920$6401a8c0@nant> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From robert at webedb.com Fri Sep 19 12:26:16 2008 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 19 Sep 2008 12:26:16 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809191728.m8JHSYoG008447@databaseadvisors.com> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From Gustav at cactus.dk Fri Sep 19 15:06:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:06:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil Sounds nice, however I have the Standard version only, so no CR for me. Currently I don't have the need for drill down reports but it seems as if the native reporting engine has some capabilities in this area. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2008 18:31 >>> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From Gustav at cactus.dk Fri Sep 19 15:13:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:13:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert Reporting Services running at the SQL Server sounds like a very good feature. So have you learned to live with the missing features of the native report designer of VS or are your reports just not that complicated? /gustav >>> robert at webedb.com 19-09-2008 19:26 >>> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From robert at webedb.com Mon Sep 22 06:50:44 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 22 Sep 2008 06:50:44 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809221153.m8MBrGlF032478@databaseadvisors.com> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 07:34:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 14:34:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From cfoust at infostatsystems.com Mon Sep 22 12:39:09 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 10:39:09 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <200809191728.m8JHSYoG008447@databaseadvisors.com> References: <200809191728.m8JHSYoG008447@databaseadvisors.com> Message-ID: That works much better when you're using SQL Server. It's not real useful if your BE is Access. We don't force our clients to use SQL, although we recommend it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, September 19, 2008 10:26 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports >(CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all >CR controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. >"drill down" live reports... (but with MS Access 2007 something like >that "drill down" reports are also possible to do? - I didn't try them >but I've seen many new events in MS Access 2007 Report object...) > >-- >Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 13:02:00 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 22:02:00 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <002f01c91cdd$53942e20$6401a8c0@nant> Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 22 13:38:25 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 11:38:25 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <002f01c91cdd$53942e20$6401a8c0@nant> References: <002f01c91cdd$53942e20$6401a8c0@nant> Message-ID: That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 14:16:38 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 23:16:38 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <000001c91ce7$be34e350$6401a8c0@nant> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 22 16:00:20 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:00:20 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil and Charlotte Shamil, I certainly did consider using the built-in report designer of VS2008 as I found the ReportViewer Control to fit my needs completely. What first stopped me was, that the Report Designer does not feature an Events pane (thus the subject of this thread). Coming from Access I wondered how to carry out my simple task: to read in a picture from a file (filename read from a field in each record) to an imagebox but turning it upside down if a flag (a Boolean field in the record) was set. This can be done in two ways, either read the picture with code, turn it upside down as needed, then pass it to the imagebox, or read the picture into the imagebox, read the flag and - if set - read the picture off the image box, turn it upside down, read it back. A third last option is to read in the pictures to be turned upside down, turn them and read them back to temp files before calling the report which then, for each record, should display a turned picture from the temp file if it exists, and if not, read the original file into the imagebox. Not fancy, I know, but it should work as the pictures to be turned upside down are only one or two percent of all pictures. Either way I looked for an event like OnFormat or OnPrinting to control this. Then I remembered that Charlotte and others had recommended to forget about the native report designer and head straight for a third party product. However, besides the task for the picture handling, most reports I create are really very basic and normally not under user or client control in detail. Now, the links (below) provided by Shamil are extremely good. Study these carefully if you consider using the native Report Designer! If you can only manage one link, pick the first which really sets the scene: http://www.gotreportviewer.com/ It's easy to find limitations of the native designer but on the other hand it has some very strong features. How to weight these is up to you, but for my part - having become a bit more familiar with the report designer - I have decided to save the bucks and stay with it. Should you decide for this too, study this link - which I received from William - for a free tool which should expand the Report Designer with a WYSIWYG Report Designer plus it has a sample db option: http://www.fyireporting.com/products.html If you check it out, please share your experiences. Thanks for all the input - really helpful! /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 16:23:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:23:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all And here is part 2 of this fine article: Building Report-enabled Applications with the New ReportViewer Controls (Part 2 of 2) http://www.devx.com/dotnet/Article/30610/1954 /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil From cfoust at infostatsystems.com Mon Sep 22 18:53:30 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 16:53:30 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <000001c91ce7$be34e350$6401a8c0@nant> References: <000001c91ce7$be34e350$6401a8c0@nant> Message-ID: You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 23 01:34:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Sep 2008 08:34:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Yes, that's another story. But if a client in the future should require some special reporting that could be best solved by a third-party control I would have no problem doing so. I would take for granted that the distribution of the required components would be well described for any serious tool. /gustav >>> cfoust at infostatsystems.com 23-09-2008 01:53 >>> You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From shamil at smsconsulting.spb.ru Tue Sep 23 02:33:10 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 23 Sep 2008 11:33:10 +0400 Subject: [dba-VB] FYI: A library written in C# and VB.NET to use the Wiimote, Nunchuk and Classic Controller in .NET applications. Message-ID: <000301c91d4e$a2436470$6401a8c0@nant> Hi All, This information is related to the Access-D thread: Re: [AccessD] OT: Weekend,technology OT: Microsoft Surface Computing.... It's on how wiiremote together with a projector can be used to create "virtual whiteboard" or "smoothpad" and other types of applications with programming done using .NET C# or VB.NET: http://www.wiili.org/index.php/WiimoteLib plus: http://www.brianpeek.com/blog/archive/2008/08/05/wiimote-smoothboard.aspx http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx http://www.brianpeek.com/blog/ Thank you. -- Shamilk From cfoust at infostatsystems.com Tue Sep 23 17:12:22 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:12:22 -0700 Subject: [dba-VB] DataGridView Message-ID: OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust From cfoust at infostatsystems.com Tue Sep 23 17:45:44 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:45:44 -0700 Subject: [dba-VB] DataGridView - Never mind In-Reply-To: References: Message-ID: Gah! Never mind. I had put some code into the RowsAdded event and it was shooting me in the foot! Whe I commented it out, I get all the rows. Charlotte -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2008 3:12 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 29 06:04:06 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Sep 2008 13:04:06 +0200 Subject: [dba-VB] Visual Studio: Image on button Message-ID: Hi all If you choose to select an image to put on a button, most of the images from the resources contains not one icon-style image but four, six, or more images of increasing size of the same image. How do I select only one of these images (and not the full selection)? /gustav From cfoust at infostatsystems.com Wed Sep 10 10:48:19 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:48:19 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control Message-ID: Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From cfoust at infostatsystems.com Wed Sep 10 10:58:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:58:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: References: Message-ID: Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From accessd at shaw.ca Wed Sep 10 12:03:00 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 10:03:00 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: References: Message-ID: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim From dw-murphy at cox.net Wed Sep 10 12:19:56 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 10 Sep 2008 10:19:56 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Message-ID: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Wed Sep 10 19:06:27 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 10:06:27 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 10 20:33:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 18:33:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Sep 11 00:25:00 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 15:25:00 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 11 01:46:14 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 23:46:14 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> <004401c91369$723e0210$0200a8c0@murphy3234aaf1> Message-ID: Hi Doug: Thank you that information. It will give me a start with the research. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, September 10, 2008 10:20 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] SOAP on SSL No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 11 09:55:12 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 11 Sep 2008 07:55:12 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> Message-ID: I've looked at it, but it uses a datetimepicker and I'm not sure that's what the boss has in mind. Oh well ... Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 10:25 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 04:05:04 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 11:05:04 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 05:16:23 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 14:16:23 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <001b01c9171c$1c2e4f90$6601a8c0@nant> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 05:50:40 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 12:50:40 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 06:46:46 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 15:46:46 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000d01c91728$bcbc7d90$6601a8c0@nant> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 15 07:23:16 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 16:23:16 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000001c9172d$d60a82b0$6601a8c0@nant> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 08:21:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:21:49 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Thanks, that is very close to my scenario. I googled for something like that but without success. So I better fire up a BackgroundWorker. /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 14:23 >>> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Gustav at cactus.dk Mon Sep 15 08:50:36 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:50:36 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Found this which supports you: http://channel9.msdn.com/forums/TechOff/252416-C-and-WPF-progressbar/ Note the link near the bottom to this about the BackgroundWorker and why and how to use it: http://pavanpodila.spaces.live.com/blog/cns%219C9E888164859398%21246.entry /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 13:46 >>> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From cfoust at infostatsystems.com Mon Sep 15 10:40:49 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Sep 2008 08:40:49 -0700 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: References: Message-ID: Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 11:21:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 18:21:43 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Charlotte OK, I'm convinced. It was just that I had this routine ready and debugged copying the data and the form worked great - on XP. I have Vista on my other machine but for some reason I have never run that particular form on Vista - so could I just insert a few code lines to get that progressbar to update like on XP - should have been no big deal. No where else have I experienced any difference between XP and Vista except for the visual style, of course. Thanks for the tip regarding reports. That was my next task - to create some reports. Nothing fancy, so they should run pretty fast but now I'm prepared. /gustav >>> cfoust at infostatsystems.com 15-09-2008 17:40 >>> Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Jdemarco at hudsonhealthplan.org Tue Sep 16 15:27:02 2008 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 16 Sep 2008 16:27:02 -0400 Subject: [dba-VB] VB6 - control event not firing Message-ID: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY From michael at ddisolutions.com.au Tue Sep 16 21:44:21 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 17 Sep 2008 12:44:21 +1000 Subject: [dba-VB] VB6 - control event not firing References: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013C0043@ddi-01.DDI.local> IIRC this could happen if an error happens in some 3rd party library. You say you changed to a list box, was it still a 3rd party list box? Are the any DoEvents being called? Is there any threading involved? Any chance of working around with a diff event? Regards Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, 17 September 2008 6:27 AM To: dba-VB at databaseadvisors.com Subject: [dba-VB] VB6 - control event not firing Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 17 10:50:50 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 17 Sep 2008 17:50:50 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From dwaters at usinternet.com Wed Sep 17 11:12:32 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 17 Sep 2008 11:12:32 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Hi Gustav, You know, turning a flag upside down is an indicator of distress. Is this the result of Visual Studio Reports? Dan ;-) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 10:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 10:40:47 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 08:40:47 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dwaters at usinternet.com Thu Sep 18 10:59:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Sep 2008 10:59:08 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Sep 18 11:18:29 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 18 Sep 2008 18:18:29 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From cfoust at infostatsystems.com Thu Sep 18 16:01:35 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:01:35 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You can import Access reports, but there's still a lot of work to be done afterwards, especially if you used subreports. The wizard can be helpful, but it isn't perfect. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, September 18, 2008 8:59 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 16:05:50 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:05:50 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 19 01:18:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 08:18:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From shamil at smsconsulting.spb.ru Fri Sep 19 11:31:44 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 19 Sep 2008 20:31:44 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <001401c91a75$3628a920$6401a8c0@nant> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From robert at webedb.com Fri Sep 19 12:26:16 2008 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 19 Sep 2008 12:26:16 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809191728.m8JHSYoG008447@databaseadvisors.com> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From Gustav at cactus.dk Fri Sep 19 15:06:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:06:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil Sounds nice, however I have the Standard version only, so no CR for me. Currently I don't have the need for drill down reports but it seems as if the native reporting engine has some capabilities in this area. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2008 18:31 >>> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From Gustav at cactus.dk Fri Sep 19 15:13:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:13:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert Reporting Services running at the SQL Server sounds like a very good feature. So have you learned to live with the missing features of the native report designer of VS or are your reports just not that complicated? /gustav >>> robert at webedb.com 19-09-2008 19:26 >>> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From robert at webedb.com Mon Sep 22 06:50:44 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 22 Sep 2008 06:50:44 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809221153.m8MBrGlF032478@databaseadvisors.com> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 07:34:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 14:34:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From cfoust at infostatsystems.com Mon Sep 22 12:39:09 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 10:39:09 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <200809191728.m8JHSYoG008447@databaseadvisors.com> References: <200809191728.m8JHSYoG008447@databaseadvisors.com> Message-ID: That works much better when you're using SQL Server. It's not real useful if your BE is Access. We don't force our clients to use SQL, although we recommend it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, September 19, 2008 10:26 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports >(CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all >CR controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. >"drill down" live reports... (but with MS Access 2007 something like >that "drill down" reports are also possible to do? - I didn't try them >but I've seen many new events in MS Access 2007 Report object...) > >-- >Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 13:02:00 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 22:02:00 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <002f01c91cdd$53942e20$6401a8c0@nant> Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 22 13:38:25 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 11:38:25 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <002f01c91cdd$53942e20$6401a8c0@nant> References: <002f01c91cdd$53942e20$6401a8c0@nant> Message-ID: That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 14:16:38 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 23:16:38 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <000001c91ce7$be34e350$6401a8c0@nant> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 22 16:00:20 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:00:20 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil and Charlotte Shamil, I certainly did consider using the built-in report designer of VS2008 as I found the ReportViewer Control to fit my needs completely. What first stopped me was, that the Report Designer does not feature an Events pane (thus the subject of this thread). Coming from Access I wondered how to carry out my simple task: to read in a picture from a file (filename read from a field in each record) to an imagebox but turning it upside down if a flag (a Boolean field in the record) was set. This can be done in two ways, either read the picture with code, turn it upside down as needed, then pass it to the imagebox, or read the picture into the imagebox, read the flag and - if set - read the picture off the image box, turn it upside down, read it back. A third last option is to read in the pictures to be turned upside down, turn them and read them back to temp files before calling the report which then, for each record, should display a turned picture from the temp file if it exists, and if not, read the original file into the imagebox. Not fancy, I know, but it should work as the pictures to be turned upside down are only one or two percent of all pictures. Either way I looked for an event like OnFormat or OnPrinting to control this. Then I remembered that Charlotte and others had recommended to forget about the native report designer and head straight for a third party product. However, besides the task for the picture handling, most reports I create are really very basic and normally not under user or client control in detail. Now, the links (below) provided by Shamil are extremely good. Study these carefully if you consider using the native Report Designer! If you can only manage one link, pick the first which really sets the scene: http://www.gotreportviewer.com/ It's easy to find limitations of the native designer but on the other hand it has some very strong features. How to weight these is up to you, but for my part - having become a bit more familiar with the report designer - I have decided to save the bucks and stay with it. Should you decide for this too, study this link - which I received from William - for a free tool which should expand the Report Designer with a WYSIWYG Report Designer plus it has a sample db option: http://www.fyireporting.com/products.html If you check it out, please share your experiences. Thanks for all the input - really helpful! /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 16:23:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:23:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all And here is part 2 of this fine article: Building Report-enabled Applications with the New ReportViewer Controls (Part 2 of 2) http://www.devx.com/dotnet/Article/30610/1954 /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil From cfoust at infostatsystems.com Mon Sep 22 18:53:30 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 16:53:30 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <000001c91ce7$be34e350$6401a8c0@nant> References: <000001c91ce7$be34e350$6401a8c0@nant> Message-ID: You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 23 01:34:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Sep 2008 08:34:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Yes, that's another story. But if a client in the future should require some special reporting that could be best solved by a third-party control I would have no problem doing so. I would take for granted that the distribution of the required components would be well described for any serious tool. /gustav >>> cfoust at infostatsystems.com 23-09-2008 01:53 >>> You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From shamil at smsconsulting.spb.ru Tue Sep 23 02:33:10 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 23 Sep 2008 11:33:10 +0400 Subject: [dba-VB] FYI: A library written in C# and VB.NET to use the Wiimote, Nunchuk and Classic Controller in .NET applications. Message-ID: <000301c91d4e$a2436470$6401a8c0@nant> Hi All, This information is related to the Access-D thread: Re: [AccessD] OT: Weekend,technology OT: Microsoft Surface Computing.... It's on how wiiremote together with a projector can be used to create "virtual whiteboard" or "smoothpad" and other types of applications with programming done using .NET C# or VB.NET: http://www.wiili.org/index.php/WiimoteLib plus: http://www.brianpeek.com/blog/archive/2008/08/05/wiimote-smoothboard.aspx http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx http://www.brianpeek.com/blog/ Thank you. -- Shamilk From cfoust at infostatsystems.com Tue Sep 23 17:12:22 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:12:22 -0700 Subject: [dba-VB] DataGridView Message-ID: OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust From cfoust at infostatsystems.com Tue Sep 23 17:45:44 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:45:44 -0700 Subject: [dba-VB] DataGridView - Never mind In-Reply-To: References: Message-ID: Gah! Never mind. I had put some code into the RowsAdded event and it was shooting me in the foot! Whe I commented it out, I get all the rows. Charlotte -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2008 3:12 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 29 06:04:06 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Sep 2008 13:04:06 +0200 Subject: [dba-VB] Visual Studio: Image on button Message-ID: Hi all If you choose to select an image to put on a button, most of the images from the resources contains not one icon-style image but four, six, or more images of increasing size of the same image. How do I select only one of these images (and not the full selection)? /gustav From cfoust at infostatsystems.com Wed Sep 10 10:48:19 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:48:19 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control Message-ID: Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From cfoust at infostatsystems.com Wed Sep 10 10:58:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:58:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: References: Message-ID: Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From accessd at shaw.ca Wed Sep 10 12:03:00 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 10:03:00 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: References: Message-ID: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim From dw-murphy at cox.net Wed Sep 10 12:19:56 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 10 Sep 2008 10:19:56 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Message-ID: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Wed Sep 10 19:06:27 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 10:06:27 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 10 20:33:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 18:33:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Sep 11 00:25:00 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 15:25:00 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 11 01:46:14 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 23:46:14 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> <004401c91369$723e0210$0200a8c0@murphy3234aaf1> Message-ID: Hi Doug: Thank you that information. It will give me a start with the research. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, September 10, 2008 10:20 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] SOAP on SSL No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 11 09:55:12 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 11 Sep 2008 07:55:12 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> Message-ID: I've looked at it, but it uses a datetimepicker and I'm not sure that's what the boss has in mind. Oh well ... Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 10:25 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 04:05:04 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 11:05:04 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 05:16:23 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 14:16:23 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <001b01c9171c$1c2e4f90$6601a8c0@nant> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 05:50:40 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 12:50:40 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 06:46:46 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 15:46:46 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000d01c91728$bcbc7d90$6601a8c0@nant> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 15 07:23:16 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 16:23:16 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000001c9172d$d60a82b0$6601a8c0@nant> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 08:21:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:21:49 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Thanks, that is very close to my scenario. I googled for something like that but without success. So I better fire up a BackgroundWorker. /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 14:23 >>> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Gustav at cactus.dk Mon Sep 15 08:50:36 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:50:36 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Found this which supports you: http://channel9.msdn.com/forums/TechOff/252416-C-and-WPF-progressbar/ Note the link near the bottom to this about the BackgroundWorker and why and how to use it: http://pavanpodila.spaces.live.com/blog/cns%219C9E888164859398%21246.entry /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 13:46 >>> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From cfoust at infostatsystems.com Mon Sep 15 10:40:49 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Sep 2008 08:40:49 -0700 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: References: Message-ID: Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 11:21:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 18:21:43 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Charlotte OK, I'm convinced. It was just that I had this routine ready and debugged copying the data and the form worked great - on XP. I have Vista on my other machine but for some reason I have never run that particular form on Vista - so could I just insert a few code lines to get that progressbar to update like on XP - should have been no big deal. No where else have I experienced any difference between XP and Vista except for the visual style, of course. Thanks for the tip regarding reports. That was my next task - to create some reports. Nothing fancy, so they should run pretty fast but now I'm prepared. /gustav >>> cfoust at infostatsystems.com 15-09-2008 17:40 >>> Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Jdemarco at hudsonhealthplan.org Tue Sep 16 15:27:02 2008 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 16 Sep 2008 16:27:02 -0400 Subject: [dba-VB] VB6 - control event not firing Message-ID: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY From michael at ddisolutions.com.au Tue Sep 16 21:44:21 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 17 Sep 2008 12:44:21 +1000 Subject: [dba-VB] VB6 - control event not firing References: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013C0043@ddi-01.DDI.local> IIRC this could happen if an error happens in some 3rd party library. You say you changed to a list box, was it still a 3rd party list box? Are the any DoEvents being called? Is there any threading involved? Any chance of working around with a diff event? Regards Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, 17 September 2008 6:27 AM To: dba-VB at databaseadvisors.com Subject: [dba-VB] VB6 - control event not firing Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 17 10:50:50 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 17 Sep 2008 17:50:50 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From dwaters at usinternet.com Wed Sep 17 11:12:32 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 17 Sep 2008 11:12:32 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Hi Gustav, You know, turning a flag upside down is an indicator of distress. Is this the result of Visual Studio Reports? Dan ;-) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 10:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 10:40:47 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 08:40:47 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dwaters at usinternet.com Thu Sep 18 10:59:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Sep 2008 10:59:08 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Sep 18 11:18:29 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 18 Sep 2008 18:18:29 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From cfoust at infostatsystems.com Thu Sep 18 16:01:35 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:01:35 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You can import Access reports, but there's still a lot of work to be done afterwards, especially if you used subreports. The wizard can be helpful, but it isn't perfect. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, September 18, 2008 8:59 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 16:05:50 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:05:50 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 19 01:18:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 08:18:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From shamil at smsconsulting.spb.ru Fri Sep 19 11:31:44 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 19 Sep 2008 20:31:44 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <001401c91a75$3628a920$6401a8c0@nant> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From robert at webedb.com Fri Sep 19 12:26:16 2008 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 19 Sep 2008 12:26:16 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809191728.m8JHSYoG008447@databaseadvisors.com> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From Gustav at cactus.dk Fri Sep 19 15:06:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:06:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil Sounds nice, however I have the Standard version only, so no CR for me. Currently I don't have the need for drill down reports but it seems as if the native reporting engine has some capabilities in this area. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2008 18:31 >>> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From Gustav at cactus.dk Fri Sep 19 15:13:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:13:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert Reporting Services running at the SQL Server sounds like a very good feature. So have you learned to live with the missing features of the native report designer of VS or are your reports just not that complicated? /gustav >>> robert at webedb.com 19-09-2008 19:26 >>> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From robert at webedb.com Mon Sep 22 06:50:44 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 22 Sep 2008 06:50:44 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809221153.m8MBrGlF032478@databaseadvisors.com> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 07:34:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 14:34:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From cfoust at infostatsystems.com Mon Sep 22 12:39:09 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 10:39:09 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <200809191728.m8JHSYoG008447@databaseadvisors.com> References: <200809191728.m8JHSYoG008447@databaseadvisors.com> Message-ID: That works much better when you're using SQL Server. It's not real useful if your BE is Access. We don't force our clients to use SQL, although we recommend it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, September 19, 2008 10:26 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports >(CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all >CR controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. >"drill down" live reports... (but with MS Access 2007 something like >that "drill down" reports are also possible to do? - I didn't try them >but I've seen many new events in MS Access 2007 Report object...) > >-- >Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 13:02:00 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 22:02:00 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <002f01c91cdd$53942e20$6401a8c0@nant> Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 22 13:38:25 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 11:38:25 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <002f01c91cdd$53942e20$6401a8c0@nant> References: <002f01c91cdd$53942e20$6401a8c0@nant> Message-ID: That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 14:16:38 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 23:16:38 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <000001c91ce7$be34e350$6401a8c0@nant> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 22 16:00:20 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:00:20 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil and Charlotte Shamil, I certainly did consider using the built-in report designer of VS2008 as I found the ReportViewer Control to fit my needs completely. What first stopped me was, that the Report Designer does not feature an Events pane (thus the subject of this thread). Coming from Access I wondered how to carry out my simple task: to read in a picture from a file (filename read from a field in each record) to an imagebox but turning it upside down if a flag (a Boolean field in the record) was set. This can be done in two ways, either read the picture with code, turn it upside down as needed, then pass it to the imagebox, or read the picture into the imagebox, read the flag and - if set - read the picture off the image box, turn it upside down, read it back. A third last option is to read in the pictures to be turned upside down, turn them and read them back to temp files before calling the report which then, for each record, should display a turned picture from the temp file if it exists, and if not, read the original file into the imagebox. Not fancy, I know, but it should work as the pictures to be turned upside down are only one or two percent of all pictures. Either way I looked for an event like OnFormat or OnPrinting to control this. Then I remembered that Charlotte and others had recommended to forget about the native report designer and head straight for a third party product. However, besides the task for the picture handling, most reports I create are really very basic and normally not under user or client control in detail. Now, the links (below) provided by Shamil are extremely good. Study these carefully if you consider using the native Report Designer! If you can only manage one link, pick the first which really sets the scene: http://www.gotreportviewer.com/ It's easy to find limitations of the native designer but on the other hand it has some very strong features. How to weight these is up to you, but for my part - having become a bit more familiar with the report designer - I have decided to save the bucks and stay with it. Should you decide for this too, study this link - which I received from William - for a free tool which should expand the Report Designer with a WYSIWYG Report Designer plus it has a sample db option: http://www.fyireporting.com/products.html If you check it out, please share your experiences. Thanks for all the input - really helpful! /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 16:23:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:23:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all And here is part 2 of this fine article: Building Report-enabled Applications with the New ReportViewer Controls (Part 2 of 2) http://www.devx.com/dotnet/Article/30610/1954 /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil From cfoust at infostatsystems.com Mon Sep 22 18:53:30 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 16:53:30 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <000001c91ce7$be34e350$6401a8c0@nant> References: <000001c91ce7$be34e350$6401a8c0@nant> Message-ID: You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 23 01:34:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Sep 2008 08:34:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Yes, that's another story. But if a client in the future should require some special reporting that could be best solved by a third-party control I would have no problem doing so. I would take for granted that the distribution of the required components would be well described for any serious tool. /gustav >>> cfoust at infostatsystems.com 23-09-2008 01:53 >>> You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From shamil at smsconsulting.spb.ru Tue Sep 23 02:33:10 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 23 Sep 2008 11:33:10 +0400 Subject: [dba-VB] FYI: A library written in C# and VB.NET to use the Wiimote, Nunchuk and Classic Controller in .NET applications. Message-ID: <000301c91d4e$a2436470$6401a8c0@nant> Hi All, This information is related to the Access-D thread: Re: [AccessD] OT: Weekend,technology OT: Microsoft Surface Computing.... It's on how wiiremote together with a projector can be used to create "virtual whiteboard" or "smoothpad" and other types of applications with programming done using .NET C# or VB.NET: http://www.wiili.org/index.php/WiimoteLib plus: http://www.brianpeek.com/blog/archive/2008/08/05/wiimote-smoothboard.aspx http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx http://www.brianpeek.com/blog/ Thank you. -- Shamilk From cfoust at infostatsystems.com Tue Sep 23 17:12:22 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:12:22 -0700 Subject: [dba-VB] DataGridView Message-ID: OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust From cfoust at infostatsystems.com Tue Sep 23 17:45:44 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:45:44 -0700 Subject: [dba-VB] DataGridView - Never mind In-Reply-To: References: Message-ID: Gah! Never mind. I had put some code into the RowsAdded event and it was shooting me in the foot! Whe I commented it out, I get all the rows. Charlotte -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2008 3:12 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 29 06:04:06 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Sep 2008 13:04:06 +0200 Subject: [dba-VB] Visual Studio: Image on button Message-ID: Hi all If you choose to select an image to put on a button, most of the images from the resources contains not one icon-style image but four, six, or more images of increasing size of the same image. How do I select only one of these images (and not the full selection)? /gustav From cfoust at infostatsystems.com Wed Sep 10 10:48:19 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:48:19 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control Message-ID: Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From cfoust at infostatsystems.com Wed Sep 10 10:58:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 08:58:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: References: Message-ID: Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust From accessd at shaw.ca Wed Sep 10 12:03:00 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 10:03:00 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: References: Message-ID: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim From dw-murphy at cox.net Wed Sep 10 12:19:56 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 10 Sep 2008 10:19:56 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> Message-ID: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Wed Sep 10 19:06:27 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 10:06:27 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Sep 10 20:33:51 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 10 Sep 2008 18:33:51 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From michael at ddisolutions.com.au Thu Sep 11 00:25:00 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Thu, 11 Sep 2008 15:25:00 +1000 Subject: [dba-VB] DataGridView Custom Button Editor control References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From accessd at shaw.ca Thu Sep 11 01:46:14 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 10 Sep 2008 23:46:14 -0700 Subject: [dba-VB] SOAP on SSL In-Reply-To: <004401c91369$723e0210$0200a8c0@murphy3234aaf1> References: <654D6EAAD09C443A961FF4F75D785E37@creativesystemdesigns.com> <004401c91369$723e0210$0200a8c0@murphy3234aaf1> Message-ID: Hi Doug: Thank you that information. It will give me a start with the research. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, September 10, 2008 10:20 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] SOAP on SSL No direct knowledge but I think I have seen articles indicating REST is the way to go. Take a look at http://www.codeproject.com/KB/architecture/RESTWebServicesPart1.aspx -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, September 10, 2008 10:03 AM To: dba-vb at databaseadvisors.com; accessd at databaseadvisors.com Subject: [dba-VB] SOAP on SSL Hi All: Does anyone have any experience creating a secure session from a .Net site to a PHP site. The PHP end will be managed but the .Net and the connection method is my responsibilty. Would SOAP on SSL be a good connection protocol? Any help of suggestions, code samples would be much appreciated. MTIA Jim _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 11 09:55:12 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 11 Sep 2008 07:55:12 -0700 Subject: [dba-VB] DataGridView Custom Button Editor control In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> References: <59A61174B1F5B54B97FD4ADDE71E7D013BFFF2@ddi-01.DDI.local> <59A61174B1F5B54B97FD4ADDE71E7D013BFFF8@ddi-01.DDI.local> Message-ID: I've looked at it, but it uses a datetimepicker and I'm not sure that's what the boss has in mind. Oh well ... Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 10:25 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control There is a calendar sample I'm sure on MSDN somewhere... I used it as a sample for an up/down IIRC. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 11:34 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control I got the button mastered but now I have to work on a calendar!! :~< Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Wednesday, September 10, 2008 5:06 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Hi Charlotte, Cant help directly but there is a DataGridViewFAQ.doc floating about the net that is pretty good. Also MSDN has some good examples of custom edit controls. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, 11 September 2008 1:59 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] DataGridView Custom Button Editor control Ack, OK, I got the button to show up, but I haven't found a way to get it sized properly! Oh my aching head! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, September 10, 2008 8:48 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView Custom Button Editor control Guys, I'm struggling with a vanilla DataGridView (we normally use third party grids in our apps, but I was instructed not to in this one). I need an editing control for a button cell. I can create the buttoncell class and the other classes required, but I'm sunk when it comes to getting the blasted thing to show up on the grid. I do this all the time with third party controls, but they've already done all the hard work of customizing the underlying control. This time I'm doing it the hard way. Any suggestions? Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 04:05:04 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 11:05:04 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 05:16:23 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 14:16:23 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <001b01c9171c$1c2e4f90$6601a8c0@nant> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 05:50:40 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 12:50:40 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From shamil at smsconsulting.spb.ru Mon Sep 15 06:46:46 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 15:46:46 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000d01c91728$bcbc7d90$6601a8c0@nant> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 15 07:23:16 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 15 Sep 2008 16:23:16 +0400 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: Message-ID: <000001c9172d$d60a82b0$6601a8c0@nant> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 08:21:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:21:49 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Thanks, that is very close to my scenario. I googled for something like that but without success. So I better fire up a BackgroundWorker. /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 14:23 >>> Hi Gustav, Have a look here: http://stackoverflow.com/questions/12095/windows-forms-threading-and-events- listbox-updates-promptly-but-progressbar-exp#12104 -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Gustav at cactus.dk Mon Sep 15 08:50:36 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 15:50:36 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Shamil Found this which supports you: http://channel9.msdn.com/forums/TechOff/252416-C-and-WPF-progressbar/ Note the link near the bottom to this about the BackgroundWorker and why and how to use it: http://pavanpodila.spaces.live.com/blog/cns%219C9E888164859398%21246.entry /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 13:46 >>> OK, so you have to "fight laziness" there, and to develop generic solution using BackGroundWorker (in fact I did want to propose that effective "hint" first of all in my previous e-mail, but I didn't...) __ Shamil P.S. I do use BackGroundWorker (no laziness here :) ) - and it works well in rather intensive app querying web service, working with back-end db, and updating UI's progressbar and gridview and some statistics/progress status controls etc. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:51 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi Shamil I did, also progressBar1.Refresh(), but to no avail. It looks like there's no shortcut to the BackgroundWorker ... /gustav >>> shamil at smsconsulting.spb.ru 15-09-2008 12:16 >>> Hi Gustav, Try this "trick": System.Windows.Forms.Application.DoEvents(); -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 1:05 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From cfoust at infostatsystems.com Mon Sep 15 10:40:49 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 15 Sep 2008 08:40:49 -0700 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista In-Reply-To: References: Message-ID: Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 15 11:21:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 15 Sep 2008 18:21:43 +0200 Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Message-ID: Hi Charlotte OK, I'm convinced. It was just that I had this routine ready and debugged copying the data and the form worked great - on XP. I have Vista on my other machine but for some reason I have never run that particular form on Vista - so could I just insert a few code lines to get that progressbar to update like on XP - should have been no big deal. No where else have I experienced any difference between XP and Vista except for the visual style, of course. Thanks for the tip regarding reports. That was my next task - to create some reports. Nothing fancy, so they should run pretty fast but now I'm prepared. /gustav >>> cfoust at infostatsystems.com 15-09-2008 17:40 >>> Gustav, Background workers are easy to create and use, and are the lazy programmer's friend! Our forms are so complex (because of the "intuitive" behavior requirements, not the inherent design) (all right... SOMETIMES because of the inherent design ;~>) that sometimes a background worker is the only practical way to handle something that needs to happen but isn't legal or doesn't work properly within a routine. In other words, we use them a lot. We have some standard objects, like a "wait" form that uses a background worker to keep it updated and it works fine. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 15, 2008 2:05 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: ProgressBar displays on XP, not on Vista Hi all I run a simple routine copying data between three databases in six steps. This lasts for about two minutes; in between a ProgressBar is advanced. This works fine when the app runs under WinXP, but under Vista 32-bit with the Aero interface either nothing happens or the ProgressBar updates once at some random step. The general advice is to use the BackgroundWorker for such tasks like the series of updates, but I'm lazy and wonder if a small trick can bring the ProgressBar to the surface and update under Vista as well. Any hints? /gustav From Jdemarco at hudsonhealthplan.org Tue Sep 16 15:27:02 2008 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 16 Sep 2008 16:27:02 -0400 Subject: [dba-VB] VB6 - control event not firing Message-ID: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY From michael at ddisolutions.com.au Tue Sep 16 21:44:21 2008 From: michael at ddisolutions.com.au (Michael Maddison) Date: Wed, 17 Sep 2008 12:44:21 +1000 Subject: [dba-VB] VB6 - control event not firing References: <0B8880A20E2CF24280FA60901E108FB001AE660A@TTNEXCHSVR.hshhp.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D013C0043@ddi-01.DDI.local> IIRC this could happen if an error happens in some 3rd party library. You say you changed to a list box, was it still a 3rd party list box? Are the any DoEvents being called? Is there any threading involved? Any chance of working around with a diff event? Regards Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Wednesday, 17 September 2008 6:27 AM To: dba-VB at databaseadvisors.com Subject: [dba-VB] VB6 - control event not firing Hi All, If anyone remembers any VB6 I could sure use your help. I've got a developer using a third party combo box whose click or change events aren't firing. They'll fire if a break point is set but not w/o the break. We changed the control to a list box and same result. I can contact the vendor but I'm pretty sure this is VB acting up. Does anyone have any thoughts about how we can get these events to fire. Rather urgent issue so I'd appreciate any input. TIA Jim DeMarco Director of Application Development Hcheq Tarrytown, NY _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Wed Sep 17 10:50:50 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 17 Sep 2008 17:50:50 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From dwaters at usinternet.com Wed Sep 17 11:12:32 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 17 Sep 2008 11:12:32 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Hi Gustav, You know, turning a flag upside down is an indicator of distress. Is this the result of Visual Studio Reports? Dan ;-) -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 10:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 10:40:47 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 08:40:47 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dwaters at usinternet.com Thu Sep 18 10:59:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 18 Sep 2008 10:59:08 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Thu Sep 18 11:18:29 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 18 Sep 2008 18:18:29 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From cfoust at infostatsystems.com Thu Sep 18 16:01:35 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:01:35 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: You can import Access reports, but there's still a lot of work to be done afterwards, especially if you used subreports. The wizard can be helpful, but it isn't perfect. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, September 18, 2008 8:59 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Thanks Charlotte! I ready their site - you can import Access reports, and get a standard single version for $500. Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, September 18, 2008 10:41 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Sep 18 16:05:50 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 18 Sep 2008 14:05:50 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Fri Sep 19 01:18:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 08:18:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From shamil at smsconsulting.spb.ru Fri Sep 19 11:31:44 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 19 Sep 2008 20:31:44 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <001401c91a75$3628a920$6401a8c0@nant> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From robert at webedb.com Fri Sep 19 12:26:16 2008 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 19 Sep 2008 12:26:16 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809191728.m8JHSYoG008447@databaseadvisors.com> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From Gustav at cactus.dk Fri Sep 19 15:06:07 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:06:07 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil Sounds nice, however I have the Standard version only, so no CR for me. Currently I don't have the need for drill down reports but it seems as if the native reporting engine has some capabilities in this area. /gustav >>> shamil at smsconsulting.spb.ru 19-09-2008 18:31 >>> Hi Gustav, But in VS Professional and up you can design Crystal Reports (CR/Business Objects) reports and distribute them with your .NET apps using free CR runtime... Well, built-in VS CR report designer is limited in its *design time* features but for the rest it doesn't have any limitations - I mean all CR controls and runtime features are available... CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill down" live reports... (but with MS Access 2007 something like that "drill down" reports are also possible to do? - I didn't try them but I've seen many new events in MS Access 2007 Report object...) -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, September 19, 2008 10:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte (et al) Yes, I see it. Even a preview function is missing. So everyone here are using these Active Reports or ..? /gustav >>> cfoust at infostatsystems.com 18-09-2008 23:05 >>> I know, Gustav, but I just finished creating a small app in native controls (requirement), and it reminded me of how ugly the granularity of the native objects is. That's especially true if users (and developers) are accustomed to the rich features that have been painstakingly overlaid on the native objects by the third party vendors. Their efforts are worth every penny because it take you WAY, WAY longer to achieve something remotely similar (when you can) while inventing everything from scratch. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, September 18, 2008 9:18 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte Ouch! I was hoping for another tip less than $599 even though I must admit the feature list is quite comprehensive. Maybe for the next project. /gustav >>> cfoust at infostatsystems.com 18-09-2008 17:40 >>> You do it by purchasing a 3rd party reporting engine, Gustav. We use DataDynamics ActiverReports, which are very similar to their Access cousins. Life is too short to work with the unmodified native controls! Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, September 17, 2008 8:51 AM To: dba-vb at databaseadvisors.com Subject: [dba-VB] VS2008: Report events Hi all How do you simulate the events we have in Access when formatting and printing a report in Visual Studio? The Events' pane is non-existing? I read a picture from a file into an Image box - no problem, the filename is a field of the record. But I have a flag to indicate if it should be turned upside down. Thus, I guess, I would need to make the image box unbound, read the picture, turn it upside down in code and pass the picture to the image box. /gustav From Gustav at cactus.dk Fri Sep 19 15:13:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 19 Sep 2008 22:13:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert Reporting Services running at the SQL Server sounds like a very good feature. So have you learned to live with the missing features of the native report designer of VS or are your reports just not that complicated? /gustav >>> robert at webedb.com 19-09-2008 19:26 >>> And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports (CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all CR >controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. "drill >down" live reports... (but with MS Access 2007 something like that "drill >down" reports are also possible to do? - I didn't try them but I've seen >many new events in MS Access 2007 Report object...) > >-- >Shamil From robert at webedb.com Mon Sep 22 06:50:44 2008 From: robert at webedb.com (Robert L. Stewart) Date: Mon, 22 Sep 2008 06:50:44 -0500 Subject: [dba-VB] VS2008: Report events In-Reply-To: References: Message-ID: <200809221153.m8MBrGlF032478@databaseadvisors.com> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 07:34:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 14:34:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From cfoust at infostatsystems.com Mon Sep 22 12:39:09 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 10:39:09 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <200809191728.m8JHSYoG008447@databaseadvisors.com> References: <200809191728.m8JHSYoG008447@databaseadvisors.com> Message-ID: That works much better when you're using SQL Server. It's not real useful if your BE is Access. We don't force our clients to use SQL, although we recommend it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Robert L. Stewart Sent: Friday, September 19, 2008 10:26 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events And, all of that can be duplicated in SQL Server Reporting Services which is included with SQL Server since 2000. I am currently converting a very large Access application to ASP.net. And I will be using reporting services for all of the reporting. At 12:00 PM 9/19/2008, you wrote: >Date: Fri, 19 Sep 2008 20:31:44 +0400 >From: "Shamil Salakhetdinov" >Subject: Re: [dba-VB] VS2008: Report events >To: "'Discussion concerning Visual Basic and related programming > issues.'" >Message-ID: <001401c91a75$3628a920$6401a8c0 at nant> >Content-Type: text/plain; charset="us-ascii" > >Hi Gustav, > >But in VS Professional and up you can design Crystal Reports >(CR/Business >Objects) reports and distribute them with your .NET apps using free CR >runtime... > >Well, built-in VS CR report designer is limited in its *design time* >features but for the rest it doesn't have any limitations - I mean all >CR controls and runtime features are available... > >CR allows you to do many "tricks" unavailable in MS Access as e.g. >"drill down" live reports... (but with MS Access 2007 something like >that "drill down" reports are also possible to do? - I didn't try them >but I've seen many new events in MS Access 2007 Report object...) > >-- >Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 13:02:00 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 22:02:00 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <002f01c91cdd$53942e20$6401a8c0@nant> Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Sep 22 13:38:25 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 11:38:25 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <002f01c91cdd$53942e20$6401a8c0@nant> References: <002f01c91cdd$53942e20$6401a8c0@nant> Message-ID: That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Mon Sep 22 14:16:38 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 22 Sep 2008 23:16:38 +0400 Subject: [dba-VB] VS2008: Report events In-Reply-To: Message-ID: <000001c91ce7$be34e350$6401a8c0@nant> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 22 16:00:20 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:00:20 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Shamil and Charlotte Shamil, I certainly did consider using the built-in report designer of VS2008 as I found the ReportViewer Control to fit my needs completely. What first stopped me was, that the Report Designer does not feature an Events pane (thus the subject of this thread). Coming from Access I wondered how to carry out my simple task: to read in a picture from a file (filename read from a field in each record) to an imagebox but turning it upside down if a flag (a Boolean field in the record) was set. This can be done in two ways, either read the picture with code, turn it upside down as needed, then pass it to the imagebox, or read the picture into the imagebox, read the flag and - if set - read the picture off the image box, turn it upside down, read it back. A third last option is to read in the pictures to be turned upside down, turn them and read them back to temp files before calling the report which then, for each record, should display a turned picture from the temp file if it exists, and if not, read the original file into the imagebox. Not fancy, I know, but it should work as the pictures to be turned upside down are only one or two percent of all pictures. Either way I looked for an event like OnFormat or OnPrinting to control this. Then I remembered that Charlotte and others had recommended to forget about the native report designer and head straight for a third party product. However, besides the task for the picture handling, most reports I create are really very basic and normally not under user or client control in detail. Now, the links (below) provided by Shamil are extremely good. Study these carefully if you consider using the native Report Designer! If you can only manage one link, pick the first which really sets the scene: http://www.gotreportviewer.com/ It's easy to find limitations of the native designer but on the other hand it has some very strong features. How to weight these is up to you, but for my part - having become a bit more familiar with the report designer - I have decided to save the bucks and stay with it. Should you decide for this too, study this link - which I received from William - for a free tool which should expand the Report Designer with a WYSIWYG Report Designer plus it has a sample db option: http://www.fyireporting.com/products.html If you check it out, please share your experiences. Thanks for all the input - really helpful! /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From Gustav at cactus.dk Mon Sep 22 16:23:16 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 22 Sep 2008 23:23:16 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi all And here is part 2 of this fine article: Building Report-enabled Applications with the New ReportViewer Controls (Part 2 of 2) http://www.devx.com/dotnet/Article/30610/1954 /gustav >>> shamil at smsconsulting.spb.ru 22-09-2008 21:16 >>> Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil From cfoust at infostatsystems.com Mon Sep 22 18:53:30 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 22 Sep 2008 16:53:30 -0700 Subject: [dba-VB] VS2008: Report events In-Reply-To: <000001c91ce7$be34e350$6401a8c0@nant> References: <000001c91ce7$be34e350$6401a8c0@nant> Message-ID: You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Tue Sep 23 01:34:49 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 23 Sep 2008 08:34:49 +0200 Subject: [dba-VB] VS2008: Report events Message-ID: Hi Charlotte Yes, that's another story. But if a client in the future should require some special reporting that could be best solved by a third-party control I would have no problem doing so. I would take for granted that the distribution of the required components would be well described for any serious tool. /gustav >>> cfoust at infostatsystems.com 23-09-2008 01:53 >>> You may be right for Gustav's customers. Ours are a different story. Most of our reports are customer specified, so they pay for the customization and figure that gives them the right to call the shots on the layout. Frankly, I don't find the third party controls and tools any harder than the native ones because the third party tools have layers of wrappers on them so I don't have to reinvent the wheel. I see little purpose in keeping .Net "pure", since the native stuff is cranky and so granular you may never figure out how to do something that should be simple. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 12:17 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Charlotte, Yes, I understand but an open question of this thread (at least for me) - are the current Gustav report's layout to be developed and the events to be processed when report is previewed/printed "standardized" enough to be designed within one of the built-in VS report designers/engines or it's worth/the only option for Gustav is to spend some money to purchase third-party tools, and time to learn third-party tools, and then implement *exact* layout Gustav's customers wanted to have and exact report's previewing/printing/manipulation events? I mean if customers are not going to invest *their own* money in purchasing for Gustav company third-party tool as well as to invest in Gustav's learning this tool, then I'd recommend to the Gustav's customers to standardize their report's layouts - that would be win-win (less expensive) for all the involved parties, with reports' layout still being good and advanced enough because VS report designer (RDL(C) based) is a modern reporting tool: - http://www.gotreportviewer.com/ - http://social.msdn.microsoft.com/forums/en-US/vsreportcontrols/threads/ - http://www.devx.com/dotnet/Article/30424/1954 And my guess (coming from my experience what is that to deploy CR reports, and what is that to deploy VS RDL(C) reports) - my guess is that the many options (based on the same report design/data source) to deploy VS (RDLC) reports are so advanced that they beat all and every other modern reporting tools... Just my opinion... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, September 22, 2008 10:38 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VS2008: Report events That works if you're creating the layout and can decide what it looks like, Shamil. When you're at the mercy of a client's desires, you may not be able to do that. Standardizing layouts sort of pre-supposes that the layouts will be straightforward. Our clients, at least, have a very different opinion on that. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Monday, September 22, 2008 11:02 AM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] VS2008: Report events Hi Gustav, Yes, they are identical - and the question is - why you do not consider using built-in report designer of VS (the one use RDL)? - I mean are you going to "sacrifice" your time and money, and use some third-party reporting solution with VS, or you maybe better standardize your reports' layouts (if needed) to fit VS Report Designer, and then you will joyfully (and free out of VS box) use unlimited power of different deployment scenarios VS reporting supplies you with? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, September 22, 2008 4:34 PM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] VS2008: Report events Hi Robert But the designer of SSRS and the report designer of VS are pretty much identical, both produce reports in XML format according to RDL: http://en.wikipedia.org/wiki/SQL_Server_Reporting_Services /gustav >>> robert at webedb.com 22-09-2008 13:50 >>> Since I have never used the native report designer, I probably do not know what I am missing. :-) I have had no problem doing the data manipulation in stored procedures and doing the reporting in SSRS. At 12:00 PM 9/20/2008, you wrote: >Date: Fri, 19 Sep 2008 22:13:49 +0200 >From: "Gustav Brock" >Subject: Re: [dba-VB] VS2008: Report events >To: >Message-ID: >Content-Type: text/plain; charset=US-ASCII > >Hi Robert > >Reporting Services running at the SQL Server sounds like a very good feature. >So have you learned to live with the missing features of the native >report designer of VS or are your reports just not that complicated? > >/gustav From shamil at smsconsulting.spb.ru Tue Sep 23 02:33:10 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 23 Sep 2008 11:33:10 +0400 Subject: [dba-VB] FYI: A library written in C# and VB.NET to use the Wiimote, Nunchuk and Classic Controller in .NET applications. Message-ID: <000301c91d4e$a2436470$6401a8c0@nant> Hi All, This information is related to the Access-D thread: Re: [AccessD] OT: Weekend,technology OT: Microsoft Surface Computing.... It's on how wiiremote together with a projector can be used to create "virtual whiteboard" or "smoothpad" and other types of applications with programming done using .NET C# or VB.NET: http://www.wiili.org/index.php/WiimoteLib plus: http://www.brianpeek.com/blog/archive/2008/08/05/wiimote-smoothboard.aspx http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx http://www.brianpeek.com/blog/ Thank you. -- Shamilk From cfoust at infostatsystems.com Tue Sep 23 17:12:22 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:12:22 -0700 Subject: [dba-VB] DataGridView Message-ID: OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust From cfoust at infostatsystems.com Tue Sep 23 17:45:44 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 23 Sep 2008 15:45:44 -0700 Subject: [dba-VB] DataGridView - Never mind In-Reply-To: References: Message-ID: Gah! Never mind. I had put some code into the RowsAdded event and it was shooting me in the foot! Whe I commented it out, I get all the rows. Charlotte -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, September 23, 2008 3:12 PM To: dba-vb at databaseadvisors.com Subject: [dba-VB] DataGridView OK, I built that pesky datagridview. Now I'm struggling with something really odd. I can databind it, no problem, update, whatever. The problem is that the grid works just fine as long as the table has no more than 3 rows. Add more rows, even from the datagridview, But when you try to connect to a database with more than 3 rows, you see the first two rows of data and that's it. No more rows, no add row, nothing. I'm about ready to replace this with a third party grid that will take me a couple of hours, max, to have up and running, complete with rewriting the code necessary to handle it, but I want to know what's going on with this blasted grid! I even cleared the rows collection (except for row(0), which is the header) before assigning the datasource. Makes not difference. As far as the grid is concerned, it has 4 rows, regardless of how many its datasource has!!! AAAAAAAAhhhgggg Charlotte Foust _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Sep 29 06:04:06 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 29 Sep 2008 13:04:06 +0200 Subject: [dba-VB] Visual Studio: Image on button Message-ID: Hi all If you choose to select an image to put on a button, most of the images from the resources contains not one icon-style image but four, six, or more images of increasing size of the same image. How do I select only one of these images (and not the full selection)? /gustav