From jwcolby at colbyconsulting.com Fri Apr 2 09:41:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 10:41:31 -0400 Subject: [dba-VB] Touchless API Message-ID: <4BB6021B.3040103@colbyconsulting.com> Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Fri Apr 2 09:56:22 2010 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Apr 2010 07:56:22 -0700 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Cool! But I already have a beard and a moustache :) Doug On Fri, Apr 2, 2010 at 7:41 AM, jwcolby wrote: > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From drawbridgej at sympatico.ca Fri Apr 2 10:20:55 2010 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 2 Apr 2010 11:20:55 -0400 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Very interesting, but I too already have a beard like Doug. I haven't seen any of this before. Just watched a couple of youtube demos. Here's extremely basic intro, that does reference .net library and some groups. http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related Interactive white board: http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:42 AM To: VBA Subject: [dba-VB] Touchless API Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.800 / Virus Database: 271.1.1/2784 - Release Date: 04/02/10 02:32:00 From jwcolby at colbyconsulting.com Fri Apr 2 10:49:57 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 11:49:57 -0400 Subject: [dba-VB] Touchless API In-Reply-To: References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: <4BB61225.2090208@colbyconsulting.com> I'm trying to discover how to process video streams from a usb camera. There are a TON of programs and even things to allow you to automatically post files to YouTube and the like, but I want to actually be able to capture the stream from C# - either a single frame or a video clip. I just don't have enough to keep me busy! ;) John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Very interesting, but I too already have a beard like Doug. > > I haven't seen any of this before. Just watched a couple of youtube demos. > Here's extremely basic intro, that does reference .net library and some > groups. > http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related > > > Interactive white board: > http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:42 AM > To: VBA > Subject: [dba-VB] Touchless API > > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From jwcolby at colbyconsulting.com Fri Apr 2 12:36:42 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 13:36:42 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 Message-ID: <4BB62B2A.4090805@colbyconsulting.com> I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 2 19:43:41 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 2 Apr 2010 19:43:41 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:37 AM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Apr 3 06:53:51 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 3 Apr 2010 12:53:51 +0100 Subject: [dba-VB] How to get MS Word mailmerge to open a query with parameters against an linked SQL Table In-Reply-To: References: Message-ID: Hello All, I think that the following works perfectly as a solution for my problem posted below. http://support.microsoft.com/kb/214183 if you need this, review it carefully, as I missed out the critical bit in the Word 2007 section where it refers you to the Options button first. Incidentally, in my Word 2003, I also had to go to Options\general to turn on the DDE access. If tech and sql are seeing this for the first time, it is because I mis typed the email on the first pass, so now you get a solution to a problem you did not have ! :) Thanks Mark On 3 April 2010 11:50, Mark Breen wrote: > Hello All, > > First of all, I hope you are not annoyed by my three cross posts. This > question involves MS Word mailmerges, MS Access and MS SQL Server. > > I have a SQL Server database hosting in a data centre. > I have an Access 2003 db with ODBC inked tables to the SQL Server > I have a query with hard coded Criteria -- eg Where CustId = 100 > I have MS Word Version 2003 with a MailMerge doc Set up and connected to > the Query in MS Access. > The Mailmerge works well with this setup > > When I change the above setup to use parmeters instead of hard coded values > in the criteria of the query, I can successfully run the query from within > access. The params popup and ask for the param value, and then the query > executes and returns records as expected. > > However, the MS Word mailmerge does not work, and the mailmerge doc cannot > connect to the data source. If I try to re-establish the data source > connection, MS Word does not even see the query as a potential data source > within the db. > > If you have any suggestions, I would really appreciate it. > > Thank you, as always for your time, > > Mark > > > From jwcolby at colbyconsulting.com Sat Apr 3 08:13:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Apr 2010 09:13:59 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: <4BB73F17.7050003@colbyconsulting.com> I also use LogMeIn for some clients (at their insistence). It has "issues" such as: 1) It costs money for the "good" version 2) It insists on retaining the focus at the wrong times 3) It insists on NOT retaining the focus at the right times If I am in LogMeIn and I hit Alt-Tab it does NOT switch between the open applications on the remote computer but instead moves me back to the next app on my machine. My brain is trained to use alt-tab to move from one app to another on the desktop and I am CONSTANTLY switching back to my local computer instead of switching to the next app on the remote computer. It is TOTALLY annoying to have to (remember to and) pick up the mouse to click on the other application that I want to use on the remote computer. OTOH (using dual monitors here at the office) if I click into an application back in my other monitor it leaves LogMeIn kinda sorta mostly in control of the main (big) monitor. If I want to use any of the other applications "underneath" LogMeIn on the main monitor I have to intentionally minimize LogMeIn so that I can see the tool bar (and thus the other apps) on the main monitor. Let me just say that I HATE LogMeIn. Yes, LogMeIn works, and when a gun is held to my head I use it. However it is NOT remote desktop. It does not ACT LIKE remote desktop. Remote desktop acts like Windows in every sense, EXACTLY like Windows in every sense, because it IS Windows in every sense, not some browser trying to act like Windows. Given my druthers I will install Hamachi on the remote then use RD over that Hamachi VPN. Works great! Back to my issue, RD is not SUPPOSE TO require "the remote user to be logged in himself". In fact RD (on Windows 2003) has TWO available remote sessions available and BOTH are usable remotely. You are SUPPOSED to be able to boot the server, NEVER LOG IN LOCALLY and RD in from two different clients. I know this because my client in CT uses one login from her home and I use the other login from here in NC. So it is an issue with my server (or something), not an issue with RD specifically. I just thought maybe someone else had seen this and figured out how to fix it. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:37 AM > To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba > Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 > > I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). > When I attempt to connect RD, it fails completely and always if I have not first logged in to the > server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM > switch to physically see the machine, AND log in, THEN RD will work from my laptop. > > If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work > IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. > > IOW RD simply cannot connect if there is not already a user logged in. > > Additionally, once I have done that manual / initial login to the physical machine, RD will fail the > first time I try it. I have to try to connect, immediately cancel that attempt, then try it again > and then it connects right in. I can close the RD session and start it again, no problem (as long > as that other user is still connected). > > So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will > work first time / every time, regardless of anything? > From marklbreen at gmail.com Sun Apr 4 03:05:27 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 4 Apr 2010 09:05:27 +0100 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: <000701cacde8$3e94db10$6a01a8c0@nant> References: <000001cac784$9ecac5e0$6a01a8c0@nant> <4BACA8AA.80106@colbyconsulting.com> <001501cacd19$0e80d0c0$6a01a8c0@nant> <000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > 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 Apr 5 03:20:10 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Apr 2010 12:20:10 +0400 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: References: <000001cac784$9ecac5e0$6a01a8c0@nant><4BACA8AA.80106@colbyconsulting.com><001501cacd19$0e80d0c0$6a01a8c0@nant><000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: <000f01cad498$d0750d50$6a01a8c0@nant> Hello Mark -- As I noted already whenever you'll make it that would we very useful info for many developers... Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, April 04, 2010 12:05 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] FYI: a Mercurial tutorial Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > Shamil > > > > > > > > _______________________________________________ > 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 DWUTKA at Marlow.com Mon Apr 5 09:41:04 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 09:41:04 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Never seen this before JC. Our Remote Desktop server doesn't have this problem at all, and I've setup several client machines that the owners can hit remotely using RD, and haven't seen this problem. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Apr 5 10:00:22 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 10:00:22 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Whoops, forgot to mention two things that might help. First, for remote access to servers I use Remote Administrator http://famatech.com it's a great tool. Second, if your server requires a login, why not just have your server automatically login. It's just a registry setting to get an NT based machine to auto login. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Mon Apr 5 22:27:05 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Apr 2010 23:27:05 -0400 Subject: [dba-VB] Anyone need a little storage? Message-ID: <4BBAAA09.4000606@colbyconsulting.com> http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From accessd at shaw.ca Tue Apr 6 04:48:47 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Apr 2010 02:48:47 -0700 Subject: [dba-VB] Anyone need a little storage? In-Reply-To: <4BBAAA09.4000606@colbyconsulting.com> References: <4BBAAA09.4000606@colbyconsulting.com> Message-ID: <6EB93EA2E6274DC0905D3CFE0975AFC7@creativesystemdesigns.com> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database. aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-p etabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.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 Apr 6 05:15:49 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Apr 2010 12:15:49 +0200 Subject: [dba-VB] Anyone need a little storage? Message-ID: Hi Jim (cross posted to dba-tech) Yes, that was "old news" but still an interesting project! Last week I studied the offerings of large drives and noticed that 2 TB drives now are priced per GB equal to or lower than 1 TB drives. This may not be so important for normal small businesses not operating in the PB storage segment - what is important, however, is that such a drive uses no more power than a 0.5 or 1 TB drive. At least in Europe power cost is a major part of the total cost for flying such drives, thus consolidating storage may lead to important power and cost savings. It's an interesting project of yours. Are you building one unit to share via a WAN among the participants, or are you building a unit for each? Also, how do you plan to approach this shared storage? By FTP, iSCSI, or something else? I noticed that the unit ("pod") in the article uses HTTPs which may be nice for many purposes but useless for, say, a shared Access database. And by which media if the unit is local? Are 1 GB NICs fine? The 10 GB gear I can locate seems quite expensive. Wouldn't it be easier (=no custom software) just to build a simple server offering iSCSI like Openfiler SAN as I mentioned a week ago: http://www.openfiler.com/ /gustav >>> accessd at shaw.ca 06-04-2010 11:48 >>> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database.aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Tue Apr 6 09:23:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 6 Apr 2010 18:23:18 +0400 Subject: [dba-VB] FYI: Links to LINQ Message-ID: <000001cad594$b5475ef0$6a01a8c0@nant> Hi All, FYI: Links to LINQ http://blogs.msdn.com/charlie/archive/2006/10/05/Links-to-LINQ.aspx --Shamil From jwcolby at colbyconsulting.com Thu Apr 8 10:29:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 11:29:28 -0400 Subject: [dba-VB] MySQL questions Message-ID: <4BBDF658.9000708@colbyconsulting.com> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Thu Apr 8 11:01:00 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Apr 2010 18:01:00 +0200 Subject: [dba-VB] MySQL questions Message-ID: Hi John By default both servers listen to port 80. So either disable IIS or let on of them listen to, say, port 8080 (your choice) and adjust clients' call accordingly. Or you can install another NIC and use this for Apache. Or perhaps you can assign two IP adresses to your current NIC (though I have never played with that option). /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 17:29 >>> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Apr 8 15:44:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 16:44:13 -0400 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: <4BBE401D.3050308@colbyconsulting.com> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Fri Apr 9 01:59:25 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 08:59:25 +0200 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: Hi John Why not declare the parameter as Date? That will accept values with seconds and milliseconds. /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Apr 9 07:29:30 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 08:29:30 -0400 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: References: Message-ID: <4BBF1DAA.80806@colbyconsulting.com> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > From Gustav at cactus.dk Fri Apr 9 07:49:46 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 14:49:46 +0200 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure Message-ID: Hi John I think you need to use Convert in place of Cast - and use style 120: http://msdn.microsoft.com/en-us/library/ms187928.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 14:29 >>> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? From stuart at lexacorp.com.pg Fri Apr 9 08:09:33 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Apr 2010 23:09:33 +1000 Subject: [dba-VB] [AccessD] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: <4BBF1DAA.80806@colbyconsulting.com> References: , <4BBF1DAA.80806@colbyconsulting.com> Message-ID: <4BBF270D.24554.75EE9A9@stuart.lexacorp.com.pg> Are PL_DteTimeStart PL_DteTimeEnd set up as DateTime or SmallDateTime fields. If the latter, they can only store times to the nearest minute. -- Stuart On 9 Apr 2010 at 8:29, jwcolby wrote: > I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in > order to check on the format, I immediately send it right back out as an output parameter coming > back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It > is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the > stored procedure). > > The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the > seconds, or rather I can format it to display seconds but they are always 00. The second > information is lost in the trip over to the stored procedure. > > This is the C# side where I set up the parameters: > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); > > > This is the SP side: > > ALTER PROCEDURE [dbo].[_sp_LogProcess] > -- Add the parameters for the stored procedure here > @DBName varchar(50), @TblName varchar(50), > @SPName varchar(50), > @Process varchar(50), @Memo varchar(4000), > @ErrIntOut int, @ErrStrOut varchar(4000), > @RecsAffected int, > @DteTimeStart datetime, > @DteTimeEnd datetime, > @ErrorDesc varchar(4000) output, > @ErrorNo int output, > @SQLStatement varchar(4000) output > > The @DteTimeStart and @DteTimeEnd are the variables of interest. > > The following is what I am using to generate the SQL statement that appends a record into the log table: > > SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] > ([PL_DBName] > ,[PL_TblName] > ,[PL_StoredProcName] > ,[PL_Process] > ,[PL_Memo] > ,[PL_ErrInt] > ,[PL_ErrStr] > ,[PL_DteProc] > ,[PL_RecsAffected] > ,[PL_DteTimeStart] > ,[PL_DteTimeEnd]) > SELECT ''' > + @DBName + ''' as PL_DBName, ''' > + @TblName + ''' as PL_TblName, ''' > + @SPName + ''' AS PL_StoredProcName, ''' > + @Process + ''' as PL_Process, ''' > + @Memo + ''' as PL_Memo, ' > + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' > + @ErrStrOut + ''' as PL_ErrStr, ''' > + cast(getdate() as varchar) + ''' as PL_DteProc, ''' > + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' > + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' > + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' > > > > The following is the record stored by the process: > > > PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process > PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd > 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 > _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 > > I have tried every combination I could think of and it is just stripping the seconds each and every > time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have > looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP > IMMEDIATELY below the function declaration line and the seconds are gone! > > I am baffled. > > I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start > / end times are what is being passed in to this SP to be logged in the table. The whole logging > process is ALMOST useless if I cannot capture the timing data. > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi John > > > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > > > /gustav > > > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > > looking at the data on the C# side, clear down into the parameter object.value and the data is a > > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > > me, stripping the seconds in the process. > > > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > > strips off the seconds. > > > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 9 12:02:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 13:02:11 -0400 Subject: [dba-VB] c# interface to webcam Message-ID: <4BBF5D93.8070606@colbyconsulting.com> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Fri Apr 9 18:25:01 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Apr 2010 09:25:01 +1000 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBF5D93.8070606@colbyconsulting.com> References: <4BBF5D93.8070606@colbyconsulting.com> Message-ID: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each shipped to my door. What > peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is > tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I say eventually because it > takes a good minute before the message pops up. Once that happens I can use them in any application > that needs a camera, and the resolution and picture quality is just outstanding! For example, once > the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive > that would allow me to connect these to machines around the house and record video? Movement > triggered etc. I have a system in the living room that sits under the TV that I would like to put > one of these on just to be able to record a burst of a few seconds when it senses movement. Then > wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages last night. Some worked, all > were klunky if they worked. There are a bunch that are designed to publish the video to a web > system so that I could see them from outside the house "when I travel", but I don't travel so I > really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From max.wanadoo at gmail.com Sat Apr 10 00:10:11 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 10 Apr 2010 06:10:11 +0100 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Message-ID: <10B3C60638A243C4BDD920EF1380AA85@Server> Hi Stuart, I don't understand your posting. YAWCAM does what John was asking for. It provides HTTP, Streaming Cam , Motion Detection etc. And it is free. Unless I misunderstood John requirements. I posted to the same address I received the email from as I have done here. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 10, 2010 12:25 AM To: Access Developers discussion and problem solving; VBA Subject: Re: [dba-VB] c# interface to webcam Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each > shipped to my door. What peaked my interest is that they are an > actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I > say eventually because it takes a good minute before the message pops > up. Once that happens I can use them in any application that needs a > camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" > software that isn't too expensive that would allow me to connect these > to machines around the house and record video? Movement triggered > etc. I have a system in the living room that sits under the TV that I > would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages > last night. Some worked, all were klunky if they worked. There are a > bunch that are designed to publish the video to a web system so that I > could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.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 jwcolby at colbyconsulting.com Sat Apr 10 08:38:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 09:38:59 -0400 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam In-Reply-To: <10B3C60638A243C4BDD920EF1380AA85@Server> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> <10B3C60638A243C4BDD920EF1380AA85@Server> Message-ID: <4BC07F73.3020900@colbyconsulting.com> Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart From jwcolby at colbyconsulting.com Sat Apr 10 11:42:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 12:42:47 -0400 Subject: [dba-VB] c# - Report server databases Message-ID: <4BC0AA87.2000006@colbyconsulting.com> I am using SMO to get lists of databases, tables in databases etc. I never operate on the system databases so I filter out the system databases using the Database.IsSystemObject property. That brought into focus the ReportServer and ReportServerTempDB databases, which oddly are not inside of the system folder and apparently are not system objects. Other than filtering them out by their name, is there a way to know that they are not user defined databases? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Sat Apr 10 16:36:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Apr 2010 23:36:06 +0200 Subject: [dba-VB] c# interface to webcam Message-ID: Hi John You could use DirectX: http://www.codeproject.com/KB/graphics/zMoviePlayer.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 19:02 >>> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From michael at ddisolutions.com.au Sat Apr 10 21:28:23 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sun, 11 Apr 2010 12:28:23 +1000 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg><10B3C60638A243C4BDD920EF1380AA85@Server> <4BC07F73.3020900@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01582EDA@ddi-01.DDI.local> YAWCAM looks great. Another option if you want to do more programming yourself is MS Encoder. http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.ms px I used this a few years ago with some success. IIRC it comes with an API and sample code. Not sure if movement detection would be straightforward or not. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 10 April 2010 11:39 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SPAM-LOW: Re: c# interface to webcam Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2801 - Release Date: 04/11/10 04:32:00 From shamil at smsconsulting.spb.ru Mon Apr 12 05:05:20 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 12 Apr 2010 14:05:20 +0400 Subject: [dba-VB] VS2010 Launch Event Message-ID: <002101cada27$aa0f7580$6a01a8c0@nant> Hi All -- I'm watching online some of the presentations from VS2010 Launch Event from Moscow - it looks good so far - VS2010 have got many new useful in real life development features - no, I'm not going to announce/discuss them here now to let you get your own fresh view on them :) - let's discuss them later this week... Just wanted to share this link about real life VS2010 usage in MS: "Dogfooding" VS 2010 and .NET 4 http://blogs.msdn.com/somasegar/archive/2010/04/08/dogfooding-vs-2010-and-ne t-4.aspx It's mainly about Team Foundation Server 2010 (TFS2010) deployment there at MS, and TFS2010 is first of all a SCRUM development tool you know :) Not sure I will use TFS2010 real soon as it is costly - just wanted to note that SCRUM we tried here last spring "rules the agile development world" - now at MS :) (They say they will make an MS Project 2010/Microfost Solutions Framework 2010 add-on for TFS2010 to support more formal and much more bureaucratic "waterfall" development approaches but that will probably happen for VS2010 SP1 only...) Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Apr 12 09:51:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Apr 2010 10:51:14 -0400 Subject: [dba-VB] Murcurial Version Control Message-ID: <4BC33362.1090202@colbyconsulting.com> I am trying to set this up on my machines. I downloaded and installed TortoiseHG, then installed HGSCC as an integration package to Visual Studio. I am trying to follow the instructions found at: http://blog.dynamicprogrammer.com/2010/02/20/MercurialIntegrationWithVisualStudio.aspx but it doesn't seem to work. As an example the "add to source code" option is grayed out, but there are no "check boxes". I was using VisualSVN which is still "integrated" into Visual Studio, but I am a little hesitant to uninstall that until I get Murcurial functioning since I do have several projects already checked in to VisualSVN. Is there any other tutorial that you guys have found useful for Murcurial and HGSCC? Any ideas on how to get going with this. I need to either get Murcurial going or pay the per seat for VisualSVN. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Apr 13 09:31:21 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 10:31:21 -0400 Subject: [dba-VB] C# button image resources Message-ID: <4BC48039.3000209@colbyconsulting.com> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Apr 13 09:54:32 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 16:54:32 +0200 Subject: [dba-VB] C# button image resources Message-ID: Hi John Could it be those image files found here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip /gustav >>> jwcolby at colbyconsulting.com 13-04-2010 16:31 >>> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Tue Apr 13 10:04:06 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 10:04:06 -0500 Subject: [dba-VB] MS 2010 Launch Events Message-ID: <676881D432A6461D860EFCB774A1BA4E@danwaters> MS has released its schedule of launch events in cities throughout the US over the next two months. I go because they hand out free software. I'm expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL Server 2008 R2. They don't say that this is what you'll get, but those are the products they are advertising in the launch event. These events fill up, so sign up soon! Click this link and follow the track you want. When you get to the page to request a seat, it will say that you need an invitation code - but then they don't ask for a code. I requested a seat and am now confirmed without that invitation code. Perhaps they figure that if you're looking for this anyway then they want you there. http://www.microsoft.com/business/2010events/ Have Fun! Dan PS - they are also having launch events in major cities elsewhere in the world, but you'll need to find that information somewhere. From cfoust at infostatsystems.com Tue Apr 13 10:28:31 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Apr 2010 10:28:31 -0500 Subject: [dba-VB] C# button image resources In-Reply-To: <4BC48039.3000209@colbyconsulting.com> References: <4BC48039.3000209@colbyconsulting.com> Message-ID: We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 13, 2010 7:31 AM To: VBA Subject: [dba-VB] C# button image resources Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 13 10:39:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 11:39:31 -0400 Subject: [dba-VB] C# button image resources In-Reply-To: References: <4BC48039.3000209@colbyconsulting.com> Message-ID: <4BC49033.2000903@colbyconsulting.com> Wow, that sounds cool! Thanks for the tip. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 13, 2010 7:31 AM > To: VBA > Subject: [dba-VB] C# button image resources > > Does Visual Studio allow us to use the existing button images as images / resources for our own > projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already > has such an image, I believe it is a little red X very artsy / swishy. Is that and other such > images available for us to use in our own projects? If so how do I get my hands on it? > From Gustav at cactus.dk Tue Apr 13 11:05:35 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 18:05:35 +0200 Subject: [dba-VB] MS 2010 Launch Events Message-ID: Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. From fhtapia at gmail.com Tue Apr 13 11:53:44 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 13 Apr 2010 09:53:44 -0700 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: I've gone to some of these events in the past, if you have an evaluation copy it will say so on the the product cover, I've picked up non-evaluation versions of sql server 2005, Visual Studio 2005/2008 and even Windows 2003 R2, just to name a few. -- Francisco -Francisco http://sqlthis.blogspot.com | Tsql and More... On Tue, Apr 13, 2010 at 9:05 AM, Gustav Brock wrote: > Hi Dan > > Freebies may very well be timebombed evaluation copies only. Not crippled > but still no cigar - or perhaps exactly so, as a cigar eventually burns out. > > /gustav > > > >>> dbdoug at gmail.com 13-04-2010 17:55 >>> > Interesting - the last couple of MS events I went to in Vancouver, Canada, > were notable for the lack of freebies (coffee and muffins excepted). At > one > (paid) event, the only item given out was a SINGLE copy of the web > development tools, raffled off by ticket number. > > Looking at the pricing of VS2010 I am also surprised at how expensive it > seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, > now appears to cost $550 including a compulsory 'MSDN Essentials' > subscription. Yikes! > > In contrast, the MS Technet subscription (about $250/year) is a real > bargain > as it gives me all MS Office, SQL Server, and Windows versions. > > Doug Steele > > On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters > wrote: > > > MS has released its schedule of launch events in cities throughout the US > > over the next two months. I go because they hand out free software. I'm > > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > > Server 2008 R2. They don't say that this is what you'll get, but those > are > > the products they are advertising in the launch event. These events fill > > up, so sign up soon! > > > > Click this link and follow the track you want. When you get to the page > to > > request a seat, it will say that you need an invitation code - but then > they > > don't ask for a code. I requested a seat and am now confirmed without > that > > invitation code. Perhaps they figure that if you're looking for this > anyway > > then they want you there. > > > > http://www.microsoft.com/business/2010events/ > > > > Have Fun! > > Dan > > > > PS - they are also having launch events in major cities elsewhere in the > > world, but you'll need to find that information somewhere. > > > > _______________________________________________ > 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 Tue Apr 13 12:46:58 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 12:46:58 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 Tue Apr 13 13:58:40 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 13 Apr 2010 22:58:40 +0400 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: <000001cadb3b$56080500$6a01a8c0@nant> Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 dwaters at usinternet.com Tue Apr 13 15:25:37 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 15:25:37 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: <000001cadb3b$56080500$6a01a8c0@nant> References: <000001cadb3b$56080500$6a01a8c0@nant> Message-ID: <27CCBD4152FF454F8DA1D41A46131E4D@danwaters> Hi Shamil, I've found the price for a full version of VS2010 (w/o MSDN) to be $799 retail, discounted to $705 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). And the upgrade version retail price of $549 (w/o MSDN) retail, discounted to $480 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). Looking at the Programmer's Paradise website, I think you can get the same products you listed for quite a bit less money. There are numerous options and I'm not familiar with MSDN. Unfortunately, the Minneapolis launch event isn't until May 27th (2nd to last), so I won't be able to let anyone know what 'freebies' they do hand out till then! At previous launch events they wait until the afternoon until they passed out the software. But they told everyone what time that was when we first got there. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, April 13, 2010 1:59 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 fhtapia at gmail.com Wed Apr 14 09:44:57 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 14 Apr 2010 07:44:57 -0700 Subject: [dba-VB] serving up a directory as a web page... Message-ID: so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... From dw-murphy at cox.net Wed Apr 14 14:25:21 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 14 Apr 2010 12:25:21 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 Wed Apr 14 14:54:40 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 12:54:40 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <21F4F7223F0F42C2A5F74862DDD91ADA@creativesystemdesigns.com> This might be interesting in this thread: http://blogs.techrepublic.com.com/10things/?p=1446&tag=nl.e101 Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, April 14, 2010 12:25 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] serving up a directory as a web page... A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 stuart at lexacorp.com.pg Wed Apr 14 16:44:54 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Apr 2010 07:44:54 +1000 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Wed Apr 14 17:32:35 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 15:32:35 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> References: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Message-ID: <35EB5F0549A442A1AB2582B152139AA6@creativesystemdesigns.com> I understand anyone can use a iPad: http://www.youtube.com/watch?v=Q9NP-AeKX40 I end up throwing Apache on a lot of computers... it is just so easy run and use and so many apps use it by default. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, April 14, 2010 2:45 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] serving up a directory as a web page... Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Thu Apr 15 03:58:16 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 15 Apr 2010 12:58:16 +0400 Subject: [dba-VB] FYI: Microsoft embracing REST, ATOM and JSON by Open Data Protocol (OData) Message-ID: <003d01cadc79$cae613f0$6a01a8c0@nant> Hi All, I have just recently got the following site URL - is it well known there/was mentioned already here?: Open Data Protocol FAQ http://www.odata.org/faq Thank you. -- Shamil From jwcolby at colbyconsulting.com Thu Apr 15 09:06:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:06:33 -0400 Subject: [dba-VB] Visual Studio 2010 Message-ID: <4BC71D69.9020708@colbyconsulting.com> Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Thu Apr 15 09:20:38 2010 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 15 Apr 2010 09:20:38 -0500 Subject: [dba-VB] Visual Studio 2010 In-Reply-To: <4BC71D69.9020708@colbyconsulting.com> References: <4BC71D69.9020708@colbyconsulting.com> Message-ID: <26DE961962314AE7A932DDE563D32669@danwaters> I've been using the RC version now, but not extensively. Since about March of last year, it's been through 2 Betas and one Release Candidate. So I'm going to guess that it may be better than the average Rev 1 release. There are some nice new features! In particular I like that you can write a normal property in a class with just one line of code! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 15, 2010 9:07 AM To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba Subject: [dba-VB] Visual Studio 2010 Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 15 09:42:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:42:15 -0400 Subject: [dba-VB] SPAM-LOW: Re: Visual Studio 2010 In-Reply-To: <26DE961962314AE7A932DDE563D32669@danwaters> References: <4BC71D69.9020708@colbyconsulting.com> <26DE961962314AE7A932DDE563D32669@danwaters> Message-ID: <4BC725C7.6030001@colbyconsulting.com> >>In particular I like that you can write a normal property in a class with just one line of code! I think that is in 2008. They are called something like "automatic properties" and create a hidden variable to contain the data passed in and out. At least in 2008 they are only really useful if you do not need to do computations in the property code since you cannot get at the property stubs in the normal fashion. John W. Colby www.ColbyConsulting.com Dan Waters wrote: > I've been using the RC version now, but not extensively. Since about March > of last year, it's been through 2 Betas and one Release Candidate. So I'm > going to guess that it may be better than the average Rev 1 release. > > There are some nice new features! In particular I like that you can write a > normal property in a class with just one line of code! > > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 15, 2010 9:07 AM > To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba > Subject: [dba-VB] Visual Studio 2010 > > Is VS 2010 ready for prime time? As a student I can get a free copy (it is > downloading now) but I > always hesitate to embrace rev 1 software of any kind. > > Are you guys using it yet? I am using 2008 in production right now and > really love it. > From jwcolby at colbyconsulting.com Fri Apr 16 08:57:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Apr 2010 09:57:59 -0400 Subject: [dba-VB] This is why i love C# Message-ID: <4BC86CE7.8040402@colbyconsulting.com> I use virtual machines to do some processing. When not using the VMs I turn off the entire physical machine that hosts the VMs. I have code that needs to move files to / from the VMs, but I need to check that they exist before I try to do so. The .Net framework has an entire namespace for the Net and it specifically has a PING class which allows me to ping an IP to see if it responds. Voila, instant "is the machine turned on" code. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Apr 17 04:02:12 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 13:02:12 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 Message-ID: <001301cade0c$ac8101b0$6a01a8c0@nant> Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil From shamil at smsconsulting.spb.ru Sat Apr 17 06:28:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 15:28:37 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <001501cade21$2068b320$6a01a8c0@nant> Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 10:03:15 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 08:03:15 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <001501cade21$2068b320$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <001501cade21$2068b320$6a01a8c0@nant> Message-ID: <48EA15EE047E4544B4B436D12D45456D@BPCS> Shamil, If I can do it you surely will not have any problems. I have 2 applications working on my TouchPro 2 Smartphone. One I started in VS 2003, moved to 2005 and now have working in 2008. It is my personal PIM, a calendar, Tech-tips , and a list of books, authors I have read. ( I got tired of buying books I had already read. ) Last year I created a 2nd app (Just for Fun) that lists all the cars and motorcycles I have owned. (34 so far that I remember.) It contains 2 pictures for each car, and the data including photo's are stored in Windows Mobile SQL or SQLCE or what ever MS calls it now. Both apps sync through IIS to my Server and SQLServer 2008. The PIM has been working fine for five or six years through various versions of VS and BPCars is still being worked on but has worked for 6 months or so. I don't know that it matters, but the PIM for my PC's is in VB6 and BPCars for the PC is in VB.NET 2008 I doubt that I could help you very much as your programming skill are about 100 times better than mine, but your question was "How well does it work?" and for simple database frontend backend it works great. There are lots of samples etc using pinvoke and other stuff I don't understand on the net, should you desire to directly connect to some of the phone features. Microsoft.public.dotnet.compactframework has some very talented people on there that share their expertise. HTH Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 4:28 AM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 12:24:45 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 10:24:45 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: Shamil, as already mentioned, you shouldn't have any problems. I have an app that was originally developed using evb/cdb and converted to .Net/SDF (SQLCE). We developed in VS2003,5 & 8 for WM2003, WM5 and WM6. The only issues we ever have are when MS deprecates something and we have to scramble to redesign something that currently works. Sent from my Droid phone. On Apr 17, 2010 2:03 AM, "Shamil Salakhetdinov" wrote: Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Apr 17 12:29:19 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 17 Apr 2010 10:29:19 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > From shamil at smsconsulting.spb.ru Sat Apr 17 15:01:06 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 18 Apr 2010 00:01:06 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <002e01cade68$b8662f30$6a01a8c0@nant> Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 16:24:04 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 14:24:04 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: <7AA0E2360B0642598864AAA8DC1A554C@BPCS> Shamil, I don't know from experience but the HTC HD2 has a 4.3 inch capacitive touch screen which I am told is better then the resistive one of the newTouch and is also larger. Rumor has it that the HD2 will not be upgradable to Windows Mobile 7 but other rumors say it will. There is apparently a third party upgrade announced by XDA if Win Mobile 7 is important to you. You might want to compare specs on the neotouch and HD2 before jumping in. Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 1:01 PM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 20:52:26 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 18:52:26 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: I'd say that it all depends on what your target customer base will be. We use HP iPaqs. You can buy older used units on eBay pretty cheap. Sent from my Droid phone. On Apr 17, 2010 1:02 PM, "Shamil Salakhetdinov" wrote: Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010... Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ag... From jwcolby at colbyconsulting.com Mon Apr 19 15:04:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Apr 2010 16:04:59 -0400 Subject: [dba-VB] C# publish project Message-ID: <4BCCB76B.2000101@colbyconsulting.com> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Mon Apr 19 16:10:29 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Apr 2010 23:10:29 +0200 Subject: [dba-VB] C# publish project Message-ID: Hi John I use ClickOnce at a client and it works great. Look up the thread ClickOnce from 2008-10-10. You are right, it asks only one question - that is if you (the user) want to install this software (update). That's the one click. Yes or No. That said, at the first install more clicks may be requested if the local .Net isn't up to the level you (the developer) has programmed for. It's installed in the user's private folder and the system folders and creates a shortcut to launch the app. Nothing to adjust, nothing to fail. What it does, however, is to install a shortcut which first checks for a new version, then launch the app. The easy method is to install IIS somewhere with a Publish folder that the shortcut checks, and for which initially a URL is forwarded to the potential users. Whenever a new version of the app is ready, you ask VS to publish it. Then VS packs the app and its dependencies and rewrite the publish folder - most likely via FTP but that's your choice. The next time the user fires the shortcut and click Yes, your update will be installed. It has never failed for me. /gustav >>> jwcolby at colbyconsulting.com 19-04-2010 22:04 >>> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Mon Apr 19 16:10:34 2010 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 19 Apr 2010 14:10:34 -0700 Subject: [dba-VB] C# publish project In-Reply-To: <4BCCB76B.2000101@colbyconsulting.com> References: <4BCCB76B.2000101@colbyconsulting.com> Message-ID: OnceClick was the older version in, I believe VS2003, that was superseded by ClickOnce. By itself, ClickOnce is very Basic. But you can do so much with it. It installs the app to the users profile, so it doesn't require admin rights (doesn't write to C:\program files\). I've got pretty good at making custom bootstrappers for ClickOnce, let me know if you need help with those. I didn't like the situation when releasing an update, if the user selects "no" to the prompt, he does not get prompted again the next time he runs the app, so we now force our updates on our users. The other thing I didn't like was that it only checks for your chosen prerequisites the first time, so if you checked off a prereq for some component and it later gets uninstalled, it doesnt automatically reload it. The Shortcut issue has been resolved too with VS2008 SP1. You can now create a shortcut to your app. I ended up making a "launcher" app which checks for any missing prerequisites at install then checks for various other things and automatically downloads updates on the fly. If everything is fine, it simply starts our main application. Doing it this way, via a ClickOnce-Launcher, you can create a seperate msi for your main app which can be installed where ever you want. D On Mon, Apr 19, 2010 at 1:04 PM, jwcolby wrote: > I am going to have to publish my C# project for school, that is one of the requirements. ?The > OneClick looks very basic, it doesn't appear to even ask where to install. > > Does anyone have any thoughts on using this? ?How does it work? ?Can it ask the user where to > install? ?Stuff like that. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sat Apr 24 18:32:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 19:32:56 -0400 Subject: [dba-VB] Hyper-V vs VMWare Message-ID: <4BD37FA8.8040708@colbyconsulting.com> Is anyone using Hyper-V? Comments, performance, comparisons? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Apr 24 21:21:06 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 22:21:06 -0400 Subject: [dba-VB] For the rest of us Message-ID: <4BD3A712.4080006@colbyconsulting.com> http://www.coolcomputing.com/article.php?sid=3861 http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 http://www.newegg.com/Product/Product.aspx?Item=N82E16819105267 24 cores for $2K plus memory. This might make my SQL Server a tad faster eh? Not that I have $2K laying around. Throw in 64 gigs of ram for around $3K and a Raid 0 Array of SSds to house my read-only databases (another $2K or so) and for the neighborhood of $8K I could get some serious computing done. Not that I have 8K laying around. This is some pretty serious hardware though, and not costing 50K either. -- John W. Colby www.ColbyConsulting.com From marklbreen at gmail.com Sun Apr 25 06:07:39 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 25 Apr 2010 12:07:39 +0100 Subject: [dba-VB] [dba-SQLServer] Hyper-V vs VMWare In-Reply-To: <4BD37FA8.8040708@colbyconsulting.com> References: <4BD37FA8.8040708@colbyconsulting.com> Message-ID: Hello john, Using HyperV for a year now and not a single complaint, I have to say that trying to run Win7 and run VS2008 does not get a bare metal experience, but it is absolutely for running servers, and I even use it running Win7 and with PhotoShop. Never managed to get VM ware installed or running, but they only say good things about it HTH Mark On 25 April 2010 00:32, jwcolby wrote: > Is anyone using Hyper-V? Comments, performance, comparisons? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sun Apr 25 21:59:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Apr 2010 22:59:31 -0400 Subject: [dba-VB] Who needs a Cray Message-ID: <4BD50193.9090603@colbyconsulting.com> 48 cores, 128 gigs ram... http://cgi.ebay.com/NEW-TYAN-AMD-OPTERON-6174-G34-48-CORE-MAGNY-COURS-/270529337772 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 28 08:39:38 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Apr 2010 09:39:38 -0400 Subject: [dba-VB] hosting a website in-house Message-ID: <4BD83A9A.8050401@colbyconsulting.com> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Thu Apr 29 10:38:27 2010 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 29 Apr 2010 08:38:27 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: Basically the answer is 'Easy', but possibly 'Insane' as well :) There's the usual learning curve. I've only used IIS as my sites have been .NET. Do you have a fixed IP address? If not, you'll have to deal with the possibility that your IP will change from time to time. You will also have to think about security - I'd be leery of running a website on my main development machine... Once you've got a site exposed to the wild, naughty people will be interested. That said, I've been running a site using .NET login security for a year or so with no problems. Doug On Wed, Apr 28, 2010 at 6:39 AM, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From max.wanadoo at gmail.com Thu Apr 29 10:40:13 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 29 Apr 2010 16:40:13 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <6C3CFD17FC14416DA83DEEA60715F854@Server> I have been doing this for my work admin site for years. I use abbyss web server (free + paid option) with filezilla. Never had any problems. I use access to parse the info of the cretins who try to break in. Some of their attempts at guessing the password is laughable. They get logged and their ips rejected for a pre-determined period after x attempts. No problems. Not heavy traffic. Server is bog standard low grade cheap PC (about 5 years old now) with 2 cards, one for the network, one for the router. Contents get rebuild overnight for freshness the next day. Easy, cheap and does the job. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 28, 2010 2:40 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] hosting a website in-house I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.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 Apr 29 10:47:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Apr 2010 17:47:06 +0200 Subject: [dba-VB] hosting a website in-house Message-ID: Hi John Main advantage for an in-house server is that you are in full control, no need to fit into some standard package. Disadvantages - in addition to those already mentioned - are several including usage of your limited upload bandwidth and added cost for power consumption. /gustav >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From ha at phulse.com Thu Apr 29 12:19:15 2010 From: ha at phulse.com (Hans-Christian Andersen) Date: Thu, 29 Apr 2010 18:19:15 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: Message-ID: >From a pure technical point of view, you only have 3 main problems to be concerned about when running a site from home. 1. A typical internet connection for personal or small business use has poor upload bandwidth and a higher latency. Run a speed test and you'll probably see that your download speeds are up in the megabits, while upload is a paltry 128-256 kbps. If this is just for small sites, that is fine. Just don't expect it to handle high traffic loads and bear in mind that this will start to eat into the bandwidth for your own internet usage. 2. Your internet connection probably changes IP addresses periodically. This isn't a huge issue. Using a service like dnsomatic.com, you could configure your router (if it supports that) or use dhclient or similar daemon/client application to update your DNS when your IP address changes. dnsomatic works with dyndns and zoneedit and more, so that's quite neat. Typically your ip adderss only changes once every few months and you may have a few minutes or less of downtime while the new IP address propogates. 3. Security. I think the first line of defense and most important thing to do is to put your server in a walled garden. So, put the server behind it's own router on a separate network. This way, if you do suffer a security breach, those hackers don't have access to the rest of the machines in your LAN. Secondly, it can be a hassle having to maintain yet another server against the nasty background internet traffic on your own, but this need not be a big issue, if you just make sure to configure things right the first time around. I assume you will probably use Windows, but in my case, I have an Ubuntu server deployed even without a hardware firewall in front of it. I keep software patches up-to-date and have a daemon (fail2ban) that routinely checks various logs for repeated brute force logins and other nasty things and bans that IP address for an hour. This has been pretty effective at stopping hackers, script kiddies and scripted attacks from mindless zombies. Make sure you restrict any services that don't need to be exposed to only your IP address. Use a VPN if you want a way of accessing it from outside your green zone. All in all, I've been doing this myself and it's definitely doable - not insane. But make sure you have a plan B, in case you suddenly find yourself in a situation where you quickly need to move it somewhere with a fatter pipe. Hans-Christian Software Developer, UK ----------------------------------------------------------------- tel: +44 (0)782 894 5456 e-mail: hans.andersen at phulse.com www: nokenode.com ----------------------------------------------------------------- Unique Gifts, Collectables, Artwork ----------------------------------------------------------------- Come one Come all to www.corinnajasmine.com ----------------------------------------------------------------- On 29 April 2010 16:47, Gustav Brock wrote: > Hi John > > Main advantage for an in-house server is that you are in full control, no > need to fit into some standard package. > > Disadvantages - in addition to those already mentioned - are several > including usage of your limited upload bandwidth and added cost for power > consumption. > > /gustav > > >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Thu Apr 29 17:13:40 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:13:40 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: <4BD83A9A.8050401@colbyconsulting.com>, Message-ID: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > From stuart at lexacorp.com.pg Thu Apr 29 17:17:18 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:17:18 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <4BDA056E.24476.524C961@stuart.lexacorp.com.pg> Do-able but insane. But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 28 Apr 2010 at 9:39, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I > could put something like this in a VM so that I could move it to another machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From dw-murphy at cox.net Thu Apr 29 17:18:06 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 29 Apr 2010 15:18:06 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> References: <4BD83A9A.8050401@colbyconsulting.com>, <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> Message-ID: <2ED9847F9482473AB0FCB38566CC6E0C@murphy3234aaf1> My point exactly. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 29, 2010 3:14 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] hosting a website in-house I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 2 09:41:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 10:41:31 -0400 Subject: [dba-VB] Touchless API Message-ID: <4BB6021B.3040103@colbyconsulting.com> Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Fri Apr 2 09:56:22 2010 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Apr 2010 07:56:22 -0700 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Cool! But I already have a beard and a moustache :) Doug On Fri, Apr 2, 2010 at 7:41 AM, jwcolby wrote: > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From drawbridgej at sympatico.ca Fri Apr 2 10:20:55 2010 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 2 Apr 2010 11:20:55 -0400 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Very interesting, but I too already have a beard like Doug. I haven't seen any of this before. Just watched a couple of youtube demos. Here's extremely basic intro, that does reference .net library and some groups. http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related Interactive white board: http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:42 AM To: VBA Subject: [dba-VB] Touchless API Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.800 / Virus Database: 271.1.1/2784 - Release Date: 04/02/10 02:32:00 From jwcolby at colbyconsulting.com Fri Apr 2 10:49:57 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 11:49:57 -0400 Subject: [dba-VB] Touchless API In-Reply-To: References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: <4BB61225.2090208@colbyconsulting.com> I'm trying to discover how to process video streams from a usb camera. There are a TON of programs and even things to allow you to automatically post files to YouTube and the like, but I want to actually be able to capture the stream from C# - either a single frame or a video clip. I just don't have enough to keep me busy! ;) John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Very interesting, but I too already have a beard like Doug. > > I haven't seen any of this before. Just watched a couple of youtube demos. > Here's extremely basic intro, that does reference .net library and some > groups. > http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related > > > Interactive white board: > http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:42 AM > To: VBA > Subject: [dba-VB] Touchless API > > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From jwcolby at colbyconsulting.com Fri Apr 2 12:36:42 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 13:36:42 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 Message-ID: <4BB62B2A.4090805@colbyconsulting.com> I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 2 19:43:41 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 2 Apr 2010 19:43:41 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:37 AM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Apr 3 06:53:51 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 3 Apr 2010 12:53:51 +0100 Subject: [dba-VB] How to get MS Word mailmerge to open a query with parameters against an linked SQL Table In-Reply-To: References: Message-ID: Hello All, I think that the following works perfectly as a solution for my problem posted below. http://support.microsoft.com/kb/214183 if you need this, review it carefully, as I missed out the critical bit in the Word 2007 section where it refers you to the Options button first. Incidentally, in my Word 2003, I also had to go to Options\general to turn on the DDE access. If tech and sql are seeing this for the first time, it is because I mis typed the email on the first pass, so now you get a solution to a problem you did not have ! :) Thanks Mark On 3 April 2010 11:50, Mark Breen wrote: > Hello All, > > First of all, I hope you are not annoyed by my three cross posts. This > question involves MS Word mailmerges, MS Access and MS SQL Server. > > I have a SQL Server database hosting in a data centre. > I have an Access 2003 db with ODBC inked tables to the SQL Server > I have a query with hard coded Criteria -- eg Where CustId = 100 > I have MS Word Version 2003 with a MailMerge doc Set up and connected to > the Query in MS Access. > The Mailmerge works well with this setup > > When I change the above setup to use parmeters instead of hard coded values > in the criteria of the query, I can successfully run the query from within > access. The params popup and ask for the param value, and then the query > executes and returns records as expected. > > However, the MS Word mailmerge does not work, and the mailmerge doc cannot > connect to the data source. If I try to re-establish the data source > connection, MS Word does not even see the query as a potential data source > within the db. > > If you have any suggestions, I would really appreciate it. > > Thank you, as always for your time, > > Mark > > > From jwcolby at colbyconsulting.com Sat Apr 3 08:13:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Apr 2010 09:13:59 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: <4BB73F17.7050003@colbyconsulting.com> I also use LogMeIn for some clients (at their insistence). It has "issues" such as: 1) It costs money for the "good" version 2) It insists on retaining the focus at the wrong times 3) It insists on NOT retaining the focus at the right times If I am in LogMeIn and I hit Alt-Tab it does NOT switch between the open applications on the remote computer but instead moves me back to the next app on my machine. My brain is trained to use alt-tab to move from one app to another on the desktop and I am CONSTANTLY switching back to my local computer instead of switching to the next app on the remote computer. It is TOTALLY annoying to have to (remember to and) pick up the mouse to click on the other application that I want to use on the remote computer. OTOH (using dual monitors here at the office) if I click into an application back in my other monitor it leaves LogMeIn kinda sorta mostly in control of the main (big) monitor. If I want to use any of the other applications "underneath" LogMeIn on the main monitor I have to intentionally minimize LogMeIn so that I can see the tool bar (and thus the other apps) on the main monitor. Let me just say that I HATE LogMeIn. Yes, LogMeIn works, and when a gun is held to my head I use it. However it is NOT remote desktop. It does not ACT LIKE remote desktop. Remote desktop acts like Windows in every sense, EXACTLY like Windows in every sense, because it IS Windows in every sense, not some browser trying to act like Windows. Given my druthers I will install Hamachi on the remote then use RD over that Hamachi VPN. Works great! Back to my issue, RD is not SUPPOSE TO require "the remote user to be logged in himself". In fact RD (on Windows 2003) has TWO available remote sessions available and BOTH are usable remotely. You are SUPPOSED to be able to boot the server, NEVER LOG IN LOCALLY and RD in from two different clients. I know this because my client in CT uses one login from her home and I use the other login from here in NC. So it is an issue with my server (or something), not an issue with RD specifically. I just thought maybe someone else had seen this and figured out how to fix it. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:37 AM > To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba > Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 > > I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). > When I attempt to connect RD, it fails completely and always if I have not first logged in to the > server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM > switch to physically see the machine, AND log in, THEN RD will work from my laptop. > > If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work > IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. > > IOW RD simply cannot connect if there is not already a user logged in. > > Additionally, once I have done that manual / initial login to the physical machine, RD will fail the > first time I try it. I have to try to connect, immediately cancel that attempt, then try it again > and then it connects right in. I can close the RD session and start it again, no problem (as long > as that other user is still connected). > > So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will > work first time / every time, regardless of anything? > From marklbreen at gmail.com Sun Apr 4 03:05:27 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 4 Apr 2010 09:05:27 +0100 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: <000701cacde8$3e94db10$6a01a8c0@nant> References: <000001cac784$9ecac5e0$6a01a8c0@nant> <4BACA8AA.80106@colbyconsulting.com> <001501cacd19$0e80d0c0$6a01a8c0@nant> <000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > 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 Apr 5 03:20:10 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Apr 2010 12:20:10 +0400 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: References: <000001cac784$9ecac5e0$6a01a8c0@nant><4BACA8AA.80106@colbyconsulting.com><001501cacd19$0e80d0c0$6a01a8c0@nant><000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: <000f01cad498$d0750d50$6a01a8c0@nant> Hello Mark -- As I noted already whenever you'll make it that would we very useful info for many developers... Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, April 04, 2010 12:05 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] FYI: a Mercurial tutorial Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > Shamil > > > > > > > > _______________________________________________ > 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 DWUTKA at Marlow.com Mon Apr 5 09:41:04 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 09:41:04 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Never seen this before JC. Our Remote Desktop server doesn't have this problem at all, and I've setup several client machines that the owners can hit remotely using RD, and haven't seen this problem. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Apr 5 10:00:22 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 10:00:22 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Whoops, forgot to mention two things that might help. First, for remote access to servers I use Remote Administrator http://famatech.com it's a great tool. Second, if your server requires a login, why not just have your server automatically login. It's just a registry setting to get an NT based machine to auto login. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Mon Apr 5 22:27:05 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Apr 2010 23:27:05 -0400 Subject: [dba-VB] Anyone need a little storage? Message-ID: <4BBAAA09.4000606@colbyconsulting.com> http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From accessd at shaw.ca Tue Apr 6 04:48:47 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Apr 2010 02:48:47 -0700 Subject: [dba-VB] Anyone need a little storage? In-Reply-To: <4BBAAA09.4000606@colbyconsulting.com> References: <4BBAAA09.4000606@colbyconsulting.com> Message-ID: <6EB93EA2E6274DC0905D3CFE0975AFC7@creativesystemdesigns.com> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database. aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-p etabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.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 Apr 6 05:15:49 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Apr 2010 12:15:49 +0200 Subject: [dba-VB] Anyone need a little storage? Message-ID: Hi Jim (cross posted to dba-tech) Yes, that was "old news" but still an interesting project! Last week I studied the offerings of large drives and noticed that 2 TB drives now are priced per GB equal to or lower than 1 TB drives. This may not be so important for normal small businesses not operating in the PB storage segment - what is important, however, is that such a drive uses no more power than a 0.5 or 1 TB drive. At least in Europe power cost is a major part of the total cost for flying such drives, thus consolidating storage may lead to important power and cost savings. It's an interesting project of yours. Are you building one unit to share via a WAN among the participants, or are you building a unit for each? Also, how do you plan to approach this shared storage? By FTP, iSCSI, or something else? I noticed that the unit ("pod") in the article uses HTTPs which may be nice for many purposes but useless for, say, a shared Access database. And by which media if the unit is local? Are 1 GB NICs fine? The 10 GB gear I can locate seems quite expensive. Wouldn't it be easier (=no custom software) just to build a simple server offering iSCSI like Openfiler SAN as I mentioned a week ago: http://www.openfiler.com/ /gustav >>> accessd at shaw.ca 06-04-2010 11:48 >>> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database.aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Tue Apr 6 09:23:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 6 Apr 2010 18:23:18 +0400 Subject: [dba-VB] FYI: Links to LINQ Message-ID: <000001cad594$b5475ef0$6a01a8c0@nant> Hi All, FYI: Links to LINQ http://blogs.msdn.com/charlie/archive/2006/10/05/Links-to-LINQ.aspx --Shamil From jwcolby at colbyconsulting.com Thu Apr 8 10:29:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 11:29:28 -0400 Subject: [dba-VB] MySQL questions Message-ID: <4BBDF658.9000708@colbyconsulting.com> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Thu Apr 8 11:01:00 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Apr 2010 18:01:00 +0200 Subject: [dba-VB] MySQL questions Message-ID: Hi John By default both servers listen to port 80. So either disable IIS or let on of them listen to, say, port 8080 (your choice) and adjust clients' call accordingly. Or you can install another NIC and use this for Apache. Or perhaps you can assign two IP adresses to your current NIC (though I have never played with that option). /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 17:29 >>> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Apr 8 15:44:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 16:44:13 -0400 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: <4BBE401D.3050308@colbyconsulting.com> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Fri Apr 9 01:59:25 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 08:59:25 +0200 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: Hi John Why not declare the parameter as Date? That will accept values with seconds and milliseconds. /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Apr 9 07:29:30 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 08:29:30 -0400 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: References: Message-ID: <4BBF1DAA.80806@colbyconsulting.com> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > From Gustav at cactus.dk Fri Apr 9 07:49:46 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 14:49:46 +0200 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure Message-ID: Hi John I think you need to use Convert in place of Cast - and use style 120: http://msdn.microsoft.com/en-us/library/ms187928.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 14:29 >>> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? From stuart at lexacorp.com.pg Fri Apr 9 08:09:33 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Apr 2010 23:09:33 +1000 Subject: [dba-VB] [AccessD] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: <4BBF1DAA.80806@colbyconsulting.com> References: , <4BBF1DAA.80806@colbyconsulting.com> Message-ID: <4BBF270D.24554.75EE9A9@stuart.lexacorp.com.pg> Are PL_DteTimeStart PL_DteTimeEnd set up as DateTime or SmallDateTime fields. If the latter, they can only store times to the nearest minute. -- Stuart On 9 Apr 2010 at 8:29, jwcolby wrote: > I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in > order to check on the format, I immediately send it right back out as an output parameter coming > back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It > is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the > stored procedure). > > The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the > seconds, or rather I can format it to display seconds but they are always 00. The second > information is lost in the trip over to the stored procedure. > > This is the C# side where I set up the parameters: > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); > > > This is the SP side: > > ALTER PROCEDURE [dbo].[_sp_LogProcess] > -- Add the parameters for the stored procedure here > @DBName varchar(50), @TblName varchar(50), > @SPName varchar(50), > @Process varchar(50), @Memo varchar(4000), > @ErrIntOut int, @ErrStrOut varchar(4000), > @RecsAffected int, > @DteTimeStart datetime, > @DteTimeEnd datetime, > @ErrorDesc varchar(4000) output, > @ErrorNo int output, > @SQLStatement varchar(4000) output > > The @DteTimeStart and @DteTimeEnd are the variables of interest. > > The following is what I am using to generate the SQL statement that appends a record into the log table: > > SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] > ([PL_DBName] > ,[PL_TblName] > ,[PL_StoredProcName] > ,[PL_Process] > ,[PL_Memo] > ,[PL_ErrInt] > ,[PL_ErrStr] > ,[PL_DteProc] > ,[PL_RecsAffected] > ,[PL_DteTimeStart] > ,[PL_DteTimeEnd]) > SELECT ''' > + @DBName + ''' as PL_DBName, ''' > + @TblName + ''' as PL_TblName, ''' > + @SPName + ''' AS PL_StoredProcName, ''' > + @Process + ''' as PL_Process, ''' > + @Memo + ''' as PL_Memo, ' > + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' > + @ErrStrOut + ''' as PL_ErrStr, ''' > + cast(getdate() as varchar) + ''' as PL_DteProc, ''' > + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' > + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' > + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' > > > > The following is the record stored by the process: > > > PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process > PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd > 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 > _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 > > I have tried every combination I could think of and it is just stripping the seconds each and every > time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have > looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP > IMMEDIATELY below the function declaration line and the seconds are gone! > > I am baffled. > > I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start > / end times are what is being passed in to this SP to be logged in the table. The whole logging > process is ALMOST useless if I cannot capture the timing data. > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi John > > > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > > > /gustav > > > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > > looking at the data on the C# side, clear down into the parameter object.value and the data is a > > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > > me, stripping the seconds in the process. > > > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > > strips off the seconds. > > > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 9 12:02:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 13:02:11 -0400 Subject: [dba-VB] c# interface to webcam Message-ID: <4BBF5D93.8070606@colbyconsulting.com> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Fri Apr 9 18:25:01 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Apr 2010 09:25:01 +1000 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBF5D93.8070606@colbyconsulting.com> References: <4BBF5D93.8070606@colbyconsulting.com> Message-ID: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each shipped to my door. What > peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is > tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I say eventually because it > takes a good minute before the message pops up. Once that happens I can use them in any application > that needs a camera, and the resolution and picture quality is just outstanding! For example, once > the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive > that would allow me to connect these to machines around the house and record video? Movement > triggered etc. I have a system in the living room that sits under the TV that I would like to put > one of these on just to be able to record a burst of a few seconds when it senses movement. Then > wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages last night. Some worked, all > were klunky if they worked. There are a bunch that are designed to publish the video to a web > system so that I could see them from outside the house "when I travel", but I don't travel so I > really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From max.wanadoo at gmail.com Sat Apr 10 00:10:11 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 10 Apr 2010 06:10:11 +0100 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Message-ID: <10B3C60638A243C4BDD920EF1380AA85@Server> Hi Stuart, I don't understand your posting. YAWCAM does what John was asking for. It provides HTTP, Streaming Cam , Motion Detection etc. And it is free. Unless I misunderstood John requirements. I posted to the same address I received the email from as I have done here. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 10, 2010 12:25 AM To: Access Developers discussion and problem solving; VBA Subject: Re: [dba-VB] c# interface to webcam Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each > shipped to my door. What peaked my interest is that they are an > actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I > say eventually because it takes a good minute before the message pops > up. Once that happens I can use them in any application that needs a > camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" > software that isn't too expensive that would allow me to connect these > to machines around the house and record video? Movement triggered > etc. I have a system in the living room that sits under the TV that I > would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages > last night. Some worked, all were klunky if they worked. There are a > bunch that are designed to publish the video to a web system so that I > could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.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 jwcolby at colbyconsulting.com Sat Apr 10 08:38:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 09:38:59 -0400 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam In-Reply-To: <10B3C60638A243C4BDD920EF1380AA85@Server> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> <10B3C60638A243C4BDD920EF1380AA85@Server> Message-ID: <4BC07F73.3020900@colbyconsulting.com> Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart From jwcolby at colbyconsulting.com Sat Apr 10 11:42:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 12:42:47 -0400 Subject: [dba-VB] c# - Report server databases Message-ID: <4BC0AA87.2000006@colbyconsulting.com> I am using SMO to get lists of databases, tables in databases etc. I never operate on the system databases so I filter out the system databases using the Database.IsSystemObject property. That brought into focus the ReportServer and ReportServerTempDB databases, which oddly are not inside of the system folder and apparently are not system objects. Other than filtering them out by their name, is there a way to know that they are not user defined databases? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Sat Apr 10 16:36:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Apr 2010 23:36:06 +0200 Subject: [dba-VB] c# interface to webcam Message-ID: Hi John You could use DirectX: http://www.codeproject.com/KB/graphics/zMoviePlayer.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 19:02 >>> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From michael at ddisolutions.com.au Sat Apr 10 21:28:23 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sun, 11 Apr 2010 12:28:23 +1000 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg><10B3C60638A243C4BDD920EF1380AA85@Server> <4BC07F73.3020900@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01582EDA@ddi-01.DDI.local> YAWCAM looks great. Another option if you want to do more programming yourself is MS Encoder. http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.ms px I used this a few years ago with some success. IIRC it comes with an API and sample code. Not sure if movement detection would be straightforward or not. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 10 April 2010 11:39 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SPAM-LOW: Re: c# interface to webcam Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2801 - Release Date: 04/11/10 04:32:00 From shamil at smsconsulting.spb.ru Mon Apr 12 05:05:20 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 12 Apr 2010 14:05:20 +0400 Subject: [dba-VB] VS2010 Launch Event Message-ID: <002101cada27$aa0f7580$6a01a8c0@nant> Hi All -- I'm watching online some of the presentations from VS2010 Launch Event from Moscow - it looks good so far - VS2010 have got many new useful in real life development features - no, I'm not going to announce/discuss them here now to let you get your own fresh view on them :) - let's discuss them later this week... Just wanted to share this link about real life VS2010 usage in MS: "Dogfooding" VS 2010 and .NET 4 http://blogs.msdn.com/somasegar/archive/2010/04/08/dogfooding-vs-2010-and-ne t-4.aspx It's mainly about Team Foundation Server 2010 (TFS2010) deployment there at MS, and TFS2010 is first of all a SCRUM development tool you know :) Not sure I will use TFS2010 real soon as it is costly - just wanted to note that SCRUM we tried here last spring "rules the agile development world" - now at MS :) (They say they will make an MS Project 2010/Microfost Solutions Framework 2010 add-on for TFS2010 to support more formal and much more bureaucratic "waterfall" development approaches but that will probably happen for VS2010 SP1 only...) Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Apr 12 09:51:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Apr 2010 10:51:14 -0400 Subject: [dba-VB] Murcurial Version Control Message-ID: <4BC33362.1090202@colbyconsulting.com> I am trying to set this up on my machines. I downloaded and installed TortoiseHG, then installed HGSCC as an integration package to Visual Studio. I am trying to follow the instructions found at: http://blog.dynamicprogrammer.com/2010/02/20/MercurialIntegrationWithVisualStudio.aspx but it doesn't seem to work. As an example the "add to source code" option is grayed out, but there are no "check boxes". I was using VisualSVN which is still "integrated" into Visual Studio, but I am a little hesitant to uninstall that until I get Murcurial functioning since I do have several projects already checked in to VisualSVN. Is there any other tutorial that you guys have found useful for Murcurial and HGSCC? Any ideas on how to get going with this. I need to either get Murcurial going or pay the per seat for VisualSVN. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Apr 13 09:31:21 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 10:31:21 -0400 Subject: [dba-VB] C# button image resources Message-ID: <4BC48039.3000209@colbyconsulting.com> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Apr 13 09:54:32 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 16:54:32 +0200 Subject: [dba-VB] C# button image resources Message-ID: Hi John Could it be those image files found here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip /gustav >>> jwcolby at colbyconsulting.com 13-04-2010 16:31 >>> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Tue Apr 13 10:04:06 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 10:04:06 -0500 Subject: [dba-VB] MS 2010 Launch Events Message-ID: <676881D432A6461D860EFCB774A1BA4E@danwaters> MS has released its schedule of launch events in cities throughout the US over the next two months. I go because they hand out free software. I'm expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL Server 2008 R2. They don't say that this is what you'll get, but those are the products they are advertising in the launch event. These events fill up, so sign up soon! Click this link and follow the track you want. When you get to the page to request a seat, it will say that you need an invitation code - but then they don't ask for a code. I requested a seat and am now confirmed without that invitation code. Perhaps they figure that if you're looking for this anyway then they want you there. http://www.microsoft.com/business/2010events/ Have Fun! Dan PS - they are also having launch events in major cities elsewhere in the world, but you'll need to find that information somewhere. From cfoust at infostatsystems.com Tue Apr 13 10:28:31 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Apr 2010 10:28:31 -0500 Subject: [dba-VB] C# button image resources In-Reply-To: <4BC48039.3000209@colbyconsulting.com> References: <4BC48039.3000209@colbyconsulting.com> Message-ID: We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 13, 2010 7:31 AM To: VBA Subject: [dba-VB] C# button image resources Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 13 10:39:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 11:39:31 -0400 Subject: [dba-VB] C# button image resources In-Reply-To: References: <4BC48039.3000209@colbyconsulting.com> Message-ID: <4BC49033.2000903@colbyconsulting.com> Wow, that sounds cool! Thanks for the tip. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 13, 2010 7:31 AM > To: VBA > Subject: [dba-VB] C# button image resources > > Does Visual Studio allow us to use the existing button images as images / resources for our own > projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already > has such an image, I believe it is a little red X very artsy / swishy. Is that and other such > images available for us to use in our own projects? If so how do I get my hands on it? > From Gustav at cactus.dk Tue Apr 13 11:05:35 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 18:05:35 +0200 Subject: [dba-VB] MS 2010 Launch Events Message-ID: Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. From fhtapia at gmail.com Tue Apr 13 11:53:44 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 13 Apr 2010 09:53:44 -0700 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: I've gone to some of these events in the past, if you have an evaluation copy it will say so on the the product cover, I've picked up non-evaluation versions of sql server 2005, Visual Studio 2005/2008 and even Windows 2003 R2, just to name a few. -- Francisco -Francisco http://sqlthis.blogspot.com | Tsql and More... On Tue, Apr 13, 2010 at 9:05 AM, Gustav Brock wrote: > Hi Dan > > Freebies may very well be timebombed evaluation copies only. Not crippled > but still no cigar - or perhaps exactly so, as a cigar eventually burns out. > > /gustav > > > >>> dbdoug at gmail.com 13-04-2010 17:55 >>> > Interesting - the last couple of MS events I went to in Vancouver, Canada, > were notable for the lack of freebies (coffee and muffins excepted). At > one > (paid) event, the only item given out was a SINGLE copy of the web > development tools, raffled off by ticket number. > > Looking at the pricing of VS2010 I am also surprised at how expensive it > seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, > now appears to cost $550 including a compulsory 'MSDN Essentials' > subscription. Yikes! > > In contrast, the MS Technet subscription (about $250/year) is a real > bargain > as it gives me all MS Office, SQL Server, and Windows versions. > > Doug Steele > > On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters > wrote: > > > MS has released its schedule of launch events in cities throughout the US > > over the next two months. I go because they hand out free software. I'm > > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > > Server 2008 R2. They don't say that this is what you'll get, but those > are > > the products they are advertising in the launch event. These events fill > > up, so sign up soon! > > > > Click this link and follow the track you want. When you get to the page > to > > request a seat, it will say that you need an invitation code - but then > they > > don't ask for a code. I requested a seat and am now confirmed without > that > > invitation code. Perhaps they figure that if you're looking for this > anyway > > then they want you there. > > > > http://www.microsoft.com/business/2010events/ > > > > Have Fun! > > Dan > > > > PS - they are also having launch events in major cities elsewhere in the > > world, but you'll need to find that information somewhere. > > > > _______________________________________________ > 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 Tue Apr 13 12:46:58 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 12:46:58 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 Tue Apr 13 13:58:40 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 13 Apr 2010 22:58:40 +0400 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: <000001cadb3b$56080500$6a01a8c0@nant> Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 dwaters at usinternet.com Tue Apr 13 15:25:37 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 15:25:37 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: <000001cadb3b$56080500$6a01a8c0@nant> References: <000001cadb3b$56080500$6a01a8c0@nant> Message-ID: <27CCBD4152FF454F8DA1D41A46131E4D@danwaters> Hi Shamil, I've found the price for a full version of VS2010 (w/o MSDN) to be $799 retail, discounted to $705 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). And the upgrade version retail price of $549 (w/o MSDN) retail, discounted to $480 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). Looking at the Programmer's Paradise website, I think you can get the same products you listed for quite a bit less money. There are numerous options and I'm not familiar with MSDN. Unfortunately, the Minneapolis launch event isn't until May 27th (2nd to last), so I won't be able to let anyone know what 'freebies' they do hand out till then! At previous launch events they wait until the afternoon until they passed out the software. But they told everyone what time that was when we first got there. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, April 13, 2010 1:59 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 fhtapia at gmail.com Wed Apr 14 09:44:57 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 14 Apr 2010 07:44:57 -0700 Subject: [dba-VB] serving up a directory as a web page... Message-ID: so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... From dw-murphy at cox.net Wed Apr 14 14:25:21 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 14 Apr 2010 12:25:21 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 Wed Apr 14 14:54:40 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 12:54:40 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <21F4F7223F0F42C2A5F74862DDD91ADA@creativesystemdesigns.com> This might be interesting in this thread: http://blogs.techrepublic.com.com/10things/?p=1446&tag=nl.e101 Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, April 14, 2010 12:25 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] serving up a directory as a web page... A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 stuart at lexacorp.com.pg Wed Apr 14 16:44:54 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Apr 2010 07:44:54 +1000 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Wed Apr 14 17:32:35 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 15:32:35 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> References: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Message-ID: <35EB5F0549A442A1AB2582B152139AA6@creativesystemdesigns.com> I understand anyone can use a iPad: http://www.youtube.com/watch?v=Q9NP-AeKX40 I end up throwing Apache on a lot of computers... it is just so easy run and use and so many apps use it by default. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, April 14, 2010 2:45 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] serving up a directory as a web page... Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Thu Apr 15 03:58:16 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 15 Apr 2010 12:58:16 +0400 Subject: [dba-VB] FYI: Microsoft embracing REST, ATOM and JSON by Open Data Protocol (OData) Message-ID: <003d01cadc79$cae613f0$6a01a8c0@nant> Hi All, I have just recently got the following site URL - is it well known there/was mentioned already here?: Open Data Protocol FAQ http://www.odata.org/faq Thank you. -- Shamil From jwcolby at colbyconsulting.com Thu Apr 15 09:06:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:06:33 -0400 Subject: [dba-VB] Visual Studio 2010 Message-ID: <4BC71D69.9020708@colbyconsulting.com> Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Thu Apr 15 09:20:38 2010 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 15 Apr 2010 09:20:38 -0500 Subject: [dba-VB] Visual Studio 2010 In-Reply-To: <4BC71D69.9020708@colbyconsulting.com> References: <4BC71D69.9020708@colbyconsulting.com> Message-ID: <26DE961962314AE7A932DDE563D32669@danwaters> I've been using the RC version now, but not extensively. Since about March of last year, it's been through 2 Betas and one Release Candidate. So I'm going to guess that it may be better than the average Rev 1 release. There are some nice new features! In particular I like that you can write a normal property in a class with just one line of code! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 15, 2010 9:07 AM To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba Subject: [dba-VB] Visual Studio 2010 Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 15 09:42:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:42:15 -0400 Subject: [dba-VB] SPAM-LOW: Re: Visual Studio 2010 In-Reply-To: <26DE961962314AE7A932DDE563D32669@danwaters> References: <4BC71D69.9020708@colbyconsulting.com> <26DE961962314AE7A932DDE563D32669@danwaters> Message-ID: <4BC725C7.6030001@colbyconsulting.com> >>In particular I like that you can write a normal property in a class with just one line of code! I think that is in 2008. They are called something like "automatic properties" and create a hidden variable to contain the data passed in and out. At least in 2008 they are only really useful if you do not need to do computations in the property code since you cannot get at the property stubs in the normal fashion. John W. Colby www.ColbyConsulting.com Dan Waters wrote: > I've been using the RC version now, but not extensively. Since about March > of last year, it's been through 2 Betas and one Release Candidate. So I'm > going to guess that it may be better than the average Rev 1 release. > > There are some nice new features! In particular I like that you can write a > normal property in a class with just one line of code! > > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 15, 2010 9:07 AM > To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba > Subject: [dba-VB] Visual Studio 2010 > > Is VS 2010 ready for prime time? As a student I can get a free copy (it is > downloading now) but I > always hesitate to embrace rev 1 software of any kind. > > Are you guys using it yet? I am using 2008 in production right now and > really love it. > From jwcolby at colbyconsulting.com Fri Apr 16 08:57:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Apr 2010 09:57:59 -0400 Subject: [dba-VB] This is why i love C# Message-ID: <4BC86CE7.8040402@colbyconsulting.com> I use virtual machines to do some processing. When not using the VMs I turn off the entire physical machine that hosts the VMs. I have code that needs to move files to / from the VMs, but I need to check that they exist before I try to do so. The .Net framework has an entire namespace for the Net and it specifically has a PING class which allows me to ping an IP to see if it responds. Voila, instant "is the machine turned on" code. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Apr 17 04:02:12 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 13:02:12 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 Message-ID: <001301cade0c$ac8101b0$6a01a8c0@nant> Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil From shamil at smsconsulting.spb.ru Sat Apr 17 06:28:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 15:28:37 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <001501cade21$2068b320$6a01a8c0@nant> Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 10:03:15 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 08:03:15 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <001501cade21$2068b320$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <001501cade21$2068b320$6a01a8c0@nant> Message-ID: <48EA15EE047E4544B4B436D12D45456D@BPCS> Shamil, If I can do it you surely will not have any problems. I have 2 applications working on my TouchPro 2 Smartphone. One I started in VS 2003, moved to 2005 and now have working in 2008. It is my personal PIM, a calendar, Tech-tips , and a list of books, authors I have read. ( I got tired of buying books I had already read. ) Last year I created a 2nd app (Just for Fun) that lists all the cars and motorcycles I have owned. (34 so far that I remember.) It contains 2 pictures for each car, and the data including photo's are stored in Windows Mobile SQL or SQLCE or what ever MS calls it now. Both apps sync through IIS to my Server and SQLServer 2008. The PIM has been working fine for five or six years through various versions of VS and BPCars is still being worked on but has worked for 6 months or so. I don't know that it matters, but the PIM for my PC's is in VB6 and BPCars for the PC is in VB.NET 2008 I doubt that I could help you very much as your programming skill are about 100 times better than mine, but your question was "How well does it work?" and for simple database frontend backend it works great. There are lots of samples etc using pinvoke and other stuff I don't understand on the net, should you desire to directly connect to some of the phone features. Microsoft.public.dotnet.compactframework has some very talented people on there that share their expertise. HTH Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 4:28 AM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 12:24:45 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 10:24:45 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: Shamil, as already mentioned, you shouldn't have any problems. I have an app that was originally developed using evb/cdb and converted to .Net/SDF (SQLCE). We developed in VS2003,5 & 8 for WM2003, WM5 and WM6. The only issues we ever have are when MS deprecates something and we have to scramble to redesign something that currently works. Sent from my Droid phone. On Apr 17, 2010 2:03 AM, "Shamil Salakhetdinov" wrote: Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Apr 17 12:29:19 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 17 Apr 2010 10:29:19 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > From shamil at smsconsulting.spb.ru Sat Apr 17 15:01:06 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 18 Apr 2010 00:01:06 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <002e01cade68$b8662f30$6a01a8c0@nant> Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 16:24:04 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 14:24:04 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: <7AA0E2360B0642598864AAA8DC1A554C@BPCS> Shamil, I don't know from experience but the HTC HD2 has a 4.3 inch capacitive touch screen which I am told is better then the resistive one of the newTouch and is also larger. Rumor has it that the HD2 will not be upgradable to Windows Mobile 7 but other rumors say it will. There is apparently a third party upgrade announced by XDA if Win Mobile 7 is important to you. You might want to compare specs on the neotouch and HD2 before jumping in. Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 1:01 PM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 20:52:26 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 18:52:26 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: I'd say that it all depends on what your target customer base will be. We use HP iPaqs. You can buy older used units on eBay pretty cheap. Sent from my Droid phone. On Apr 17, 2010 1:02 PM, "Shamil Salakhetdinov" wrote: Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010... Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ag... From jwcolby at colbyconsulting.com Mon Apr 19 15:04:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Apr 2010 16:04:59 -0400 Subject: [dba-VB] C# publish project Message-ID: <4BCCB76B.2000101@colbyconsulting.com> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Mon Apr 19 16:10:29 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Apr 2010 23:10:29 +0200 Subject: [dba-VB] C# publish project Message-ID: Hi John I use ClickOnce at a client and it works great. Look up the thread ClickOnce from 2008-10-10. You are right, it asks only one question - that is if you (the user) want to install this software (update). That's the one click. Yes or No. That said, at the first install more clicks may be requested if the local .Net isn't up to the level you (the developer) has programmed for. It's installed in the user's private folder and the system folders and creates a shortcut to launch the app. Nothing to adjust, nothing to fail. What it does, however, is to install a shortcut which first checks for a new version, then launch the app. The easy method is to install IIS somewhere with a Publish folder that the shortcut checks, and for which initially a URL is forwarded to the potential users. Whenever a new version of the app is ready, you ask VS to publish it. Then VS packs the app and its dependencies and rewrite the publish folder - most likely via FTP but that's your choice. The next time the user fires the shortcut and click Yes, your update will be installed. It has never failed for me. /gustav >>> jwcolby at colbyconsulting.com 19-04-2010 22:04 >>> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Mon Apr 19 16:10:34 2010 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 19 Apr 2010 14:10:34 -0700 Subject: [dba-VB] C# publish project In-Reply-To: <4BCCB76B.2000101@colbyconsulting.com> References: <4BCCB76B.2000101@colbyconsulting.com> Message-ID: OnceClick was the older version in, I believe VS2003, that was superseded by ClickOnce. By itself, ClickOnce is very Basic. But you can do so much with it. It installs the app to the users profile, so it doesn't require admin rights (doesn't write to C:\program files\). I've got pretty good at making custom bootstrappers for ClickOnce, let me know if you need help with those. I didn't like the situation when releasing an update, if the user selects "no" to the prompt, he does not get prompted again the next time he runs the app, so we now force our updates on our users. The other thing I didn't like was that it only checks for your chosen prerequisites the first time, so if you checked off a prereq for some component and it later gets uninstalled, it doesnt automatically reload it. The Shortcut issue has been resolved too with VS2008 SP1. You can now create a shortcut to your app. I ended up making a "launcher" app which checks for any missing prerequisites at install then checks for various other things and automatically downloads updates on the fly. If everything is fine, it simply starts our main application. Doing it this way, via a ClickOnce-Launcher, you can create a seperate msi for your main app which can be installed where ever you want. D On Mon, Apr 19, 2010 at 1:04 PM, jwcolby wrote: > I am going to have to publish my C# project for school, that is one of the requirements. ?The > OneClick looks very basic, it doesn't appear to even ask where to install. > > Does anyone have any thoughts on using this? ?How does it work? ?Can it ask the user where to > install? ?Stuff like that. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sat Apr 24 18:32:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 19:32:56 -0400 Subject: [dba-VB] Hyper-V vs VMWare Message-ID: <4BD37FA8.8040708@colbyconsulting.com> Is anyone using Hyper-V? Comments, performance, comparisons? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Apr 24 21:21:06 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 22:21:06 -0400 Subject: [dba-VB] For the rest of us Message-ID: <4BD3A712.4080006@colbyconsulting.com> http://www.coolcomputing.com/article.php?sid=3861 http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 http://www.newegg.com/Product/Product.aspx?Item=N82E16819105267 24 cores for $2K plus memory. This might make my SQL Server a tad faster eh? Not that I have $2K laying around. Throw in 64 gigs of ram for around $3K and a Raid 0 Array of SSds to house my read-only databases (another $2K or so) and for the neighborhood of $8K I could get some serious computing done. Not that I have 8K laying around. This is some pretty serious hardware though, and not costing 50K either. -- John W. Colby www.ColbyConsulting.com From marklbreen at gmail.com Sun Apr 25 06:07:39 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 25 Apr 2010 12:07:39 +0100 Subject: [dba-VB] [dba-SQLServer] Hyper-V vs VMWare In-Reply-To: <4BD37FA8.8040708@colbyconsulting.com> References: <4BD37FA8.8040708@colbyconsulting.com> Message-ID: Hello john, Using HyperV for a year now and not a single complaint, I have to say that trying to run Win7 and run VS2008 does not get a bare metal experience, but it is absolutely for running servers, and I even use it running Win7 and with PhotoShop. Never managed to get VM ware installed or running, but they only say good things about it HTH Mark On 25 April 2010 00:32, jwcolby wrote: > Is anyone using Hyper-V? Comments, performance, comparisons? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sun Apr 25 21:59:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Apr 2010 22:59:31 -0400 Subject: [dba-VB] Who needs a Cray Message-ID: <4BD50193.9090603@colbyconsulting.com> 48 cores, 128 gigs ram... http://cgi.ebay.com/NEW-TYAN-AMD-OPTERON-6174-G34-48-CORE-MAGNY-COURS-/270529337772 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 28 08:39:38 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Apr 2010 09:39:38 -0400 Subject: [dba-VB] hosting a website in-house Message-ID: <4BD83A9A.8050401@colbyconsulting.com> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Thu Apr 29 10:38:27 2010 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 29 Apr 2010 08:38:27 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: Basically the answer is 'Easy', but possibly 'Insane' as well :) There's the usual learning curve. I've only used IIS as my sites have been .NET. Do you have a fixed IP address? If not, you'll have to deal with the possibility that your IP will change from time to time. You will also have to think about security - I'd be leery of running a website on my main development machine... Once you've got a site exposed to the wild, naughty people will be interested. That said, I've been running a site using .NET login security for a year or so with no problems. Doug On Wed, Apr 28, 2010 at 6:39 AM, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From max.wanadoo at gmail.com Thu Apr 29 10:40:13 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 29 Apr 2010 16:40:13 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <6C3CFD17FC14416DA83DEEA60715F854@Server> I have been doing this for my work admin site for years. I use abbyss web server (free + paid option) with filezilla. Never had any problems. I use access to parse the info of the cretins who try to break in. Some of their attempts at guessing the password is laughable. They get logged and their ips rejected for a pre-determined period after x attempts. No problems. Not heavy traffic. Server is bog standard low grade cheap PC (about 5 years old now) with 2 cards, one for the network, one for the router. Contents get rebuild overnight for freshness the next day. Easy, cheap and does the job. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 28, 2010 2:40 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] hosting a website in-house I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.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 Apr 29 10:47:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Apr 2010 17:47:06 +0200 Subject: [dba-VB] hosting a website in-house Message-ID: Hi John Main advantage for an in-house server is that you are in full control, no need to fit into some standard package. Disadvantages - in addition to those already mentioned - are several including usage of your limited upload bandwidth and added cost for power consumption. /gustav >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From ha at phulse.com Thu Apr 29 12:19:15 2010 From: ha at phulse.com (Hans-Christian Andersen) Date: Thu, 29 Apr 2010 18:19:15 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: Message-ID: >From a pure technical point of view, you only have 3 main problems to be concerned about when running a site from home. 1. A typical internet connection for personal or small business use has poor upload bandwidth and a higher latency. Run a speed test and you'll probably see that your download speeds are up in the megabits, while upload is a paltry 128-256 kbps. If this is just for small sites, that is fine. Just don't expect it to handle high traffic loads and bear in mind that this will start to eat into the bandwidth for your own internet usage. 2. Your internet connection probably changes IP addresses periodically. This isn't a huge issue. Using a service like dnsomatic.com, you could configure your router (if it supports that) or use dhclient or similar daemon/client application to update your DNS when your IP address changes. dnsomatic works with dyndns and zoneedit and more, so that's quite neat. Typically your ip adderss only changes once every few months and you may have a few minutes or less of downtime while the new IP address propogates. 3. Security. I think the first line of defense and most important thing to do is to put your server in a walled garden. So, put the server behind it's own router on a separate network. This way, if you do suffer a security breach, those hackers don't have access to the rest of the machines in your LAN. Secondly, it can be a hassle having to maintain yet another server against the nasty background internet traffic on your own, but this need not be a big issue, if you just make sure to configure things right the first time around. I assume you will probably use Windows, but in my case, I have an Ubuntu server deployed even without a hardware firewall in front of it. I keep software patches up-to-date and have a daemon (fail2ban) that routinely checks various logs for repeated brute force logins and other nasty things and bans that IP address for an hour. This has been pretty effective at stopping hackers, script kiddies and scripted attacks from mindless zombies. Make sure you restrict any services that don't need to be exposed to only your IP address. Use a VPN if you want a way of accessing it from outside your green zone. All in all, I've been doing this myself and it's definitely doable - not insane. But make sure you have a plan B, in case you suddenly find yourself in a situation where you quickly need to move it somewhere with a fatter pipe. Hans-Christian Software Developer, UK ----------------------------------------------------------------- tel: +44 (0)782 894 5456 e-mail: hans.andersen at phulse.com www: nokenode.com ----------------------------------------------------------------- Unique Gifts, Collectables, Artwork ----------------------------------------------------------------- Come one Come all to www.corinnajasmine.com ----------------------------------------------------------------- On 29 April 2010 16:47, Gustav Brock wrote: > Hi John > > Main advantage for an in-house server is that you are in full control, no > need to fit into some standard package. > > Disadvantages - in addition to those already mentioned - are several > including usage of your limited upload bandwidth and added cost for power > consumption. > > /gustav > > >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Thu Apr 29 17:13:40 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:13:40 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: <4BD83A9A.8050401@colbyconsulting.com>, Message-ID: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > From stuart at lexacorp.com.pg Thu Apr 29 17:17:18 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:17:18 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <4BDA056E.24476.524C961@stuart.lexacorp.com.pg> Do-able but insane. But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 28 Apr 2010 at 9:39, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I > could put something like this in a VM so that I could move it to another machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From dw-murphy at cox.net Thu Apr 29 17:18:06 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 29 Apr 2010 15:18:06 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> References: <4BD83A9A.8050401@colbyconsulting.com>, <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> Message-ID: <2ED9847F9482473AB0FCB38566CC6E0C@murphy3234aaf1> My point exactly. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 29, 2010 3:14 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] hosting a website in-house I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 2 09:41:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 10:41:31 -0400 Subject: [dba-VB] Touchless API Message-ID: <4BB6021B.3040103@colbyconsulting.com> Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Fri Apr 2 09:56:22 2010 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Apr 2010 07:56:22 -0700 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Cool! But I already have a beard and a moustache :) Doug On Fri, Apr 2, 2010 at 7:41 AM, jwcolby wrote: > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From drawbridgej at sympatico.ca Fri Apr 2 10:20:55 2010 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 2 Apr 2010 11:20:55 -0400 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Very interesting, but I too already have a beard like Doug. I haven't seen any of this before. Just watched a couple of youtube demos. Here's extremely basic intro, that does reference .net library and some groups. http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related Interactive white board: http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:42 AM To: VBA Subject: [dba-VB] Touchless API Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.800 / Virus Database: 271.1.1/2784 - Release Date: 04/02/10 02:32:00 From jwcolby at colbyconsulting.com Fri Apr 2 10:49:57 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 11:49:57 -0400 Subject: [dba-VB] Touchless API In-Reply-To: References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: <4BB61225.2090208@colbyconsulting.com> I'm trying to discover how to process video streams from a usb camera. There are a TON of programs and even things to allow you to automatically post files to YouTube and the like, but I want to actually be able to capture the stream from C# - either a single frame or a video clip. I just don't have enough to keep me busy! ;) John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Very interesting, but I too already have a beard like Doug. > > I haven't seen any of this before. Just watched a couple of youtube demos. > Here's extremely basic intro, that does reference .net library and some > groups. > http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related > > > Interactive white board: > http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:42 AM > To: VBA > Subject: [dba-VB] Touchless API > > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From jwcolby at colbyconsulting.com Fri Apr 2 12:36:42 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 13:36:42 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 Message-ID: <4BB62B2A.4090805@colbyconsulting.com> I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 2 19:43:41 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 2 Apr 2010 19:43:41 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:37 AM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Apr 3 06:53:51 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 3 Apr 2010 12:53:51 +0100 Subject: [dba-VB] How to get MS Word mailmerge to open a query with parameters against an linked SQL Table In-Reply-To: References: Message-ID: Hello All, I think that the following works perfectly as a solution for my problem posted below. http://support.microsoft.com/kb/214183 if you need this, review it carefully, as I missed out the critical bit in the Word 2007 section where it refers you to the Options button first. Incidentally, in my Word 2003, I also had to go to Options\general to turn on the DDE access. If tech and sql are seeing this for the first time, it is because I mis typed the email on the first pass, so now you get a solution to a problem you did not have ! :) Thanks Mark On 3 April 2010 11:50, Mark Breen wrote: > Hello All, > > First of all, I hope you are not annoyed by my three cross posts. This > question involves MS Word mailmerges, MS Access and MS SQL Server. > > I have a SQL Server database hosting in a data centre. > I have an Access 2003 db with ODBC inked tables to the SQL Server > I have a query with hard coded Criteria -- eg Where CustId = 100 > I have MS Word Version 2003 with a MailMerge doc Set up and connected to > the Query in MS Access. > The Mailmerge works well with this setup > > When I change the above setup to use parmeters instead of hard coded values > in the criteria of the query, I can successfully run the query from within > access. The params popup and ask for the param value, and then the query > executes and returns records as expected. > > However, the MS Word mailmerge does not work, and the mailmerge doc cannot > connect to the data source. If I try to re-establish the data source > connection, MS Word does not even see the query as a potential data source > within the db. > > If you have any suggestions, I would really appreciate it. > > Thank you, as always for your time, > > Mark > > > From jwcolby at colbyconsulting.com Sat Apr 3 08:13:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Apr 2010 09:13:59 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: <4BB73F17.7050003@colbyconsulting.com> I also use LogMeIn for some clients (at their insistence). It has "issues" such as: 1) It costs money for the "good" version 2) It insists on retaining the focus at the wrong times 3) It insists on NOT retaining the focus at the right times If I am in LogMeIn and I hit Alt-Tab it does NOT switch between the open applications on the remote computer but instead moves me back to the next app on my machine. My brain is trained to use alt-tab to move from one app to another on the desktop and I am CONSTANTLY switching back to my local computer instead of switching to the next app on the remote computer. It is TOTALLY annoying to have to (remember to and) pick up the mouse to click on the other application that I want to use on the remote computer. OTOH (using dual monitors here at the office) if I click into an application back in my other monitor it leaves LogMeIn kinda sorta mostly in control of the main (big) monitor. If I want to use any of the other applications "underneath" LogMeIn on the main monitor I have to intentionally minimize LogMeIn so that I can see the tool bar (and thus the other apps) on the main monitor. Let me just say that I HATE LogMeIn. Yes, LogMeIn works, and when a gun is held to my head I use it. However it is NOT remote desktop. It does not ACT LIKE remote desktop. Remote desktop acts like Windows in every sense, EXACTLY like Windows in every sense, because it IS Windows in every sense, not some browser trying to act like Windows. Given my druthers I will install Hamachi on the remote then use RD over that Hamachi VPN. Works great! Back to my issue, RD is not SUPPOSE TO require "the remote user to be logged in himself". In fact RD (on Windows 2003) has TWO available remote sessions available and BOTH are usable remotely. You are SUPPOSED to be able to boot the server, NEVER LOG IN LOCALLY and RD in from two different clients. I know this because my client in CT uses one login from her home and I use the other login from here in NC. So it is an issue with my server (or something), not an issue with RD specifically. I just thought maybe someone else had seen this and figured out how to fix it. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:37 AM > To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba > Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 > > I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). > When I attempt to connect RD, it fails completely and always if I have not first logged in to the > server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM > switch to physically see the machine, AND log in, THEN RD will work from my laptop. > > If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work > IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. > > IOW RD simply cannot connect if there is not already a user logged in. > > Additionally, once I have done that manual / initial login to the physical machine, RD will fail the > first time I try it. I have to try to connect, immediately cancel that attempt, then try it again > and then it connects right in. I can close the RD session and start it again, no problem (as long > as that other user is still connected). > > So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will > work first time / every time, regardless of anything? > From marklbreen at gmail.com Sun Apr 4 03:05:27 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 4 Apr 2010 09:05:27 +0100 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: <000701cacde8$3e94db10$6a01a8c0@nant> References: <000001cac784$9ecac5e0$6a01a8c0@nant> <4BACA8AA.80106@colbyconsulting.com> <001501cacd19$0e80d0c0$6a01a8c0@nant> <000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > 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 Apr 5 03:20:10 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Apr 2010 12:20:10 +0400 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: References: <000001cac784$9ecac5e0$6a01a8c0@nant><4BACA8AA.80106@colbyconsulting.com><001501cacd19$0e80d0c0$6a01a8c0@nant><000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: <000f01cad498$d0750d50$6a01a8c0@nant> Hello Mark -- As I noted already whenever you'll make it that would we very useful info for many developers... Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, April 04, 2010 12:05 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] FYI: a Mercurial tutorial Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > Shamil > > > > > > > > _______________________________________________ > 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 DWUTKA at Marlow.com Mon Apr 5 09:41:04 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 09:41:04 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Never seen this before JC. Our Remote Desktop server doesn't have this problem at all, and I've setup several client machines that the owners can hit remotely using RD, and haven't seen this problem. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Apr 5 10:00:22 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 10:00:22 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Whoops, forgot to mention two things that might help. First, for remote access to servers I use Remote Administrator http://famatech.com it's a great tool. Second, if your server requires a login, why not just have your server automatically login. It's just a registry setting to get an NT based machine to auto login. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Mon Apr 5 22:27:05 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Apr 2010 23:27:05 -0400 Subject: [dba-VB] Anyone need a little storage? Message-ID: <4BBAAA09.4000606@colbyconsulting.com> http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From accessd at shaw.ca Tue Apr 6 04:48:47 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Apr 2010 02:48:47 -0700 Subject: [dba-VB] Anyone need a little storage? In-Reply-To: <4BBAAA09.4000606@colbyconsulting.com> References: <4BBAAA09.4000606@colbyconsulting.com> Message-ID: <6EB93EA2E6274DC0905D3CFE0975AFC7@creativesystemdesigns.com> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database. aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-p etabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.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 Apr 6 05:15:49 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Apr 2010 12:15:49 +0200 Subject: [dba-VB] Anyone need a little storage? Message-ID: Hi Jim (cross posted to dba-tech) Yes, that was "old news" but still an interesting project! Last week I studied the offerings of large drives and noticed that 2 TB drives now are priced per GB equal to or lower than 1 TB drives. This may not be so important for normal small businesses not operating in the PB storage segment - what is important, however, is that such a drive uses no more power than a 0.5 or 1 TB drive. At least in Europe power cost is a major part of the total cost for flying such drives, thus consolidating storage may lead to important power and cost savings. It's an interesting project of yours. Are you building one unit to share via a WAN among the participants, or are you building a unit for each? Also, how do you plan to approach this shared storage? By FTP, iSCSI, or something else? I noticed that the unit ("pod") in the article uses HTTPs which may be nice for many purposes but useless for, say, a shared Access database. And by which media if the unit is local? Are 1 GB NICs fine? The 10 GB gear I can locate seems quite expensive. Wouldn't it be easier (=no custom software) just to build a simple server offering iSCSI like Openfiler SAN as I mentioned a week ago: http://www.openfiler.com/ /gustav >>> accessd at shaw.ca 06-04-2010 11:48 >>> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database.aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Tue Apr 6 09:23:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 6 Apr 2010 18:23:18 +0400 Subject: [dba-VB] FYI: Links to LINQ Message-ID: <000001cad594$b5475ef0$6a01a8c0@nant> Hi All, FYI: Links to LINQ http://blogs.msdn.com/charlie/archive/2006/10/05/Links-to-LINQ.aspx --Shamil From jwcolby at colbyconsulting.com Thu Apr 8 10:29:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 11:29:28 -0400 Subject: [dba-VB] MySQL questions Message-ID: <4BBDF658.9000708@colbyconsulting.com> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Thu Apr 8 11:01:00 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Apr 2010 18:01:00 +0200 Subject: [dba-VB] MySQL questions Message-ID: Hi John By default both servers listen to port 80. So either disable IIS or let on of them listen to, say, port 8080 (your choice) and adjust clients' call accordingly. Or you can install another NIC and use this for Apache. Or perhaps you can assign two IP adresses to your current NIC (though I have never played with that option). /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 17:29 >>> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Apr 8 15:44:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 16:44:13 -0400 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: <4BBE401D.3050308@colbyconsulting.com> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Fri Apr 9 01:59:25 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 08:59:25 +0200 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: Hi John Why not declare the parameter as Date? That will accept values with seconds and milliseconds. /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Apr 9 07:29:30 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 08:29:30 -0400 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: References: Message-ID: <4BBF1DAA.80806@colbyconsulting.com> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > From Gustav at cactus.dk Fri Apr 9 07:49:46 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 14:49:46 +0200 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure Message-ID: Hi John I think you need to use Convert in place of Cast - and use style 120: http://msdn.microsoft.com/en-us/library/ms187928.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 14:29 >>> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? From stuart at lexacorp.com.pg Fri Apr 9 08:09:33 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Apr 2010 23:09:33 +1000 Subject: [dba-VB] [AccessD] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: <4BBF1DAA.80806@colbyconsulting.com> References: , <4BBF1DAA.80806@colbyconsulting.com> Message-ID: <4BBF270D.24554.75EE9A9@stuart.lexacorp.com.pg> Are PL_DteTimeStart PL_DteTimeEnd set up as DateTime or SmallDateTime fields. If the latter, they can only store times to the nearest minute. -- Stuart On 9 Apr 2010 at 8:29, jwcolby wrote: > I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in > order to check on the format, I immediately send it right back out as an output parameter coming > back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It > is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the > stored procedure). > > The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the > seconds, or rather I can format it to display seconds but they are always 00. The second > information is lost in the trip over to the stored procedure. > > This is the C# side where I set up the parameters: > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); > > > This is the SP side: > > ALTER PROCEDURE [dbo].[_sp_LogProcess] > -- Add the parameters for the stored procedure here > @DBName varchar(50), @TblName varchar(50), > @SPName varchar(50), > @Process varchar(50), @Memo varchar(4000), > @ErrIntOut int, @ErrStrOut varchar(4000), > @RecsAffected int, > @DteTimeStart datetime, > @DteTimeEnd datetime, > @ErrorDesc varchar(4000) output, > @ErrorNo int output, > @SQLStatement varchar(4000) output > > The @DteTimeStart and @DteTimeEnd are the variables of interest. > > The following is what I am using to generate the SQL statement that appends a record into the log table: > > SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] > ([PL_DBName] > ,[PL_TblName] > ,[PL_StoredProcName] > ,[PL_Process] > ,[PL_Memo] > ,[PL_ErrInt] > ,[PL_ErrStr] > ,[PL_DteProc] > ,[PL_RecsAffected] > ,[PL_DteTimeStart] > ,[PL_DteTimeEnd]) > SELECT ''' > + @DBName + ''' as PL_DBName, ''' > + @TblName + ''' as PL_TblName, ''' > + @SPName + ''' AS PL_StoredProcName, ''' > + @Process + ''' as PL_Process, ''' > + @Memo + ''' as PL_Memo, ' > + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' > + @ErrStrOut + ''' as PL_ErrStr, ''' > + cast(getdate() as varchar) + ''' as PL_DteProc, ''' > + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' > + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' > + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' > > > > The following is the record stored by the process: > > > PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process > PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd > 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 > _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 > > I have tried every combination I could think of and it is just stripping the seconds each and every > time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have > looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP > IMMEDIATELY below the function declaration line and the seconds are gone! > > I am baffled. > > I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start > / end times are what is being passed in to this SP to be logged in the table. The whole logging > process is ALMOST useless if I cannot capture the timing data. > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi John > > > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > > > /gustav > > > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > > looking at the data on the C# side, clear down into the parameter object.value and the data is a > > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > > me, stripping the seconds in the process. > > > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > > strips off the seconds. > > > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 9 12:02:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 13:02:11 -0400 Subject: [dba-VB] c# interface to webcam Message-ID: <4BBF5D93.8070606@colbyconsulting.com> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Fri Apr 9 18:25:01 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Apr 2010 09:25:01 +1000 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBF5D93.8070606@colbyconsulting.com> References: <4BBF5D93.8070606@colbyconsulting.com> Message-ID: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each shipped to my door. What > peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is > tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I say eventually because it > takes a good minute before the message pops up. Once that happens I can use them in any application > that needs a camera, and the resolution and picture quality is just outstanding! For example, once > the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive > that would allow me to connect these to machines around the house and record video? Movement > triggered etc. I have a system in the living room that sits under the TV that I would like to put > one of these on just to be able to record a burst of a few seconds when it senses movement. Then > wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages last night. Some worked, all > were klunky if they worked. There are a bunch that are designed to publish the video to a web > system so that I could see them from outside the house "when I travel", but I don't travel so I > really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From max.wanadoo at gmail.com Sat Apr 10 00:10:11 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 10 Apr 2010 06:10:11 +0100 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Message-ID: <10B3C60638A243C4BDD920EF1380AA85@Server> Hi Stuart, I don't understand your posting. YAWCAM does what John was asking for. It provides HTTP, Streaming Cam , Motion Detection etc. And it is free. Unless I misunderstood John requirements. I posted to the same address I received the email from as I have done here. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 10, 2010 12:25 AM To: Access Developers discussion and problem solving; VBA Subject: Re: [dba-VB] c# interface to webcam Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each > shipped to my door. What peaked my interest is that they are an > actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I > say eventually because it takes a good minute before the message pops > up. Once that happens I can use them in any application that needs a > camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" > software that isn't too expensive that would allow me to connect these > to machines around the house and record video? Movement triggered > etc. I have a system in the living room that sits under the TV that I > would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages > last night. Some worked, all were klunky if they worked. There are a > bunch that are designed to publish the video to a web system so that I > could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.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 jwcolby at colbyconsulting.com Sat Apr 10 08:38:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 09:38:59 -0400 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam In-Reply-To: <10B3C60638A243C4BDD920EF1380AA85@Server> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> <10B3C60638A243C4BDD920EF1380AA85@Server> Message-ID: <4BC07F73.3020900@colbyconsulting.com> Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart From jwcolby at colbyconsulting.com Sat Apr 10 11:42:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 12:42:47 -0400 Subject: [dba-VB] c# - Report server databases Message-ID: <4BC0AA87.2000006@colbyconsulting.com> I am using SMO to get lists of databases, tables in databases etc. I never operate on the system databases so I filter out the system databases using the Database.IsSystemObject property. That brought into focus the ReportServer and ReportServerTempDB databases, which oddly are not inside of the system folder and apparently are not system objects. Other than filtering them out by their name, is there a way to know that they are not user defined databases? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Sat Apr 10 16:36:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Apr 2010 23:36:06 +0200 Subject: [dba-VB] c# interface to webcam Message-ID: Hi John You could use DirectX: http://www.codeproject.com/KB/graphics/zMoviePlayer.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 19:02 >>> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From michael at ddisolutions.com.au Sat Apr 10 21:28:23 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sun, 11 Apr 2010 12:28:23 +1000 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg><10B3C60638A243C4BDD920EF1380AA85@Server> <4BC07F73.3020900@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01582EDA@ddi-01.DDI.local> YAWCAM looks great. Another option if you want to do more programming yourself is MS Encoder. http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.ms px I used this a few years ago with some success. IIRC it comes with an API and sample code. Not sure if movement detection would be straightforward or not. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 10 April 2010 11:39 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SPAM-LOW: Re: c# interface to webcam Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2801 - Release Date: 04/11/10 04:32:00 From shamil at smsconsulting.spb.ru Mon Apr 12 05:05:20 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 12 Apr 2010 14:05:20 +0400 Subject: [dba-VB] VS2010 Launch Event Message-ID: <002101cada27$aa0f7580$6a01a8c0@nant> Hi All -- I'm watching online some of the presentations from VS2010 Launch Event from Moscow - it looks good so far - VS2010 have got many new useful in real life development features - no, I'm not going to announce/discuss them here now to let you get your own fresh view on them :) - let's discuss them later this week... Just wanted to share this link about real life VS2010 usage in MS: "Dogfooding" VS 2010 and .NET 4 http://blogs.msdn.com/somasegar/archive/2010/04/08/dogfooding-vs-2010-and-ne t-4.aspx It's mainly about Team Foundation Server 2010 (TFS2010) deployment there at MS, and TFS2010 is first of all a SCRUM development tool you know :) Not sure I will use TFS2010 real soon as it is costly - just wanted to note that SCRUM we tried here last spring "rules the agile development world" - now at MS :) (They say they will make an MS Project 2010/Microfost Solutions Framework 2010 add-on for TFS2010 to support more formal and much more bureaucratic "waterfall" development approaches but that will probably happen for VS2010 SP1 only...) Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Apr 12 09:51:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Apr 2010 10:51:14 -0400 Subject: [dba-VB] Murcurial Version Control Message-ID: <4BC33362.1090202@colbyconsulting.com> I am trying to set this up on my machines. I downloaded and installed TortoiseHG, then installed HGSCC as an integration package to Visual Studio. I am trying to follow the instructions found at: http://blog.dynamicprogrammer.com/2010/02/20/MercurialIntegrationWithVisualStudio.aspx but it doesn't seem to work. As an example the "add to source code" option is grayed out, but there are no "check boxes". I was using VisualSVN which is still "integrated" into Visual Studio, but I am a little hesitant to uninstall that until I get Murcurial functioning since I do have several projects already checked in to VisualSVN. Is there any other tutorial that you guys have found useful for Murcurial and HGSCC? Any ideas on how to get going with this. I need to either get Murcurial going or pay the per seat for VisualSVN. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Apr 13 09:31:21 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 10:31:21 -0400 Subject: [dba-VB] C# button image resources Message-ID: <4BC48039.3000209@colbyconsulting.com> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Apr 13 09:54:32 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 16:54:32 +0200 Subject: [dba-VB] C# button image resources Message-ID: Hi John Could it be those image files found here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip /gustav >>> jwcolby at colbyconsulting.com 13-04-2010 16:31 >>> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Tue Apr 13 10:04:06 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 10:04:06 -0500 Subject: [dba-VB] MS 2010 Launch Events Message-ID: <676881D432A6461D860EFCB774A1BA4E@danwaters> MS has released its schedule of launch events in cities throughout the US over the next two months. I go because they hand out free software. I'm expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL Server 2008 R2. They don't say that this is what you'll get, but those are the products they are advertising in the launch event. These events fill up, so sign up soon! Click this link and follow the track you want. When you get to the page to request a seat, it will say that you need an invitation code - but then they don't ask for a code. I requested a seat and am now confirmed without that invitation code. Perhaps they figure that if you're looking for this anyway then they want you there. http://www.microsoft.com/business/2010events/ Have Fun! Dan PS - they are also having launch events in major cities elsewhere in the world, but you'll need to find that information somewhere. From cfoust at infostatsystems.com Tue Apr 13 10:28:31 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Apr 2010 10:28:31 -0500 Subject: [dba-VB] C# button image resources In-Reply-To: <4BC48039.3000209@colbyconsulting.com> References: <4BC48039.3000209@colbyconsulting.com> Message-ID: We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 13, 2010 7:31 AM To: VBA Subject: [dba-VB] C# button image resources Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 13 10:39:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 11:39:31 -0400 Subject: [dba-VB] C# button image resources In-Reply-To: References: <4BC48039.3000209@colbyconsulting.com> Message-ID: <4BC49033.2000903@colbyconsulting.com> Wow, that sounds cool! Thanks for the tip. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 13, 2010 7:31 AM > To: VBA > Subject: [dba-VB] C# button image resources > > Does Visual Studio allow us to use the existing button images as images / resources for our own > projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already > has such an image, I believe it is a little red X very artsy / swishy. Is that and other such > images available for us to use in our own projects? If so how do I get my hands on it? > From Gustav at cactus.dk Tue Apr 13 11:05:35 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 18:05:35 +0200 Subject: [dba-VB] MS 2010 Launch Events Message-ID: Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. From fhtapia at gmail.com Tue Apr 13 11:53:44 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 13 Apr 2010 09:53:44 -0700 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: I've gone to some of these events in the past, if you have an evaluation copy it will say so on the the product cover, I've picked up non-evaluation versions of sql server 2005, Visual Studio 2005/2008 and even Windows 2003 R2, just to name a few. -- Francisco -Francisco http://sqlthis.blogspot.com | Tsql and More... On Tue, Apr 13, 2010 at 9:05 AM, Gustav Brock wrote: > Hi Dan > > Freebies may very well be timebombed evaluation copies only. Not crippled > but still no cigar - or perhaps exactly so, as a cigar eventually burns out. > > /gustav > > > >>> dbdoug at gmail.com 13-04-2010 17:55 >>> > Interesting - the last couple of MS events I went to in Vancouver, Canada, > were notable for the lack of freebies (coffee and muffins excepted). At > one > (paid) event, the only item given out was a SINGLE copy of the web > development tools, raffled off by ticket number. > > Looking at the pricing of VS2010 I am also surprised at how expensive it > seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, > now appears to cost $550 including a compulsory 'MSDN Essentials' > subscription. Yikes! > > In contrast, the MS Technet subscription (about $250/year) is a real > bargain > as it gives me all MS Office, SQL Server, and Windows versions. > > Doug Steele > > On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters > wrote: > > > MS has released its schedule of launch events in cities throughout the US > > over the next two months. I go because they hand out free software. I'm > > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > > Server 2008 R2. They don't say that this is what you'll get, but those > are > > the products they are advertising in the launch event. These events fill > > up, so sign up soon! > > > > Click this link and follow the track you want. When you get to the page > to > > request a seat, it will say that you need an invitation code - but then > they > > don't ask for a code. I requested a seat and am now confirmed without > that > > invitation code. Perhaps they figure that if you're looking for this > anyway > > then they want you there. > > > > http://www.microsoft.com/business/2010events/ > > > > Have Fun! > > Dan > > > > PS - they are also having launch events in major cities elsewhere in the > > world, but you'll need to find that information somewhere. > > > > _______________________________________________ > 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 Tue Apr 13 12:46:58 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 12:46:58 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 Tue Apr 13 13:58:40 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 13 Apr 2010 22:58:40 +0400 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: <000001cadb3b$56080500$6a01a8c0@nant> Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 dwaters at usinternet.com Tue Apr 13 15:25:37 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 15:25:37 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: <000001cadb3b$56080500$6a01a8c0@nant> References: <000001cadb3b$56080500$6a01a8c0@nant> Message-ID: <27CCBD4152FF454F8DA1D41A46131E4D@danwaters> Hi Shamil, I've found the price for a full version of VS2010 (w/o MSDN) to be $799 retail, discounted to $705 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). And the upgrade version retail price of $549 (w/o MSDN) retail, discounted to $480 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). Looking at the Programmer's Paradise website, I think you can get the same products you listed for quite a bit less money. There are numerous options and I'm not familiar with MSDN. Unfortunately, the Minneapolis launch event isn't until May 27th (2nd to last), so I won't be able to let anyone know what 'freebies' they do hand out till then! At previous launch events they wait until the afternoon until they passed out the software. But they told everyone what time that was when we first got there. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, April 13, 2010 1:59 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 fhtapia at gmail.com Wed Apr 14 09:44:57 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 14 Apr 2010 07:44:57 -0700 Subject: [dba-VB] serving up a directory as a web page... Message-ID: so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... From dw-murphy at cox.net Wed Apr 14 14:25:21 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 14 Apr 2010 12:25:21 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 Wed Apr 14 14:54:40 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 12:54:40 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <21F4F7223F0F42C2A5F74862DDD91ADA@creativesystemdesigns.com> This might be interesting in this thread: http://blogs.techrepublic.com.com/10things/?p=1446&tag=nl.e101 Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, April 14, 2010 12:25 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] serving up a directory as a web page... A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 stuart at lexacorp.com.pg Wed Apr 14 16:44:54 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Apr 2010 07:44:54 +1000 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Wed Apr 14 17:32:35 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 15:32:35 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> References: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Message-ID: <35EB5F0549A442A1AB2582B152139AA6@creativesystemdesigns.com> I understand anyone can use a iPad: http://www.youtube.com/watch?v=Q9NP-AeKX40 I end up throwing Apache on a lot of computers... it is just so easy run and use and so many apps use it by default. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, April 14, 2010 2:45 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] serving up a directory as a web page... Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Thu Apr 15 03:58:16 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 15 Apr 2010 12:58:16 +0400 Subject: [dba-VB] FYI: Microsoft embracing REST, ATOM and JSON by Open Data Protocol (OData) Message-ID: <003d01cadc79$cae613f0$6a01a8c0@nant> Hi All, I have just recently got the following site URL - is it well known there/was mentioned already here?: Open Data Protocol FAQ http://www.odata.org/faq Thank you. -- Shamil From jwcolby at colbyconsulting.com Thu Apr 15 09:06:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:06:33 -0400 Subject: [dba-VB] Visual Studio 2010 Message-ID: <4BC71D69.9020708@colbyconsulting.com> Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Thu Apr 15 09:20:38 2010 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 15 Apr 2010 09:20:38 -0500 Subject: [dba-VB] Visual Studio 2010 In-Reply-To: <4BC71D69.9020708@colbyconsulting.com> References: <4BC71D69.9020708@colbyconsulting.com> Message-ID: <26DE961962314AE7A932DDE563D32669@danwaters> I've been using the RC version now, but not extensively. Since about March of last year, it's been through 2 Betas and one Release Candidate. So I'm going to guess that it may be better than the average Rev 1 release. There are some nice new features! In particular I like that you can write a normal property in a class with just one line of code! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 15, 2010 9:07 AM To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba Subject: [dba-VB] Visual Studio 2010 Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 15 09:42:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:42:15 -0400 Subject: [dba-VB] SPAM-LOW: Re: Visual Studio 2010 In-Reply-To: <26DE961962314AE7A932DDE563D32669@danwaters> References: <4BC71D69.9020708@colbyconsulting.com> <26DE961962314AE7A932DDE563D32669@danwaters> Message-ID: <4BC725C7.6030001@colbyconsulting.com> >>In particular I like that you can write a normal property in a class with just one line of code! I think that is in 2008. They are called something like "automatic properties" and create a hidden variable to contain the data passed in and out. At least in 2008 they are only really useful if you do not need to do computations in the property code since you cannot get at the property stubs in the normal fashion. John W. Colby www.ColbyConsulting.com Dan Waters wrote: > I've been using the RC version now, but not extensively. Since about March > of last year, it's been through 2 Betas and one Release Candidate. So I'm > going to guess that it may be better than the average Rev 1 release. > > There are some nice new features! In particular I like that you can write a > normal property in a class with just one line of code! > > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 15, 2010 9:07 AM > To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba > Subject: [dba-VB] Visual Studio 2010 > > Is VS 2010 ready for prime time? As a student I can get a free copy (it is > downloading now) but I > always hesitate to embrace rev 1 software of any kind. > > Are you guys using it yet? I am using 2008 in production right now and > really love it. > From jwcolby at colbyconsulting.com Fri Apr 16 08:57:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Apr 2010 09:57:59 -0400 Subject: [dba-VB] This is why i love C# Message-ID: <4BC86CE7.8040402@colbyconsulting.com> I use virtual machines to do some processing. When not using the VMs I turn off the entire physical machine that hosts the VMs. I have code that needs to move files to / from the VMs, but I need to check that they exist before I try to do so. The .Net framework has an entire namespace for the Net and it specifically has a PING class which allows me to ping an IP to see if it responds. Voila, instant "is the machine turned on" code. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Apr 17 04:02:12 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 13:02:12 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 Message-ID: <001301cade0c$ac8101b0$6a01a8c0@nant> Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil From shamil at smsconsulting.spb.ru Sat Apr 17 06:28:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 15:28:37 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <001501cade21$2068b320$6a01a8c0@nant> Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 10:03:15 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 08:03:15 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <001501cade21$2068b320$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <001501cade21$2068b320$6a01a8c0@nant> Message-ID: <48EA15EE047E4544B4B436D12D45456D@BPCS> Shamil, If I can do it you surely will not have any problems. I have 2 applications working on my TouchPro 2 Smartphone. One I started in VS 2003, moved to 2005 and now have working in 2008. It is my personal PIM, a calendar, Tech-tips , and a list of books, authors I have read. ( I got tired of buying books I had already read. ) Last year I created a 2nd app (Just for Fun) that lists all the cars and motorcycles I have owned. (34 so far that I remember.) It contains 2 pictures for each car, and the data including photo's are stored in Windows Mobile SQL or SQLCE or what ever MS calls it now. Both apps sync through IIS to my Server and SQLServer 2008. The PIM has been working fine for five or six years through various versions of VS and BPCars is still being worked on but has worked for 6 months or so. I don't know that it matters, but the PIM for my PC's is in VB6 and BPCars for the PC is in VB.NET 2008 I doubt that I could help you very much as your programming skill are about 100 times better than mine, but your question was "How well does it work?" and for simple database frontend backend it works great. There are lots of samples etc using pinvoke and other stuff I don't understand on the net, should you desire to directly connect to some of the phone features. Microsoft.public.dotnet.compactframework has some very talented people on there that share their expertise. HTH Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 4:28 AM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 12:24:45 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 10:24:45 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: Shamil, as already mentioned, you shouldn't have any problems. I have an app that was originally developed using evb/cdb and converted to .Net/SDF (SQLCE). We developed in VS2003,5 & 8 for WM2003, WM5 and WM6. The only issues we ever have are when MS deprecates something and we have to scramble to redesign something that currently works. Sent from my Droid phone. On Apr 17, 2010 2:03 AM, "Shamil Salakhetdinov" wrote: Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Apr 17 12:29:19 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 17 Apr 2010 10:29:19 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > From shamil at smsconsulting.spb.ru Sat Apr 17 15:01:06 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 18 Apr 2010 00:01:06 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <002e01cade68$b8662f30$6a01a8c0@nant> Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 16:24:04 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 14:24:04 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: <7AA0E2360B0642598864AAA8DC1A554C@BPCS> Shamil, I don't know from experience but the HTC HD2 has a 4.3 inch capacitive touch screen which I am told is better then the resistive one of the newTouch and is also larger. Rumor has it that the HD2 will not be upgradable to Windows Mobile 7 but other rumors say it will. There is apparently a third party upgrade announced by XDA if Win Mobile 7 is important to you. You might want to compare specs on the neotouch and HD2 before jumping in. Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 1:01 PM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 20:52:26 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 18:52:26 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: I'd say that it all depends on what your target customer base will be. We use HP iPaqs. You can buy older used units on eBay pretty cheap. Sent from my Droid phone. On Apr 17, 2010 1:02 PM, "Shamil Salakhetdinov" wrote: Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010... Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ag... From jwcolby at colbyconsulting.com Mon Apr 19 15:04:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Apr 2010 16:04:59 -0400 Subject: [dba-VB] C# publish project Message-ID: <4BCCB76B.2000101@colbyconsulting.com> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Mon Apr 19 16:10:29 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Apr 2010 23:10:29 +0200 Subject: [dba-VB] C# publish project Message-ID: Hi John I use ClickOnce at a client and it works great. Look up the thread ClickOnce from 2008-10-10. You are right, it asks only one question - that is if you (the user) want to install this software (update). That's the one click. Yes or No. That said, at the first install more clicks may be requested if the local .Net isn't up to the level you (the developer) has programmed for. It's installed in the user's private folder and the system folders and creates a shortcut to launch the app. Nothing to adjust, nothing to fail. What it does, however, is to install a shortcut which first checks for a new version, then launch the app. The easy method is to install IIS somewhere with a Publish folder that the shortcut checks, and for which initially a URL is forwarded to the potential users. Whenever a new version of the app is ready, you ask VS to publish it. Then VS packs the app and its dependencies and rewrite the publish folder - most likely via FTP but that's your choice. The next time the user fires the shortcut and click Yes, your update will be installed. It has never failed for me. /gustav >>> jwcolby at colbyconsulting.com 19-04-2010 22:04 >>> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Mon Apr 19 16:10:34 2010 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 19 Apr 2010 14:10:34 -0700 Subject: [dba-VB] C# publish project In-Reply-To: <4BCCB76B.2000101@colbyconsulting.com> References: <4BCCB76B.2000101@colbyconsulting.com> Message-ID: OnceClick was the older version in, I believe VS2003, that was superseded by ClickOnce. By itself, ClickOnce is very Basic. But you can do so much with it. It installs the app to the users profile, so it doesn't require admin rights (doesn't write to C:\program files\). I've got pretty good at making custom bootstrappers for ClickOnce, let me know if you need help with those. I didn't like the situation when releasing an update, if the user selects "no" to the prompt, he does not get prompted again the next time he runs the app, so we now force our updates on our users. The other thing I didn't like was that it only checks for your chosen prerequisites the first time, so if you checked off a prereq for some component and it later gets uninstalled, it doesnt automatically reload it. The Shortcut issue has been resolved too with VS2008 SP1. You can now create a shortcut to your app. I ended up making a "launcher" app which checks for any missing prerequisites at install then checks for various other things and automatically downloads updates on the fly. If everything is fine, it simply starts our main application. Doing it this way, via a ClickOnce-Launcher, you can create a seperate msi for your main app which can be installed where ever you want. D On Mon, Apr 19, 2010 at 1:04 PM, jwcolby wrote: > I am going to have to publish my C# project for school, that is one of the requirements. ?The > OneClick looks very basic, it doesn't appear to even ask where to install. > > Does anyone have any thoughts on using this? ?How does it work? ?Can it ask the user where to > install? ?Stuff like that. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sat Apr 24 18:32:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 19:32:56 -0400 Subject: [dba-VB] Hyper-V vs VMWare Message-ID: <4BD37FA8.8040708@colbyconsulting.com> Is anyone using Hyper-V? Comments, performance, comparisons? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Apr 24 21:21:06 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 22:21:06 -0400 Subject: [dba-VB] For the rest of us Message-ID: <4BD3A712.4080006@colbyconsulting.com> http://www.coolcomputing.com/article.php?sid=3861 http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 http://www.newegg.com/Product/Product.aspx?Item=N82E16819105267 24 cores for $2K plus memory. This might make my SQL Server a tad faster eh? Not that I have $2K laying around. Throw in 64 gigs of ram for around $3K and a Raid 0 Array of SSds to house my read-only databases (another $2K or so) and for the neighborhood of $8K I could get some serious computing done. Not that I have 8K laying around. This is some pretty serious hardware though, and not costing 50K either. -- John W. Colby www.ColbyConsulting.com From marklbreen at gmail.com Sun Apr 25 06:07:39 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 25 Apr 2010 12:07:39 +0100 Subject: [dba-VB] [dba-SQLServer] Hyper-V vs VMWare In-Reply-To: <4BD37FA8.8040708@colbyconsulting.com> References: <4BD37FA8.8040708@colbyconsulting.com> Message-ID: Hello john, Using HyperV for a year now and not a single complaint, I have to say that trying to run Win7 and run VS2008 does not get a bare metal experience, but it is absolutely for running servers, and I even use it running Win7 and with PhotoShop. Never managed to get VM ware installed or running, but they only say good things about it HTH Mark On 25 April 2010 00:32, jwcolby wrote: > Is anyone using Hyper-V? Comments, performance, comparisons? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sun Apr 25 21:59:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Apr 2010 22:59:31 -0400 Subject: [dba-VB] Who needs a Cray Message-ID: <4BD50193.9090603@colbyconsulting.com> 48 cores, 128 gigs ram... http://cgi.ebay.com/NEW-TYAN-AMD-OPTERON-6174-G34-48-CORE-MAGNY-COURS-/270529337772 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 28 08:39:38 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Apr 2010 09:39:38 -0400 Subject: [dba-VB] hosting a website in-house Message-ID: <4BD83A9A.8050401@colbyconsulting.com> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Thu Apr 29 10:38:27 2010 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 29 Apr 2010 08:38:27 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: Basically the answer is 'Easy', but possibly 'Insane' as well :) There's the usual learning curve. I've only used IIS as my sites have been .NET. Do you have a fixed IP address? If not, you'll have to deal with the possibility that your IP will change from time to time. You will also have to think about security - I'd be leery of running a website on my main development machine... Once you've got a site exposed to the wild, naughty people will be interested. That said, I've been running a site using .NET login security for a year or so with no problems. Doug On Wed, Apr 28, 2010 at 6:39 AM, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From max.wanadoo at gmail.com Thu Apr 29 10:40:13 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 29 Apr 2010 16:40:13 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <6C3CFD17FC14416DA83DEEA60715F854@Server> I have been doing this for my work admin site for years. I use abbyss web server (free + paid option) with filezilla. Never had any problems. I use access to parse the info of the cretins who try to break in. Some of their attempts at guessing the password is laughable. They get logged and their ips rejected for a pre-determined period after x attempts. No problems. Not heavy traffic. Server is bog standard low grade cheap PC (about 5 years old now) with 2 cards, one for the network, one for the router. Contents get rebuild overnight for freshness the next day. Easy, cheap and does the job. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 28, 2010 2:40 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] hosting a website in-house I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.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 Apr 29 10:47:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Apr 2010 17:47:06 +0200 Subject: [dba-VB] hosting a website in-house Message-ID: Hi John Main advantage for an in-house server is that you are in full control, no need to fit into some standard package. Disadvantages - in addition to those already mentioned - are several including usage of your limited upload bandwidth and added cost for power consumption. /gustav >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From ha at phulse.com Thu Apr 29 12:19:15 2010 From: ha at phulse.com (Hans-Christian Andersen) Date: Thu, 29 Apr 2010 18:19:15 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: Message-ID: >From a pure technical point of view, you only have 3 main problems to be concerned about when running a site from home. 1. A typical internet connection for personal or small business use has poor upload bandwidth and a higher latency. Run a speed test and you'll probably see that your download speeds are up in the megabits, while upload is a paltry 128-256 kbps. If this is just for small sites, that is fine. Just don't expect it to handle high traffic loads and bear in mind that this will start to eat into the bandwidth for your own internet usage. 2. Your internet connection probably changes IP addresses periodically. This isn't a huge issue. Using a service like dnsomatic.com, you could configure your router (if it supports that) or use dhclient or similar daemon/client application to update your DNS when your IP address changes. dnsomatic works with dyndns and zoneedit and more, so that's quite neat. Typically your ip adderss only changes once every few months and you may have a few minutes or less of downtime while the new IP address propogates. 3. Security. I think the first line of defense and most important thing to do is to put your server in a walled garden. So, put the server behind it's own router on a separate network. This way, if you do suffer a security breach, those hackers don't have access to the rest of the machines in your LAN. Secondly, it can be a hassle having to maintain yet another server against the nasty background internet traffic on your own, but this need not be a big issue, if you just make sure to configure things right the first time around. I assume you will probably use Windows, but in my case, I have an Ubuntu server deployed even without a hardware firewall in front of it. I keep software patches up-to-date and have a daemon (fail2ban) that routinely checks various logs for repeated brute force logins and other nasty things and bans that IP address for an hour. This has been pretty effective at stopping hackers, script kiddies and scripted attacks from mindless zombies. Make sure you restrict any services that don't need to be exposed to only your IP address. Use a VPN if you want a way of accessing it from outside your green zone. All in all, I've been doing this myself and it's definitely doable - not insane. But make sure you have a plan B, in case you suddenly find yourself in a situation where you quickly need to move it somewhere with a fatter pipe. Hans-Christian Software Developer, UK ----------------------------------------------------------------- tel: +44 (0)782 894 5456 e-mail: hans.andersen at phulse.com www: nokenode.com ----------------------------------------------------------------- Unique Gifts, Collectables, Artwork ----------------------------------------------------------------- Come one Come all to www.corinnajasmine.com ----------------------------------------------------------------- On 29 April 2010 16:47, Gustav Brock wrote: > Hi John > > Main advantage for an in-house server is that you are in full control, no > need to fit into some standard package. > > Disadvantages - in addition to those already mentioned - are several > including usage of your limited upload bandwidth and added cost for power > consumption. > > /gustav > > >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Thu Apr 29 17:13:40 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:13:40 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: <4BD83A9A.8050401@colbyconsulting.com>, Message-ID: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > From stuart at lexacorp.com.pg Thu Apr 29 17:17:18 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:17:18 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <4BDA056E.24476.524C961@stuart.lexacorp.com.pg> Do-able but insane. But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 28 Apr 2010 at 9:39, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I > could put something like this in a VM so that I could move it to another machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From dw-murphy at cox.net Thu Apr 29 17:18:06 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 29 Apr 2010 15:18:06 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> References: <4BD83A9A.8050401@colbyconsulting.com>, <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> Message-ID: <2ED9847F9482473AB0FCB38566CC6E0C@murphy3234aaf1> My point exactly. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 29, 2010 3:14 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] hosting a website in-house I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 2 09:41:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 10:41:31 -0400 Subject: [dba-VB] Touchless API Message-ID: <4BB6021B.3040103@colbyconsulting.com> Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Fri Apr 2 09:56:22 2010 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 2 Apr 2010 07:56:22 -0700 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Cool! But I already have a beard and a moustache :) Doug On Fri, Apr 2, 2010 at 7:41 AM, jwcolby wrote: > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From drawbridgej at sympatico.ca Fri Apr 2 10:20:55 2010 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 2 Apr 2010 11:20:55 -0400 Subject: [dba-VB] Touchless API In-Reply-To: <4BB6021B.3040103@colbyconsulting.com> References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: Very interesting, but I too already have a beard like Doug. I haven't seen any of this before. Just watched a couple of youtube demos. Here's extremely basic intro, that does reference .net library and some groups. http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related Interactive white board: http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:42 AM To: VBA Subject: [dba-VB] Touchless API Check this out. http://www.youtube.com/watch?v=hJuJJOK7MMc I haven't downloaded (yet!) -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.800 / Virus Database: 271.1.1/2784 - Release Date: 04/02/10 02:32:00 From jwcolby at colbyconsulting.com Fri Apr 2 10:49:57 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 11:49:57 -0400 Subject: [dba-VB] Touchless API In-Reply-To: References: <4BB6021B.3040103@colbyconsulting.com> Message-ID: <4BB61225.2090208@colbyconsulting.com> I'm trying to discover how to process video streams from a usb camera. There are a TON of programs and even things to allow you to automatically post files to YouTube and the like, but I want to actually be able to capture the stream from C# - either a single frame or a video clip. I just don't have enough to keep me busy! ;) John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Very interesting, but I too already have a beard like Doug. > > I haven't seen any of this before. Just watched a couple of youtube demos. > Here's extremely basic intro, that does reference .net library and some > groups. > http://www.youtube.com/watch?v=zgLPww04QaQ&feature=related > > > Interactive white board: > http://www.youtube.com/watch?v=5s5EvhHy7eQ&feature=related > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:42 AM > To: VBA > Subject: [dba-VB] Touchless API > > Check this out. > > http://www.youtube.com/watch?v=hJuJJOK7MMc > > I haven't downloaded (yet!) > From jwcolby at colbyconsulting.com Fri Apr 2 12:36:42 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 02 Apr 2010 13:36:42 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 Message-ID: <4BB62B2A.4090805@colbyconsulting.com> I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Fri Apr 2 19:43:41 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 2 Apr 2010 19:43:41 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 10:37 AM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From marklbreen at gmail.com Sat Apr 3 06:53:51 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sat, 3 Apr 2010 12:53:51 +0100 Subject: [dba-VB] How to get MS Word mailmerge to open a query with parameters against an linked SQL Table In-Reply-To: References: Message-ID: Hello All, I think that the following works perfectly as a solution for my problem posted below. http://support.microsoft.com/kb/214183 if you need this, review it carefully, as I missed out the critical bit in the Word 2007 section where it refers you to the Options button first. Incidentally, in my Word 2003, I also had to go to Options\general to turn on the DDE access. If tech and sql are seeing this for the first time, it is because I mis typed the email on the first pass, so now you get a solution to a problem you did not have ! :) Thanks Mark On 3 April 2010 11:50, Mark Breen wrote: > Hello All, > > First of all, I hope you are not annoyed by my three cross posts. This > question involves MS Word mailmerges, MS Access and MS SQL Server. > > I have a SQL Server database hosting in a data centre. > I have an Access 2003 db with ODBC inked tables to the SQL Server > I have a query with hard coded Criteria -- eg Where CustId = 100 > I have MS Word Version 2003 with a MailMerge doc Set up and connected to > the Query in MS Access. > The Mailmerge works well with this setup > > When I change the above setup to use parmeters instead of hard coded values > in the criteria of the query, I can successfully run the query from within > access. The params popup and ask for the param value, and then the query > executes and returns records as expected. > > However, the MS Word mailmerge does not work, and the mailmerge doc cannot > connect to the data source. If I try to re-establish the data source > connection, MS Word does not even see the query as a potential data source > within the db. > > If you have any suggestions, I would really appreciate it. > > Thank you, as always for your time, > > Mark > > > From jwcolby at colbyconsulting.com Sat Apr 3 08:13:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 03 Apr 2010 09:13:59 -0400 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: <4BB73F17.7050003@colbyconsulting.com> I also use LogMeIn for some clients (at their insistence). It has "issues" such as: 1) It costs money for the "good" version 2) It insists on retaining the focus at the wrong times 3) It insists on NOT retaining the focus at the right times If I am in LogMeIn and I hit Alt-Tab it does NOT switch between the open applications on the remote computer but instead moves me back to the next app on my machine. My brain is trained to use alt-tab to move from one app to another on the desktop and I am CONSTANTLY switching back to my local computer instead of switching to the next app on the remote computer. It is TOTALLY annoying to have to (remember to and) pick up the mouse to click on the other application that I want to use on the remote computer. OTOH (using dual monitors here at the office) if I click into an application back in my other monitor it leaves LogMeIn kinda sorta mostly in control of the main (big) monitor. If I want to use any of the other applications "underneath" LogMeIn on the main monitor I have to intentionally minimize LogMeIn so that I can see the tool bar (and thus the other apps) on the main monitor. Let me just say that I HATE LogMeIn. Yes, LogMeIn works, and when a gun is held to my head I use it. However it is NOT remote desktop. It does not ACT LIKE remote desktop. Remote desktop acts like Windows in every sense, EXACTLY like Windows in every sense, because it IS Windows in every sense, not some browser trying to act like Windows. Given my druthers I will install Hamachi on the remote then use RD over that Hamachi VPN. Works great! Back to my issue, RD is not SUPPOSE TO require "the remote user to be logged in himself". In fact RD (on Windows 2003) has TWO available remote sessions available and BOTH are usable remotely. You are SUPPOSED to be able to boot the server, NEVER LOG IN LOCALLY and RD in from two different clients. I know this because my client in CT uses one login from her home and I use the other login from here in NC. So it is an issue with my server (or something), not an issue with RD specifically. I just thought maybe someone else had seen this and figured out how to fix it. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We've taken to using LogMeIn with our clients because it offers remote features as well as other modes, including one that doesn't require the client to be logged in himself. I don't use it personally, but our support analyst uses it all the time so he can see what the client is actually doing or try to reproduce a problem on their machines. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, April 02, 2010 10:37 AM > To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba > Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 > > I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). > When I attempt to connect RD, it fails completely and always if I have not first logged in to the > server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM > switch to physically see the machine, AND log in, THEN RD will work from my laptop. > > If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work > IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. > > IOW RD simply cannot connect if there is not already a user logged in. > > Additionally, once I have done that manual / initial login to the physical machine, RD will fail the > first time I try it. I have to try to connect, immediately cancel that attempt, then try it again > and then it connects right in. I can close the RD session and start it again, no problem (as long > as that other user is still connected). > > So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will > work first time / every time, regardless of anything? > From marklbreen at gmail.com Sun Apr 4 03:05:27 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 4 Apr 2010 09:05:27 +0100 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: <000701cacde8$3e94db10$6a01a8c0@nant> References: <000001cac784$9ecac5e0$6a01a8c0@nant> <4BACA8AA.80106@colbyconsulting.com> <001501cacd19$0e80d0c0$6a01a8c0@nant> <000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > 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 Apr 5 03:20:10 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 5 Apr 2010 12:20:10 +0400 Subject: [dba-VB] FYI: a Mercurial tutorial In-Reply-To: References: <000001cac784$9ecac5e0$6a01a8c0@nant><4BACA8AA.80106@colbyconsulting.com><001501cacd19$0e80d0c0$6a01a8c0@nant><000701cacde8$3e94db10$6a01a8c0@nant> Message-ID: <000f01cad498$d0750d50$6a01a8c0@nant> Hello Mark -- As I noted already whenever you'll make it that would we very useful info for many developers... Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen Sent: Sunday, April 04, 2010 12:05 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] FYI: a Mercurial tutorial Hello Shamil, On my list of interesting things to do, is to switch from Subversion to Mercurial, when I do, and when I have played with it for a little while, I will try to get a server up. If / when I ever get around to this, I will post details, but it might be a while. I would like to play with Mecurial, but it is low down the priority list. thanks Mark On 27 March 2010 20:01, Shamil Salakhetdinov wrote: > Hi Mark -- > > As I noted in my reply to JC in this thread Mercurial tools (including > Visual Studio plug-in and web server) are free. > > If you can set Central Mercurial Server (to play with) on your publicly > available IIS web server and post reproducible setup steps that would be > very useful for many developers AFAICS: > > > http://stackoverflow.com/questions/2484151/how-to-setup-mercurial-central-re > pository-on-shared-hosting > > > http://stackoverflow.com/questions/818571/how-to-setup-mercurial-and-hgwebdi > r-on-iis > > Thank you. > > -- Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Mark Breen > Sent: Saturday, March 27, 2010 2:18 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > Hello All, > > I see that Joel has launched Kiln 1.0 which looks to be a GUI for Mecurial. > It seems that he is commited to it as a technology. > > IMO Kiln is pretty expensive for what it seems to be offering - a GUI for > Mecurial - or did I not get it right? > > I have to say that I also found his tutorial facinating and I am > considering > downloading and installing it here. > > What do you all think, do we need a Central Mecurial Server also? I could > set one up for use all to use if we want / need, but I think we do not > really need one unless we were working on a centralised project. > > Thanks > > Mark > > > > > On 26 March 2010 19:18, Shamil Salakhetdinov > wrote: > > > Hi John -- > > > > I do use it here: > > > > http://accesspowertools.codeplex.com/SourceControl/list/changesets > > > > But I'm just a beginner with subject SCC toolset... > > > > Thank you. > > > > --Shamil > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: Friday, March 26, 2010 3:30 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > So is anyone (of us) actually using this? > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Shamil Salakhetdinov wrote: > > > Hi Gustav -- > > > > > > That seems to be a VS tool for Mercurial: > > > > > > http://visualhg.codeplex.com/ > > > > > > > > > > > > http://jat45.wordpress.com/2009/12/16/using-mercurial-visualhg-and-visual-st > > > udio-2008-together/ > > > > > > I must note I haven't used it yet. > > > > > > Thank you. > > > > > > --Shamii > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > > Sent: Friday, March 19, 2010 7:43 PM > > > To: dba-vb at databaseadvisors.com > > > Subject: Re: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi Shamil and Michael > > > > > > But how about the integration with VS? I would miss my small "traffic > > light" > > > sub-icons. > > > > > > Besides, I have always tried to avoid branching. It's the root of all > > evil > > > to maintain. > > > > > > /gustav > > > > > > > > >>>> michael at ddisolutions.com.au 18-03-2010 23:36 >>> > > > Hi Shamil, > > > > > > Beat me to it..lol > > > Heres Joels explanation for the tutorial > > > http://www.joelonsoftware.com/items/2010/03/17.html > > > > > > > > > Talk about timing :-) > > > > > > Cheers > > > > > > Michael M > > > > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil > > > Salakhetdinov > > > Sent: Friday, 19 March 2010 6:33 AM > > > To: 'Discussion concerning Visual Basic and related programming > issues.' > > > Subject: [dba-VB] FYI: a Mercurial tutorial > > > > > > Hi All, > > > > > > Here is a Mercurial tutorial by Joel Spolsky: "You're a brain damaged > > (:)) > > > if you used Subversion", - he writes in this tutorial (trying to be > > polite): > > > > > > http://hginit.com/ > > > > > > I did use Subversion but occasionally switched to Mercurial a while ago > > > (before I did find this article/tutorial). > > > > > > Enjoy! ;) > > > > > > -- > > > Shamil > > > > > > > > _______________________________________________ > 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 DWUTKA at Marlow.com Mon Apr 5 09:41:04 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 09:41:04 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Never seen this before JC. Our Remote Desktop server doesn't have this problem at all, and I've setup several client machines that the owners can hit remotely using RD, and haven't seen this problem. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Mon Apr 5 10:00:22 2010 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 5 Apr 2010 10:00:22 -0500 Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 In-Reply-To: <4BB62B2A.4090805@colbyconsulting.com> References: <4BB62B2A.4090805@colbyconsulting.com> Message-ID: Whoops, forgot to mention two things that might help. First, for remote access to servers I use Remote Administrator http://famatech.com it's a great tool. Second, if your server requires a login, why not just have your server automatically login. It's just a registry setting to get an NT based machine to auto login. Drew -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, April 02, 2010 12:37 PM To: Access Developers discussion and problem solving; VBA; Sqlserver-Dba Subject: [dba-VB] Initial start of remote desktop fails - Windows 2003 I use RD to work on the servers in my office from my laptop in my office (entirely within my LAN). When I attempt to connect RD, it fails completely and always if I have not first logged in to the server manually, through the keyboard / mouse connected to that machine. IOW I have to use my KVM switch to physically see the machine, AND log in, THEN RD will work from my laptop. If I use the KVM to go to the physical machine and log out, RD from the laptop will continue to work IF ALREADY CONNECTED, but will fail if I close the RD session and try to RD back in. IOW RD simply cannot connect if there is not already a user logged in. Additionally, once I have done that manual / initial login to the physical machine, RD will fail the first time I try it. I have to try to connect, immediately cancel that attempt, then try it again and then it connects right in. I can close the RD session and start it again, no problem (as long as that other user is still connected). So... has anyone seen this behavior? Has anyone seen a solution to that problem such that RD will work first time / every time, regardless of anything? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From jwcolby at colbyconsulting.com Mon Apr 5 22:27:05 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 05 Apr 2010 23:27:05 -0400 Subject: [dba-VB] Anyone need a little storage? Message-ID: <4BBAAA09.4000606@colbyconsulting.com> http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From accessd at shaw.ca Tue Apr 6 04:48:47 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 6 Apr 2010 02:48:47 -0700 Subject: [dba-VB] Anyone need a little storage? In-Reply-To: <4BBAAA09.4000606@colbyconsulting.com> References: <4BBAAA09.4000606@colbyconsulting.com> Message-ID: <6EB93EA2E6274DC0905D3CFE0975AFC7@creativesystemdesigns.com> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database. aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-p etabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.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 Apr 6 05:15:49 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 06 Apr 2010 12:15:49 +0200 Subject: [dba-VB] Anyone need a little storage? Message-ID: Hi Jim (cross posted to dba-tech) Yes, that was "old news" but still an interesting project! Last week I studied the offerings of large drives and noticed that 2 TB drives now are priced per GB equal to or lower than 1 TB drives. This may not be so important for normal small businesses not operating in the PB storage segment - what is important, however, is that such a drive uses no more power than a 0.5 or 1 TB drive. At least in Europe power cost is a major part of the total cost for flying such drives, thus consolidating storage may lead to important power and cost savings. It's an interesting project of yours. Are you building one unit to share via a WAN among the participants, or are you building a unit for each? Also, how do you plan to approach this shared storage? By FTP, iSCSI, or something else? I noticed that the unit ("pod") in the article uses HTTPs which may be nice for many purposes but useless for, say, a shared Access database. And by which media if the unit is local? Are 1 GB NICs fine? The 10 GB gear I can locate seems quite expensive. Wouldn't it be easier (=no custom software) just to build a simple server offering iSCSI like Openfiler SAN as I mentioned a week ago: http://www.openfiler.com/ /gustav >>> accessd at shaw.ca 06-04-2010 11:48 >>> Hi John: I posted that link on the DBA Tech list about a year ago (I know it is about a year ago as Outlooks archive system had lost the post ;-)) Right now we are working on building just such a drive. There is a team of us small entrepreneurs, all have small businesses and have seen this as inexpensive way offset much of our overhead. My workshop is filled with various parts and pieces and my boss is saying "Get to it." The controllers will be Linux based which will and can show the entire drive as a single unit which can allow certain operations to expand and shrink as necessary. (My son-in-law is putting the software components together and has been working on the design for close to a year.) Virtual drives will handle various OS requirements. It will of course need the proper controllers, LAN connections, fat pipes, fail-over systems (maybe a number of these units in various locations) and power supplys but I am sure we will be able to work out the details. Probably as difficult as building the box will be setting up how each participant will be appropriately compensated. It will have to be some rate built on space used, hits level, compensation for hosting it and the amount of data being transferred. As far as I can see the design is brilliant. My long range plans are to work with such super databases as 'Cassandra' where a billion records can be processed at the same rate as a RDBMS can process a million. If you haven't checked out my post(s) on the DBA tech list at least check the following links: http://cassandra.apache.org and http://thedailywtf.com/Articles/Announcing-APDB-The-Worlds-Fastest-Database.aspx (This might be something you should be looking at; maybe in the future. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, April 05, 2010 8:27 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] Anyone need a little storage? http://www.smallnetbuilder.com/nas/nas-features/30922-how-to-build-a-cheap-petabyte-server-lessons-learned -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Tue Apr 6 09:23:18 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 6 Apr 2010 18:23:18 +0400 Subject: [dba-VB] FYI: Links to LINQ Message-ID: <000001cad594$b5475ef0$6a01a8c0@nant> Hi All, FYI: Links to LINQ http://blogs.msdn.com/charlie/archive/2006/10/05/Links-to-LINQ.aspx --Shamil From jwcolby at colbyconsulting.com Thu Apr 8 10:29:28 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 11:29:28 -0400 Subject: [dba-VB] MySQL questions Message-ID: <4BBDF658.9000708@colbyconsulting.com> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Thu Apr 8 11:01:00 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 08 Apr 2010 18:01:00 +0200 Subject: [dba-VB] MySQL questions Message-ID: Hi John By default both servers listen to port 80. So either disable IIS or let on of them listen to, say, port 8080 (your choice) and adjust clients' call accordingly. Or you can install another NIC and use this for Apache. Or perhaps you can assign two IP adresses to your current NIC (though I have never played with that option). /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 17:29 >>> I am trying to get MySQL installed and working and a C# project talking to it. I am moving my billing database to C# as a class project and also because it is VERY long in the tooth and time for an upgrade. Because it is a class project I am trying to get it to play with MySQL because I can carry a small server around on my flash drive and work on it at school as well as anywhere else I have Visual Studio installed. So, I get a copy of XAMPLite which other people in the class are using. It fires up and runs from the thumb drive but... On my dev laptop when I run it and then try to go to localhost, I get Microsoft's IIS default web page, not the XAMPLite server control page like I am supposed to. Obviously XAMPLite expects that its server will be the only one running. So how do I deal with this? Does anyone know how to get the apache server instance that XAMPLite loads to point to something other than localhost? TIA, -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu Apr 8 15:44:13 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 08 Apr 2010 16:44:13 -0400 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: <4BBE401D.3050308@colbyconsulting.com> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Fri Apr 9 01:59:25 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 08:59:25 +0200 Subject: [dba-VB] C# Date conversion going in to a stored procedure Message-ID: Hi John Why not declare the parameter as Date? That will accept values with seconds and milliseconds. /gustav >>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am looking at the data on the C# side, clear down into the parameter object.value and the data is a string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for me, stripping the seconds in the process. I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server strips off the seconds. What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri Apr 9 07:29:30 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 08:29:30 -0400 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: References: Message-ID: <4BBF1DAA.80806@colbyconsulting.com> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > From Gustav at cactus.dk Fri Apr 9 07:49:46 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 09 Apr 2010 14:49:46 +0200 Subject: [dba-VB] SPAM-LOW: Re: C# Date conversion going in to a stored procedure Message-ID: Hi John I think you need to use Convert in place of Cast - and use style 120: http://msdn.microsoft.com/en-us/library/ms187928.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 14:29 >>> I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in order to check on the format, I immediately send it right back out as an output parameter coming back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the stored procedure). The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the seconds, or rather I can format it to display seconds but they are always 00. The second information is lost in the trip over to the stored procedure. This is the C# side where I set up the parameters: sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); This is the SP side: ALTER PROCEDURE [dbo].[_sp_LogProcess] -- Add the parameters for the stored procedure here @DBName varchar(50), @TblName varchar(50), @SPName varchar(50), @Process varchar(50), @Memo varchar(4000), @ErrIntOut int, @ErrStrOut varchar(4000), @RecsAffected int, @DteTimeStart datetime, @DteTimeEnd datetime, @ErrorDesc varchar(4000) output, @ErrorNo int output, @SQLStatement varchar(4000) output The @DteTimeStart and @DteTimeEnd are the variables of interest. The following is what I am using to generate the SQL statement that appends a record into the log table: SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] ([PL_DBName] ,[PL_TblName] ,[PL_StoredProcName] ,[PL_Process] ,[PL_Memo] ,[PL_ErrInt] ,[PL_ErrStr] ,[PL_DteProc] ,[PL_RecsAffected] ,[PL_DteTimeStart] ,[PL_DteTimeEnd]) SELECT ''' + @DBName + ''' as PL_DBName, ''' + @TblName + ''' as PL_TblName, ''' + @SPName + ''' AS PL_StoredProcName, ''' + @Process + ''' as PL_Process, ''' + @Memo + ''' as PL_Memo, ' + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' + @ErrStrOut + ''' as PL_ErrStr, ''' + cast(getdate() as varchar) + ''' as PL_DteProc, ''' + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' The following is the record stored by the process: PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 I have tried every combination I could think of and it is just stripping the seconds each and every time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP IMMEDIATELY below the function declaration line and the seconds are gone! I am baffled. I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start / end times are what is being passed in to this SP to be logged in the table. The whole logging process is ALMOST useless if I cannot capture the timing data. John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi John > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > /gustav > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > looking at the data on the C# side, clear down into the parameter object.value and the data is a > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > me, stripping the seconds in the process. > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > strips off the seconds. > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? From stuart at lexacorp.com.pg Fri Apr 9 08:09:33 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 09 Apr 2010 23:09:33 +1000 Subject: [dba-VB] [AccessD] SPAM-LOW: Re: C# Date conversion going in to a stored procedure In-Reply-To: <4BBF1DAA.80806@colbyconsulting.com> References: , <4BBF1DAA.80806@colbyconsulting.com> Message-ID: <4BBF270D.24554.75EE9A9@stuart.lexacorp.com.pg> Are PL_DteTimeStart PL_DteTimeEnd set up as DateTime or SmallDateTime fields. If the latter, they can only store times to the nearest minute. -- Stuart On 9 Apr 2010 at 8:29, jwcolby wrote: > I have sent it in as a string (varchar(100), and I have sent it in as a date time. Basically in > order to check on the format, I immediately send it right back out as an output parameter coming > back from the SP. AFAICT it is converted somewhere in the interface between C# and SQL Server. It > is a date in the format MMM DD YYYY hh mm AM/PM as soon as I examine it inside of SQl Server (in the > stored procedure). > > The seconds are gone! Nothing that I have tried inside of the stored procedure allows me to see the > seconds, or rather I can format it to display seconds but they are always 00. The second > information is lost in the trip over to the stored procedure. > > This is the C# side where I set up the parameters: > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeStart", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeStart"].Value = pSPStart;//.ToString("MM/dd/yyyy HH:mm:ss"); > > sCmdLog.Parameters.Add(new SqlParameter("@DteTimeEnd", SqlDbType.DateTime)); > sCmdLog.Parameters["@DteTimeEnd"].Value = pSPEnd;//.ToString("MM/dd/yyyy HH:mm:ss"); > > > This is the SP side: > > ALTER PROCEDURE [dbo].[_sp_LogProcess] > -- Add the parameters for the stored procedure here > @DBName varchar(50), @TblName varchar(50), > @SPName varchar(50), > @Process varchar(50), @Memo varchar(4000), > @ErrIntOut int, @ErrStrOut varchar(4000), > @RecsAffected int, > @DteTimeStart datetime, > @DteTimeEnd datetime, > @ErrorDesc varchar(4000) output, > @ErrorNo int output, > @SQLStatement varchar(4000) output > > The @DteTimeStart and @DteTimeEnd are the variables of interest. > > The following is what I am using to generate the SQL statement that appends a record into the log table: > > SELECT @SQL = 'INSERT INTO [_aDataMaster].[dbo].[tblProcessLog] > ([PL_DBName] > ,[PL_TblName] > ,[PL_StoredProcName] > ,[PL_Process] > ,[PL_Memo] > ,[PL_ErrInt] > ,[PL_ErrStr] > ,[PL_DteProc] > ,[PL_RecsAffected] > ,[PL_DteTimeStart] > ,[PL_DteTimeEnd]) > SELECT ''' > + @DBName + ''' as PL_DBName, ''' > + @TblName + ''' as PL_TblName, ''' > + @SPName + ''' AS PL_StoredProcName, ''' > + @Process + ''' as PL_Process, ''' > + @Memo + ''' as PL_Memo, ' > + cast(@ErrIntOut as varchar) + ' as PL_ErrInt, ''' > + @ErrStrOut + ''' as PL_ErrStr, ''' > + cast(getdate() as varchar) + ''' as PL_DteProc, ''' > + CAST(@RecsAffected as varchar) + ''' AS PL_RecsAddected, ''' > + cast(@DteTimeStart as varchar) + ''' AS PL_DteTimeStart, ''' > + cast(@DteTimeEnd as varchar) + ''' AS PL_DteTimeEnd' > > > > The following is the record stored by the process: > > > PL_ID PL_DBName PL_TblName PL_Process PL_Memo PL_ErrInt PL_ErrStr PL_DteProc PL_MS2Process > PL_RecsAffected PL_StoredProcName PL_DteTimeStart PL_DteTimeEnd > 553 PSM11211_test No TblName specified Accuzip Export 0 Success 2010-04-08 17:24:00.000 NULL 0 > _aDataMaster.dbo.sp_AZOut_BCPOutOneFile 2010-04-08 17:24:00.000 2010-04-08 17:24:00.000 > > I have tried every combination I could think of and it is just stripping the seconds each and every > time. I have passed in pure varchar at both ends. I have passed in DateTime at both ends. I have > looked at the data in the param.value back in C# and it shows the seconds portion. I look in the SP > IMMEDIATELY below the function declaration line and the seconds are gone! > > I am baffled. > > I NEED the seconds part. I am trying to time how long my other SPs takes to execute, and the start > / end times are what is being passed in to this SP to be logged in the table. The whole logging > process is ALMOST useless if I cannot capture the timing data. > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi John > > > > Why not declare the parameter as Date? That will accept values with seconds and milliseconds. > > > > /gustav > > > >>>> jwcolby at colbyconsulting.com 08-04-2010 22:44 >>> > > I have an issue where I am sending in a date from C# to a stored procedure in SQL Server. I am > > looking at the data on the C# side, clear down into the parameter object.value and the data is a > > string which looks like: "12/22/2010 14:23:01". When it gets into the Varchar(100) on the SQL > > Server side (in the stored procedure) the seconds have been stripped off. I NEED the seconds. It > > appears that SQL Server is "helpfully" noticing that the string is a date and doing a conversion for > > me, stripping the seconds in the process. > > > > I have passed the date in as a string, as an actual date and so forth and in all cases, SQL Server > > strips off the seconds. > > > > What do I need to do to cause SQL Server to stop "being helpful" and leave my seconds alone? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri Apr 9 12:02:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 09 Apr 2010 13:02:11 -0400 Subject: [dba-VB] c# interface to webcam Message-ID: <4BBF5D93.8070606@colbyconsulting.com> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Fri Apr 9 18:25:01 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 10 Apr 2010 09:25:01 +1000 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBF5D93.8070606@colbyconsulting.com> References: <4BBF5D93.8070606@colbyconsulting.com> Message-ID: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each shipped to my door. What > peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is > tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I say eventually because it > takes a good minute before the message pops up. Once that happens I can use them in any application > that needs a camera, and the resolution and picture quality is just outstanding! For example, once > the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive > that would allow me to connect these to machines around the house and record video? Movement > triggered etc. I have a system in the living room that sits under the TV that I would like to put > one of these on just to be able to record a burst of a few seconds when it senses movement. Then > wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages last night. Some worked, all > were klunky if they worked. There are a bunch that are designed to publish the video to a web > system so that I could see them from outside the house "when I travel", but I don't travel so I > really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From max.wanadoo at gmail.com Sat Apr 10 00:10:11 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 10 Apr 2010 06:10:11 +0100 Subject: [dba-VB] c# interface to webcam In-Reply-To: <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> Message-ID: <10B3C60638A243C4BDD920EF1380AA85@Server> Hi Stuart, I don't understand your posting. YAWCAM does what John was asking for. It provides HTTP, Streaming Cam , Motion Detection etc. And it is free. Unless I misunderstood John requirements. I posted to the same address I received the email from as I have done here. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Saturday, April 10, 2010 12:25 AM To: Access Developers discussion and problem solving; VBA Subject: Re: [dba-VB] c# interface to webcam Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to this. Yawcam = Yet Another WebCAM software" http://www.yawcam.com/ On the help page, I noticed this google ad: Add Video Capture and processing to your .NET applications in seconds. http://www.mitov.com/html/videolab.html ("free for non-commercial purpose"!) Might be just what you are looking for for that "someday". -- Stuart On 9 Apr 2010 at 13:02, jwcolby wrote: > I bought four little USB no name webcams from Newegg the other day. > > http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R > http://www.imcorpusa.com/products.asp?id=486 > > I took a chance just because of the price, I ended up paying $10 each > shipped to my door. What peaked my interest is that they are an > actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! > > Windows Vista eventually figures out how to load a driver for them. I > say eventually because it takes a good minute before the message pops > up. Once that happens I can use them in any application that needs a > camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. > > So what I really want to do is experiment with them and use C# to read them and display them. > > Between now and then, does anyone have a favorite "surveillance" > software that isn't too expensive that would allow me to connect these > to machines around the house and record video? Movement triggered > etc. I have a system in the living room that sits under the TV that I > would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. > > Kind of a poor man's (that would be me) surveillance camera. > > I actually went looking, found and downloaded a half dozen packages > last night. Some worked, all were klunky if they worked. There are a > bunch that are designed to publish the video to a web system so that I > could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. > > And someday play with them in C#. > > -- > John W. Colby > www.ColbyConsulting.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 jwcolby at colbyconsulting.com Sat Apr 10 08:38:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 09:38:59 -0400 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam In-Reply-To: <10B3C60638A243C4BDD920EF1380AA85@Server> References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg> <10B3C60638A243C4BDD920EF1380AA85@Server> Message-ID: <4BC07F73.3020900@colbyconsulting.com> Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart From jwcolby at colbyconsulting.com Sat Apr 10 11:42:47 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 10 Apr 2010 12:42:47 -0400 Subject: [dba-VB] c# - Report server databases Message-ID: <4BC0AA87.2000006@colbyconsulting.com> I am using SMO to get lists of databases, tables in databases etc. I never operate on the system databases so I filter out the system databases using the Database.IsSystemObject property. That brought into focus the ReportServer and ReportServerTempDB databases, which oddly are not inside of the system folder and apparently are not system objects. Other than filtering them out by their name, is there a way to know that they are not user defined databases? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Sat Apr 10 16:36:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 10 Apr 2010 23:36:06 +0200 Subject: [dba-VB] c# interface to webcam Message-ID: Hi John You could use DirectX: http://www.codeproject.com/KB/graphics/zMoviePlayer.aspx /gustav >>> jwcolby at colbyconsulting.com 09-04-2010 19:02 >>> I bought four little USB no name webcams from Newegg the other day. http://www.newegg.com/Product/Product.aspx?Item=N82E16826717012R http://www.imcorpusa.com/products.asp?id=486 I took a chance just because of the price, I ended up paying $10 each shipped to my door. What peaked my interest is that they are an actual 1280 x 1024 sensor. Getting more than 640 x 480 is tough and usually very expensive. Thus I figure if they worked I win. They work! Windows Vista eventually figures out how to load a driver for them. I say eventually because it takes a good minute before the message pops up. Once that happens I can use them in any application that needs a camera, and the resolution and picture quality is just outstanding! For example, once the driver loads, Skype picks them right up and uses them at max resolution. GREAT picture!. So what I really want to do is experiment with them and use C# to read them and display them. Between now and then, does anyone have a favorite "surveillance" software that isn't too expensive that would allow me to connect these to machines around the house and record video? Movement triggered etc. I have a system in the living room that sits under the TV that I would like to put one of these on just to be able to record a burst of a few seconds when it senses movement. Then wait for no movement before resetting to record another burst. Kind of a poor man's (that would be me) surveillance camera. I actually went looking, found and downloaded a half dozen packages last night. Some worked, all were klunky if they worked. There are a bunch that are designed to publish the video to a web system so that I could see them from outside the house "when I travel", but I don't travel so I really just need them to snap a few seconds every once in a while when there is movement. And someday play with them in C#. -- John W. Colby www.ColbyConsulting.com From michael at ddisolutions.com.au Sat Apr 10 21:28:23 2010 From: michael at ddisolutions.com.au (Michael Maddison) Date: Sun, 11 Apr 2010 12:28:23 +1000 Subject: [dba-VB] SPAM-LOW: Re: c# interface to webcam References: <4BBF5D93.8070606@colbyconsulting.com> <4BBFB74D.4826.9926337@stuart.lexacorp.com.pg><10B3C60638A243C4BDD920EF1380AA85@Server> <4BC07F73.3020900@colbyconsulting.com> Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01582EDA@ddi-01.DDI.local> YAWCAM looks great. Another option if you want to do more programming yourself is MS Encoder. http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.ms px I used this a few years ago with some success. IIRC it comes with an API and sample code. Not sure if movement detection would be straightforward or not. Cheers Michael M -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, 10 April 2010 11:39 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] SPAM-LOW: Re: c# interface to webcam Yep Max, it does meet the immediate requirements. Thanks, BTW I looked at video lab and while it does provide a free version, if you ever decided to actually publish a product it starts at $1500. Not that that is unreasonable for what it does, but it sure would stand in my way. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Hi Stuart, > I don't understand your posting. > YAWCAM does what John was asking for. > It provides HTTP, Streaming Cam , Motion Detection etc. > And it is free. > > Unless I misunderstood John requirements. > > I posted to the same address I received the email from as I have done here. > > Max > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Saturday, April 10, 2010 12:25 AM > To: Access Developers discussion and problem solving; VBA > Subject: Re: [dba-VB] c# interface to webcam > > Max just posted "YAWCAM" on dba_Tech, I think in a misplaced response to > this. > Yawcam = Yet Another WebCAM software" > > http://www.yawcam.com/ > > > On the help page, I noticed this google ad: > > Add Video Capture and processing to your .NET applications in seconds. > http://www.mitov.com/html/videolab.html > > ("free for non-commercial purpose"!) > > Might be just what you are looking for for that "someday". > > -- > Stuart _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.801 / Virus Database: 271.1.1/2801 - Release Date: 04/11/10 04:32:00 From shamil at smsconsulting.spb.ru Mon Apr 12 05:05:20 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Mon, 12 Apr 2010 14:05:20 +0400 Subject: [dba-VB] VS2010 Launch Event Message-ID: <002101cada27$aa0f7580$6a01a8c0@nant> Hi All -- I'm watching online some of the presentations from VS2010 Launch Event from Moscow - it looks good so far - VS2010 have got many new useful in real life development features - no, I'm not going to announce/discuss them here now to let you get your own fresh view on them :) - let's discuss them later this week... Just wanted to share this link about real life VS2010 usage in MS: "Dogfooding" VS 2010 and .NET 4 http://blogs.msdn.com/somasegar/archive/2010/04/08/dogfooding-vs-2010-and-ne t-4.aspx It's mainly about Team Foundation Server 2010 (TFS2010) deployment there at MS, and TFS2010 is first of all a SCRUM development tool you know :) Not sure I will use TFS2010 real soon as it is costly - just wanted to note that SCRUM we tried here last spring "rules the agile development world" - now at MS :) (They say they will make an MS Project 2010/Microfost Solutions Framework 2010 add-on for TFS2010 to support more formal and much more bureaucratic "waterfall" development approaches but that will probably happen for VS2010 SP1 only...) Thank you. -- Shamil From jwcolby at colbyconsulting.com Mon Apr 12 09:51:14 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 12 Apr 2010 10:51:14 -0400 Subject: [dba-VB] Murcurial Version Control Message-ID: <4BC33362.1090202@colbyconsulting.com> I am trying to set this up on my machines. I downloaded and installed TortoiseHG, then installed HGSCC as an integration package to Visual Studio. I am trying to follow the instructions found at: http://blog.dynamicprogrammer.com/2010/02/20/MercurialIntegrationWithVisualStudio.aspx but it doesn't seem to work. As an example the "add to source code" option is grayed out, but there are no "check boxes". I was using VisualSVN which is still "integrated" into Visual Studio, but I am a little hesitant to uninstall that until I get Murcurial functioning since I do have several projects already checked in to VisualSVN. Is there any other tutorial that you guys have found useful for Murcurial and HGSCC? Any ideas on how to get going with this. I need to either get Murcurial going or pay the per seat for VisualSVN. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Tue Apr 13 09:31:21 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 10:31:21 -0400 Subject: [dba-VB] C# button image resources Message-ID: <4BC48039.3000209@colbyconsulting.com> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Tue Apr 13 09:54:32 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 16:54:32 +0200 Subject: [dba-VB] C# button image resources Message-ID: Hi John Could it be those image files found here: C:\Program Files\Microsoft Visual Studio 9.0\Common7\VS2008ImageLibrary\1033\VS2008ImageLibrary.zip /gustav >>> jwcolby at colbyconsulting.com 13-04-2010 16:31 >>> Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Tue Apr 13 10:04:06 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 10:04:06 -0500 Subject: [dba-VB] MS 2010 Launch Events Message-ID: <676881D432A6461D860EFCB774A1BA4E@danwaters> MS has released its schedule of launch events in cities throughout the US over the next two months. I go because they hand out free software. I'm expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL Server 2008 R2. They don't say that this is what you'll get, but those are the products they are advertising in the launch event. These events fill up, so sign up soon! Click this link and follow the track you want. When you get to the page to request a seat, it will say that you need an invitation code - but then they don't ask for a code. I requested a seat and am now confirmed without that invitation code. Perhaps they figure that if you're looking for this anyway then they want you there. http://www.microsoft.com/business/2010events/ Have Fun! Dan PS - they are also having launch events in major cities elsewhere in the world, but you'll need to find that information somewhere. From cfoust at infostatsystems.com Tue Apr 13 10:28:31 2010 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 13 Apr 2010 10:28:31 -0500 Subject: [dba-VB] C# button image resources In-Reply-To: <4BC48039.3000209@colbyconsulting.com> References: <4BC48039.3000209@colbyconsulting.com> Message-ID: We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. Charlotte Foust -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, April 13, 2010 7:31 AM To: VBA Subject: [dba-VB] C# button image resources Does Visual Studio allow us to use the existing button images as images / resources for our own projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already has such an image, I believe it is a little red X very artsy / swishy. Is that and other such images available for us to use in our own projects? If so how do I get my hands on it? -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Apr 13 10:39:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 13 Apr 2010 11:39:31 -0400 Subject: [dba-VB] C# button image resources In-Reply-To: References: <4BC48039.3000209@colbyconsulting.com> Message-ID: <4BC49033.2000903@colbyconsulting.com> Wow, that sounds cool! Thanks for the tip. John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > We use imagelist controls to handle those "borrowed" images/icons. Add the images you want to an imagelist and you can drop it on your form, where you select the particular image you need for whatever purpose. It gets compiled into the dll, so there's no worry about not being able to find the image file later. Plus you can copy the imagelist control from one form to another, even if you no longer have access to the original images stored in it. > > Charlotte Foust > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, April 13, 2010 7:31 AM > To: VBA > Subject: [dba-VB] C# button image resources > > Does Visual Studio allow us to use the existing button images as images / resources for our own > projects. IOW I want to create a button with a "delete" symbol. I know that Visual Studio already > has such an image, I believe it is a little red X very artsy / swishy. Is that and other such > images available for us to use in our own projects? If so how do I get my hands on it? > From Gustav at cactus.dk Tue Apr 13 11:05:35 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 13 Apr 2010 18:05:35 +0200 Subject: [dba-VB] MS 2010 Launch Events Message-ID: Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. From fhtapia at gmail.com Tue Apr 13 11:53:44 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 13 Apr 2010 09:53:44 -0700 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: I've gone to some of these events in the past, if you have an evaluation copy it will say so on the the product cover, I've picked up non-evaluation versions of sql server 2005, Visual Studio 2005/2008 and even Windows 2003 R2, just to name a few. -- Francisco -Francisco http://sqlthis.blogspot.com | Tsql and More... On Tue, Apr 13, 2010 at 9:05 AM, Gustav Brock wrote: > Hi Dan > > Freebies may very well be timebombed evaluation copies only. Not crippled > but still no cigar - or perhaps exactly so, as a cigar eventually burns out. > > /gustav > > > >>> dbdoug at gmail.com 13-04-2010 17:55 >>> > Interesting - the last couple of MS events I went to in Vancouver, Canada, > were notable for the lack of freebies (coffee and muffins excepted). At > one > (paid) event, the only item given out was a SINGLE copy of the web > development tools, raffled off by ticket number. > > Looking at the pricing of VS2010 I am also surprised at how expensive it > seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, > now appears to cost $550 including a compulsory 'MSDN Essentials' > subscription. Yikes! > > In contrast, the MS Technet subscription (about $250/year) is a real > bargain > as it gives me all MS Office, SQL Server, and Windows versions. > > Doug Steele > > On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters > wrote: > > > MS has released its schedule of launch events in cities throughout the US > > over the next two months. I go because they hand out free software. I'm > > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > > Server 2008 R2. They don't say that this is what you'll get, but those > are > > the products they are advertising in the launch event. These events fill > > up, so sign up soon! > > > > Click this link and follow the track you want. When you get to the page > to > > request a seat, it will say that you need an invitation code - but then > they > > don't ask for a code. I requested a seat and am now confirmed without > that > > invitation code. Perhaps they figure that if you're looking for this > anyway > > then they want you there. > > > > http://www.microsoft.com/business/2010events/ > > > > Have Fun! > > Dan > > > > PS - they are also having launch events in major cities elsewhere in the > > world, but you'll need to find that information somewhere. > > > > _______________________________________________ > 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 Tue Apr 13 12:46:58 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 12:46:58 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 Tue Apr 13 13:58:40 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Tue, 13 Apr 2010 22:58:40 +0400 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: References: Message-ID: <000001cadb3b$56080500$6a01a8c0@nant> Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 dwaters at usinternet.com Tue Apr 13 15:25:37 2010 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 13 Apr 2010 15:25:37 -0500 Subject: [dba-VB] MS 2010 Launch Events In-Reply-To: <000001cadb3b$56080500$6a01a8c0@nant> References: <000001cadb3b$56080500$6a01a8c0@nant> Message-ID: <27CCBD4152FF454F8DA1D41A46131E4D@danwaters> Hi Shamil, I've found the price for a full version of VS2010 (w/o MSDN) to be $799 retail, discounted to $705 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). And the upgrade version retail price of $549 (w/o MSDN) retail, discounted to $480 (http://www.programmers.com/PPI_US/Product.aspx?skupart=M47%2040). Looking at the Programmer's Paradise website, I think you can get the same products you listed for quite a bit less money. There are numerous options and I'm not familiar with MSDN. Unfortunately, the Minneapolis launch event isn't until May 27th (2nd to last), so I won't be able to let anyone know what 'freebies' they do hand out till then! At previous launch events they wait until the afternoon until they passed out the software. But they told everyone what time that was when we first got there. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, April 13, 2010 1:59 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan, I watched some presentations from VS 2010 Launch event from Moscow and Las Vegas' VS 2010 Launch coverage yesterday - they (MS) didn't mention completely "free lunch at that Launch" (pun intended) :) - they do propose special promotional prices for VS2010 with MSDN subscriptions - if you get one then they will give you "one level upper" subscription and you'll keep that right to use that promotion for three years in the row - till then next VS version I guess... If I'm not mistaken then for the price of VS2010 Professional (USD1199 (USD799 upgrade)) with MSDN subscription you can get VS2010 Premium with MSDN subscription (USD5469 (USD2299 upgrade)) etc. http://www.microsoft.com/visualstudio/en-us/support till 30th of April 2010 as far as I have got it... Please correct me if I've got it incorrectly... I plan to attend first several hours of VS2010 Launch event here in St.Petersburg, Russia, tomorrow, April 14, 2010 - I will try to get some more info if I'll be there... Right now you can: "...watch the keynotes and Channel 9 Live coverage head to http://live.ch9.ms To be a part of the conversation tweet your questions and comments with @ch9live anywhere in the message and we'll see it..." http://channel9.msdn.com/posts/NicFill/Channel-9-Live-at-Visual-Studio-2010- and-Silverlight-4-Launch/ Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, April 13, 2010 9:47 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] MS 2010 Launch Events They don't do that. Their audience here is mostly developers - and those are the folks that MS wants to treat well. I went to the 2003 Office launch and got duplicate disks of just about every 2003 version of software that MS had. I went to the 2008 Launch and got VS 2008 and (eventually) SQL Server 2008. In fact, from what I can see, this software is the main reason that many (most?) people go to these events. What I've been going to is the events specifically named Launch events, and those have had the free software. I can't guarantee that they will hand out free software, but at every Launch event I've been to so far, that's what they did! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, April 13, 2010 11:06 AM To: dba-vb at databaseadvisors.com Subject: Re: [dba-VB] MS 2010 Launch Events Hi Dan Freebies may very well be timebombed evaluation copies only. Not crippled but still no cigar - or perhaps exactly so, as a cigar eventually burns out. /gustav >>> dbdoug at gmail.com 13-04-2010 17:55 >>> Interesting - the last couple of MS events I went to in Vancouver, Canada, were notable for the lack of freebies (coffee and muffins excepted). At one (paid) event, the only item given out was a SINGLE copy of the web development tools, raffled off by ticket number. Looking at the pricing of VS2010 I am also surprised at how expensive it seems to be. To upgrade VS2008 Pro, for which I believe I paid about $150, now appears to cost $550 including a compulsory 'MSDN Essentials' subscription. Yikes! In contrast, the MS Technet subscription (about $250/year) is a real bargain as it gives me all MS Office, SQL Server, and Windows versions. Doug Steele On Tue, Apr 13, 2010 at 8:04 AM, Dan Waters wrote: > MS has released its schedule of launch events in cities throughout the US > over the next two months. I go because they hand out free software. I'm > expecting to get a copy of VS 2010, Access 2010, Sharepoint 2010, and SQL > Server 2008 R2. They don't say that this is what you'll get, but those are > the products they are advertising in the launch event. These events fill > up, so sign up soon! > > Click this link and follow the track you want. When you get to the page to > request a seat, it will say that you need an invitation code - but then they > don't ask for a code. I requested a seat and am now confirmed without that > invitation code. Perhaps they figure that if you're looking for this anyway > then they want you there. > > http://www.microsoft.com/business/2010events/ > > Have Fun! > Dan > > PS - they are also having launch events in major cities elsewhere in the > world, but you'll need to find that information somewhere. _______________________________________________ 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 fhtapia at gmail.com Wed Apr 14 09:44:57 2010 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 14 Apr 2010 07:44:57 -0700 Subject: [dba-VB] serving up a directory as a web page... Message-ID: so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... From dw-murphy at cox.net Wed Apr 14 14:25:21 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Wed, 14 Apr 2010 12:25:21 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 Wed Apr 14 14:54:40 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 12:54:40 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <21F4F7223F0F42C2A5F74862DDD91ADA@creativesystemdesigns.com> This might be interesting in this thread: http://blogs.techrepublic.com.com/10things/?p=1446&tag=nl.e101 Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Wednesday, April 14, 2010 12:25 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: Re: [dba-VB] serving up a directory as a web page... A simple, no development cost way of doing this would be to use Google Docs or the MS equivalent. I am not sure the current version of IIS will allow you to get a directory listing the way you used to be able to do with the url of the directory. Shouldn't be to hard to build an asp.net page that reads the directory and gives you the url of each file to download. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Wednesday, April 14, 2010 7:45 AM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] serving up a directory as a web page... so with all these news on iPad, our team ended up getting one, but to make it really useful, we are being asked on how can we make it search our network drives so that content is served up on it easily, currently our manager who has been testing it sends the files he wants to it via email and then just opens them this way during his meeting, however if he forgets one, he sends us an email so that we can send it his way. My question, since this thing will open up pdf's served up from the web, and convert docs to pages files on the fly, why not have it really be useful and setup some sort of web interface to 2 or 3 of our folders and just serve them up so the boss can surf these directories and read them as he needs. but of course how would you approach this? with iis/.net or apache and php? thanks, -Francisco http://sqlthis.blogspot.com | Tsql and More... _______________________________________________ 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 stuart at lexacorp.com.pg Wed Apr 14 16:44:54 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 15 Apr 2010 07:44:54 +1000 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: References: Message-ID: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Wed Apr 14 17:32:35 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 14 Apr 2010 15:32:35 -0700 Subject: [dba-VB] serving up a directory as a web page... In-Reply-To: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> References: <4BC63756.10695.1FACC1E@stuart.lexacorp.com.pg> Message-ID: <35EB5F0549A442A1AB2582B152139AA6@creativesystemdesigns.com> I understand anyone can use a iPad: http://www.youtube.com/watch?v=Q9NP-AeKX40 I end up throwing Apache on a lot of computers... it is just so easy run and use and so many apps use it by default. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, April 14, 2010 2:45 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] serving up a directory as a web page... Personally,I prefer Apache as a webserver. I find it simpler to configure. Is this web interface for WWW or intranet use? If you are just working on an intranet and aren't too worried about security, all you have to do is make the folder tree the "document root" of a "virtual host" and he can browse the folders without any further work - no need tor .net, php or anything. If it is WWW, I'd probably set up an FTP server such as filezilla for him to access the folders through an easy to use FTP client. -- Stuart On 14 Apr 2010 at 7:44, Francisco Tapia wrote: > so with all these news on iPad, our team ended up getting one, but to make > it really useful, we are being asked on how can we make it search our > network drives so that content is served up on it easily, currently our > manager who has been testing it sends the files he wants to it via email and > then just opens them this way during his meeting, however if he forgets one, > he sends us an email so that we can send it his way. My question, since > this thing will open up pdf's served up from the web, and convert docs to > pages files on the fly, why not have it really be useful and setup some sort > of web interface to 2 or 3 of our folders and just serve them up so the boss > can surf these directories and read them as he needs. > > but of course how would you approach this? with iis/.net or apache and php? > > thanks, > -Francisco > http://sqlthis.blogspot.com | Tsql and More... > _______________________________________________ > 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 Thu Apr 15 03:58:16 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Thu, 15 Apr 2010 12:58:16 +0400 Subject: [dba-VB] FYI: Microsoft embracing REST, ATOM and JSON by Open Data Protocol (OData) Message-ID: <003d01cadc79$cae613f0$6a01a8c0@nant> Hi All, I have just recently got the following site URL - is it well known there/was mentioned already here?: Open Data Protocol FAQ http://www.odata.org/faq Thank you. -- Shamil From jwcolby at colbyconsulting.com Thu Apr 15 09:06:33 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:06:33 -0400 Subject: [dba-VB] Visual Studio 2010 Message-ID: <4BC71D69.9020708@colbyconsulting.com> Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Thu Apr 15 09:20:38 2010 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 15 Apr 2010 09:20:38 -0500 Subject: [dba-VB] Visual Studio 2010 In-Reply-To: <4BC71D69.9020708@colbyconsulting.com> References: <4BC71D69.9020708@colbyconsulting.com> Message-ID: <26DE961962314AE7A932DDE563D32669@danwaters> I've been using the RC version now, but not extensively. Since about March of last year, it's been through 2 Betas and one Release Candidate. So I'm going to guess that it may be better than the average Rev 1 release. There are some nice new features! In particular I like that you can write a normal property in a class with just one line of code! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 15, 2010 9:07 AM To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba Subject: [dba-VB] Visual Studio 2010 Is VS 2010 ready for prime time? As a student I can get a free copy (it is downloading now) but I always hesitate to embrace rev 1 software of any kind. Are you guys using it yet? I am using 2008 in production right now and really love it. -- John W. Colby www.ColbyConsulting.com _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu Apr 15 09:42:15 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 15 Apr 2010 10:42:15 -0400 Subject: [dba-VB] SPAM-LOW: Re: Visual Studio 2010 In-Reply-To: <26DE961962314AE7A932DDE563D32669@danwaters> References: <4BC71D69.9020708@colbyconsulting.com> <26DE961962314AE7A932DDE563D32669@danwaters> Message-ID: <4BC725C7.6030001@colbyconsulting.com> >>In particular I like that you can write a normal property in a class with just one line of code! I think that is in 2008. They are called something like "automatic properties" and create a hidden variable to contain the data passed in and out. At least in 2008 they are only really useful if you do not need to do computations in the property code since you cannot get at the property stubs in the normal fashion. John W. Colby www.ColbyConsulting.com Dan Waters wrote: > I've been using the RC version now, but not extensively. Since about March > of last year, it's been through 2 Betas and one Release Candidate. So I'm > going to guess that it may be better than the average Rev 1 release. > > There are some nice new features! In particular I like that you can write a > normal property in a class with just one line of code! > > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, April 15, 2010 9:07 AM > To: VBA; Access Developers discussion and problem solving; Sqlserver-Dba > Subject: [dba-VB] Visual Studio 2010 > > Is VS 2010 ready for prime time? As a student I can get a free copy (it is > downloading now) but I > always hesitate to embrace rev 1 software of any kind. > > Are you guys using it yet? I am using 2008 in production right now and > really love it. > From jwcolby at colbyconsulting.com Fri Apr 16 08:57:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 16 Apr 2010 09:57:59 -0400 Subject: [dba-VB] This is why i love C# Message-ID: <4BC86CE7.8040402@colbyconsulting.com> I use virtual machines to do some processing. When not using the VMs I turn off the entire physical machine that hosts the VMs. I have code that needs to move files to / from the VMs, but I need to check that they exist before I try to do so. The .Net framework has an entire namespace for the Net and it specifically has a PING class which allows me to ping an IP to see if it responds. Voila, instant "is the machine turned on" code. -- John W. Colby www.ColbyConsulting.com From shamil at smsconsulting.spb.ru Sat Apr 17 04:02:12 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 13:02:12 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 Message-ID: <001301cade0c$ac8101b0$6a01a8c0@nant> Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil From shamil at smsconsulting.spb.ru Sat Apr 17 06:28:37 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 17 Apr 2010 15:28:37 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <001501cade21$2068b320$6a01a8c0@nant> Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 10:03:15 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 08:03:15 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <001501cade21$2068b320$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <001501cade21$2068b320$6a01a8c0@nant> Message-ID: <48EA15EE047E4544B4B436D12D45456D@BPCS> Shamil, If I can do it you surely will not have any problems. I have 2 applications working on my TouchPro 2 Smartphone. One I started in VS 2003, moved to 2005 and now have working in 2008. It is my personal PIM, a calendar, Tech-tips , and a list of books, authors I have read. ( I got tired of buying books I had already read. ) Last year I created a 2nd app (Just for Fun) that lists all the cars and motorcycles I have owned. (34 so far that I remember.) It contains 2 pictures for each car, and the data including photo's are stored in Windows Mobile SQL or SQLCE or what ever MS calls it now. Both apps sync through IIS to my Server and SQLServer 2008. The PIM has been working fine for five or six years through various versions of VS and BPCars is still being worked on but has worked for 6 months or so. I don't know that it matters, but the PIM for my PC's is in VB6 and BPCars for the PC is in VB.NET 2008 I doubt that I could help you very much as your programming skill are about 100 times better than mine, but your question was "How well does it work?" and for simple database frontend backend it works great. There are lots of samples etc using pinvoke and other stuff I don't understand on the net, should you desire to directly connect to some of the phone features. Microsoft.public.dotnet.compactframework has some very talented people on there that share their expertise. HTH Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 4:28 AM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi All -- I have got information on the subject starting this page: http://www.techdays.ru/videos/1074.html (in Russian) and then getting here (in English): http://www.microsoft.com/events/series/msdnmobility.aspx http://www.dotnetfordevices.com/ That seems to be it. Does anybody here use SmartPhones/PDAs with Windows Mobile 6.x? How well they are working for you (MS Windows systems and its applications I mean)? Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, April 17, 2010 1:02 PM To: 'Discussion concerning Visual Basic and related programming issues.' Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 12:24:45 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 10:24:45 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: Shamil, as already mentioned, you shouldn't have any problems. I have an app that was originally developed using evb/cdb and converted to .Net/SDF (SQLCE). We developed in VS2003,5 & 8 for WM2003, WM5 and WM6. The only issues we ever have are when MS deprecates something and we have to scramble to redesign something that currently works. Sent from my Droid phone. On Apr 17, 2010 2:03 AM, "Shamil Salakhetdinov" wrote: Hi All -- Do you have any experience for subject? Do you have any ready to use links for samples and other resources for the subject? The subject shouldn't be a "rocket science" I expect - I just need some "jump start" information. Also, do you know what is the best/average mobile phone on the market now to smoothly run WM6? All and any links, hints and tips for the subject would be greatly appreciated here. Thank you. --Shamil _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From dbdoug at gmail.com Sat Apr 17 12:29:19 2010 From: dbdoug at gmail.com (Doug Steele) Date: Sat, 17 Apr 2010 10:29:19 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NET Framework/VS 2008-2010 In-Reply-To: <001301cade0c$ac8101b0$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > From shamil at smsconsulting.spb.ru Sat Apr 17 15:01:06 2010 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 18 Apr 2010 00:01:06 +0400 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: References: <001301cade0c$ac8101b0$6a01a8c0@nant> Message-ID: <002e01cade68$b8662f30$6a01a8c0@nant> Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From bill_patten at embarqmail.com Sat Apr 17 16:24:04 2010 From: bill_patten at embarqmail.com (Bill Patten) Date: Sat, 17 Apr 2010 14:24:04 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: <7AA0E2360B0642598864AAA8DC1A554C@BPCS> Shamil, I don't know from experience but the HTC HD2 has a 4.3 inch capacitive touch screen which I am told is better then the resistive one of the newTouch and is also larger. Rumor has it that the HD2 will not be upgradable to Windows Mobile 7 but other rumors say it will. There is apparently a third party upgrade announced by XDA if Win Mobile 7 is important to you. You might want to compare specs on the neotouch and HD2 before jumping in. Bill -------------------------------------------------- From: "Shamil Salakhetdinov" Sent: Saturday, April 17, 2010 1:01 PM To: "'Discussion concerning Visual Basic and related programming issues.'" Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using.NETFramework/VS 2008-2010 Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010 9:29 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ago was a barcode scanner app which used SQL Server CE to display and collect inventory information. The main programming problem I had was the limited set of properties and methods which the VS compact edition exposed - even compared to MS Access VBA! If I remember correctly, using the windows mobile emulators worked well. Again, if you've use SQL server, SS CE won't be a problem. Here is the one link I can find that may be useful, a good blog and a gateway to the SS CE world: http://erikej.blogspot.com/ Finding a good 'generic' phone might be a problem. I tried to get a recommendation from a Microsoft Windows Mobile expert at a seminar once, and he basically shrugged and said that there was no such thing. I guess you have to be prepared to start building a collection.... Doug On Sat, Apr 17, 2010 at 2:02 AM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Hi All -- > > Do you have any experience for subject? > Do you have any ready to use links for samples and other resources for the > subject? > > The subject shouldn't be a "rocket science" I expect - I just need some > _______________________________________________ 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 davidmcafee at gmail.com Sat Apr 17 20:52:26 2010 From: davidmcafee at gmail.com (David McAfee) Date: Sat, 17 Apr 2010 18:52:26 -0700 Subject: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 In-Reply-To: <002e01cade68$b8662f30$6a01a8c0@nant> References: <001301cade0c$ac8101b0$6a01a8c0@nant> <002e01cade68$b8662f30$6a01a8c0@nant> Message-ID: I'd say that it all depends on what your target customer base will be. We use HP iPaqs. You can buy older used units on eBay pretty cheap. Sent from my Droid phone. On Apr 17, 2010 1:02 PM, "Shamil Salakhetdinov" wrote: Hi Bill, David, and Doug -- Thank you for your answers/opinions. Yes, I'd not expect to have big troubles with development for SmartPhones/Personal Communicators running under Windows Mobile 6.x - I just wanted to know what time it could take to start this development: as far as I see now I have everything except a real physical device - for the latter one I'm looking at Acer neoTouch S200 (http://www.phonearena.com/htmls/Acer-neoTouch-S200-Review-review-r_2287.htm l ) That one seems to be good and modern and runs on Windows Mobile 6.5, and should be upgradable to Windows Mobile 7 but it have a few issues as far as I have got found: - 1) display screen isn't bright enough, - 2) photocamera glass isn't protected when off, - 3) (!) if you put stylus into microphone node then you'll get sound off. Well, the 3rd issue is too exotic to take into account, the 2nd one isn't that important for me as I do not plan top use this device as a photo/video camera but the 1st one looks important... Still thinking here/waiting for better (and cheaper?) devices to come released to market... Any opinions/proposals for devices of Acer neoTouch S200 class or a bit higher class? Thank you. --Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Saturday, April 17, 2010... Subject: Re: [dba-VB] Programming for Windows Mobile 6.x (WM6.x) using .NETFramework/VS 2008-2010 As Bill said, you're unlikely to have much trouble. My first real .Net project a couple of years ag... From jwcolby at colbyconsulting.com Mon Apr 19 15:04:59 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 19 Apr 2010 16:04:59 -0400 Subject: [dba-VB] C# publish project Message-ID: <4BCCB76B.2000101@colbyconsulting.com> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Mon Apr 19 16:10:29 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 19 Apr 2010 23:10:29 +0200 Subject: [dba-VB] C# publish project Message-ID: Hi John I use ClickOnce at a client and it works great. Look up the thread ClickOnce from 2008-10-10. You are right, it asks only one question - that is if you (the user) want to install this software (update). That's the one click. Yes or No. That said, at the first install more clicks may be requested if the local .Net isn't up to the level you (the developer) has programmed for. It's installed in the user's private folder and the system folders and creates a shortcut to launch the app. Nothing to adjust, nothing to fail. What it does, however, is to install a shortcut which first checks for a new version, then launch the app. The easy method is to install IIS somewhere with a Publish folder that the shortcut checks, and for which initially a URL is forwarded to the potential users. Whenever a new version of the app is ready, you ask VS to publish it. Then VS packs the app and its dependencies and rewrite the publish folder - most likely via FTP but that's your choice. The next time the user fires the shortcut and click Yes, your update will be installed. It has never failed for me. /gustav >>> jwcolby at colbyconsulting.com 19-04-2010 22:04 >>> I am going to have to publish my C# project for school, that is one of the requirements. The OneClick looks very basic, it doesn't appear to even ask where to install. Does anyone have any thoughts on using this? How does it work? Can it ask the user where to install? Stuff like that. -- John W. Colby www.ColbyConsulting.com From davidmcafee at gmail.com Mon Apr 19 16:10:34 2010 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 19 Apr 2010 14:10:34 -0700 Subject: [dba-VB] C# publish project In-Reply-To: <4BCCB76B.2000101@colbyconsulting.com> References: <4BCCB76B.2000101@colbyconsulting.com> Message-ID: OnceClick was the older version in, I believe VS2003, that was superseded by ClickOnce. By itself, ClickOnce is very Basic. But you can do so much with it. It installs the app to the users profile, so it doesn't require admin rights (doesn't write to C:\program files\). I've got pretty good at making custom bootstrappers for ClickOnce, let me know if you need help with those. I didn't like the situation when releasing an update, if the user selects "no" to the prompt, he does not get prompted again the next time he runs the app, so we now force our updates on our users. The other thing I didn't like was that it only checks for your chosen prerequisites the first time, so if you checked off a prereq for some component and it later gets uninstalled, it doesnt automatically reload it. The Shortcut issue has been resolved too with VS2008 SP1. You can now create a shortcut to your app. I ended up making a "launcher" app which checks for any missing prerequisites at install then checks for various other things and automatically downloads updates on the fly. If everything is fine, it simply starts our main application. Doing it this way, via a ClickOnce-Launcher, you can create a seperate msi for your main app which can be installed where ever you want. D On Mon, Apr 19, 2010 at 1:04 PM, jwcolby wrote: > I am going to have to publish my C# project for school, that is one of the requirements. ?The > OneClick looks very basic, it doesn't appear to even ask where to install. > > Does anyone have any thoughts on using this? ?How does it work? ?Can it ask the user where to > install? ?Stuff like that. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sat Apr 24 18:32:56 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 19:32:56 -0400 Subject: [dba-VB] Hyper-V vs VMWare Message-ID: <4BD37FA8.8040708@colbyconsulting.com> Is anyone using Hyper-V? Comments, performance, comparisons? -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat Apr 24 21:21:06 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 24 Apr 2010 22:21:06 -0400 Subject: [dba-VB] For the rest of us Message-ID: <4BD3A712.4080006@colbyconsulting.com> http://www.coolcomputing.com/article.php?sid=3861 http://www.newegg.com/Product/Product.aspx?Item=N82E16813131643 http://www.newegg.com/Product/Product.aspx?Item=N82E16819105267 24 cores for $2K plus memory. This might make my SQL Server a tad faster eh? Not that I have $2K laying around. Throw in 64 gigs of ram for around $3K and a Raid 0 Array of SSds to house my read-only databases (another $2K or so) and for the neighborhood of $8K I could get some serious computing done. Not that I have 8K laying around. This is some pretty serious hardware though, and not costing 50K either. -- John W. Colby www.ColbyConsulting.com From marklbreen at gmail.com Sun Apr 25 06:07:39 2010 From: marklbreen at gmail.com (Mark Breen) Date: Sun, 25 Apr 2010 12:07:39 +0100 Subject: [dba-VB] [dba-SQLServer] Hyper-V vs VMWare In-Reply-To: <4BD37FA8.8040708@colbyconsulting.com> References: <4BD37FA8.8040708@colbyconsulting.com> Message-ID: Hello john, Using HyperV for a year now and not a single complaint, I have to say that trying to run Win7 and run VS2008 does not get a bare metal experience, but it is absolutely for running servers, and I even use it running Win7 and with PhotoShop. Never managed to get VM ware installed or running, but they only say good things about it HTH Mark On 25 April 2010 00:32, jwcolby wrote: > Is anyone using Hyper-V? Comments, performance, comparisons? > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-SQLServer mailing list > dba-SQLServer at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-sqlserver > http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sun Apr 25 21:59:31 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 25 Apr 2010 22:59:31 -0400 Subject: [dba-VB] Who needs a Cray Message-ID: <4BD50193.9090603@colbyconsulting.com> 48 cores, 128 gigs ram... http://cgi.ebay.com/NEW-TYAN-AMD-OPTERON-6174-G34-48-CORE-MAGNY-COURS-/270529337772 -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Wed Apr 28 08:39:38 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 28 Apr 2010 09:39:38 -0400 Subject: [dba-VB] hosting a website in-house Message-ID: <4BD83A9A.8050401@colbyconsulting.com> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Thu Apr 29 10:38:27 2010 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 29 Apr 2010 08:38:27 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: Basically the answer is 'Easy', but possibly 'Insane' as well :) There's the usual learning curve. I've only used IIS as my sites have been .NET. Do you have a fixed IP address? If not, you'll have to deal with the possibility that your IP will change from time to time. You will also have to think about security - I'd be leery of running a website on my main development machine... Once you've got a site exposed to the wild, naughty people will be interested. That said, I've been running a site using .NET login security for a year or so with no problems. Doug On Wed, Apr 28, 2010 at 6:39 AM, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From max.wanadoo at gmail.com Thu Apr 29 10:40:13 2010 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 29 Apr 2010 16:40:13 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <6C3CFD17FC14416DA83DEEA60715F854@Server> I have been doing this for my work admin site for years. I use abbyss web server (free + paid option) with filezilla. Never had any problems. I use access to parse the info of the cretins who try to break in. Some of their attempts at guessing the password is laughable. They get logged and their ips rejected for a pre-determined period after x attempts. No problems. Not heavy traffic. Server is bog standard low grade cheap PC (about 5 years old now) with 2 cards, one for the network, one for the router. Contents get rebuild overnight for freshness the next day. Easy, cheap and does the job. Max -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 28, 2010 2:40 PM To: Access Developers discussion and problem solving; VBA Subject: [dba-VB] hosting a website in-house I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.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 Apr 29 10:47:06 2010 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 29 Apr 2010 17:47:06 +0200 Subject: [dba-VB] hosting a website in-house Message-ID: Hi John Main advantage for an in-house server is that you are in full control, no need to fit into some standard package. Disadvantages - in addition to those already mentioned - are several including usage of your limited upload bandwidth and added cost for power consumption. /gustav >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, difficult? If I did this it would be for my own web site (very low traffic), and would need to include email (also low traffic). If I lost internet (which I get over the local cable) then obviously I would be out of commission for the duration of that outage. I have been in this home / office for close to four years and have had only one single extended outage (11 hours, due to weather). I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I could put something like this in a VM so that I could move it to another machine if I had a machine issue. I am actively considering building a new server with 16 or 24 cores because it would be a big boost for my SQL Server work and with so many cores it seems like having a VM running my web site might make sense. -- John W. Colby www.ColbyConsulting.com From ha at phulse.com Thu Apr 29 12:19:15 2010 From: ha at phulse.com (Hans-Christian Andersen) Date: Thu, 29 Apr 2010 18:19:15 +0100 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: Message-ID: >From a pure technical point of view, you only have 3 main problems to be concerned about when running a site from home. 1. A typical internet connection for personal or small business use has poor upload bandwidth and a higher latency. Run a speed test and you'll probably see that your download speeds are up in the megabits, while upload is a paltry 128-256 kbps. If this is just for small sites, that is fine. Just don't expect it to handle high traffic loads and bear in mind that this will start to eat into the bandwidth for your own internet usage. 2. Your internet connection probably changes IP addresses periodically. This isn't a huge issue. Using a service like dnsomatic.com, you could configure your router (if it supports that) or use dhclient or similar daemon/client application to update your DNS when your IP address changes. dnsomatic works with dyndns and zoneedit and more, so that's quite neat. Typically your ip adderss only changes once every few months and you may have a few minutes or less of downtime while the new IP address propogates. 3. Security. I think the first line of defense and most important thing to do is to put your server in a walled garden. So, put the server behind it's own router on a separate network. This way, if you do suffer a security breach, those hackers don't have access to the rest of the machines in your LAN. Secondly, it can be a hassle having to maintain yet another server against the nasty background internet traffic on your own, but this need not be a big issue, if you just make sure to configure things right the first time around. I assume you will probably use Windows, but in my case, I have an Ubuntu server deployed even without a hardware firewall in front of it. I keep software patches up-to-date and have a daemon (fail2ban) that routinely checks various logs for repeated brute force logins and other nasty things and bans that IP address for an hour. This has been pretty effective at stopping hackers, script kiddies and scripted attacks from mindless zombies. Make sure you restrict any services that don't need to be exposed to only your IP address. Use a VPN if you want a way of accessing it from outside your green zone. All in all, I've been doing this myself and it's definitely doable - not insane. But make sure you have a plan B, in case you suddenly find yourself in a situation where you quickly need to move it somewhere with a fatter pipe. Hans-Christian Software Developer, UK ----------------------------------------------------------------- tel: +44 (0)782 894 5456 e-mail: hans.andersen at phulse.com www: nokenode.com ----------------------------------------------------------------- Unique Gifts, Collectables, Artwork ----------------------------------------------------------------- Come one Come all to www.corinnajasmine.com ----------------------------------------------------------------- On 29 April 2010 16:47, Gustav Brock wrote: > Hi John > > Main advantage for an in-house server is that you are in full control, no > need to fit into some standard package. > > Disadvantages - in addition to those already mentioned - are several > including usage of your limited upload bandwidth and added cost for power > consumption. > > /gustav > > >>> jwcolby at colbyconsulting.com 28-04-2010 15:39 >>> > I just need a reality check as to whether trying to host a website in-house > is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low > traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the > local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only > one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs > and it seems like I > could put something like this in a VM so that I could move it to another > machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because > it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM > running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Thu Apr 29 17:13:40 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:13:40 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: References: <4BD83A9A.8050401@colbyconsulting.com>, Message-ID: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > From stuart at lexacorp.com.pg Thu Apr 29 17:17:18 2010 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 30 Apr 2010 08:17:18 +1000 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BD83A9A.8050401@colbyconsulting.com> References: <4BD83A9A.8050401@colbyconsulting.com> Message-ID: <4BDA056E.24476.524C961@stuart.lexacorp.com.pg> Do-able but insane. But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 28 Apr 2010 at 9:39, jwcolby wrote: > I just need a reality check as to whether trying to host a website in-house is insane, doable, easy, > difficult? If I did this it would be for my own web site (very low traffic), and would need to > include email (also low traffic). If I lost internet (which I get over the local cable) then > obviously I would be out of commission for the duration of that outage. > > I have been in this home / office for close to four years and have had only one single extended > outage (11 hours, due to weather). > > I have a server that I keep up 24/7. I have battery backup etc. I run VMs and it seems like I > could put something like this in a VM so that I could move it to another machine if I had a machine > issue. > > I am actively considering building a new server with 16 or 24 cores because it would be a big boost > for my SQL Server work and with so many cores it seems like having a VM running my web site might > make sense. > > -- > John W. Colby > www.ColbyConsulting.com > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From dw-murphy at cox.net Thu Apr 29 17:18:06 2010 From: dw-murphy at cox.net (Doug Murphy) Date: Thu, 29 Apr 2010 15:18:06 -0700 Subject: [dba-VB] hosting a website in-house In-Reply-To: <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> References: <4BD83A9A.8050401@colbyconsulting.com>, <4BDA0494.23952.52178B2@stuart.lexacorp.com.pg> Message-ID: <2ED9847F9482473AB0FCB38566CC6E0C@murphy3234aaf1> My point exactly. -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, April 29, 2010 3:14 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] hosting a website in-house I agree wholeheartedly But look at the cost of basic hosting packages and trade that off against (roughly in order of priority): 1. your additional time to administer web and mail servers and especially to keep them fully patched and up to date. 2. the additional security risks in exposing your systems to the public 3. the additional demand on your limited bandwidth ( not just from website hits, but from the continuous probes you will be getting on your web and mail servers). At the moment, your mail provider is probably blocking a lot of spam from ever getting to colby.com - once you are runnning your own mail server, you will have to deal with it all. 4. the cost of using your resources (power, disk space, cpu cycles) - you may think it negligible, but wait until your domain gets hit by a spam flood :-( It just doesn't make sense!! OK maybe I'm biased since we have recently set up http://www.pngconnect.com :-) -- Stuart On 29 Apr 2010 at 8:38, Doug Steele wrote: > Basically the answer is 'Easy', but possibly 'Insane' as well :) There's > the usual learning curve. I've only used IIS as my sites have been .NET. > > Do you have a fixed IP address? If not, you'll have to deal with the > possibility that your IP will change from time to time. > > You will also have to think about security - I'd be leery of running a > website on my main development machine... Once you've got a site exposed to > the wild, naughty people will be interested. That said, I've been running a > site using .NET login security for a year or so with no problems. > _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com