From jwcolby at colbyconsulting.com Tue Jan 3 21:00:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 03 Jan 2012 22:00:48 -0500 Subject: [dba-VB] How hard are reports like this? Message-ID: <4F03C0E0.1070708@colbyconsulting.com> Anyone who understands developing web based reports, if you would go to this url. It apparently takes them about 20-30 seconds to compute this however they did this. http://demos.buyerlogic.com/aleve/admin/report.aspx I may have an opportunity to take over developing reports like this for the client. More work is always good if I can do it. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From Gustav at cactus.dk Wed Jan 4 04:27:50 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 04 Jan 2012 11:27:50 +0100 Subject: [dba-VB] How hard are reports like this? Message-ID: Hi John That link times out here, but this: http://demos.buyerlogic.com/aleve/admin/ shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. Not quite sure what your question is? /gustav >>> jwcolby at colbyconsulting.com 04-01-2012 04:00 >>> Anyone who understands developing web based reports, if you would go to this url. It apparently takes them about 20-30 seconds to compute this however they did this. http://demos.buyerlogic.com/aleve/admin/report.aspx I may have an opportunity to take over developing reports like this for the client. More work is always good if I can do it. -- John W. Colby Colby Consulting From mcp2004 at mail.ru Wed Jan 4 05:34:10 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 04 Jan 2012 15:34:10 +0400 Subject: [dba-VB] =?utf-8?q?How_hard_are_reports_like_this=3F?= In-Reply-To: References: Message-ID: Hi John and Gustav and all -- > That link times out here, but this: It worked well here somehow even on Windows Phone 7. > shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. Yes. > Not quite sure what your question is? Neither am I. (Is the question about data source used to generate report or about general report generation technique?) Thank you. -- Shamil 04 ?????? 2012, 14:23 ?? "Gustav Brock" : > Hi John > > That link times out here, but this: > > http://demos.buyerlogic.com/aleve/admin/ > > shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > > Not quite sure what your question is? > > /gustav > > >>> jwcolby at colbyconsulting.com 04-01-2012 04:00 >>> > Anyone who understands developing web based reports, if you would go to this url. It apparently > takes them about 20-30 seconds to compute this however they did this. > > http://demos.buyerlogic.com/aleve/admin/report.aspx > > I may have an opportunity to take over developing reports like this for the client. More work is > always good if I can do it. > > -- > John W. Colby > Colby Consulting > From jwcolby at colbyconsulting.com Wed Jan 4 05:48:12 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 04 Jan 2012 06:48:12 -0500 Subject: [dba-VB] How hard are reports like this? In-Reply-To: References: Message-ID: <4F043C7C.6030205@colbyconsulting.com> > Not quite sure what your question is? Me either. This is the same client as the database from hell. The website and this report were farmed out to a web site development company who has since been dismissed. It looks like I might be able to get the work developing reports such as these. I haven't seen the code that generates the report but I am told by someone without a clue that it is done in "DotNet". So I have no idea whether that is in fact the case but I suspect it is because this person without a clue has been talking to a programmer brought in to tweak (or perhaps finish) the report. The deal is that this programmer has a day job and doesn't sound as if he really wants to be involved with tweaking / finishing this report but is doing so "as time permits" as a favor to his cousin. Since there is a development void, I want to examine stepping in as the developer here. So is there a .Net environment used for this kind of thing? Is that ASP.Net? I see C# Asp.Net projects which perhaps is used for building the web site itself, and maybe the report itself. I will know more today sometime. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/4/2012 5:27 AM, Gustav Brock wrote: > Hi John > > That link times out here, but this: > > http://demos.buyerlogic.com/aleve/admin/ > > shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > > Not quite sure what your question is? > > /gustav > > >>>> jwcolby at colbyconsulting.com 04-01-2012 04:00>>> > Anyone who understands developing web based reports, if you would go to this url. It apparently > takes them about 20-30 seconds to compute this however they did this. > > http://demos.buyerlogic.com/aleve/admin/report.aspx > > I may have an opportunity to take over developing reports like this for the client. More work is > always good if I can do it. > From jwcolby at colbyconsulting.com Wed Jan 4 05:49:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 04 Jan 2012 06:49:28 -0500 Subject: [dba-VB] How hard are reports like this? In-Reply-To: References: Message-ID: <4F043CC8.4040605@colbyconsulting.com> My question is really about general report generation techniques. I have no idea how a report like this would be generated - the environment / code required. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/4/2012 6:34 AM, Salakhetdinov Shamil wrote: > Hi John and Gustav and all -- > >> That link times out here, but this: > It worked well here somehow even on Windows Phone 7. > >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > Yes. > >> Not quite sure what your question is? > Neither am I. (Is the question about data source used to generate report or about general report generation technique?) > > Thank you. > > -- Shamil > > 04 ?????? 2012, 14:23 ?? "Gustav Brock": >> Hi John >> >> That link times out here, but this: >> >> http://demos.buyerlogic.com/aleve/admin/ >> >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. >> >> Not quite sure what your question is? >> >> /gustav >> >>>>> jwcolby at colbyconsulting.com 04-01-2012 04:00>>> >> Anyone who understands developing web based reports, if you would go to this url. It apparently >> takes them about 20-30 seconds to compute this however they did this. >> >> http://demos.buyerlogic.com/aleve/admin/report.aspx >> >> I may have an opportunity to take over developing reports like this for the client. More work is >> always good if I can do it. >> >> -- >> John W. Colby >> Colby Consulting >> > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From michael at mattysconsulting.com Wed Jan 4 06:26:22 2012 From: michael at mattysconsulting.com (Michael Mattys) Date: Wed, 4 Jan 2012 07:26:22 -0500 Subject: [dba-VB] How hard are reports like this? In-Reply-To: <4F043CC8.4040605@colbyconsulting.com> References: <4F043CC8.4040605@colbyconsulting.com> Message-ID: <013201cccadc$12e19010$38a4b030$@mattysconsulting.com> This report looks like something that can be obtained from a service like Alexa or Google Analytics. Or build your own http://www.noupe.com/php/how-to-create-your-own-stats.html Michael R Mattys Mattys Consulting, LLC www.mattysconsulting.com 585-544-4385 Home Office -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, January 04, 2012 6:49 AM To: Salakhetdinov Shamil; Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] How hard are reports like this? My question is really about general report generation techniques. I have no idea how a report like this would be generated - the environment / code required. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/4/2012 6:34 AM, Salakhetdinov Shamil wrote: > Hi John and Gustav and all -- > >> That link times out here, but this: > It worked well here somehow even on Windows Phone 7. > >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > Yes. > >> Not quite sure what your question is? > Neither am I. (Is the question about data source used to generate > report or about general report generation technique?) > > Thank you. > > -- Shamil > > 04 ?????? 2012, 14:23 ?? "Gustav Brock": >> Hi John >> >> That link times out here, but this: >> >> http://demos.buyerlogic.com/aleve/admin/ >> >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. >> >> Not quite sure what your question is? >> >> /gustav >> >>>>> jwcolby at colbyconsulting.com 04-01-2012 04:00>>> >> Anyone who understands developing web based reports, if you would go >> to this url. It apparently takes them about 20-30 seconds to compute this however they did this. >> >> http://demos.buyerlogic.com/aleve/admin/report.aspx >> >> I may have an opportunity to take over developing reports like this >> for the client. More work is always good if I can do it. >> >> -- >> John W. Colby >> Colby Consulting >> > > _______________________________________________ > 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 Jan 4 06:35:07 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Jan 2012 22:35:07 +1000 Subject: [dba-VB] How hard are reports like this? In-Reply-To: <4F043CC8.4040605@colbyconsulting.com> References: , , <4F043CC8.4040605@colbyconsulting.com> Message-ID: <4F04477B.6638.7883FD4@stuart.lexacorp.com.pg> For that sort of thing, you use a server side engine to extract the data from a database (normally using SQL) and embed it into HTML tags. You can use ASP(classic or .Net), PHP or a CGI application built in whatever will run on your server. Your ASP,PHP,CGI application just builds the HTML page and passes it back to the web server which delivers it to the client. Normally, you would start by designing a static HTML page for the report layout and then chop it up and intersperse the pieces of HTML with ASP/PHP/CGI code to insert the data pulled from the database. Here's a very simple PHP script to retrieve data from a MySQL database and returing it in a tabular report. Even without any experience of PHP, you should be able to follow it easily. Firstname Lastname Age Hometown Job "; while($row = mysql_fetch_array($result)) { echo ""; echo "" . $row['FirstName'] . ""; echo "" . $row['LastName'] . ""; echo "" . $row['Age'] . ""; echo "" . $row['Hometown'] . ""; echo "" . $row['Job'] . ""; echo ""; } echo ""; mysql_close($con); ?> -- Stuart On 4 Jan 2012 at 6:49, jwcolby wrote: > My question is really about general report generation techniques. I have no idea how a report like > this would be generated - the environment / code required. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/4/2012 6:34 AM, Salakhetdinov Shamil wrote: > > Hi John and Gustav and all -- > > > >> That link times out here, but this: > > It worked well here somehow even on Windows Phone 7. > > > >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > > Yes. > > > >> Not quite sure what your question is? > > Neither am I. (Is the question about data source used to generate report or about general report generation technique?) > > > > Thank you. > > > > -- Shamil > > > > 04 2012, 14:23 "Gustav Brock": > >> Hi John > >> > >> That link times out here, but this: > >> > >> http://demos.buyerlogic.com/aleve/admin/ > >> > >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > >> > >> Not quite sure what your question is? > >> > >> /gustav > >> > >>>>> jwcolby at colbyconsulting.com 04-01-2012 04:00>>> > >> Anyone who understands developing web based reports, if you would go to this url. It apparently > >> takes them about 20-30 seconds to compute this however they did this. > >> > >> http://demos.buyerlogic.com/aleve/admin/report.aspx > >> > >> I may have an opportunity to take over developing reports like this for the client. More work is > >> always good if I can do it. > >> > >> -- > >> John W. Colby > >> Colby Consulting > >> > > > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Jan 4 06:44:19 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 04 Jan 2012 13:44:19 +0100 Subject: [dba-VB] How hard are reports like this? Message-ID: Hi John If so, I think that somehow the raw data are imported from several log files, then aggregated, and then this "DotNet" builds the report table by table using basic HTML coding and finally saves the HTML file on the server. Pretty easy. The only true reporting tool I've used in Visual Studio is the Report Designer which is a great tool of very high capabilities. We - mostly Shamil and I - used it for the Northwind.net project, you know, and I've used it for other projects as well. It is much different from Access reports but once you have "got it" it is a pleasure to work with. The internal language which you mostly use for expressions is, by the way and much to my surprise, VB style so that will present a zero learning curve for you. The final reports are presented using the ReportViewer controls: http://msdn.microsoft.com/en-us/library/ms251671(v=VS.100).aspx There are some browser limitations though which may be prohibitive in your case: http://msdn.microsoft.com/en-us/library/ms251673.aspx /gustav >>> jwcolby at colbyconsulting.com 04-01-2012 12:48 >>> > Not quite sure what your question is? Me either. This is the same client as the database from hell. The website and this report were farmed out to a web site development company who has since been dismissed. It looks like I might be able to get the work developing reports such as these. I haven't seen the code that generates the report but I am told by someone without a clue that it is done in "DotNet". So I have no idea whether that is in fact the case but I suspect it is because this person without a clue has been talking to a programmer brought in to tweak (or perhaps finish) the report. The deal is that this programmer has a day job and doesn't sound as if he really wants to be involved with tweaking / finishing this report but is doing so "as time permits" as a favor to his cousin. Since there is a development void, I want to examine stepping in as the developer here. So is there a .Net environment used for this kind of thing? Is that ASP.Net? I see C# Asp.Net projects which perhaps is used for building the web site itself, and maybe the report itself. I will know more today sometime. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/4/2012 5:27 AM, Gustav Brock wrote: > Hi John > > That link times out here, but this: > > http://demos.buyerlogic.com/aleve/admin/ > > shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > > Not quite sure what your question is? > > /gustav > > >>>> jwcolby at colbyconsulting.com 04-01-2012 04:00>>> > Anyone who understands developing web based reports, if you would go to this url. It apparently > takes them about 20-30 seconds to compute this however they did this. > > http://demos.buyerlogic.com/aleve/admin/report.aspx > > I may have an opportunity to take over developing reports like this for the client. More work is > always good if I can do it. From stuart at lexacorp.com.pg Wed Jan 4 06:45:07 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 04 Jan 2012 22:45:07 +1000 Subject: [dba-VB] How hard are reports like this? In-Reply-To: References: Message-ID: <4F0449D3.32568.791680C@stuart.lexacorp.com.pg> I would be extremely surprised if the HTML file is saved on the server. It would be generated and served "on-the-fly" -- Stuart On 4 Jan 2012 at 13:44, Gustav Brock wrote: > Hi John > > If so, I think that somehow the raw data are imported from several log > files, then aggregated, and then this "DotNet" builds the report table > by table using basic HTML coding and finally saves the HTML file on > the server. Pretty easy. > From jwcolby at colbyconsulting.com Wed Jan 4 07:11:01 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 04 Jan 2012 08:11:01 -0500 Subject: [dba-VB] How hard are reports like this? In-Reply-To: <4F0449D3.32568.791680C@stuart.lexacorp.com.pg> References: <4F0449D3.32568.791680C@stuart.lexacorp.com.pg> Message-ID: <4F044FE5.2060605@colbyconsulting.com> > I would be extremely surprised if the HTML file is saved on the server. It would be generate and served "on-the-fly" Yes, particularly since it displays dynamic data. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/4/2012 7:45 AM, Stuart McLachlan wrote: > I would be extremely surprised if the HTML file is saved on the server. It would be generated > and served "on-the-fly" > From mcp2004 at mail.ru Wed Jan 4 09:06:25 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 04 Jan 2012 19:06:25 +0400 Subject: [dba-VB] =?utf-8?q?How_hard_are_reports_like_this=3F?= In-Reply-To: <4F043CC8.4040605@colbyconsulting.com> References: <4F043CC8.4040605@colbyconsulting.com> Message-ID: Hi John -- Your sample page http://demos.buyerlogic.com/aleve/admin/report.aspx is an ASP.NET page - if you'll check its source you'll see : > My question is really about general report generation techniques. I have no idea how a report like > this would be generated - the environment / code required. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/4/2012 6:34 AM, Salakhetdinov Shamil wrote: > > Hi John and Gustav and all -- > > > >> That link times out here, but this: > > It worked well here somehow even on Windows Phone 7. > > > >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > > Yes. > > > >> Not quite sure what your question is? > > Neither am I. (Is the question about data source used to generate report or about general report generation technique?) > > > > Thank you. > > > > -- Shamil > > > > 04 ?????? 2012, 14:23 ?? "Gustav Brock": > >> Hi John > >> > >> That link times out here, but this: > >> > >> http://demos.buyerlogic.com/aleve/admin/ > >> > >> shows a report of some kind - looks like clean HTML, not even ASP Classic stuff. > >> > >> Not quite sure what your question is? > >> > >> /gustav > >> > >>>>> jwcolby at colbyconsulting.com 04-01-2012 04:00>>> > >> Anyone who understands developing web based reports, if you would go to this url. It apparently > >> takes them about 20-30 seconds to compute this however they did this. > >> > >> http://demos.buyerlogic.com/aleve/admin/report.aspx > >> > >> I may have an opportunity to take over developing reports like this for the client. More work is > >> always good if I can do it. > >> > >> -- > >> John W. Colby > >> Colby Consulting > >> > > > > _______________________________________________ > > 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 Jan 5 11:32:27 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 05 Jan 2012 12:32:27 -0500 Subject: [dba-VB] Process.Start(pathToExecute) won't start app twice Message-ID: <4F05DEAB.3030100@colbyconsulting.com> I am using System.Diagnostic.Process.Start to start an application, in this case an instance of an Access application. However it will only start the application once. If I try and do it again, it appears to do nothing, although I can see the icon for the existing instance in the task tray blink. This appears to be "by design" per the following comment: If the process is already running, no additional process resource is started. Instead, the existing process resource is reused and no new Process component is created. In such a case, instead of returning a new Process component, Start returns null to the calling procedure. Here: http://msdn.microsoft.com/en-us/library/sxf2saat.aspx However I need to start a second instance. Does anyone know how to do that? I am not finding anything out there that discusses this. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From dbdoug at gmail.com Thu Jan 5 11:47:52 2012 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 5 Jan 2012 09:47:52 -0800 Subject: [dba-VB] How to find a programming contractor Message-ID: I have a client who has just spent a very frustrating and expensive two years getting an Access database of mine converted to a full web based system using C#/Silverlight/ASP.NET. The system is now in production, but with a lot of bug cleanup to be done. My client isn?t happy with the (offshore) programming and would like to transfer any future development and maintenance work to another company or programmer. Having been burned once with a company he found himself, he?s asked me to help him find a better alternative. Unfortunately, I haven?t a clue about finding a decent programmer. Does anyone in the group have any suggestions, or interest in this project? The work is currently about 20 hours/week but would probably decrease somewhat as the system is beaten into shape. Other requirements (other than good references) would be a location within 3 time zones of Texas and good communication skills in English. Thanks, Doug From fuller.artful at gmail.com Thu Jan 5 13:18:56 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 5 Jan 2012 14:18:56 -0500 Subject: [dba-VB] How to find a programming contractor In-Reply-To: References: Message-ID: This is an excellent place to start, Doug. I'm in the right time zone limits, and I also like the estimated work-load. But I'm sure not to be the only one to express an interest in the gig. I don't suppose that Canada is off-shore :) One question: does "C#/Silverlight/ASP.NET" mean that various components are written in each of these? Arthur On Thu, Jan 5, 2012 at 12:47 PM, Doug Steele wrote: > I have a client who has just spent a very frustrating and expensive two > years getting an Access database of mine converted to a full web based > system using C#/Silverlight/ASP.NET. The system is now in production, > but > with a lot of bug cleanup to be done. My client isn?t happy with the > (offshore) programming and would like to transfer any future development > and maintenance work to another company or programmer. Having been burned > once with a company he found himself, he?s asked me to help him find a > better alternative. Unfortunately, I haven?t a clue about finding a decent > programmer. Does anyone in the group have any suggestions, or interest in > this project? The work is currently about 20 hours/week but would probably > decrease somewhat as the system is beaten into shape. Other requirements > (other than good references) would be a location within 3 time zones of > Texas and good communication skills in English. > > > Thanks, > > Doug > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From dbdoug at gmail.com Thu Jan 5 13:42:38 2012 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 5 Jan 2012 11:42:38 -0800 Subject: [dba-VB] How to find a programming contractor In-Reply-To: References: Message-ID: The apps make up a workorder system for a refrigeration/HVAC repair company in Texas. The back end is SQL Server. The main front end is a C#/Silverlight web app where the office staff build and edit work orders, order parts, generate invoices, process timesheet records, etc. for the field technicians. The technicians use smartphones (mostly or all iPhones) to log in to a separate C#/ASP.Net web site to view and edit the workorders that are assigned to them. The phone app was written in ASP.Net because the phone browsers can't do Silverlight. The company has been a client of mine for about 9 years. I was offered the job but I have zero Silverlight and minimal C# experience, and the client was in a hurry. Of course, the development has taken far longer than expected.... If you're interested in further information, I can put you in touch with the client or I can talk to you on the phone about the situation - drop me a private email. Canada's not a problem - I'm in BC. They think I 'talk funny' but we can understand each other:) Doug On Thu, Jan 5, 2012 at 11:18 AM, Arthur Fuller wrote: > This is an excellent place to start, Doug. I'm in the right time zone > limits, and I also like the estimated work-load. But I'm sure not to be the > only one to express an interest in the gig. I don't suppose that Canada is > off-shore :) One question: does "C#/Silverlight/ASP.NET" mean that various > components are written in each of these? > > Arthur > > On Thu, Jan 5, 2012 at 12:47 PM, Doug Steele wrote: > > > I have a client who has just spent a very frustrating and expensive two > > years getting an Access database of mine converted to a full web based > > system using C#/Silverlight/ASP.NET. The system is now in production, > > but > > with a lot of bug cleanup to be done. My client isn?t happy with the > > (offshore) programming and would like to transfer any future development > > and maintenance work to another company or programmer. Having been > burned > > once with a company he found himself, he?s asked me to help him find a > > better alternative. Unfortunately, I haven?t a clue about finding a > decent > > programmer. Does anyone in the group have any suggestions, or interest > in > > this project? The work is currently about 20 hours/week but would > probably > > decrease somewhat as the system is beaten into shape. Other requirements > > (other than good references) would be a location within 3 time zones of > > Texas and good communication skills in English. > > > > > > Thanks, > > > > Doug > > _______________________________________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/dba-vb > > http://www.databaseadvisors.com > > > > > > > -- > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Werner Heisenberg > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From rls at WeBeDb.com Fri Jan 6 08:53:07 2012 From: rls at WeBeDb.com (Robert Stewart) Date: Fri, 06 Jan 2012 08:53:07 -0600 Subject: [dba-VB] How to find a programming contractor In-Reply-To: References: Message-ID: <6EC1BBAE-236C-4AC2-B4F9-4C896311DE80@holly.arvixe.com> Doug, I am in Houston if that is a help. I would be happy to work on it. Robert At 01:42 PM 1/5/2012, you wrote: >Date: Thu, 5 Jan 2012 09:47:52 -0800 >From: Doug Steele >To: dba-vb at databaseadvisors.com >Subject: [dba-VB] How to find a programming contractor >Message-ID: > >Content-Type: text/plain; charset=windows-1252 > >I have a client who has just spent a very frustrating and expensive two >years getting an Access database of mine converted to a full web based >system using C#/Silverlight/ASP.NET. The system is now in production, but >with a lot of bug cleanup to be done. My client isn?t happy with the >(offshore) programming and would like to transfer any future development >and maintenance work to another company or programmer. Having been burned >once with a company he found himself, he?s asked me to help him find a >better alternative. Unfortunately, I haven?t a clue about finding a decent >programmer. Does anyone in the group have any suggestions, or interest in >this project? The work is currently about 20 hours/week but would probably >decrease somewhat as the system is beaten into shape. Other requirements >(other than good references) would be a location within 3 time zones of >Texas and good communication skills in English. > > >Thanks, > >Doug Robert L. Stewart www.WeBeDb.com www.DBGUIDesign.com www.RLStewartPhotography.com From fuller.artful at gmail.com Fri Jan 6 10:38:57 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 6 Jan 2012 11:38:57 -0500 Subject: [dba-VB] How to find a programming contractor In-Reply-To: <6EC1BBAE-236C-4AC2-B4F9-4C896311DE80@holly.arvixe.com> References: <6EC1BBAE-236C-4AC2-B4F9-4C896311DE80@holly.arvixe.com> Message-ID: Given your proximity, I think it best to bow out. A. On Fri, Jan 6, 2012 at 9:53 AM, Robert Stewart wrote: > Doug, > > I am in Houston if that is a help. I would be happy to work on it. > > Robert > -- Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Werner Heisenberg From jwcolby at colbyconsulting.com Mon Jan 9 12:11:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 09 Jan 2012 13:11:00 -0500 Subject: [dba-VB] Chrome nuked my email shortcuts Message-ID: <4F0B2DB4.2030001@colbyconsulting.com> Suddenly I was unable to click on email hotlinks and get my browser to open. I searched for several hours over the last few weeks trying to find out why. Today I found someone saying that Chrome was the culpret. I uninstalled Chrome and rebooted and voila, I can click on hotlinks in my email again. And yes I know how to tell good from bad and yes, I have several layers of "can't install jack" protection. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From accessd at shaw.ca Fri Jan 13 12:46:29 2012 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 13 Jan 2012 10:46:29 -0800 Subject: [dba-VB] Cross-platform .Net In-Reply-To: References: Message-ID: <52BAFC920CD94F61B7C30FA1A0E598C6@creativesystemdesigns.com> For all you .Net Gurus out there who are building or will be building cross-platform .Net applications, here is a link to an over-view article on the complexities and challenges along with references to some of the tools and methods to resolve issues within these potential massively complex structures. http://bvanderveen.com/a/dot-net-open-source-does-not-beget-open-source/ Jim From jwcolby at colbyconsulting.com Sun Jan 15 22:01:28 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 15 Jan 2012 23:01:28 -0500 Subject: [dba-VB] Where do I place documentation in source control? Message-ID: <4F13A118.5080105@colbyconsulting.com> I am writing documentation for a program (novel concept I know) and want to put it in source control so that it can be kept with the rest of the stuff. My question is, do I "add existing item" and just pull it in to the solution? I did that and it allows me to just double click the object and open the word document from right inside of the solution. That's kind of nice. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Mon Jan 16 10:13:59 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 11:13:59 -0500 Subject: [dba-VB] C# - using SQL Server Express Message-ID: <4F144CC7.9090708@colbyconsulting.com> I have been working on a small game, for which I need a database. It will be a single or multi-player game which means I need to be able to create a database and install SQL Server Express (for the standalone game) or connect to an database (for the multi-player game). While I am reasonably conversant in databases, I have never had a C# program install SQL Server Express. Once Express is installed, should I ship an empty database? Should I generate scripts to create the tables and autofill the lookup tables? So much to know, so little time. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Mon Jan 16 10:36:28 2012 From: df.waters at comcast.net (Dan Waters) Date: Mon, 16 Jan 2012 10:36:28 -0600 Subject: [dba-VB] C# - using SQL Server Express In-Reply-To: <4F144CC7.9090708@colbyconsulting.com> References: <4F144CC7.9090708@colbyconsulting.com> Message-ID: <001e01ccd46c$ff3372a0$fd9a57e0$@comcast.net> Take a look at SQL Compact. It's a MS product, and designed to be embedded into the assembly of a C#/VB.Net app. It's the equivalent of using local tables in an Access front end. If you need your gamers to be able to use a common database, then SQL Compact won't work for that, but you could still use SQL Compact for local data and Express for common data. http://www.microsoft.com/download/en/details.aspx?id=7400 HTH! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 16, 2012 10:14 AM To: VBA Subject: [dba-VB] C# - using SQL Server Express I have been working on a small game, for which I need a database. It will be a single or multi-player game which means I need to be able to create a database and install SQL Server Express (for the standalone game) or connect to an database (for the multi-player game). While I am reasonably conversant in databases, I have never had a C# program install SQL Server Express. Once Express is installed, should I ship an empty database? Should I generate scripts to create the tables and autofill the lookup tables? So much to know, so little time. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it _______________________________________________ dba-VB mailing list dba-VB at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-vb http://www.databaseadvisors.com From Gustav at cactus.dk Mon Jan 16 10:45:32 2012 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 16 Jan 2012 17:45:32 +0100 Subject: [dba-VB] C# - using SQL Server Express Message-ID: Hi John I've had some troubles with SQL Server 2008 R2 Express install in general, though not - as I haven't had a need for it - for deploy as described here: http://connect.microsoft.com/SQLServer/feedback/details/586624/why-is-deploying-sql-server-2008-r2-sooooo-frustrating yet with some hope here: http://robindotnet.wordpress.com/2011/02/06/how-about-a-bootstrapper-package-for-sqlserver-express-2008-r2/ so you may choose to stick with SQL Server 2008 Express or even 2005. /gustav PS: The install of SQL Server 2008 Express R2 on one of my workstations with 2005, 2008, and 2008 Express mixed installations brought that workstation down to a complete reinstall. Not a good day. >>> jwcolby at colbyconsulting.com 16-01-2012 17:13:59 >>> I have been working on a small game, for which I need a database. It will be a single or multi-player game which means I need to be able to create a database and install SQL Server Express (for the standalone game) or connect to an database (for the multi-player game). While I am reasonably conversant in databases, I have never had a C# program install SQL Server Express. Once Express is installed, should I ship an empty database? Should I generate scripts to create the tables and autofill the lookup tables? So much to know, so little time. -- John W. Colby Colby Consulting From davidmcafee at gmail.com Mon Jan 16 10:52:45 2012 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 16 Jan 2012 08:52:45 -0800 Subject: [dba-VB] C# - using SQL Server Express In-Reply-To: <001e01ccd46c$ff3372a0$fd9a57e0$@comcast.net> References: <4F144CC7.9090708@colbyconsulting.com> <001e01ccd46c$ff3372a0$fd9a57e0$@comcast.net> Message-ID: I second Dan's comment, if you are using it only to store data for a single user. On Mon, Jan 16, 2012 at 8:36 AM, Dan Waters wrote: > Take a look at SQL Compact. It's a MS product, and designed to be embedded > into the assembly of a C#/VB.Net app. > > It's the equivalent of using local tables in an Access front end. > > If you need your gamers to be able to use a common database, then SQL > Compact won't work for that, but you could still use SQL Compact for local > data and Express for common data. > > http://www.microsoft.com/download/en/details.aspx?id=7400 > > HTH! > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 16, 2012 10:14 AM > To: VBA > Subject: [dba-VB] C# - using SQL Server Express > > I have been working on a small game, for which I need a database. It will > be a single or multi-player game which means I need to be able to create a > database and install SQL Server Express (for the standalone game) or > connect > to an database (for the multi-player game). While I am reasonably > conversant in databases, I have never had a C# program install SQL Server > Express. > > Once Express is installed, should I ship an empty database? Should I > generate scripts to create the tables and autofill the lookup tables? > > So much to know, so little time. > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > _______________________________________________ > 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 Mon Jan 16 10:57:55 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 11:57:55 -0500 Subject: [dba-VB] C# - using SQL Server Express In-Reply-To: References: Message-ID: <4F145713.7010202@colbyconsulting.com> > PS: The install of SQL Server 2008 Express R2 on one of my workstations with 2005, 2008, and 2008 Express mixed installations brought that workstation down to a complete reinstall. Not a good day. Not what you would want happening when a game installs. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/16/2012 11:45 AM, Gustav Brock wrote: > Hi John > > I've had some troubles with SQL Server 2008 R2 Express install in general, though not - as I haven't had a need for it - for deploy as described here: > > http://connect.microsoft.com/SQLServer/feedback/details/586624/why-is-deploying-sql-server-2008-r2-sooooo-frustrating > > yet with some hope here: > > http://robindotnet.wordpress.com/2011/02/06/how-about-a-bootstrapper-package-for-sqlserver-express-2008-r2/ > > so you may choose to stick with SQL Server 2008 Express or even 2005. > > /gustav > > PS: The install of SQL Server 2008 Express R2 on one of my workstations with 2005, 2008, and 2008 Express mixed installations brought that workstation down to a complete reinstall. Not a good day. > > >>>> jwcolby at colbyconsulting.com 16-01-2012 17:13:59>>> > I have been working on a small game, for which I need a database. It will be a single or > multi-player game which means I need to be able to create a database and install SQL Server Express > (for the standalone game) or connect to an database (for the multi-player game). While I am > reasonably conversant in databases, I have never had a C# program install SQL Server Express. > > Once Express is installed, should I ship an empty database? Should I generate scripts to create the > tables and autofill the lookup tables? > > So much to know, so little time. From jwcolby at colbyconsulting.com Mon Jan 16 11:08:38 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 12:08:38 -0500 Subject: [dba-VB] True / false in SQL Server Message-ID: <4F145996.6080403@colbyconsulting.com> Because of various issues with bit and Access I have always used int as the data type and -1 or 0 as the default value. These can be bound directly to a check box (for example). Because the default int is a 32 bit number I was just looking to see if I could use a smaller data type. A smallint is 2 bytes and includes negative values. A tinyint does not appear to allow -1. Is there a signed byte datatype that I am not seeing? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From df.waters at comcast.net Mon Jan 16 11:21:52 2012 From: df.waters at comcast.net (Dan Waters) Date: Mon, 16 Jan 2012 11:21:52 -0600 Subject: [dba-VB] True / false in SQL Server In-Reply-To: <4F145996.6080403@colbyconsulting.com> References: <4F145996.6080403@colbyconsulting.com> Message-ID: <002701ccd473$56911ce0$03b356a0$@comcast.net> For Yes/No use a bit data type. Also be sure to set Allow Null = False for all bit values, and select a default value (0 or -1). And that's my experience talking! ;-) Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, January 16, 2012 11:09 AM To: VBA; Access Developers discussion and problem solving Subject: [dba-VB] True / false in SQL Server Because of various issues with bit and Access I have always used int as the data type and -1 or 0 as the default value. These can be bound directly to a check box (for example). Because the default int is a 32 bit number I was just looking to see if I could use a smaller data type. A smallint is 2 bytes and includes negative values. A tinyint does not appear to allow -1. Is there a signed byte datatype that I am not seeing? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it _______________________________________________ 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 Mon Jan 16 11:37:12 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 12:37:12 -0500 Subject: [dba-VB] C# - using SQL Server Express In-Reply-To: References: <4F144CC7.9090708@colbyconsulting.com> <001e01ccd46c$ff3372a0$fd9a57e0$@comcast.net> Message-ID: <4F146048.6040001@colbyconsulting.com> The thing is that I am eventually shooting for a system where the game can play over the internet or over a local LAN so it would be inconvenient to use a single user database and then have to upgrade to a multi-user database. I am trying to figure out WCF to see if I can build it using a WCF service. Mostly just to try and wrap my mind around using WCF. I read the first parts of a book (WCF Step by Step - John Sharp) but my mind resisted the wrap last time. ;) John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/16/2012 11:52 AM, David McAfee wrote: > I second Dan's comment, if you are using it only to store data for a single > user. > > > > On Mon, Jan 16, 2012 at 8:36 AM, Dan Waters wrote: > >> Take a look at SQL Compact. It's a MS product, and designed to be embedded >> into the assembly of a C#/VB.Net app. >> >> It's the equivalent of using local tables in an Access front end. >> >> If you need your gamers to be able to use a common database, then SQL >> Compact won't work for that, but you could still use SQL Compact for local >> data and Express for common data. >> >> http://www.microsoft.com/download/en/details.aspx?id=7400 >> >> HTH! >> Dan >> >> -----Original Message----- >> From: dba-vb-bounces at databaseadvisors.com >> [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, January 16, 2012 10:14 AM >> To: VBA >> Subject: [dba-VB] C# - using SQL Server Express >> >> I have been working on a small game, for which I need a database. It will >> be a single or multi-player game which means I need to be able to create a >> database and install SQL Server Express (for the standalone game) or >> connect >> to an database (for the multi-player game). While I am reasonably >> conversant in databases, I have never had a C# program install SQL Server >> Express. >> >> Once Express is installed, should I ship an empty database? Should I >> generate scripts to create the tables and autofill the lookup tables? >> >> So much to know, so little time. >> -- >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> _______________________________________________ >> 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 jwcolby at colbyconsulting.com Mon Jan 16 11:39:30 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 16 Jan 2012 12:39:30 -0500 Subject: [dba-VB] True / false in SQL Server In-Reply-To: <002701ccd473$56911ce0$03b356a0$@comcast.net> References: <4F145996.6080403@colbyconsulting.com> <002701ccd473$56911ce0$03b356a0$@comcast.net> Message-ID: <4F1460D2.206@colbyconsulting.com> I used a bit type originally and it seemed to work, in fact that is what an Access upgrade translates to. However I was warned by someone that trying to do compares was difficult due to the fact that they are packed. I dunno. I switched awhile back to using an int and that works well. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/16/2012 12:21 PM, Dan Waters wrote: > For Yes/No use a bit data type. Also be sure to set Allow Null = False for > all bit values, and select a default value (0 or -1). And that's my > experience talking! ;-) > > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, January 16, 2012 11:09 AM > To: VBA; Access Developers discussion and problem solving > Subject: [dba-VB] True / false in SQL Server > > Because of various issues with bit and Access I have always used int as the > data type and -1 or 0 as the default value. These can be bound directly to > a check box (for example). > > Because the default int is a 32 bit number I was just looking to see if I > could use a smaller data type. A smallint is 2 bytes and includes negative > values. A tinyint does not appear to allow -1. > Is there a signed byte datatype that I am not seeing? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > _______________________________________________ > 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 Mon Jan 16 16:52:09 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 17 Jan 2012 08:52:09 +1000 Subject: [dba-VB] [AccessD] True / false in SQL Server In-Reply-To: <4F145996.6080403@colbyconsulting.com> References: <4F145996.6080403@colbyconsulting.com> Message-ID: <4F14AA19.26626.111FE8C2@stuart.lexacorp.com.pg> Nope, smallint is the smallest signed integer. On 16 Jan 2012 at 12:08, jwcolby wrote: > Because of various issues with bit and Access I have always used int as the data type and -1 or 0 as > the default value. These can be bound directly to a check box (for example). > > Because the default int is a 32 bit number I was just looking to see if I could use a smaller data > type. A smallint is 2 bytes and includes negative values. A tinyint does not appear to allow -1. > Is there a signed byte datatype that I am not seeing? > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From jwcolby at colbyconsulting.com Thu Jan 19 09:07:48 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 19 Jan 2012 10:07:48 -0500 Subject: [dba-VB] Adding a field to every table Message-ID: <4F1831C4.5060003@colbyconsulting.com> I have built several SQL Server databases which are used by Access, and have just recently discovered that I really need a timestamp in every table. So I have been laboriously adding a timestamp field table by table. As everyone knows, TSQL is not my strength, but I went out looking for solutions to doing this programmatically using TSQL. So the challenge is to get every user table in a database, and then execute an alter table statement: alter table EachTableName add timestamp I managed to do it but boy is it *not* elegant! I found the following (by our own Arthur Fuller) which creates a udf to return a table with the names of all the users tables. My first iteration actually created this udf and then called it. http://www.techrepublic.com/article/alter-every-table-in-a-sql-database/5796376 The following discusses iterating through a table. The author was executing a stored procedure for each line of the table, which is close to what I am trying to do. Yes, I know RBAR and all that but after all this is just a minimal number of operations done once per database. http://weblogs.asp.net/jgalloway/archive/2006/04/12/442618.aspx That said, I would like to know if there is an elegant (set based) way to execute a line of code like I am doing for each record in the table. If you promise not to laugh I will show you my cobbled together solution. I built a User Stored Procedure so that I can just copy it over to my server at the client. The stored procedure creates the udf every time it runs, this in case this is the first time I am running the USP. I then declare a table to store the table returned by the UDF, and fill the table. After that I iterate the table RBAR, pulling the assembled SQL statement out into a varchar, and then exec() the SQL Statement. -- ============================================= -- Author: -- Create date: <1/19/2012> -- Description: -- ============================================= ALTER PROCEDURE [dbo].[usb_AddFldTake2] @DBName as varchar(250) AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SET NOCOUNT ON; DECLARE @SQL varchar(4000) DECLARE @tblUsrTableNames table (rownum int IDENTITY (1, 1), TblName varchar(250)) --Get all of the table names into a table variable select @SQL = 'SELECT TOP 100 PERCENT name FROM ' + @DBName + '.dbo.sysobjects WHERE type = ''U'' ORDER BY name' print @SQL insert into @tblUsrTableNames (TblName) exec (@SQL) --Set up RBAR table iteration declare @RowCnt int declare @MaxRows int select @RowCnt = 1 select @MaxRows=count(*) from @tblUsrTableNames Declare @TblName varchar(250) while @RowCnt <= @MaxRows begin --Get the name of the table from each row select @TblName = (SELECT TblName from @tblUsrTableNames where rownum = @RowCnt ) --build a sql statement to perform the alter table and add the timestamp select @SQL = 'ALTER TABLE PrisonMinistries.dbo.[' + @TblName + '] ADD timestamp' print @SQL --Execute the sql execute (@SQL) --move to the next row Select @RowCnt = @RowCnt + 1 end -- Insert statements for procedure here END As I mentioned I would like to know if there is an elegant (set based) way to execute a line of code like I am doing for each record in the table. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From mcp2004 at mail.ru Tue Jan 24 05:24:59 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 24 Jan 2012 15:24:59 +0400 Subject: [dba-VB] =?utf-8?q?What_do_you_think_-_do_they_use_ASP=2ENET_MVC_?= =?utf-8?q?here=3F?= Message-ID: Hi All -- What do you think - do they use ASP.NET MVC here? www.microsoftvirtualacademy.com Thank you. -- Shamil From dbdoug at gmail.com Tue Jan 24 10:08:49 2012 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 24 Jan 2012 08:08:49 -0800 Subject: [dba-VB] What do you think - do they use ASP.NET MVC here? In-Reply-To: References: Message-ID: Hi Shamil: There's a big block of Viewstate in the pages, and the controls look like they have ASP generated names, so my guess is the site uses ASP.net, not MVC. There's a bit of a discussion of how to tell here: http://stackoverflow.com/questions/4636590/if-you-control-a-site-with-asp-net-mvc-can-the-viewers-see-the-mvc-code Doug On Tue, Jan 24, 2012 at 3:24 AM, Salakhetdinov Shamil wrote: > Hi All -- > > What do you think - do they use ASP.NET MVC here? > > www.microsoftvirtualacademy.com > > 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 Tue Jan 24 10:12:08 2012 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 24 Jan 2012 08:12:08 -0800 Subject: [dba-VB] What do you think - do they use ASP.NET MVC here? In-Reply-To: References: Message-ID: Sorry, I put the wrong StackOverflow question link in my previous reply. Here's the one I meant to use: http://stackoverflow.com/questions/3167284/how-can-i-tell-if-my-site-is-running-asp-net-mvc-or-web-forms Doug On Tue, Jan 24, 2012 at 8:08 AM, Doug Steele wrote: > Hi Shamil: > > There's a big block of Viewstate in the pages, and the controls look like > they have ASP generated names, so my guess is the site uses ASP.net, not > MVC. > > There's a bit of a discussion of how to tell here: > > http://stackoverflow.com/questions/4636590/if-you-control-a-site-with-asp-net-mvc-can-the-viewers-see-the-mvc-code > > Doug > > > On Tue, Jan 24, 2012 at 3:24 AM, Salakhetdinov Shamil wrote: > >> Hi All -- >> >> What do you think - do they use ASP.NET MVC here? >> >> www.microsoftvirtualacademy.com >> >> Thank you. >> >> -- Shamil >> >> _______________________________________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-vb >> http://www.databaseadvisors.com >> >> > From mcp2004 at mail.ru Tue Jan 24 12:07:33 2012 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 24 Jan 2012 22:07:33 +0400 Subject: [dba-VB] =?utf-8?q?What_do_you_think_-_do_they_use_ASP=2ENET_MVC_?= =?utf-8?q?here=3F?= In-Reply-To: References: Message-ID: Thank you, Doug, Yes, I was aware that ASP.NET MVC doesn't use Viewstate but I somehow missed to dig into/inspect with Chrome first
after tag to find there is Viewstate block there on the web page of the web site I referred. That missing of the obvious things was probably a side-effect of antibiotics they "filled" me with here :)? Thank you. -- Shamil 24 ?????? 2012, 20:12 ?? Doug Steele : Sorry, I put the wrong StackOverflow question link in my previous reply. ?Here's the one I meant to use: http://stackoverflow.com/questions/3167284/how-can-i-tell-if-my-site-is-running-asp-net-mvc-or-web-forms? Doug On Tue, Jan 24, 2012 at 8:08 AM, Doug Steele wrote: Hi Shamil: There's a big block of Viewstate in the pages, and the controls look like they have ASP generated names, so my guess is the site uses ASP.net, not MVC. There's a bit of a discussion of how to tell here: http://stackoverflow.com/questions/4636590/if-you-control-a-site-with-asp-net-mvc-can-the-viewers-see-the-mvc-code Doug On Tue, Jan 24, 2012 at 3:24 AM, Salakhetdinov Shamil wrote: Hi All -- What do you think - do they use ASP.NET MVC here? www.microsoftvirtualacademy.com Thank you. -- Shamil _______________________________________________ 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 Wed Jan 25 13:48:54 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 25 Jan 2012 14:48:54 -0500 Subject: [dba-VB] CopyAndRun Message-ID: <4F205CA6.5070909@colbyconsulting.com> You might remember my discussing a C# program I am writing which I call CopyAndRun (C&R). It basically is a table driven method of copying one or more files from the network to the user's workstation and then executing the (access) application. I use it for creating a directory and copying my libs and access apps to the user's local c: drive. I use the following code to actually open the file: public void mExecuteFile() { //http://stackoverflow.com/questions/5831844/tracking-multiple-processes-at-same-time try { System.Diagnostics.Process myProcess = new Process(); myProcess.StartInfo.FileName = pDestFileSpec; myProcess.StartInfo.UseShellExecute = true; Process.Start(pDestFileSpec); } catch (Exception) { throw; } } Basically this hands off opening the file to Windows to use File Associations to figure out how to open the file. This works well except that Windows will not open the same Access container (same name) multiple times. Some of the users like to keep the FE open a couple of times. I worked around this by adding an incrementing number to the file name until the file name is not in use (open) and then copy to and use that file name. The other problem is that as the FE opens, C&R is not "finished" until the login stuff finishes (in the FE). This one took awhile to figure out what was up. Apparently Process.Start does not return until Access' thread goes idle. Sigh. I have not found a workaround for that yet. What that means is that the user cannot start multiple instances loading at the same time. Start one, log in, start the next, log in, start the next etc. Other than that, it seems to work very nicely, and the file association thing does allow Access to "just figure out" what program to use rather than my having to know the path to Access on each user's workstation. I hope to call this one done. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From fuller.artful at gmail.com Wed Jan 25 16:14:58 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 25 Jan 2012 17:14:58 -0500 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F205CA6.5070909@colbyconsulting.com> References: <4F205CA6.5070909@colbyconsulting.com> Message-ID: Since I'm just learning C#, this might be a stupid question, but where are you defining pDestFileSpec? It doesn't seem to be passed in. On Wed, Jan 25, 2012 at 2:48 PM, jwcolby wrote: > You might remember my discussing a C# program I am writing which I call > CopyAndRun (C&R). It basically is a table driven method of copying one or > more files from the network to the user's workstation and then executing > the (access) application. I use it for creating a directory and copying my > libs and access apps to the user's local c: drive. > > I use the following code to actually open the file: > > public void mExecuteFile() > { > //http://stackoverflow.com/**questions/5831844/tracking-** > multiple-processes-at-same-**time > try > { > System.Diagnostics.Process myProcess = new Process(); > myProcess.StartInfo.FileName = pDestFileSpec; > myProcess.StartInfo.**UseShellExecute = true; > Process.Start(pDestFileSpec); > } > catch (Exception) > { > throw; > } > } > -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From jwcolby at colbyconsulting.com Wed Jan 25 18:00:15 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 25 Jan 2012 19:00:15 -0500 Subject: [dba-VB] CopyAndRun In-Reply-To: References: <4F205CA6.5070909@colbyconsulting.com> Message-ID: <4F20978F.7060206@colbyconsulting.com> > Since I'm just learning C#, this might be a stupid question, but where are you defining pDestFileSpec? It doesn't seem to be passed in. It is a property of the class which is initialized in the constructor. The constructor is passed a recordset item, which reads properties from the table, things like source filespec, destination address, IsExecutable, AllowMultiple etc. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/25/2012 5:14 PM, Arthur Fuller wrote: > Since I'm just learning C#, this might be a stupid question, but where are > you defining pDestFileSpec? It doesn't seem to be passed in. > > On Wed, Jan 25, 2012 at 2:48 PM, jwcolbywrote: > >> You might remember my discussing a C# program I am writing which I call >> CopyAndRun (C&R). It basically is a table driven method of copying one or >> more files from the network to the user's workstation and then executing >> the (access) application. I use it for creating a directory and copying my >> libs and access apps to the user's local c: drive. >> >> I use the following code to actually open the file: >> >> public void mExecuteFile() >> { >> //http://stackoverflow.com/**questions/5831844/tracking-** >> multiple-processes-at-same-**time >> try >> { >> System.Diagnostics.Process myProcess = new Process(); >> myProcess.StartInfo.FileName = pDestFileSpec; >> myProcess.StartInfo.**UseShellExecute = true; >> Process.Start(pDestFileSpec); >> } >> catch (Exception) >> { >> throw; >> } >> } >> -- > > Arthur > Cell: 647.710.1314 > > Prediction is difficult, especially of the future. > -- Niels Bohr > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From fuller.artful at gmail.com Wed Jan 25 18:21:51 2012 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 25 Jan 2012 19:21:51 -0500 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F20978F.7060206@colbyconsulting.com> References: <4F205CA6.5070909@colbyconsulting.com> <4F20978F.7060206@colbyconsulting.com> Message-ID: Thanks! On Wed, Jan 25, 2012 at 7:00 PM, jwcolby wrote: > > Since I'm just learning C#, this might be a stupid question, but where > are you defining pDestFileSpec? It doesn't seem to be passed in. > > It is a property of the class which is initialized in the constructor. > The constructor is passed a recordset item, which reads properties from > the table, things like source filespec, destination address, IsExecutable, > AllowMultiple etc. > > -- > Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future. -- Niels Bohr From stuart at lexacorp.com.pg Wed Jan 25 18:56:56 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 26 Jan 2012 10:56:56 +1000 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F20978F.7060206@colbyconsulting.com> References: <4F205CA6.5070909@colbyconsulting.com>, , <4F20978F.7060206@colbyconsulting.com> Message-ID: <4F20A4D8.5807.E8ED16E@stuart.lexacorp.com.pg> Probably a stupid question, but given your problem with multiple instances of the same database- are you sure you have AllowMultiple set? On 25 Jan 2012 at 19:00, jwcolby wrote: > > Since I'm just learning C#, this might be a stupid question, but where are you defining > pDestFileSpec? It doesn't seem to be passed in. > > It is a property of the class which is initialized in the constructor. The constructor is passed a > recordset item, which reads properties from the table, things like source filespec, destination > address, IsExecutable, AllowMultiple etc. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/25/2012 5:14 PM, Arthur Fuller wrote: > > Since I'm just learning C#, this might be a stupid question, but where are > > you defining pDestFileSpec? It doesn't seem to be passed in. > > > > On Wed, Jan 25, 2012 at 2:48 PM, jwcolbywrote: > > > >> You might remember my discussing a C# program I am writing which I call > >> CopyAndRun (C&R). It basically is a table driven method of copying one or > >> more files from the network to the user's workstation and then executing > >> the (access) application. I use it for creating a directory and copying my > >> libs and access apps to the user's local c: drive. > >> > >> I use the following code to actually open the file: > >> > >> public void mExecuteFile() > >> { > >> //http://stackoverflow.com/**questions/5831844/tracking-** > >> multiple-processes-at-same-**time > >> try > >> { > >> System.Diagnostics.Process myProcess = new Process(); > >> myProcess.StartInfo.FileName = pDestFileSpec; > >> myProcess.StartInfo.**UseShellExecute = true; > >> Process.Start(pDestFileSpec); > >> } > >> catch (Exception) > >> { > >> throw; > >> } > >> } > >> -- > > > > Arthur > > Cell: 647.710.1314 > > > > Prediction is difficult, especially of the future. > > -- Niels Bohr > > _______________________________________________ > > 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 > > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From jwcolby at colbyconsulting.com Thu Jan 26 11:21:00 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 26 Jan 2012 12:21:00 -0500 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F20A4D8.5807.E8ED16E@stuart.lexacorp.com.pg> References: <4F205CA6.5070909@colbyconsulting.com>, , <4F20978F.7060206@colbyconsulting.com> <4F20A4D8.5807.E8ED16E@stuart.lexacorp.com.pg> Message-ID: <4F218B7C.6020905@colbyconsulting.com> Is this the thing that has to be modified directly in the registry? I ran across something like that and decided I wasn't going to do that. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/25/2012 7:56 PM, Stuart McLachlan wrote: > Probably a stupid question, but given your problem with multiple instances of the same > database- are you sure you have AllowMultiple set? > > On 25 Jan 2012 at 19:00, jwcolby wrote: > >> > Since I'm just learning C#, this might be a stupid question, but where are you defining >> pDestFileSpec? It doesn't seem to be passed in. >> >> It is a property of the class which is initialized in the constructor. The constructor is passed a >> recordset item, which reads properties from the table, things like source filespec, destination >> address, IsExecutable, AllowMultiple etc. >> >> John W. Colby >> Colby Consulting >> >> Reality is what refuses to go away >> when you do not believe in it >> >> On 1/25/2012 5:14 PM, Arthur Fuller wrote: >>> Since I'm just learning C#, this might be a stupid question, but where are >>> you defining pDestFileSpec? It doesn't seem to be passed in. >>> >>> On Wed, Jan 25, 2012 at 2:48 PM, jwcolbywrote: >>> >>>> You might remember my discussing a C# program I am writing which I call >>>> CopyAndRun (C&R). It basically is a table driven method of copying one or >>>> more files from the network to the user's workstation and then executing >>>> the (access) application. I use it for creating a directory and copying my >>>> libs and access apps to the user's local c: drive. >>>> >>>> I use the following code to actually open the file: >>>> >>>> public void mExecuteFile() >>>> { >>>> //http://stackoverflow.com/**questions/5831844/tracking-** >>>> multiple-processes-at-same-**time >>>> try >>>> { >>>> System.Diagnostics.Process myProcess = new Process(); >>>> myProcess.StartInfo.FileName = pDestFileSpec; >>>> myProcess.StartInfo.**UseShellExecute = true; >>>> Process.Start(pDestFileSpec); >>>> } >>>> catch (Exception) >>>> { >>>> throw; >>>> } >>>> } >>>> -- >>> >>> Arthur >>> Cell: 647.710.1314 >>> >>> Prediction is difficult, especially of the future. >>> -- Niels Bohr >>> _______________________________________________ >>> 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 >> >> > > -- > Stuart McLachlan > > Ph: +675 340 4392 > Mob: +675 7100 2028 > Web: http://www.lexacorp.com.pg > > _______________________________________________ > 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 Jan 26 15:20:20 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 27 Jan 2012 07:20:20 +1000 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F218B7C.6020905@colbyconsulting.com> References: <4F205CA6.5070909@colbyconsulting.com>, <4F20A4D8.5807.E8ED16E@stuart.lexacorp.com.pg>, <4F218B7C.6020905@colbyconsulting.com> Message-ID: <4F21C394.16316.12EEE024@stuart.lexacorp.com.pg> No, it's a Class property you mentioned: On 26 Jan 2012 at 12:21, jwcolby wrote: > Is this the thing that has to be modified directly in the registry? I ran across something like > that and decided I wasn't going to do that. > ... > >> It is a property of the class which is initialized in the constructor. The constructor is passed a > >> recordset item, which reads properties from the table, things like source filespec, destination > >> address, IsExecutable, AllowMultiple etc. > >> > >> John W. Colby > >> Colby Consulting > >> -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From stuart at lexacorp.com.pg Thu Jan 26 23:20:38 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 27 Jan 2012 15:20:38 +1000 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F205CA6.5070909@colbyconsulting.com> References: <4F205CA6.5070909@colbyconsulting.com> Message-ID: <4F223426.19386.72E5BE@stuart.lexacorp.com.pg> I just did a bit of playing with a call to ShellExecute which your System.Diagnostics.Process appears to be a wrapper for. You only get one instance if you set the Filename to yourMDB However, you can open multiple instances of the same MDB if you set the FileName = MSAccess.exe and the Parameters = yourMDB. Interestingly, I didn't need to put the path to MSAccess.exe in the ShellExecute() call even though it is not in my Path. Windows must be using the Registry to locate it. -- Stuart On 25 Jan 2012 at 14:48, jwcolby wrote: > You might remember my discussing a C# program I am writing which I call CopyAndRun (C&R). It > basically is a table driven method of copying one or more files from the network to the user's > workstation and then executing the (access) application. I use it for creating a directory and > copying my libs and access apps to the user's local c: drive. > > I use the following code to actually open the file: > > public void mExecuteFile() > { > //http://stackoverflow.com/questions/5831844/tracking-multiple-processes-at-same-time > try > { > System.Diagnostics.Process myProcess = new Process(); > myProcess.StartInfo.FileName = pDestFileSpec; > myProcess.StartInfo.UseShellExecute = true; > Process.Start(pDestFileSpec); > } > catch (Exception) > { > throw; > } > } > > Basically this hands off opening the file to Windows to use File Associations to figure out how to > open the file. This works well except that Windows will not open the same Access container (same > name) multiple times. Some of the users like to keep the FE open a couple of times. I worked > around this by adding an incrementing number to the file name until the file name is not in use > (open) and then copy to and use that file name. > > The other problem is that as the FE opens, C&R is not "finished" until the login stuff finishes (in > the FE). This one took awhile to figure out what was up. Apparently Process.Start does not return > until Access' thread goes idle. Sigh. I have not found a workaround for that yet. > > What that means is that the user cannot start multiple instances loading at the same time. Start > one, log in, start the next, log in, start the next etc. > > Other than that, it seems to work very nicely, and the file association thing does allow Access to > "just figure out" what program to use rather than my having to know the path to Access on each > user's workstation. > > I hope to call this one done. > > -- > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg From jwcolby at colbyconsulting.com Fri Jan 27 06:07:01 2012 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 27 Jan 2012 07:07:01 -0500 Subject: [dba-VB] CopyAndRun In-Reply-To: <4F223426.19386.72E5BE@stuart.lexacorp.com.pg> References: <4F205CA6.5070909@colbyconsulting.com> <4F223426.19386.72E5BE@stuart.lexacorp.com.pg> Message-ID: <4F229365.7060806@colbyconsulting.com> > However, you can open multiple instances of the same MDB if you set the FileName = MSAccess.exe and the Parameters = yourMDB. Cool! I never found this anywhere. > Interestingly, I didn't need to put the path to MSAccess.exe in the ShellExecute() call even though it is not in my Path. Windows must be using the Registry to locate it. This is why I use ShellExecute so that Windows figures out how to open it. I was having to find the path when I used batch files. Doing this straight from Access failed intermittently (for me). John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 1/27/2012 12:20 AM, Stuart McLachlan wrote: > I just did a bit of playing with a call to ShellExecute which your System.Diagnostics.Process > appears to be a wrapper for. > > You only get one instance if you set the Filename to yourMDB > > However, you can open multiple instances of the same MDB if you set the FileName = > MSAccess.exe and the Parameters = yourMDB. > > Interestingly, I didn't need to put the path to MSAccess.exe in the ShellExecute() call even > though it is not in my Path. Windows must be using the Registry to locate it. > > From fhtapia at gmail.com Fri Jan 27 10:01:13 2012 From: fhtapia at gmail.com (Francisco Tapia) Date: Fri, 27 Jan 2012 08:01:13 -0800 Subject: [dba-VB] C# - using SQL Server Express In-Reply-To: <4F146048.6040001@colbyconsulting.com> References: <4F144CC7.9090708@colbyconsulting.com> <001e01ccd46c$ff3372a0$fd9a57e0$@comcast.net> <4F146048.6040001@colbyconsulting.com> Message-ID: what about sqlite? I know you're concerned with scaling up, but you'd also want a smooth install for your game that doesn't step over anyone else's copy of sql express http://code.google.com/p/csharp-sqlite/ -Francisco http://bit.ly/sqlthis | Tsql and More... On Mon, Jan 16, 2012 at 09:37, jwcolby wrote: > The thing is that I am eventually shooting for a system where the game can > play over the internet or over a local LAN so it would be inconvenient to > use a single user database and then have to upgrade to a multi-user > database. > > I am trying to figure out WCF to see if I can build it using a WCF > service. Mostly just to try and wrap my mind around using WCF. I read the > first parts of a book (WCF Step by Step - John Sharp) but my mind resisted > the wrap last time. ;) > > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 1/16/2012 11:52 AM, David McAfee wrote: > >> I second Dan's comment, if you are using it only to store data for a >> single >> user. >> >> >> >> On Mon, Jan 16, 2012 at 8:36 AM, Dan Waters >> wrote: >> >> Take a look at SQL Compact. It's a MS product, and designed to be >>> embedded >>> into the assembly of a C#/VB.Net app. >>> >>> It's the equivalent of using local tables in an Access front end. >>> >>> If you need your gamers to be able to use a common database, then SQL >>> Compact won't work for that, but you could still use SQL Compact for >>> local >>> data and Express for common data. >>> >>> http://www.microsoft.com/**download/en/details.aspx?id=**7400 >>> >>> HTH! >>> Dan >>> >>> -----Original Message----- >>> From: dba-vb-bounces@**databaseadvisors.com >>> [mailto:dba-vb-bounces@**databaseadvisors.com] >>> On Behalf Of jwcolby >>> Sent: Monday, January 16, 2012 10:14 AM >>> To: VBA >>> Subject: [dba-VB] C# - using SQL Server Express >>> >>> I have been working on a small game, for which I need a database. It >>> will >>> be a single or multi-player game which means I need to be able to create >>> a >>> database and install SQL Server Express (for the standalone game) or >>> connect >>> to an database (for the multi-player game). While I am reasonably >>> conversant in databases, I have never had a C# program install SQL Server >>> Express. >>> >>> Once Express is installed, should I ship an empty database? Should I >>> generate scripts to create the tables and autofill the lookup tables? >>> >>> So much to know, so little time. >>> -- >>> John W. Colby >>> Colby Consulting >>> >>> Reality is what refuses to go away >>> when you do not believe in it >>> >>> ______________________________**_________________ >>> dba-VB mailing list >>> dba-VB at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/dba-vb >>> http://www.databaseadvisors.**com >>> >>> ______________________________**_________________ >>> dba-VB mailing list >>> dba-VB at databaseadvisors.com >>> http://databaseadvisors.com/**mailman/listinfo/dba-vb >>> http://www.databaseadvisors.**com >>> >>> >>> ______________________________**_________________ >> dba-VB mailing list >> dba-VB at databaseadvisors.com >> http://databaseadvisors.com/**mailman/listinfo/dba-vb >> http://www.databaseadvisors.**com >> >> >> > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From stuart at lexacorp.com.pg Fri Jan 27 16:17:25 2012 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 28 Jan 2012 08:17:25 +1000 Subject: [dba-VB] C# - using SQL Server Express In-Reply-To: References: <4F144CC7.9090708@colbyconsulting.com>, <4F146048.6040001@colbyconsulting.com>, Message-ID: <4F232275.9849.364758E@stuart.lexacorp.com.pg> If you use SQLite, when you from single user to mult user, you could use SQLitening which is a client/serwer wrapper to to the SQLLite DLL: http://www.planetsquires.com/sqlite_client_server.htm (it just happens to be developed entirely in PowerBasic ) -- Stuart On 27 Jan 2012 at 8:01, Francisco Tapia wrote: > what about sqlite? I know you're concerned with scaling up, but you'd also > want a smooth install for your game that doesn't step over anyone else's > copy of sql express > > http://code.google.com/p/csharp-sqlite/ > > -Francisco > http://bit.ly/sqlthis | Tsql and More... > > > > > > On Mon, Jan 16, 2012 at 09:37, jwcolby wrote: > > > The thing is that I am eventually shooting for a system where the game can > > play over the internet or over a local LAN so it would be inconvenient to > > use a single user database and then have to upgrade to a multi-user > > database. > > > > I am trying to figure out WCF to see if I can build it using a WCF > > service. Mostly just to try and wrap my mind around using WCF. I read the > > first parts of a book (WCF Step by Step - John Sharp) but my mind resisted > > the wrap last time. ;) > > > > > > John W. Colby > > Colby Consulting > > > > Reality is what refuses to go away > > when you do not believe in it > > > > On 1/16/2012 11:52 AM, David McAfee wrote: > > > >> I second Dan's comment, if you are using it only to store data for a > >> single > >> user. > >> > >> > >> > >> On Mon, Jan 16, 2012 at 8:36 AM, Dan Waters > >> wrote: > >> > >> Take a look at SQL Compact. It's a MS product, and designed to be > >>> embedded > >>> into the assembly of a C#/VB.Net app. > >>> > >>> It's the equivalent of using local tables in an Access front end. > >>> > >>> If you need your gamers to be able to use a common database, then SQL > >>> Compact won't work for that, but you could still use SQL Compact for > >>> local > >>> data and Express for common data. > >>> > >>> http://www.microsoft.com/**download/en/details.aspx?id=**7400 > >>> > >>> HTH! > >>> Dan > >>> > >>> -----Original Message----- > >>> From: dba-vb-bounces@**databaseadvisors.com > >>> [mailto:dba-vb-bounces@**databaseadvisors.com] > >>> On Behalf Of jwcolby > >>> Sent: Monday, January 16, 2012 10:14 AM > >>> To: VBA > >>> Subject: [dba-VB] C# - using SQL Server Express > >>> > >>> I have been working on a small game, for which I need a database. It > >>> will > >>> be a single or multi-player game which means I need to be able to create > >>> a > >>> database and install SQL Server Express (for the standalone game) or > >>> connect > >>> to an database (for the multi-player game). While I am reasonably > >>> conversant in databases, I have never had a C# program install SQL Server > >>> Express. > >>> > >>> Once Express is installed, should I ship an empty database? Should I > >>> generate scripts to create the tables and autofill the lookup tables? > >>> > >>> So much to know, so little time. > >>> -- > >>> John W. Colby > >>> Colby Consulting > >>> > >>> Reality is what refuses to go away > >>> when you do not believe in it > >>> > >>> ______________________________**_________________ > >>> dba-VB mailing list > >>> dba-VB at databaseadvisors.com > >>> http://databaseadvisors.com/**mailman/listinfo/dba-vb > >>> http://www.databaseadvisors.**com > >>> > >>> ______________________________**_________________ > >>> dba-VB mailing list > >>> dba-VB at databaseadvisors.com > >>> http://databaseadvisors.com/**mailman/listinfo/dba-vb > >>> http://www.databaseadvisors.**com > >>> > >>> > >>> ______________________________**_________________ > >> dba-VB mailing list > >> dba-VB at databaseadvisors.com > >> http://databaseadvisors.com/**mailman/listinfo/dba-vb > >> http://www.databaseadvisors.**com > >> > >> > >> > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > http://www.databaseadvisors.**com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > -- Stuart McLachlan Ph: +675 340 4392 Mob: +675 7100 2028 Web: http://www.lexacorp.com.pg