From jwcolby at colbyconsulting.com Tue Nov 1 14:44:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 15:44:53 -0400 Subject: [dba-VB] Unhooking events while they are running Message-ID: <4EB04C35.4010201@colbyconsulting.com> I am using the directory watcher class. When the parent class to start, it hooks the events and when it is told to stop it unhooks the events. My question is simply that events are asynchronous and as such could occur at the same instant that the parent class is being told to stop. I use a boolean evFileDeletedIsRunning flag which the event sets as the first line inside of that event and clears as the last line of the event. I then check this flag before unhooking the event. Is this adequate protection? What happens if an event is unhooked while the event sink is running? Is it a page fault or something less catastrophic? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From stuart at lexacorp.com.pg Tue Nov 1 16:33:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2011 07:33:51 +1000 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB04C35.4010201@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> Message-ID: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> To quote MS: A hook is a point in the system message-handling mechanism where an application can install a subroutine to monitor the message traffic in the system and process certain types of messages before they reach the target window procedure. Is that what you are actually doing i.e. "intercepting" and acting on messages intended for another target ? Or are you just using a FileSystemWatcher, which is basically a wrapper for WaitForSingleObject in Kernel32.DLL, to monitor changes? If the latter, I'd say you solution is quite adequate. On 1 Nov 2011 at 15:44, jwcolby wrote: > I am using the directory watcher class. When the parent class to > start, it hooks the events and when it is told to stop it unhooks the > events. > > My question is simply that events are asynchronous and as such could > occur at the same instant that the parent class is being told to stop. > I use a boolean evFileDeletedIsRunning flag which the event sets as > the first line inside of that event and clears as the last line of the > event. I then check this flag before unhooking the event. > > Is this adequate protection? What happens if an event is unhooked > while the event sink is running? > Is it a page fault or something less catastrophic? > > -- > 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 Tue Nov 1 16:42:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 17:42:35 -0400 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> Message-ID: <4EB067CB.7080100@colbyconsulting.com> I am just using filesystemwatcher. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/1/2011 5:33 PM, Stuart McLachlan wrote: > To quote MS: A hook is a point in the system message-handling mechanism where an > application can install a subroutine to monitor the message traffic in the system and process > certain types of messages before they reach the target window procedure. > > Is that what you are actually doing i.e. "intercepting" and acting on messages intended for > another target ? > > Or are you just using a FileSystemWatcher, which is basically a wrapper for > WaitForSingleObject in Kernel32.DLL, to monitor changes? > > If the latter, I'd say you solution is quite adequate. > > > > On 1 Nov 2011 at 15:44, jwcolby wrote: > >> I am using the directory watcher class. When the parent class to >> start, it hooks the events and when it is told to stop it unhooks the >> events. >> >> My question is simply that events are asynchronous and as such could >> occur at the same instant that the parent class is being told to stop. >> I use a boolean evFileDeletedIsRunning flag which the event sets as >> the first line inside of that event and clears as the last line of the >> event. I then check this flag before unhooking the event. >> >> Is this adequate protection? What happens if an event is unhooked >> while the event sink is running? >> Is it a page fault or something less catastrophic? >> >> -- >> 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 Wed Nov 2 07:41:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Nov 2011 08:41:21 -0400 Subject: [dba-VB] Owner scope Message-ID: <4EB13A71.4000802@colbyconsulting.com> A couple of questions: We use the term parent for inheritance. What is the term for the "owner" of a variable or class. IOW I use a RunState class. A process class can have class level variables which are initialized to instances of this class. Thus (in my terminology) the class "owns" these RunState class instances. What I am windering is if there is a OO term for this "owner" concept. Next question. The run state class has methods and properties. Some of the methods, specifically the Start method should be visible from the object trying to "start" the process. Other methods should only be called from the "owner" of the RunState class. What is the syntax for scope to make some properties and methods only visible from the owner side? I am trying to build a state machine where the RunState class starts at state Stopped. clsRunState has 4 states. 1) Stopped 2) Starting 3) Started 4) Stopped State changes can only be done by clsRunState, IOW it is not possible to directly set the RunState from outside of clsRunState. This allows clsRunState to enforce the state machine rules / transitions. clsRunState has 5 methods 1) mStart - called by the external process starting this process 2) mInitialized - Called by the owner to signal that Initialization completed 3) mInitFailed - Called by the owner to indicate that initialization failed, passing in error info 4) mStop - Called by the external process or the owner to trigger cleanup and stopping 5) mTerminated - called by the owner to signal that termination is complete clsRunState has 2 events 1) evInitialize - Raised by mStart() and sunk by the owner to trigger initialization code. 2) evTerminate - Raised by mStop() and sunk by the owner to trigger cleanup and shutdown. 1) The process is started when an external process calls the clsRunState.mStart() method (from outside of the owner). If the state was Stopped when entering mStart, then clsRunState sets the state to Starting and raises an evInitialize event which is sunk in the "owner" (whatever we are calling that). If the state was not Stopped when clsRunState.mStart() is called then the method just returns, doing nothing. The owner sinks the evInitialize and performs initialization. If the initialization works then the owner calls the clsRunState.mInitialized() method which sets the RunState to Started. If initialization fails then the the owner calls clsRunState.mInitFailed() passing in a fail text message which is stored in a property for the external process to read. clsRunState.mInitFailed() then sets the RunState to Stopped. The external process or the owner can call clsRunState.mStop(). clsRunState.mStop() sets the RunState to Stopping and raises the evTerminate event which is sunk by the owner and is used to trigger cleanup of the process controlled by the RunState class. When the owner finishes all termination processes the owner calls clsRunState.mTerminated() which sets the RunState to Stopped. I need the scope syntax to prevent the external process from calling methods that only the owner is supposed to call. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 5 11:29:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 12:29:57 -0400 Subject: [dba-VB] C# Scope Message-ID: <4EB56485.70602@colbyconsulting.com> Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From shamil at smsconsulting.spb.ru Sat Nov 5 11:56:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 19:56:58 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56485.70602@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> Message-ID: John, If you put class runState and class myClassParent in one class library and class myGrandParent in another class library referencing the first one then the following code would be the scoping solution you're looking for: ==== classlib1 ==== public class runState { public ... mStart() {...} internal ... mStarted() {...} } public class myClassParent { runState myRunState } ===== classlib2 === public class myGrandParent { myClassParent MyClassParent; } Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 19:30 To: VBA Subject: [dba-VB] C# Scope Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- 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 Sat Nov 5 12:11:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:11:52 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56E58.7050205@colbyconsulting.com> Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From jwcolby at colbyconsulting.com Sat Nov 5 12:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:15:35 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56F37.7060802@colbyconsulting.com> The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From shamil at smsconsulting.spb.ru Sat Nov 5 13:32:13 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 21:32:13 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56E58.7050205@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: No, John, I mean a separate assembly/project with type ClassLibrary. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:12 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Nov 5 13:57:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 14:57:28 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: <4EB58718.3050408@colbyconsulting.com> Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class library >> and class myGrandParent in another class library referencing the first >> one then the following code would be the scoping solution you're looking > for: From shamil at smsconsulting.spb.ru Sat Nov 5 14:25:52 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:25:52 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56F37.7060802@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56F37.7060802@colbyconsulting.com> Message-ID: <0D5030F160A94419BB8D91720010D635@nant> John -- Sorry, I don't know what to say/advise here - I don't understand the reasoning... I personally routinely use inheritance or composition or delegation, and I usually do not care that much about scope: I do keep most of the stuff private or protected, and when needed I do make it internal or public... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:16 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Sat Nov 5 14:47:18 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:47:18 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB58718.3050408@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com><4EB56E58.7050205@colbyconsulting.com> <4EB58718.3050408@colbyconsulting.com> Message-ID: John -- With manager and supervisor classes being together in other classlibrary than RunState class you can try to use inheritance - inherit RunState by RunState1(for manager) and RunState2(for supervisor) then use delegation... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 21:57 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class >> library and class myGrandParent in another class library referencing >> the first one then the following code would be the scoping solution >> you're looking > for: _______________________________________________ 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 Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-VB] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From accessd at shaw.ca Wed Nov 9 16:13:23 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 14:13:23 -0800 Subject: [dba-VB] Silverlight dead In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: As mentioned many time before, Silverlight was a dead application before even got out there. http://www.zdnet.com/blog/microsoft/will-there-be-a-silverlight-6-and-does-i t-matter/11180 Flash is dead too and it is about time and Adobe is developing its replacement product called Edge. We will now have to learn how to use the Open Standards of HTML5 and CSS3. As a web developer all I can say it is it is a very good day. :-) Jim From jeff.developer at gmail.com Thu Nov 10 16:33:56 2011 From: jeff.developer at gmail.com (Jeff B) Date: Thu, 10 Nov 2011 16:33:56 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET Message-ID: Does anyone here have experience writing web pages in ASP.NET that require online signatures? I have a website ALMOST finished that needs users to sign on an iPad and I need to capture the signature, save it into an SQL Server 2005 database, and extract the signature back out to a PDF. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From davidmcafee at gmail.com Thu Nov 10 16:37:36 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 10 Nov 2011 14:37:36 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: My coworker is doing that very same thing, but I believe in C#. This is where he went for the custom control: realsignature.com He said it includes the license file. It looks like they have VB.Net samples on their site. HTH, David On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > Does anyone here have experience writing web pages in ASP.NET that require > online signatures? I have a website ALMOST finished that needs users to > sign on an iPad and I need to capture the signature, save it into an SQL > Server 2005 database, and extract the signature back out to a PDF. > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > > > _______________________________________________ > 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 Thu Nov 10 18:01:18 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 10 Nov 2011 16:01:18 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs users to > > sign on an iPad and I need to capture the signature, save it into an SQL > > Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 jeff.developer at gmail.com Fri Nov 11 07:30:48 2011 From: jeff.developer at gmail.com (Jeff B) Date: Fri, 11 Nov 2011 07:30:48 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: <003001cca076$20a08e80$61e1ab80$@gmail.com> OK, I guess I need to add some more information. We purchased a signature control from WebSignatureCapture. When I discovered that their control would not work for our site, they referred me to their sister-site, SuperSignature. I have worked with their support team as I could not get the signature box to show up on the published site, (it was a VS 2010 issue). It now appears that things are working ok, but I want to verify that the image is actually being stored in SQL, and I am currently having issues retrieving the image from SQL. Does anyone have some code they are willing to share that retrieves images? And the code you use to store it? (if I am not asking for too much?) Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, November 10, 2011 6:01 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs > > users to sign on an iPad and I need to capture the signature, save > > it into an SQL Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 dbdoug at gmail.com Fri Nov 11 10:03:56 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 11 Nov 2011 08:03:56 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: <003001cca076$20a08e80$61e1ab80$@gmail.com> References: <003001cca076$20a08e80$61e1ab80$@gmail.com> Message-ID: Hi Jeff: We just use SuperSignature as they suggested - to save a file to a folder on the server. But I do retrieve the signature data first as a System.Drawing.Bitmap, then convert it to a jpg and save it. I assume that you could write the Bitmap to a blob field in SQL. Sorry, the code is C#: // signature is returned as bitmap if no path specified System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); if (!ctlSignature.SignHasError) { // Save the image in JPEG format. BM.Save(Server.MapPath("~/sigs/sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); } else { Response.Write("Error:" + ctlSignature.SignInternalError); } Hope this helps! Doug On Fri, Nov 11, 2011 at 5:30 AM, Jeff B wrote: > OK, I guess I need to add some more information. > > We purchased a signature control from WebSignatureCapture. When I > discovered that their control would not work for our site, they referred me > to their sister-site, SuperSignature. > > I have worked with their support team as I could not get the signature box > to show up on the published site, (it was a VS 2010 issue). > > It now appears that things are working ok, but I want to verify that the > image is actually being stored in SQL, and I am currently having issues > retrieving the image from SQL. Does anyone have some code they are willing > to share that retrieves images? And the code you use to store it? (if I > am > not asking for too much?) > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, November 10, 2011 6:01 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET > > I did this for a client's app (in C#). We went with SuperSignature: > > http://www.supersignature.com/ > > If I remember, SuperSignature had a lot fewer options than RealSignature, > but did what we wanted (simple signature capture on a web app focused on > iPhone use) and was considerably cheaper. > > Their copy protection is a little quirky, but their tech support was > helpful. > > Doug > > On Thu, Nov 10, 2011 at 2:37 PM, David McAfee > wrote: > > > My coworker is doing that very same thing, but I believe in C#. > > > > This is where he went for the custom control: realsignature.com > > > > He said it includes the license file. > > > > It looks like they have VB.Net samples on their site. > > > > HTH, > > David > > > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B > wrote: > > > > > Does anyone here have experience writing web pages in ASP.NET that > > require > > > online signatures? I have a website ALMOST finished that needs > > > users to sign on an iPad and I need to capture the signature, save > > > it into an SQL Server 2005 database, and extract the signature back out > to a PDF. > > > > > > > > > Jeff Barrows > > > MCP, MCAD, MCSD > > > > > > Outbak Technologies, LLC > > > Racine, WI > > > jeff.developer at gmail.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 > > From newsgrps at dalyn.co.nz Sun Nov 13 20:00:43 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 14 Nov 2011 15:00:43 +1300 Subject: [dba-VB] Which version of Visual Studio Message-ID: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Ok - Here goes for my first post to this group. I currently have Visual Studio 2005 Professional installed which I have done some playing around on. I know this is getting a little old (like me). I am wanting to get more familiar with dot net and application development. Should I continue to use this to get more familiar with the dot net environment or should I get a later version (if so which one?). What are the advantages/disadvantages of each approach (apart from cost which is a big disincentive). The Express Visual Studio 2010 products don't seem to have enough features (for example the one dot net web application I do support is in vb.net but VS 2010 Express documentation doesn't seem to indicate that vb.net is included). Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Sun Nov 13 22:00:13 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 13 Nov 2011 20:00:13 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I have > done some playing around on. I know this is getting a little old (like > me). I am wanting to get more familiar with dot net and application > development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What are > the advantages/disadvantages of each approach (apart from cost which is a > big disincentive). The Express Visual Studio 2010 products don't seem to > have enough features (for example the one dot net web application I do > support is in vb.net but VS 2010 Express documentation doesn't seem to > indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From df.waters at comcast.net Mon Nov 14 08:27:58 2011 From: df.waters at comcast.net (Dan Waters) Date: Mon, 14 Nov 2011 08:27:58 -0600 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <002301cca2d9$9bc20b10$d3462130$@comcast.net> I disagree on automatically taking the plunge on C#. The two languages, vb.net and C# are now, with .Net 4 and Visual Studio 2010, almost identical, and MS will probably make them absolutely identical in one of the next versions. As a relative newcomer, you won't see the differences for a while. So, because there is no intrinsic advantage for either language, it's just your personal preference. In addition, I've found that the more I write in VB, the easier it is to read something in C# and understand what's happening (converting code and comparing line for line helps with this as well). Also, I've been programming in VB.Net for about 6 months, and have never not been able to find examples using VB.Net. In fact, I'd say that about 40% are in VB.Net, and the rest in C#. If you find an interesting example in C#, you can usually convert it here: http://converter.telerik.com/. Sometimes I will suffix my searches with '-C#' so that only VB.Net examples come up, and I can more quickly get what I'm looking for. Of course, if you are going to be programming within a group of C# developers, then you need to learn the language. If you're going to be programming on your own, which it sounds like you're doing, then I'd say skip the 'tiny brain exploding transition' and start with VB.Net. That's plenty of a learning curve just with the transition to any .Net language. I do prefer VB for at least one reason: VB is not case sensitive while C# is. For example, the variable 'stgPerson' in VB is the same as when you type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' and 'stgperson' as two separate variables, and I don't see how that would be helpful. Many C# developers will often say that 'C# rules the world' and so on. Not true. I think it's the same attitude that IT people have for Access. They want to be 'superior' and do the 'true' language. The truth is it's not that simple. You might want to write a small app in both languages, and see which one works for you. It's been a while, but I believe that there are separate VS 2010 Express downloads for each of the different languages. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, November 13, 2011 10:00 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Which version of Visual Studio Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I > have done some playing around on. I know this is getting a little old > (like me). I am wanting to get more familiar with dot net and > application development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What > are the advantages/disadvantages of each approach (apart from cost > which is a big disincentive). The Express Visual Studio 2010 products > don't seem to have enough features (for example the one dot net web > application I do support is in vb.net but VS 2010 Express > documentation doesn't seem to indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb dvisors.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 mcp2004 at mail.ru Mon Nov 14 15:05:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 01:05:41 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <002301cca2d9$9bc20b10$d3462130$@comcast.net> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Hi Dan -- > I do prefer VB for at least one reason: > VB is not case sensitive while C# is. I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). I can provide my reasoning but would it make any difference there? BTW, there are many "indirect signs" that C# is "superior" than VB.NET, e.g. DotNetNuke code base moved from VB.NET to C#, as well as another large commercial Internet shopping applications I have worked with... Why they did that? Recap: when moving into .NET development from any other system I'd recommend to use C#. If you have already a large code base developed using VB.NET then you should be safe to continue using VB.NET. Thank you. -- Shamil 14 ?????? 2011, 18:29 ?? "Dan Waters" : > I disagree on automatically taking the plunge on C#. > > The two languages, vb.net and C# are now, with .Net 4 and Visual Studio > 2010, almost identical, and MS will probably make them absolutely identical > in one of the next versions. As a relative newcomer, you won't see the > differences for a while. So, because there is no intrinsic advantage for > either language, it's just your personal preference. In addition, I've > found that the more I write in VB, the easier it is to read something in C# > and understand what's happening (converting code and comparing line for line > helps with this as well). > > Also, I've been programming in VB.Net for about 6 months, and have never not > been able to find examples using VB.Net. In fact, I'd say that about 40% > are in VB.Net, and the rest in C#. If you find an interesting example in > C#, you can usually convert it here: http://converter.telerik.com/. > Sometimes I will suffix my searches with '-C#' so that only VB.Net examples > come up, and I can more quickly get what I'm looking for. > > Of course, if you are going to be programming within a group of C# > developers, then you need to learn the language. If you're going to be > programming on your own, which it sounds like you're doing, then I'd say > skip the 'tiny brain exploding transition' and start with VB.Net. That's > plenty of a learning curve just with the transition to any .Net language. > > I do prefer VB for at least one reason: VB is not case sensitive while C# > is. For example, the variable 'stgPerson' in VB is the same as when you > type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' > and 'stgperson' as two separate variables, and I don't see how that would be > helpful. > > Many C# developers will often say that 'C# rules the world' and so on. Not > true. I think it's the same attitude that IT people have for Access. They > want to be 'superior' and do the 'true' language. The truth is it's not > that simple. > > You might want to write a small app in both languages, and see which one > works for you. > > It's been a while, but I believe that there are separate VS 2010 Express > downloads for each of the different languages. > > Good Luck! > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, November 13, 2011 10:00 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Which version of Visual Studio > > Apart from anything else, I think you should just take the plunge and start > using C#. It appears to be the language of choice for .Net developers. > Whenever you search for for .Net programming advice on the web, 99% of the > explanations and examples will be in C#. > > The transition from VB to C# will be, from my experience at least, a tiny > part of the brain exploding transition from Access/VBA to .Net. > > And if you're thinking of making web apps, my advice would be to start right > in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, > and I found the whole system to be really difficult to work with. > I thought it was just my advanced years and calcified brain, but I've > started working with MVC and it is, to my mind, much more straightforward. > > Doug > > On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > > > Ok - Here goes for my first post to this group. > > > > I currently have Visual Studio 2005 Professional installed which I > > have done some playing around on. I know this is getting a little old > > (like me). I am wanting to get more familiar with dot net and > > application development. > > > > Should I continue to use this to get more familiar with the dot net > > environment or should I get a later version (if so which one?). What > > are the advantages/disadvantages of each approach (apart from cost > > which is a big disincentive). The Express Visual Studio 2010 products > > don't seem to have enough features (for example the one dot net web > > application I do support is in vb.net but VS 2010 Express > > documentation doesn't seem to indicate that vb.net is included). > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > dvisors.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 davidmcafee at gmail.com Mon Nov 14 15:15:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:15:27 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Shamil, why do you prefer case sensitivity? That is one of my most common mistakes when developing in C, C#, Java, Android(Java). Just wondering, David On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > Hi Dan -- > > > I do prefer VB for at least one reason: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > 10+ years). > I can provide my reasoning but would it make any difference there? > > Thank you. > > -- Shamil > > > 14 ?????? 2011, 18:29 ?? "Dan Waters" : > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > is. For example, the variable 'stgPerson' in VB is the same as when you > > type 'stgperson'; VB will change the case for you. But C# sees > 'stgPerson' > > and 'stgperson' as two separate variables, and I don't see how that > would be > > helpful. > > > > Good Luck! > > Dan > From stuart at lexacorp.com.pg Mon Nov 14 15:18:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:18:48 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <002301cca2d9$9bc20b10$d3462130$@comcast.net>, Message-ID: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Go on, we haven't had a good flame war on any of the dba lists for ages. The Natural/Surrogate and Bound/Unbound issues are dead. ;-) -- Stuart On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > I can provide my reasoning but would it make any difference there? > From stuart at lexacorp.com.pg Mon Nov 14 15:21:44 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:21:44 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Here we go, grab your tin hats everyone and duck for cover :-) -- Stuart On 14 Nov 2011 at 13:15, David McAfee wrote: > Shamil, why do you prefer case sensitivity? > > That is one of my most common mistakes when developing in C, C#, Java, > Android(Java). > > Just wondering, > > David > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > > > Hi Dan -- > > > > > I do prefer VB for at least one reason: > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > > 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > > > Thank you. > > > > -- Shamil > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > > is. For example, the variable 'stgPerson' in VB is the same as when you > > > type 'stgperson'; VB will change the case for you. But C# sees > > 'stgPerson' > > > and 'stgperson' as two separate variables, and I don't see how that > > would be > > > helpful. > > > > > > Good Luck! > > > Dan > > > _______________________________________________ > 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 Mon Nov 14 15:26:01 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:26:01 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: :) One of my pet peeves is when variables are used that are the opposite case of a reserved word. String string = "StRiNg"; On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan wrote: > Here we go, grab your tin hats everyone and duck for cover :-) > > -- > Stuart > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > Shamil, why do you prefer case sensitivity? > > > > That is one of my most common mistakes when developing in C, C#, Java, > > Android(Java). > > > > Just wondering, > > > > David > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil >wrote: > > > > > Hi Dan -- > > > > > > > I do prefer VB for at least one reason: > > > > VB is not case sensitive while C# is. > > > I'm not arguing - that's funny: I, personally, dislike VB.NET because > it > > > is *not* case sensitive :) (And I have been programming using VBA/VB6 > for > > > 10+ years). > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > -- Shamil > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive > while C# > > > > is. For example, the variable 'stgPerson' in VB is the same as when > you > > > > type 'stgperson'; VB will change the case for you. But C# sees > > > 'stgPerson' > > > > and 'stgperson' as two separate variables, and I don't see how that > > > would be > > > > helpful. > > > > > > > > Good Luck! > > > > Dan > > > > > _______________________________________________ > > 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 newsgrps at dalyn.co.nz Mon Nov 14 16:23:03 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 15 Nov 2011 11:23:03 +1300 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Here is a related question to variable names. I read somewhere that Hungarian naming convention is not now supported by Microsoft and they prefer not to include the type as a prefix. What could be the reason for this? I know there are more tooltips to help identify a variable but this is no help if you are looking at printed code. David At 15/11/2011, David McAfee wrote: >:) > >One of my pet peeves is when variables are used that are the opposite case >of a reserved word. > > >String string = "StRiNg"; > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >wrote: > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > -- > > Stuart > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > Shamil, why do you prefer case sensitivity? > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > Android(Java). > > > > > > Just wondering, > > > > > > David > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > >wrote: > > > > > > > Hi Dan -- > > > > > > > > > I do prefer VB for at least one reason: > > > > > VB is not case sensitive while C# is. > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > because it > > > > is *not* case sensitive :) (And I have been programming using > VBA/VB6 for > > > > 10+ years). > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > Thank you. > > > > > > > > -- Shamil > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > I do prefer VB for at least one reason: VB is not case > sensitive while C# > > > > > is. For example, the variable 'stgPerson' in VB is the > same as when you > > > > > type 'stgperson'; VB will change the case for you. But C# > sees 'stgPerson' > > > > > and 'stgperson' as two separate variables, and I don't see > how that would be > > > > > helpful. > > > > > > > > > > Good Luck! > > > > > Dan From davidmcafee at gmail.com Mon Nov 14 16:28:32 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 14:28:32 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I still use it (or a variation of it), even in other languages. On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and they > prefer not to include the type as a prefix. What could be the reason for > this? I know there are more tooltips to help identify a variable but this > is no help if you are looking at printed code. > > David > > > At 15/11/2011, David McAfee wrote: > >> :) >> >> One of my pet peeves is when variables are used that are the opposite case >> of a reserved word. >> >> >> String string = "StRiNg"; >> >> >> >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: >> >> > Here we go, grab your tin hats everyone and duck for cover :-) >> > >> > -- >> > Stuart >> > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: >> > >> > > Shamil, why do you prefer case sensitivity? >> > > >> > > That is one of my most common mistakes when developing in C, C#, Java, >> > > Android(Java). >> > > >> > > Just wondering, >> > > >> > > David >> > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < >> mcp2004 at mail.ru >> > >wrote: >> > > >> > > > Hi Dan -- >> > > > >> > > > > I do prefer VB for at least one reason: >> > > > > VB is not case sensitive while C# is. >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it >> > > > is *not* case sensitive :) (And I have been programming using >> VBA/VB6 for >> > > > 10+ years). >> > > > I can provide my reasoning but would it make any difference there? >> > > > >> > > > Thank you. >> > > > >> > > > -- Shamil >> > > > >> > > > >> > > > 14 2011, 18:29 "Dan Waters" : >> > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive >> while C# >> > > > > is. For example, the variable 'stgPerson' in VB is the same as >> when you >> > > > > type 'stgperson'; VB will change the case for you. But C# sees >> 'stgPerson' >> > > > > and 'stgperson' as two separate variables, and I don't see how >> that would be >> > > > > helpful. >> > > > > >> > > > > Good Luck! >> > > > > Dan >> > > ______________________________**_________________ > 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 Mon Nov 14 16:47:21 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:47:21 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Hi David -- Have a look: http://thejoyofcode.com/_NET_Naming_Conventions.aspx http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices http://msdn.microsoft.com/en-us/library/ms229045.aspx Hungarian notation is depreciated for .NET languages, still Hungarian notation "dialect" (LRNC) is widely used in VBA world, and VB6 code does use both "classical" Hungarian notation or LRNC... Thank you. -- Shamil 15 ?????? 2011, 02:24 ?? David Emerson : > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and > they prefer not to include the type as a prefix. What could be the > reason for this? I know there are more tooltips to help identify a > variable but this is no help if you are looking at printed code. > > David > > At 15/11/2011, David McAfee wrote: > >:) > > > >One of my pet peeves is when variables are used that are the opposite case > >of a reserved word. > > > > > >String string = "StRiNg"; > > > > > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: > > > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > > > -- > > > Stuart > > > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > > > Shamil, why do you prefer case sensitivity? > > > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > > Android(Java). > > > > > > > > Just wondering, > > > > > > > > David > > > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > > >wrote: > > > > > > > > > Hi Dan -- > > > > > > > > > > > I do prefer VB for at least one reason: > > > > > > VB is not case sensitive while C# is. > > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > > because it > > > > > is *not* case sensitive :) (And I have been programming using > > VBA/VB6 for > > > > > 10+ years). > > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > > > > > -- Shamil > > > > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case > > sensitive while C# > > > > > > is. For example, the variable 'stgPerson' in VB is the > > same as when you > > > > > > type 'stgperson'; VB will change the case for you. But C# > > sees 'stgPerson' > > > > > > and 'stgperson' as two separate variables, and I don't see > > how that would be > > > > > > helpful. > > > > > > > > > > > > Good Luck! > > > > > > Dan > > _______________________________________________ > 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 Mon Nov 14 16:50:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:50:05 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- I'm off - 2:49 a.m. here - your turn now :) Thank you. -- Shamil 15 ?????? 2011, 01:19 ?? "Stuart McLachlan" : > Go on, we haven't had a good flame war on any of the dba lists for ages. > > The Natural/Surrogate and Bound/Unbound issues are dead. > > ;-) > > -- > Stuart > > On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > From stuart at lexacorp.com.pg Mon Nov 14 16:50:43 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 08:50:43 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, Message-ID: <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and they > > prefer not to include the type as a prefix. What could be the reason for > > this? I know there are more tooltips to help identify a variable but this > > is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the opposite case > >> of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, C#, Java, > >> > > Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it > >> > > > is *not* case sensitive :) (And I have been programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > http://www.databaseadvisors.**com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Mon Nov 14 20:09:44 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2011 13:09:44 +1100 Subject: [dba-VB] Which version of Visual Studio References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Hi Stuart, Your code below would return the wrong result here in OZ ;-) In .net you should probably cast to datetime and use the month property to return either a string or int as required. C# or VB doesn't matter though I prefer C#. I use VB only when I have to. Cheers Michael M Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and > > they prefer not to include the type as a prefix. What could be the > > reason for this? I know there are more tooltips to help identify a > > variable but this is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the > >> opposite case of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >> >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, > >> > > C#, Java, Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > >> > > > programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > >> > > > > sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the > >> > > > > same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# > >> > > > > sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see > >> > > > > how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > eadvisors.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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 From stuart at lexacorp.com.pg Mon Nov 14 21:33:35 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 13:33:35 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Message-ID: <4EC1DD8F.14609.1F7FAF85@stuart.lexacorp.com.pg> No it wouldn't ;-) Here in PNG we use the same format as OZ. Date$ in various BASIC dialects is not locale aware. It always returns mm-dd-yyyy. That's why I have numerous functions which parse out strMonth, lngMonthetc and do different manipulations on the parts. -- Stuart On 15 Nov 2011 at 13:09, Michael Maddison wrote: > Hi Stuart, > > Your code below would return the wrong result here in OZ ;-) > > In .net you should probably cast to datetime and use the month property > to return either a string or int as required. > C# or VB doesn't matter though I prefer C#. I use VB only when I have > to. > > Cheers > > Michael M > > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables > depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > On 14 Nov 2011 at 14:28, David McAfee wrote: > > > I still use it (or a variation of it), even in other languages. > > > > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson > wrote: > > > > > Here is a related question to variable names. I read somewhere that > > > > Hungarian naming convention is not now supported by Microsoft and > > > they prefer not to include the type as a prefix. What could be the > > > reason for this? I know there are more tooltips to help identify a > > > variable but this is no help if you are looking at printed code. > > > > > > David > > > > > > > > > At 15/11/2011, David McAfee wrote: > > > > > >> :) > > >> > > >> One of my pet peeves is when variables are used that are the > > >> opposite case of a reserved word. > > >> > > >> > > >> String string = "StRiNg"; > > >> > > >> > > >> > > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > > >> > >> >wrote: > > >> > > >> > Here we go, grab your tin hats everyone and duck for cover :-) > > >> > > > >> > -- > > >> > Stuart > > >> > > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > > >> > > > >> > > Shamil, why do you prefer case sensitivity? > > >> > > > > >> > > That is one of my most common mistakes when developing in C, > > >> > > C#, Java, Android(Java). > > >> > > > > >> > > Just wondering, > > >> > > > > >> > > David > > >> > > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > > >> mcp2004 at mail.ru > > >> > >wrote: > > >> > > > > >> > > > Hi Dan -- > > >> > > > > > >> > > > > I do prefer VB for at least one reason: > > >> > > > > VB is not case sensitive while C# is. > > >> > > > I'm not arguing - that's funny: I, personally, dislike > > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > > >> > > > programming using > > >> VBA/VB6 for > > >> > > > 10+ years). > > >> > > > I can provide my reasoning but would it make any difference > there? > > >> > > > > > >> > > > Thank you. > > >> > > > > > >> > > > -- Shamil > > >> > > > > > >> > > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > > >> > > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > > >> > > > > sensitive > > >> while C# > > >> > > > > is. For example, the variable 'stgPerson' in VB is the > > >> > > > > same as > > >> when you > > >> > > > > type 'stgperson'; VB will change the case for you. But C# > > >> > > > > sees > > >> 'stgPerson' > > >> > > > > and 'stgperson' as two separate variables, and I don't see > > >> > > > > how > > >> that would be > > >> > > > > helpful. > > >> > > > > > > >> > > > > Good Luck! > > >> > > > > Dan > > >> > > > > > > ______________________________**_________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > eadvisors.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 > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 > > _______________________________________________ > 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 Nov 15 10:34:38 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2011 17:34:38 +0100 Subject: [dba-VB] Which version of Visual Studio Message-ID: Hi Stuart You could but you didn't as that would have been sloppy code ... In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. /gustav >>> "Stuart McLachlan" 14-11-2011 23:50 >>> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart From stuart at lexacorp.com.pg Tue Nov 15 16:07:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2011 08:07:45 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: Message-ID: <4EC2E2B1.4301.237BBEF5@stuart.lexacorp.com.pg> I did it in PowerBasic. On 15 Nov 2011 at 17:34, Gustav Brock wrote: > Hi Stuart > > You could but you didn't as that would have been sloppy code ... > > In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. > > /gustav > > > >>> "Stuart McLachlan" 14-11-2011 23:50 >>> > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:18:30 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:18:30 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Message-ID: <000001cca459$da428960$8ec79c20$@com.au> Hi Everyone, I am currently teaching myself asp.net and using vb.net as the code behind. What I would like to create is a login page for my site using MySQL or MariaDB instead of the built in ASP.net security. Has anyone come across some good tutorial for something like this? Thanks Vlad From mcp2004 at mail.ru Wed Nov 16 06:30:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:30:44 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca459$da428960$8ec79c20$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:36:35 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:36:35 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: <000501cca45c$60d99340$228cb9c0$@com.au> Hi Shamil, You're awesome! I'll muck around with that and report back... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:31 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > 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 mcp2004 at mail.ru Wed Nov 16 06:50:39 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:50:39 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000501cca45c$60d99340$228cb9c0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-VB] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From actebs at actebs.com.au Fri Nov 18 18:33:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 19 Nov 2011 11:33:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca652$e27e7850$a77b68f0$@com.au> Hi Shamil, OK, after much mucking around, I have found an alternative solution that works beautifully. Here is the article that outlines the whole process: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Sat Nov 19 02:20:32 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Nov 2011 12:20:32 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca652$e27e7850$a77b68f0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From accessd at shaw.ca Sat Nov 19 11:24:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2011 09:24:42 -0800 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Here is another implementation of CAPTCHA from Google. I initially set it up on my own site and have subsequently set it up on a couple of client sites. http://www.google.com/recaptcha/captcha ...and it works great with all the bells and whistles. Note; Images of text should be distorted randomly before being presented to the user. Many implementations of CAPTCHAs use undistorted text, or text with only minor distortions. These implementations are vulnerable to simple automated attacks. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Saturday, November 19, 2011 12:21 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm l > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ 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 Sat Nov 19 17:27:14 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2011 09:27:14 +1000 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> References: <000001cca459$da428960$8ec79c20$@com.au>, , <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Message-ID: <4EC83B52.335.385DDF3F@stuart.lexacorp.com.pg> Looks good and I like the concept of using the results to improve the accuracy of digitized books. -- Stuart On 19 Nov 2011 at 9:24, Jim Lawrence wrote: > Here is another implementation of CAPTCHA from Google. I initially set it up > on my own site and have subsequently set it up on a couple of client sites. > > http://www.google.com/recaptcha/captcha > > ...and it works great with all the bells and whistles. > > Note; Images of text should be distorted randomly before being presented to > the user. Many implementations of CAPTCHAs use undistorted text, or text > with only minor distortions. These implementations are vulnerable to simple > automated attacks. > > Jim > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Saturday, November 19, 2011 12:21 AM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > Hi Vlad -- > > Thank you for your progress feedback. > > FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET > site: > > http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx > > -- Shamil > > 19 2011, 04:34 "ACTEBS" : > > Hi Shamil, > > > > OK, after much mucking around, I have found an alternative solution that > works beautifully. > > > > Here is the article that outlines the whole process: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm > l > > > > Here are the supporting articles which you should be comfortable with, and > have the included software installed before attempting the above link: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-databinding-linq-entities.html > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-winform-data-source.html > > > > I am currently working my way through it all and have a majority of it > working. I am just trying to find out how to include CAPTCHA into the > solution and then I will give everyone the opportunity to download my test > site if you like... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > Sent: Wednesday, 16 November 2011 11:51 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > Hi Vlad, > > > > > You're awesome! > > That's MSDN... > > > > > I'll muck around with that and report back... > > Quite some folks here (including mysefl) will be waiting for your report I > guess - the same approach should work for MS Access backend used on ASP.NET > site - so you may try to make both :) > > > > Thank you. > > > > -- Shamil > > > > 16 2011, 16:37 "ACTEBS" : > > > Hi Shamil, > > > > > > You're awesome! I'll muck around with that and report back... > > > > > > Thanks > > > > > > Vlad > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > > Sent: Wednesday, 16 November 2011 11:31 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > > > Hi Vlad -- > > > > > > Have a look: > > > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > > > If you'll happen to make it working for you don't hesitate to share your > experience :) > > > > > > Thank you. > > > > > > -- Shamil > > > > > > 16 2011, 16:19 "ACTEBS" : > > > > Hi Everyone, > > > > > > > > I am currently teaching myself asp.net and using vb.net as the code > behind. > > > > What I would like to create is a login page for my site using MySQL or > > > > MariaDB instead of the built in ASP.net security. > > > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > > > Thanks > > > > > > > > Vlad > > > > > > > > _______________________________________________ > > > > 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 > > > > > > _______________________________________________ > 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 actebs at actebs.com.au Sat Nov 19 21:29:08 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 20 Nov 2011 14:29:08 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca734$904e2480$b0ea6d80$@com.au> Hi Everyone, Does anyone know how you create the control from this link: http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx I've compiled/built the downloaded project and added and referenced the resultant WebControlCaptcha.DLL to my project. How do I get the control into the Toolbox? Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 18:48:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 11:48:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000101cca979$a4de70c0$ee9b5240$@com.au> Hi Everyone, I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: http://download.actebs.com.au/asp/LoginMySQL.zip Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: http://www.mysql.com/products/connector/ Download the item called "ADO.NET Driver for MySQL (Connector/NET)" Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. I will be asking a heap of question shortly and I hope you guys can help me out... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 19:04:18 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 12:04:18 +1100 Subject: [dba-VB] VB.Net Database Classes Message-ID: <000201cca97b$d3d7d270$7b877750$@com.au> Hi Everyone, To create this custom membership site, I would like to learn how to use and create database classes for the project and I'm hoping someone has the patience to guide me through it. I have tried searching on the web, but everyone is talking about classes, methods and properties but not about actual database access and data retrieval. So basically my question is as follows. Suppose you have 2 tables in your database tblUsers and tblUsersRoles. The fields in these tables are: UserID RoleID Username UserEmail UserPassword UserCreated UserLastLogin RoleID RoleDescription How would I create the classes for the above tables and also, how do I use these classes within the site as well? By use within the site I mean, how do I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. Many thanks Vlad From jwcolby at colbyconsulting.com Tue Nov 22 21:05:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:05:24 -0500 Subject: [dba-VB] Hyper-V VM oddness Message-ID: <4ECC62F4.7050201@colbyconsulting.com> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs it could handle the load. The sole purpose of one of the VMs is to host a third party application. When this app is running the VM says that the single core I assign to it is pegged, 100% utilization. However none of the host machine cores shows any significant usage, and the total server usage bounces between 0 and 1%. So I'm wondering what the heck is going on? The application on the dedicated VM server was processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million records / hour. I expected one core to max and the total to say 1/16th total usage. Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not busy at all? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Nov 22 21:25:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:25:57 -0500 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC62F4.7050201@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> Message-ID: <4ECC67C5.8040405@colbyconsulting.com> I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. Sorry for the ring. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/22/2011 10:05 PM, jwcolby wrote: > I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs > it could handle the load. The sole purpose of one of the VMs is to host a third party application. > When this app is running the VM says that the single core I assign to it is pegged, 100% > utilization. However none of the host machine cores shows any significant usage, and the total > server usage bounces between 0 and 1%. > > So I'm wondering what the heck is going on? The application on the dedicated VM server was > processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine > one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo > server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million > records / hour. I expected one core to max and the total to say 1/16th total usage. > > Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not > busy at all? > From hans.andersen at phulse.com Tue Nov 22 22:59:10 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Tue, 22 Nov 2011 20:59:10 -0800 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC67C5.8040405@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> <4ECC67C5.8040405@colbyconsulting.com> Message-ID: <7788A799-B464-404C-9681-14FAB97737FF@phulse.com> John, This could also be a sign of heavy IO utilisation that is only being measured in ring 0. Best regards, Hans-Christian Andersen On 22 Nov 2011, at 19:25, jwcolby wrote: > I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. > > Sorry for the ring. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/22/2011 10:05 PM, jwcolby wrote: >> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs >> it could handle the load. The sole purpose of one of the VMs is to host a third party application. >> When this app is running the VM says that the single core I assign to it is pegged, 100% >> utilization. However none of the host machine cores shows any significant usage, and the total >> server usage bounces between 0 and 1%. >> >> So I'm wondering what the heck is going on? The application on the dedicated VM server was >> processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine >> one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo >> server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million >> records / hour. I expected one core to max and the total to say 1/16th total usage. >> >> Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not >> busy at all? >> > _______________________________________________ > 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 Wed Nov 23 02:32:06 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:32:06 +0400 Subject: [dba-VB] =?utf-8?q?VB=2ENet_Database_Classes?= In-Reply-To: <000201cca97b$d3d7d270$7b877750$@com.au> References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Wed Nov 23 02:49:30 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:49:30 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000101cca979$a4de70c0$ee9b5240$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000101cca979$a4de70c0$ee9b5240$@com.au> Message-ID: Hi Vlad, > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, > this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. > Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. You don't have to use ASP.NET controls to implement membership features using samples I referred: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 I didn't use that samples but I have worked quite a bit with native ASP.NET membership classes, which use MS SQL backend, and I'd note that implementing your own membership provider could be rather time consuming... Sending e-mail on login can be done by using .NET/C# SMTP classes... If you're just starting with .NET OleDb, ASP.NET and web development and you're going to do a lot of custom development including custom membership/login/logout/... implementation be prepared it all could take quite some time... Sorry, I cannot provide more help these days... -- Shamil 23 ?????? 2011, 04:49 ?? "ACTEBS" : > Hi Everyone, > > I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. > > For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: > > http://download.actebs.com.au/asp/LoginMySQL.zip > > Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: > > http://www.mysql.com/products/connector/ > > Download the item called "ADO.NET Driver for MySQL (Connector/NET)" > > Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll > > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. > > I will be asking a heap of question shortly and I hope you guys can help me out... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-VB] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From newsgrps at dalyn.co.nz Wed Nov 23 17:21:18 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 12:21:18 +1300 Subject: [dba-VB] Connection String Anomoly Message-ID: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I am trying to understand what could be causing this to happen. I have this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Server.ScriptTimeout = 360 Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "data source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" This connection works and I can access stored procedures etc. However, when I replace the Conn.Connection line above with this line below it does not work conn.ConnectionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings( "MyDatabaseConnection").ConnectionString The Web.Config file has this: Any ideas why this might be? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Wed Nov 23 19:48:33 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 23 Nov 2011 17:48:33 -0800 Subject: [dba-VB] Connection String Anomoly In-Reply-To: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: This may be nothing, but I checked some auto-generated code in a project of mine, and the code uses square brackets: this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; Have you tried setting a breakpoint in the code and seeing exactly what is returned into conn.ConnectionString? Doug On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > I am trying to understand what could be causing this to happen. I have > this code: > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > System.EventArgs) Handles Me.Load > > Server.ScriptTimeout = 360 > > Dim conn As New SqlClient.SqlConnection > conn.ConnectionString = "data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > > This connection works and I can access stored procedures etc. > > However, when I replace the Conn.Connection line above with this line > below it does not work > > conn.ConnectionString = System.Web.Configuration.** > WebConfigurationManager.**ConnectionStrings( "MyDatabaseConnection").** > ConnectionString > > The Web.Config file has this: > > > name="MyDatabaseConnection" > connectionString="data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > providerName="System.Data.**SqlClient" > /> > > > Any ideas why this might be? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From newsgrps at dalyn.co.nz Wed Nov 23 21:10:22 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 16:10:22 +1300 Subject: [dba-VB] Connection String Anomoly In-Reply-To: References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111124031058.ZWTV10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I have used the round bracket syntax in another project and it worked ok. That project was complete in itself. This project is an add on to another one being developed by a separate developer. I don't have access to the complete project except when it is installed on a test server. Even then all I can do is put my files in place and see how they run. The file locations are different from other projects I have done but they seem to work except for this connection string. Since everything else works it may be some time before I can spending more time playing around with it. Thanks for the suggestion. David At 24/11/2011, Doug Steele wrote: >This may be nothing, but I checked some auto-generated code in a project of >mine, and the code uses square brackets: > >this._connection.ConnectionString = >System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; > >Have you tried setting a breakpoint in the code and seeing exactly what is >returned into conn.ConnectionString? > >Doug > > >On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > > > I am trying to understand what could be causing this to happen. I have > > this code: > > > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > > System.EventArgs) Handles Me.Load > > > > Server.ScriptTimeout = 360 > > > > Dim conn As New SqlClient.SqlConnection > > conn.ConnectionString = "data source=MySQLSource;initial > > catalog=MyDataBase;user id=sa;password=mypassword" > > > > This connection works and I can access stored procedures etc. > > > > However, when I replace the Conn.Connection line above with this line > > below it does not work > > > > conn.ConnectionString = > System.Web.Configuration.WebConfigurationManager.**ConnectionStrings > ( "MyDatabaseConnection").ConnectionString > > > > The Web.Config file has this: > > > > > > > name="MyDatabaseConnection" > > connectionString="data > source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" > > providerName="System.Data.**SqlClient" > > /> > > > > > > Any ideas why this might be? > > > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand ______________________________**_________________ From actebs at actebs.com.au Thu Nov 24 07:43:24 2011 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 25 Nov 2011 00:43:24 +1100 Subject: [dba-VB] VB.Net Database Classes In-Reply-To: References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: <000001ccaaaf$0a06ac70$1e140550$@com.au> Thanks Shamil. Am working through this very slowly... Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 23 November 2011 7:32 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VB.Net Database Classes Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-VB] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From mcp2004 at mail.ru Sun Nov 27 15:27:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 01:27:44 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= Message-ID: Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil From accessd at shaw.ca Sun Nov 27 20:42:49 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:42:49 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Hi Shamil: I would recommend you contact Martin Reid as he is the Share-point guru. It might save a week of two. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Sun Nov 27 20:45:31 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:45:31 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: PS this looks like a really good deal. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Mon Nov 28 03:34:16 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 09:34:16 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I have been playing with VM ware recently. VMWare have a free product that allows you to install it on bare metal box IOW, No OS is initally installed. This saves you the overhead of Win2K8. Secondly, VMware seems to dynamically share memory, so with your 8 GB machine, you can start three or four machines with 4 GB each configured and probably allow bursts of 4 GB on each. I think it is good and I think it is better than Windows. http://www.vmware.com/products/vsphere-hypervisor/overview.html < VMware vSphere Hypervisor is the simplest and easiest way to get started with virtualization for free. This fully functional hypervisor lets you virtualize your servers and run your applications in virtual machines in a matter of minutes. vSphere Hypervisor is based on VMware ESXi, the hypervisor architecture that sets the industry standard for reliability, performance, and ecosystem support. Consolidate your applications onto fewer servers and start saving money through reduced hardware, power, cooling, and administration costs. With VMware vSphere Hypervisor, you can: > Mark On 28 November 2011 02:45, Jim Lawrence wrote: > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 mcp2004 at mail.ru Mon Nov 28 04:19:20 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:19:20 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 Mon Nov 28 04:30:56 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:30:56 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> References: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Message-ID: Hi Jim -- Yes, I know that Martin Reid is an MS SharePoint Guru. But wouldn't it be more useful and helpful for everybody here to discuss Sharepoint development options? I just don't know where should I better post my messages concerning SharePoint development - here in dba-VB, in Access-D, or...? I do not want to go to SharePoint sites as I suppose that SharePoint (/Office 365) + OpenXML development could soon become part of everyday practice of this DatabaseDevelopers community members. Look e.g. at this demonstration/sample: Open XML SDK + Office Services: Better Together http://blogs.msdn.com/b/brian_jones/archive/2010/02/26/open-xml-sdk-office-services-better-together.aspx It doesn't look "rocket science" at all still it needs(?) that much computing power as I noted. Sounds strange? Is it true? Should I ask Martin Reid personally or we'd better try to discuss this issue/(development) use case here? For the latter option (discussing SharePoint development here) - where should I better post my questions with a mark: "Special attention to Martin Reid" to not force Martin to feel obliged to get heavily involved in that discussion as it could be rather time consuming for him explaining the basics to SharePoint development beginners as I'm? Thank you. -- Shamil 28 ?????? 2011, 06:42 ?? "Jim Lawrence" : > Hi Shamil: > > I would recommend you contact Martin Reid as he is the Share-point guru. It > might save a week of two. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 Mon Nov 28 04:33:50 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:33:50 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hi Jim -- Do you mean my family members getting a lot of computing power for "free" from my "mighty" server environment? (And so I can save quite some money in long run by not funding them in upgrading their laptops and smartphones hardware? :)) Thank you -- Shamil 28 ?????? 2011, 06:45 ?? "Jim Lawrence" : > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > Thank you. > > -- Shamil > > _______________________________________________ > 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 Mon Nov 28 09:21:37 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 15:21:37 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. I then quickly installed three OS's XP, Win7 and W2K. All worked well. I also downloaded a VMimage of a dos games machine. I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to > convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > > 28 ?????? 2011, 13:36 ?? Mark Breen : > > Hello Shamil, > > > > I have been playing with VM ware recently. > > > > VMWare have a free product that allows you to install it on bare metal > box > > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > > Secondly, VMware seems to dynamically share memory, so with your 8 GB > > machine, you can start three or four machines with 4 GB each configured > and > > probably allow bursts of 4 GB on each. > > > > I think it is good and I think it is better than Windows. > > > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > > > < > > VMware vSphere Hypervisor is the simplest and easiest way to get started > > with virtualization for free. This fully functional hypervisor lets you > > virtualize your servers and run your applications in virtual machines in > a > > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > > hypervisor architecture that sets the industry standard for reliability, > > performance, and ecosystem support. Consolidate your applications onto > > fewer servers and start saving money through reduced hardware, power, > > cooling, and administration costs. With VMware vSphere Hypervisor, you > can: > > > > > > > Mark > > > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > > > PS this looks like a really good deal. > > > > > > Jim > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > > Shamil > > > Sent: Sunday, November 27, 2011 1:28 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > > system > > > box requirements - please advise > > > > > > Hi All -- > > > > > > I'm looking to setup a system box here for MS Office 2010 / MS > SharePoint > > > 2010 development to be able to run something like the following > "virtual" > > > development environment: > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, > with > > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard > Edition at > > > least. Correct? > > > > > > Although I do not have that much development which needs such a > computing > > > power fully loaded all the time so I also wanted to share that system > > > between my family members who all have their own laptops etc. of > different > > > types. > > > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > > Windows Server 2008 R2 system would also be a good host running > several VMs > > > accessible via MS Windows Remote Desktops within my home/office > network? > > > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > > laptop and accessing that my "mighty" system via MS Windows Remote > Desktop > > > via Internet - I have a broadband access to Internet from my home so my > > > running system should be available from outside using MS Windows Remote > > > Desktop if it has a fixed IP address?... > > > > > > Please advise what are system box requirements for my development > > > environment I mentioned above... > > > > > > 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 > > > > > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Mon Nov 28 12:40:38 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 22:40:38 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Thank you for your information - I will be waiting for your news on your advanced experience with VMWare. -- Shamil? 28 ?????? 2011, 19:21 ?? Mark Breen : Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. ?I then quickly installed three OS's XP, Win7 and W2K. ?All worked well. ?I also downloaded a VMimage of a dos games machine. ?I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help? you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. ?This saves you the overhead of Win2K8. > ?Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be ?Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running ?64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 mcp2004 at mail.ru Mon Nov 28 14:16:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 00:16:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Mark, Gustav at all -- Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From mcp2004 at mail.ru Mon Nov 28 17:50:11 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 03:50:11 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi All -- Never mind - I have got visited VMWare site and I have got downloaded a free utility - VMWare vCenter Converter http://www.vmware.com/products/converter/ and then I have run test conversion of Internet Explorer Compatibility VPC image http://www.microsoft.com/download/en/details.aspx?id=11575 into VMDK format. Then I have got setup VMWAre workstation (trial version - http://www.vmware.com/products/workstation/overview.html) and voila' - I have got up & running converted into VMDK 'Internet Explorer Compatibility VPC image, and I'm using it right now to prepare this message. I'm going to try to download now 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 convert it into VMDK and try to run it on my test laptop - 32bit Win7 system with 3+GB RAM. We will see. It will be very slow very probably but I just have to know will it run at all - and when it will hopefully will then I will start assembling my new system box part by part... And I'm going to purchase VMWare workstation license in the near future - VMWare workstation has a feature of converting physical PCs into VMDK images. (Although VMWare workstation may fail to setup and run on Win2003 Server - we will see...) Thank you for all your help. -- Shamil 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > Hi Mark, Gustav at all -- > > Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. > > Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? > > As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... > > Thank you. > > -- Shamil > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > Hi Shamil et al > > > > Here is a free tool: > > > > http://www.starwindsoftware.com/converter > > > > to: > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > > > > /gustav > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > Hello Mark -- > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > Did you work with it and did it worked well as described in the VMWare ads? > > > > Also, the > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > > > 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 Mon Nov 28 18:49:01 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 28 Nov 2011 16:49:01 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements In-Reply-To: References: Message-ID: Hi Shamil: I think you'll be surprised at how fast VMs run on your computer, even with 3Gb and 32bit Windows. I have VMWare Workstation. I normally use VMs to run different versions of Office for Access development. Most of them are 20-25Gb. The first time I tried to convert an actual physical machine to a VM, I was surprised to find that the size of the resulting VM was going to be the total of EVERY file on the Windows boot drive - I wasn't ready to create a 200GB VM! I did convert one old Windows 2000 server machine to a VM successfully (as a backup before I sent the computer to recycling), but before I converted it, I removed as many programs and files as I could while still keeping it functional. Doug On Mon, Nov 28, 2011 at 3:50 PM, Salakhetdinov Shamil wrote: > Hi All -- > > Never mind - I have got visited VMWare site and I have got downloaded a > free utility - VMWare vCenter Converter > > http://www.vmware.com/products/converter/ > > and then I have run test conversion of > > Internet Explorer Compatibility VPC image > > http://www.microsoft.com/download/en/details.aspx?id=11575 > > into VMDK format. > > Then I have got setup VMWAre workstation (trial version - > http://www.vmware.com/products/workstation/overview.html) > > and voila' - I have got up & running converted into VMDK 'Internet > Explorer Compatibility VPC image, and I'm using it right now to prepare > this message. > > I'm going to try to download now > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > convert it into VMDK and try to run it on my test laptop - 32bit Win7 > system with 3+GB RAM. We will see. > It will be very slow very probably but I just have to know will it run at > all - and when it will hopefully will then I will start assembling my new > system box part by part... > > And I'm going to purchase VMWare workstation license in the near future - > VMWare workstation has a feature of converting physical PCs into VMDK > images. (Although VMWare workstation may fail to setup and run on Win2003 > Server - we will see...) > > Thank you for all your help. > > -- Shamil > > > > > 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > > Hi Mark, Gustav at all -- > > > > Now, when I'm going to take VMWare vSphere route I wanted to make a > temporary/transitional "virtual copy" of my physical system box running MS > Windows 2003 Server together with its harddisk (250GB) partitioned into one > system drive and 5 logical drives. > > > > Are there any free/inexpensive tools to make such a virtual copy as VHD > and/or VMDK image/set of images? > > > > As far as I understand I should be able to use this "virtual > copy/machine" as an active virtual machine running under VMWare or I can > just mount its virtual harddisks to get their data transferred on the new > system/archived?... > > > > Thank you. > > > > -- Shamil > > > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > > Hi Shamil et al > > > > > > Here is a free tool: > > > > > > http://www.starwindsoftware.com/converter > > > > > > to: > > > > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > > > StarWind Converter is a downloadable V2V conversion tool for virtual > machines. You can use it to convert VMDK to VHD files and VHD to VMDK as > well as to IMG file, which is a native StarWind format. This is a very > simple but useful file conversion tool that will convert virtual hard drive > images from VMware's VMDK format into the Microsoft's VHD format. It is a > sector by sector copy operation from one format to the other. It does not > modify the source image and will leave it so you can continue to use it. > > > > > > > > > /gustav > > > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > > Hello Mark -- > > > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > > Did you work with it and did it worked well as described in the VMWare > ads? > > > > > > Also, the > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways > to convert that Hyper-V image into an WMare image? > > > > > > 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 mcp2004 at mail.ru Wed Nov 30 14:10:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 00:10:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From gustav at cactus.dk Wed Nov 30 16:04:12 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2011 23:04:12 +0100 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements Message-ID: Hi Shamil Yep, that's a show stopper. The free VMware Server will allow up to two CPUs and 64-bit but only if the host is equal or larger. I'm not aware of any other brand of VM that will simulate multiple CPUs or cores on a host with less resources. /gustav >>> Salakhetdinov Shamil 30-11-2011 21:10 >>> Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil From newsgrps at dalyn.co.nz Wed Nov 30 16:19:01 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 01 Dec 2011 11:19:01 +1300 Subject: [dba-VB] vb.net vs c#.net Message-ID: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Just out of curiosity, a comment I read recently was that 99% of .net programmers seem to be using c#. As far as this group goes: What are peoples preferences? What do you do most of your development work in? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From davidmcafee at gmail.com Wed Nov 30 16:25:33 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 30 Nov 2011 14:25:33 -0800 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I use both. VB.net was easier for me to move over to, so a lot of my earlier stuff is in VB.net. I try to push myself to always use C# for newer stuff because everyone I deal seems to only use C#. Another reason that I'm using C# more is that I'm still learning Java, and C# is closer to Java than VB.net is, so I tend to practice on stuff like case sensitivity and variable declarations. D On Wed, Nov 30, 2011 at 2:19 PM, David Emerson wrote: > Just out of curiosity, a comment I read recently was that 99% of .net > programmers seem to be using c#. > > As far as this group goes: > > What are peoples preferences? > > What do you do most of your development work in? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > 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 Nov 30 16:51:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 17:51:49 -0500 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: IME, I have observed the elitist preference for C# in the marketplace, and the dimunition of Vb.NET in the same marketplace. There are a few differences, AFICS, but there are translators to overcome this. That said, almost all that is required to move from VB to C# is a bunch of semi-colons. But the marketplace seems to regard these as worth at least $20 an hour more income. So I have dived into C#. Most of the transition has proved trivial. A. From stuart at lexacorp.com.pg Wed Nov 30 22:09:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Dec 2011 14:09:07 +1000 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4ED6FDE3.14088.38C4BD1@stuart.lexacorp.com.pg> Don't forget the curly brackets - go to have lots of loverly curly brackets too :-) -- Stuart On 30 Nov 2011 at 17:51, Arthur Fuller wrote: > IME, I have observed the elitist preference for C# in the marketplace, and > the dimunition of Vb.NET in the same marketplace. There are a few > differences, AFICS, but there are translators to overcome this. That said, > almost all that is required to move from VB to C# is a bunch of > semi-colons. But the marketplace seems to regard these as worth at least > $20 an hour more income. So I have dived into C#. Most of the transition > has proved trivial. > > A. > _______________________________________________ > 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 Nov 1 14:44:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 15:44:53 -0400 Subject: [dba-VB] Unhooking events while they are running Message-ID: <4EB04C35.4010201@colbyconsulting.com> I am using the directory watcher class. When the parent class to start, it hooks the events and when it is told to stop it unhooks the events. My question is simply that events are asynchronous and as such could occur at the same instant that the parent class is being told to stop. I use a boolean evFileDeletedIsRunning flag which the event sets as the first line inside of that event and clears as the last line of the event. I then check this flag before unhooking the event. Is this adequate protection? What happens if an event is unhooked while the event sink is running? Is it a page fault or something less catastrophic? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From stuart at lexacorp.com.pg Tue Nov 1 16:33:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2011 07:33:51 +1000 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB04C35.4010201@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> Message-ID: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> To quote MS: A hook is a point in the system message-handling mechanism where an application can install a subroutine to monitor the message traffic in the system and process certain types of messages before they reach the target window procedure. Is that what you are actually doing i.e. "intercepting" and acting on messages intended for another target ? Or are you just using a FileSystemWatcher, which is basically a wrapper for WaitForSingleObject in Kernel32.DLL, to monitor changes? If the latter, I'd say you solution is quite adequate. On 1 Nov 2011 at 15:44, jwcolby wrote: > I am using the directory watcher class. When the parent class to > start, it hooks the events and when it is told to stop it unhooks the > events. > > My question is simply that events are asynchronous and as such could > occur at the same instant that the parent class is being told to stop. > I use a boolean evFileDeletedIsRunning flag which the event sets as > the first line inside of that event and clears as the last line of the > event. I then check this flag before unhooking the event. > > Is this adequate protection? What happens if an event is unhooked > while the event sink is running? > Is it a page fault or something less catastrophic? > > -- > 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 Tue Nov 1 16:42:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 17:42:35 -0400 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> Message-ID: <4EB067CB.7080100@colbyconsulting.com> I am just using filesystemwatcher. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/1/2011 5:33 PM, Stuart McLachlan wrote: > To quote MS: A hook is a point in the system message-handling mechanism where an > application can install a subroutine to monitor the message traffic in the system and process > certain types of messages before they reach the target window procedure. > > Is that what you are actually doing i.e. "intercepting" and acting on messages intended for > another target ? > > Or are you just using a FileSystemWatcher, which is basically a wrapper for > WaitForSingleObject in Kernel32.DLL, to monitor changes? > > If the latter, I'd say you solution is quite adequate. > > > > On 1 Nov 2011 at 15:44, jwcolby wrote: > >> I am using the directory watcher class. When the parent class to >> start, it hooks the events and when it is told to stop it unhooks the >> events. >> >> My question is simply that events are asynchronous and as such could >> occur at the same instant that the parent class is being told to stop. >> I use a boolean evFileDeletedIsRunning flag which the event sets as >> the first line inside of that event and clears as the last line of the >> event. I then check this flag before unhooking the event. >> >> Is this adequate protection? What happens if an event is unhooked >> while the event sink is running? >> Is it a page fault or something less catastrophic? >> >> -- >> 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 Wed Nov 2 07:41:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Nov 2011 08:41:21 -0400 Subject: [dba-VB] Owner scope Message-ID: <4EB13A71.4000802@colbyconsulting.com> A couple of questions: We use the term parent for inheritance. What is the term for the "owner" of a variable or class. IOW I use a RunState class. A process class can have class level variables which are initialized to instances of this class. Thus (in my terminology) the class "owns" these RunState class instances. What I am windering is if there is a OO term for this "owner" concept. Next question. The run state class has methods and properties. Some of the methods, specifically the Start method should be visible from the object trying to "start" the process. Other methods should only be called from the "owner" of the RunState class. What is the syntax for scope to make some properties and methods only visible from the owner side? I am trying to build a state machine where the RunState class starts at state Stopped. clsRunState has 4 states. 1) Stopped 2) Starting 3) Started 4) Stopped State changes can only be done by clsRunState, IOW it is not possible to directly set the RunState from outside of clsRunState. This allows clsRunState to enforce the state machine rules / transitions. clsRunState has 5 methods 1) mStart - called by the external process starting this process 2) mInitialized - Called by the owner to signal that Initialization completed 3) mInitFailed - Called by the owner to indicate that initialization failed, passing in error info 4) mStop - Called by the external process or the owner to trigger cleanup and stopping 5) mTerminated - called by the owner to signal that termination is complete clsRunState has 2 events 1) evInitialize - Raised by mStart() and sunk by the owner to trigger initialization code. 2) evTerminate - Raised by mStop() and sunk by the owner to trigger cleanup and shutdown. 1) The process is started when an external process calls the clsRunState.mStart() method (from outside of the owner). If the state was Stopped when entering mStart, then clsRunState sets the state to Starting and raises an evInitialize event which is sunk in the "owner" (whatever we are calling that). If the state was not Stopped when clsRunState.mStart() is called then the method just returns, doing nothing. The owner sinks the evInitialize and performs initialization. If the initialization works then the owner calls the clsRunState.mInitialized() method which sets the RunState to Started. If initialization fails then the the owner calls clsRunState.mInitFailed() passing in a fail text message which is stored in a property for the external process to read. clsRunState.mInitFailed() then sets the RunState to Stopped. The external process or the owner can call clsRunState.mStop(). clsRunState.mStop() sets the RunState to Stopping and raises the evTerminate event which is sunk by the owner and is used to trigger cleanup of the process controlled by the RunState class. When the owner finishes all termination processes the owner calls clsRunState.mTerminated() which sets the RunState to Stopped. I need the scope syntax to prevent the external process from calling methods that only the owner is supposed to call. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 5 11:29:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 12:29:57 -0400 Subject: [dba-VB] C# Scope Message-ID: <4EB56485.70602@colbyconsulting.com> Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From shamil at smsconsulting.spb.ru Sat Nov 5 11:56:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 19:56:58 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56485.70602@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> Message-ID: John, If you put class runState and class myClassParent in one class library and class myGrandParent in another class library referencing the first one then the following code would be the scoping solution you're looking for: ==== classlib1 ==== public class runState { public ... mStart() {...} internal ... mStarted() {...} } public class myClassParent { runState myRunState } ===== classlib2 === public class myGrandParent { myClassParent MyClassParent; } Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 19:30 To: VBA Subject: [dba-VB] C# Scope Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- 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 Sat Nov 5 12:11:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:11:52 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56E58.7050205@colbyconsulting.com> Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From jwcolby at colbyconsulting.com Sat Nov 5 12:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:15:35 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56F37.7060802@colbyconsulting.com> The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From shamil at smsconsulting.spb.ru Sat Nov 5 13:32:13 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 21:32:13 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56E58.7050205@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: No, John, I mean a separate assembly/project with type ClassLibrary. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:12 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Nov 5 13:57:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 14:57:28 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: <4EB58718.3050408@colbyconsulting.com> Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class library >> and class myGrandParent in another class library referencing the first >> one then the following code would be the scoping solution you're looking > for: From shamil at smsconsulting.spb.ru Sat Nov 5 14:25:52 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:25:52 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56F37.7060802@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56F37.7060802@colbyconsulting.com> Message-ID: <0D5030F160A94419BB8D91720010D635@nant> John -- Sorry, I don't know what to say/advise here - I don't understand the reasoning... I personally routinely use inheritance or composition or delegation, and I usually do not care that much about scope: I do keep most of the stuff private or protected, and when needed I do make it internal or public... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:16 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Sat Nov 5 14:47:18 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:47:18 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB58718.3050408@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com><4EB56E58.7050205@colbyconsulting.com> <4EB58718.3050408@colbyconsulting.com> Message-ID: John -- With manager and supervisor classes being together in other classlibrary than RunState class you can try to use inheritance - inherit RunState by RunState1(for manager) and RunState2(for supervisor) then use delegation... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 21:57 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class >> library and class myGrandParent in another class library referencing >> the first one then the following code would be the scoping solution >> you're looking > for: _______________________________________________ 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 Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-VB] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From accessd at shaw.ca Wed Nov 9 16:13:23 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 14:13:23 -0800 Subject: [dba-VB] Silverlight dead In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: As mentioned many time before, Silverlight was a dead application before even got out there. http://www.zdnet.com/blog/microsoft/will-there-be-a-silverlight-6-and-does-i t-matter/11180 Flash is dead too and it is about time and Adobe is developing its replacement product called Edge. We will now have to learn how to use the Open Standards of HTML5 and CSS3. As a web developer all I can say it is it is a very good day. :-) Jim From jeff.developer at gmail.com Thu Nov 10 16:33:56 2011 From: jeff.developer at gmail.com (Jeff B) Date: Thu, 10 Nov 2011 16:33:56 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET Message-ID: Does anyone here have experience writing web pages in ASP.NET that require online signatures? I have a website ALMOST finished that needs users to sign on an iPad and I need to capture the signature, save it into an SQL Server 2005 database, and extract the signature back out to a PDF. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From davidmcafee at gmail.com Thu Nov 10 16:37:36 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 10 Nov 2011 14:37:36 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: My coworker is doing that very same thing, but I believe in C#. This is where he went for the custom control: realsignature.com He said it includes the license file. It looks like they have VB.Net samples on their site. HTH, David On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > Does anyone here have experience writing web pages in ASP.NET that require > online signatures? I have a website ALMOST finished that needs users to > sign on an iPad and I need to capture the signature, save it into an SQL > Server 2005 database, and extract the signature back out to a PDF. > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > > > _______________________________________________ > 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 Thu Nov 10 18:01:18 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 10 Nov 2011 16:01:18 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs users to > > sign on an iPad and I need to capture the signature, save it into an SQL > > Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 jeff.developer at gmail.com Fri Nov 11 07:30:48 2011 From: jeff.developer at gmail.com (Jeff B) Date: Fri, 11 Nov 2011 07:30:48 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: <003001cca076$20a08e80$61e1ab80$@gmail.com> OK, I guess I need to add some more information. We purchased a signature control from WebSignatureCapture. When I discovered that their control would not work for our site, they referred me to their sister-site, SuperSignature. I have worked with their support team as I could not get the signature box to show up on the published site, (it was a VS 2010 issue). It now appears that things are working ok, but I want to verify that the image is actually being stored in SQL, and I am currently having issues retrieving the image from SQL. Does anyone have some code they are willing to share that retrieves images? And the code you use to store it? (if I am not asking for too much?) Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, November 10, 2011 6:01 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs > > users to sign on an iPad and I need to capture the signature, save > > it into an SQL Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 dbdoug at gmail.com Fri Nov 11 10:03:56 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 11 Nov 2011 08:03:56 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: <003001cca076$20a08e80$61e1ab80$@gmail.com> References: <003001cca076$20a08e80$61e1ab80$@gmail.com> Message-ID: Hi Jeff: We just use SuperSignature as they suggested - to save a file to a folder on the server. But I do retrieve the signature data first as a System.Drawing.Bitmap, then convert it to a jpg and save it. I assume that you could write the Bitmap to a blob field in SQL. Sorry, the code is C#: // signature is returned as bitmap if no path specified System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); if (!ctlSignature.SignHasError) { // Save the image in JPEG format. BM.Save(Server.MapPath("~/sigs/sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); } else { Response.Write("Error:" + ctlSignature.SignInternalError); } Hope this helps! Doug On Fri, Nov 11, 2011 at 5:30 AM, Jeff B wrote: > OK, I guess I need to add some more information. > > We purchased a signature control from WebSignatureCapture. When I > discovered that their control would not work for our site, they referred me > to their sister-site, SuperSignature. > > I have worked with their support team as I could not get the signature box > to show up on the published site, (it was a VS 2010 issue). > > It now appears that things are working ok, but I want to verify that the > image is actually being stored in SQL, and I am currently having issues > retrieving the image from SQL. Does anyone have some code they are willing > to share that retrieves images? And the code you use to store it? (if I > am > not asking for too much?) > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, November 10, 2011 6:01 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET > > I did this for a client's app (in C#). We went with SuperSignature: > > http://www.supersignature.com/ > > If I remember, SuperSignature had a lot fewer options than RealSignature, > but did what we wanted (simple signature capture on a web app focused on > iPhone use) and was considerably cheaper. > > Their copy protection is a little quirky, but their tech support was > helpful. > > Doug > > On Thu, Nov 10, 2011 at 2:37 PM, David McAfee > wrote: > > > My coworker is doing that very same thing, but I believe in C#. > > > > This is where he went for the custom control: realsignature.com > > > > He said it includes the license file. > > > > It looks like they have VB.Net samples on their site. > > > > HTH, > > David > > > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B > wrote: > > > > > Does anyone here have experience writing web pages in ASP.NET that > > require > > > online signatures? I have a website ALMOST finished that needs > > > users to sign on an iPad and I need to capture the signature, save > > > it into an SQL Server 2005 database, and extract the signature back out > to a PDF. > > > > > > > > > Jeff Barrows > > > MCP, MCAD, MCSD > > > > > > Outbak Technologies, LLC > > > Racine, WI > > > jeff.developer at gmail.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 > > From newsgrps at dalyn.co.nz Sun Nov 13 20:00:43 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 14 Nov 2011 15:00:43 +1300 Subject: [dba-VB] Which version of Visual Studio Message-ID: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Ok - Here goes for my first post to this group. I currently have Visual Studio 2005 Professional installed which I have done some playing around on. I know this is getting a little old (like me). I am wanting to get more familiar with dot net and application development. Should I continue to use this to get more familiar with the dot net environment or should I get a later version (if so which one?). What are the advantages/disadvantages of each approach (apart from cost which is a big disincentive). The Express Visual Studio 2010 products don't seem to have enough features (for example the one dot net web application I do support is in vb.net but VS 2010 Express documentation doesn't seem to indicate that vb.net is included). Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Sun Nov 13 22:00:13 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 13 Nov 2011 20:00:13 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I have > done some playing around on. I know this is getting a little old (like > me). I am wanting to get more familiar with dot net and application > development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What are > the advantages/disadvantages of each approach (apart from cost which is a > big disincentive). The Express Visual Studio 2010 products don't seem to > have enough features (for example the one dot net web application I do > support is in vb.net but VS 2010 Express documentation doesn't seem to > indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From df.waters at comcast.net Mon Nov 14 08:27:58 2011 From: df.waters at comcast.net (Dan Waters) Date: Mon, 14 Nov 2011 08:27:58 -0600 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <002301cca2d9$9bc20b10$d3462130$@comcast.net> I disagree on automatically taking the plunge on C#. The two languages, vb.net and C# are now, with .Net 4 and Visual Studio 2010, almost identical, and MS will probably make them absolutely identical in one of the next versions. As a relative newcomer, you won't see the differences for a while. So, because there is no intrinsic advantage for either language, it's just your personal preference. In addition, I've found that the more I write in VB, the easier it is to read something in C# and understand what's happening (converting code and comparing line for line helps with this as well). Also, I've been programming in VB.Net for about 6 months, and have never not been able to find examples using VB.Net. In fact, I'd say that about 40% are in VB.Net, and the rest in C#. If you find an interesting example in C#, you can usually convert it here: http://converter.telerik.com/. Sometimes I will suffix my searches with '-C#' so that only VB.Net examples come up, and I can more quickly get what I'm looking for. Of course, if you are going to be programming within a group of C# developers, then you need to learn the language. If you're going to be programming on your own, which it sounds like you're doing, then I'd say skip the 'tiny brain exploding transition' and start with VB.Net. That's plenty of a learning curve just with the transition to any .Net language. I do prefer VB for at least one reason: VB is not case sensitive while C# is. For example, the variable 'stgPerson' in VB is the same as when you type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' and 'stgperson' as two separate variables, and I don't see how that would be helpful. Many C# developers will often say that 'C# rules the world' and so on. Not true. I think it's the same attitude that IT people have for Access. They want to be 'superior' and do the 'true' language. The truth is it's not that simple. You might want to write a small app in both languages, and see which one works for you. It's been a while, but I believe that there are separate VS 2010 Express downloads for each of the different languages. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, November 13, 2011 10:00 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Which version of Visual Studio Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I > have done some playing around on. I know this is getting a little old > (like me). I am wanting to get more familiar with dot net and > application development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What > are the advantages/disadvantages of each approach (apart from cost > which is a big disincentive). The Express Visual Studio 2010 products > don't seem to have enough features (for example the one dot net web > application I do support is in vb.net but VS 2010 Express > documentation doesn't seem to indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb dvisors.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 mcp2004 at mail.ru Mon Nov 14 15:05:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 01:05:41 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <002301cca2d9$9bc20b10$d3462130$@comcast.net> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Hi Dan -- > I do prefer VB for at least one reason: > VB is not case sensitive while C# is. I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). I can provide my reasoning but would it make any difference there? BTW, there are many "indirect signs" that C# is "superior" than VB.NET, e.g. DotNetNuke code base moved from VB.NET to C#, as well as another large commercial Internet shopping applications I have worked with... Why they did that? Recap: when moving into .NET development from any other system I'd recommend to use C#. If you have already a large code base developed using VB.NET then you should be safe to continue using VB.NET. Thank you. -- Shamil 14 ?????? 2011, 18:29 ?? "Dan Waters" : > I disagree on automatically taking the plunge on C#. > > The two languages, vb.net and C# are now, with .Net 4 and Visual Studio > 2010, almost identical, and MS will probably make them absolutely identical > in one of the next versions. As a relative newcomer, you won't see the > differences for a while. So, because there is no intrinsic advantage for > either language, it's just your personal preference. In addition, I've > found that the more I write in VB, the easier it is to read something in C# > and understand what's happening (converting code and comparing line for line > helps with this as well). > > Also, I've been programming in VB.Net for about 6 months, and have never not > been able to find examples using VB.Net. In fact, I'd say that about 40% > are in VB.Net, and the rest in C#. If you find an interesting example in > C#, you can usually convert it here: http://converter.telerik.com/. > Sometimes I will suffix my searches with '-C#' so that only VB.Net examples > come up, and I can more quickly get what I'm looking for. > > Of course, if you are going to be programming within a group of C# > developers, then you need to learn the language. If you're going to be > programming on your own, which it sounds like you're doing, then I'd say > skip the 'tiny brain exploding transition' and start with VB.Net. That's > plenty of a learning curve just with the transition to any .Net language. > > I do prefer VB for at least one reason: VB is not case sensitive while C# > is. For example, the variable 'stgPerson' in VB is the same as when you > type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' > and 'stgperson' as two separate variables, and I don't see how that would be > helpful. > > Many C# developers will often say that 'C# rules the world' and so on. Not > true. I think it's the same attitude that IT people have for Access. They > want to be 'superior' and do the 'true' language. The truth is it's not > that simple. > > You might want to write a small app in both languages, and see which one > works for you. > > It's been a while, but I believe that there are separate VS 2010 Express > downloads for each of the different languages. > > Good Luck! > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, November 13, 2011 10:00 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Which version of Visual Studio > > Apart from anything else, I think you should just take the plunge and start > using C#. It appears to be the language of choice for .Net developers. > Whenever you search for for .Net programming advice on the web, 99% of the > explanations and examples will be in C#. > > The transition from VB to C# will be, from my experience at least, a tiny > part of the brain exploding transition from Access/VBA to .Net. > > And if you're thinking of making web apps, my advice would be to start right > in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, > and I found the whole system to be really difficult to work with. > I thought it was just my advanced years and calcified brain, but I've > started working with MVC and it is, to my mind, much more straightforward. > > Doug > > On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > > > Ok - Here goes for my first post to this group. > > > > I currently have Visual Studio 2005 Professional installed which I > > have done some playing around on. I know this is getting a little old > > (like me). I am wanting to get more familiar with dot net and > > application development. > > > > Should I continue to use this to get more familiar with the dot net > > environment or should I get a later version (if so which one?). What > > are the advantages/disadvantages of each approach (apart from cost > > which is a big disincentive). The Express Visual Studio 2010 products > > don't seem to have enough features (for example the one dot net web > > application I do support is in vb.net but VS 2010 Express > > documentation doesn't seem to indicate that vb.net is included). > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > dvisors.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 davidmcafee at gmail.com Mon Nov 14 15:15:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:15:27 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Shamil, why do you prefer case sensitivity? That is one of my most common mistakes when developing in C, C#, Java, Android(Java). Just wondering, David On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > Hi Dan -- > > > I do prefer VB for at least one reason: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > 10+ years). > I can provide my reasoning but would it make any difference there? > > Thank you. > > -- Shamil > > > 14 ?????? 2011, 18:29 ?? "Dan Waters" : > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > is. For example, the variable 'stgPerson' in VB is the same as when you > > type 'stgperson'; VB will change the case for you. But C# sees > 'stgPerson' > > and 'stgperson' as two separate variables, and I don't see how that > would be > > helpful. > > > > Good Luck! > > Dan > From stuart at lexacorp.com.pg Mon Nov 14 15:18:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:18:48 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <002301cca2d9$9bc20b10$d3462130$@comcast.net>, Message-ID: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Go on, we haven't had a good flame war on any of the dba lists for ages. The Natural/Surrogate and Bound/Unbound issues are dead. ;-) -- Stuart On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > I can provide my reasoning but would it make any difference there? > From stuart at lexacorp.com.pg Mon Nov 14 15:21:44 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:21:44 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Here we go, grab your tin hats everyone and duck for cover :-) -- Stuart On 14 Nov 2011 at 13:15, David McAfee wrote: > Shamil, why do you prefer case sensitivity? > > That is one of my most common mistakes when developing in C, C#, Java, > Android(Java). > > Just wondering, > > David > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > > > Hi Dan -- > > > > > I do prefer VB for at least one reason: > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > > 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > > > Thank you. > > > > -- Shamil > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > > is. For example, the variable 'stgPerson' in VB is the same as when you > > > type 'stgperson'; VB will change the case for you. But C# sees > > 'stgPerson' > > > and 'stgperson' as two separate variables, and I don't see how that > > would be > > > helpful. > > > > > > Good Luck! > > > Dan > > > _______________________________________________ > 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 Mon Nov 14 15:26:01 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:26:01 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: :) One of my pet peeves is when variables are used that are the opposite case of a reserved word. String string = "StRiNg"; On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan wrote: > Here we go, grab your tin hats everyone and duck for cover :-) > > -- > Stuart > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > Shamil, why do you prefer case sensitivity? > > > > That is one of my most common mistakes when developing in C, C#, Java, > > Android(Java). > > > > Just wondering, > > > > David > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil >wrote: > > > > > Hi Dan -- > > > > > > > I do prefer VB for at least one reason: > > > > VB is not case sensitive while C# is. > > > I'm not arguing - that's funny: I, personally, dislike VB.NET because > it > > > is *not* case sensitive :) (And I have been programming using VBA/VB6 > for > > > 10+ years). > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > -- Shamil > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive > while C# > > > > is. For example, the variable 'stgPerson' in VB is the same as when > you > > > > type 'stgperson'; VB will change the case for you. But C# sees > > > 'stgPerson' > > > > and 'stgperson' as two separate variables, and I don't see how that > > > would be > > > > helpful. > > > > > > > > Good Luck! > > > > Dan > > > > > _______________________________________________ > > 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 newsgrps at dalyn.co.nz Mon Nov 14 16:23:03 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 15 Nov 2011 11:23:03 +1300 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Here is a related question to variable names. I read somewhere that Hungarian naming convention is not now supported by Microsoft and they prefer not to include the type as a prefix. What could be the reason for this? I know there are more tooltips to help identify a variable but this is no help if you are looking at printed code. David At 15/11/2011, David McAfee wrote: >:) > >One of my pet peeves is when variables are used that are the opposite case >of a reserved word. > > >String string = "StRiNg"; > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >wrote: > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > -- > > Stuart > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > Shamil, why do you prefer case sensitivity? > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > Android(Java). > > > > > > Just wondering, > > > > > > David > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > >wrote: > > > > > > > Hi Dan -- > > > > > > > > > I do prefer VB for at least one reason: > > > > > VB is not case sensitive while C# is. > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > because it > > > > is *not* case sensitive :) (And I have been programming using > VBA/VB6 for > > > > 10+ years). > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > Thank you. > > > > > > > > -- Shamil > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > I do prefer VB for at least one reason: VB is not case > sensitive while C# > > > > > is. For example, the variable 'stgPerson' in VB is the > same as when you > > > > > type 'stgperson'; VB will change the case for you. But C# > sees 'stgPerson' > > > > > and 'stgperson' as two separate variables, and I don't see > how that would be > > > > > helpful. > > > > > > > > > > Good Luck! > > > > > Dan From davidmcafee at gmail.com Mon Nov 14 16:28:32 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 14:28:32 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I still use it (or a variation of it), even in other languages. On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and they > prefer not to include the type as a prefix. What could be the reason for > this? I know there are more tooltips to help identify a variable but this > is no help if you are looking at printed code. > > David > > > At 15/11/2011, David McAfee wrote: > >> :) >> >> One of my pet peeves is when variables are used that are the opposite case >> of a reserved word. >> >> >> String string = "StRiNg"; >> >> >> >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: >> >> > Here we go, grab your tin hats everyone and duck for cover :-) >> > >> > -- >> > Stuart >> > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: >> > >> > > Shamil, why do you prefer case sensitivity? >> > > >> > > That is one of my most common mistakes when developing in C, C#, Java, >> > > Android(Java). >> > > >> > > Just wondering, >> > > >> > > David >> > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < >> mcp2004 at mail.ru >> > >wrote: >> > > >> > > > Hi Dan -- >> > > > >> > > > > I do prefer VB for at least one reason: >> > > > > VB is not case sensitive while C# is. >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it >> > > > is *not* case sensitive :) (And I have been programming using >> VBA/VB6 for >> > > > 10+ years). >> > > > I can provide my reasoning but would it make any difference there? >> > > > >> > > > Thank you. >> > > > >> > > > -- Shamil >> > > > >> > > > >> > > > 14 2011, 18:29 "Dan Waters" : >> > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive >> while C# >> > > > > is. For example, the variable 'stgPerson' in VB is the same as >> when you >> > > > > type 'stgperson'; VB will change the case for you. But C# sees >> 'stgPerson' >> > > > > and 'stgperson' as two separate variables, and I don't see how >> that would be >> > > > > helpful. >> > > > > >> > > > > Good Luck! >> > > > > Dan >> > > ______________________________**_________________ > 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 Mon Nov 14 16:47:21 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:47:21 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Hi David -- Have a look: http://thejoyofcode.com/_NET_Naming_Conventions.aspx http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices http://msdn.microsoft.com/en-us/library/ms229045.aspx Hungarian notation is depreciated for .NET languages, still Hungarian notation "dialect" (LRNC) is widely used in VBA world, and VB6 code does use both "classical" Hungarian notation or LRNC... Thank you. -- Shamil 15 ?????? 2011, 02:24 ?? David Emerson : > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and > they prefer not to include the type as a prefix. What could be the > reason for this? I know there are more tooltips to help identify a > variable but this is no help if you are looking at printed code. > > David > > At 15/11/2011, David McAfee wrote: > >:) > > > >One of my pet peeves is when variables are used that are the opposite case > >of a reserved word. > > > > > >String string = "StRiNg"; > > > > > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: > > > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > > > -- > > > Stuart > > > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > > > Shamil, why do you prefer case sensitivity? > > > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > > Android(Java). > > > > > > > > Just wondering, > > > > > > > > David > > > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > > >wrote: > > > > > > > > > Hi Dan -- > > > > > > > > > > > I do prefer VB for at least one reason: > > > > > > VB is not case sensitive while C# is. > > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > > because it > > > > > is *not* case sensitive :) (And I have been programming using > > VBA/VB6 for > > > > > 10+ years). > > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > > > > > -- Shamil > > > > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case > > sensitive while C# > > > > > > is. For example, the variable 'stgPerson' in VB is the > > same as when you > > > > > > type 'stgperson'; VB will change the case for you. But C# > > sees 'stgPerson' > > > > > > and 'stgperson' as two separate variables, and I don't see > > how that would be > > > > > > helpful. > > > > > > > > > > > > Good Luck! > > > > > > Dan > > _______________________________________________ > 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 Mon Nov 14 16:50:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:50:05 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- I'm off - 2:49 a.m. here - your turn now :) Thank you. -- Shamil 15 ?????? 2011, 01:19 ?? "Stuart McLachlan" : > Go on, we haven't had a good flame war on any of the dba lists for ages. > > The Natural/Surrogate and Bound/Unbound issues are dead. > > ;-) > > -- > Stuart > > On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > From stuart at lexacorp.com.pg Mon Nov 14 16:50:43 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 08:50:43 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, Message-ID: <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and they > > prefer not to include the type as a prefix. What could be the reason for > > this? I know there are more tooltips to help identify a variable but this > > is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the opposite case > >> of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, C#, Java, > >> > > Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it > >> > > > is *not* case sensitive :) (And I have been programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > http://www.databaseadvisors.**com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Mon Nov 14 20:09:44 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2011 13:09:44 +1100 Subject: [dba-VB] Which version of Visual Studio References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Hi Stuart, Your code below would return the wrong result here in OZ ;-) In .net you should probably cast to datetime and use the month property to return either a string or int as required. C# or VB doesn't matter though I prefer C#. I use VB only when I have to. Cheers Michael M Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and > > they prefer not to include the type as a prefix. What could be the > > reason for this? I know there are more tooltips to help identify a > > variable but this is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the > >> opposite case of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >> >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, > >> > > C#, Java, Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > >> > > > programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > >> > > > > sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the > >> > > > > same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# > >> > > > > sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see > >> > > > > how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > eadvisors.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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 From stuart at lexacorp.com.pg Mon Nov 14 21:33:35 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 13:33:35 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Message-ID: <4EC1DD8F.14609.1F7FAF85@stuart.lexacorp.com.pg> No it wouldn't ;-) Here in PNG we use the same format as OZ. Date$ in various BASIC dialects is not locale aware. It always returns mm-dd-yyyy. That's why I have numerous functions which parse out strMonth, lngMonthetc and do different manipulations on the parts. -- Stuart On 15 Nov 2011 at 13:09, Michael Maddison wrote: > Hi Stuart, > > Your code below would return the wrong result here in OZ ;-) > > In .net you should probably cast to datetime and use the month property > to return either a string or int as required. > C# or VB doesn't matter though I prefer C#. I use VB only when I have > to. > > Cheers > > Michael M > > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables > depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > On 14 Nov 2011 at 14:28, David McAfee wrote: > > > I still use it (or a variation of it), even in other languages. > > > > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson > wrote: > > > > > Here is a related question to variable names. I read somewhere that > > > > Hungarian naming convention is not now supported by Microsoft and > > > they prefer not to include the type as a prefix. What could be the > > > reason for this? I know there are more tooltips to help identify a > > > variable but this is no help if you are looking at printed code. > > > > > > David > > > > > > > > > At 15/11/2011, David McAfee wrote: > > > > > >> :) > > >> > > >> One of my pet peeves is when variables are used that are the > > >> opposite case of a reserved word. > > >> > > >> > > >> String string = "StRiNg"; > > >> > > >> > > >> > > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > > >> > >> >wrote: > > >> > > >> > Here we go, grab your tin hats everyone and duck for cover :-) > > >> > > > >> > -- > > >> > Stuart > > >> > > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > > >> > > > >> > > Shamil, why do you prefer case sensitivity? > > >> > > > > >> > > That is one of my most common mistakes when developing in C, > > >> > > C#, Java, Android(Java). > > >> > > > > >> > > Just wondering, > > >> > > > > >> > > David > > >> > > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > > >> mcp2004 at mail.ru > > >> > >wrote: > > >> > > > > >> > > > Hi Dan -- > > >> > > > > > >> > > > > I do prefer VB for at least one reason: > > >> > > > > VB is not case sensitive while C# is. > > >> > > > I'm not arguing - that's funny: I, personally, dislike > > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > > >> > > > programming using > > >> VBA/VB6 for > > >> > > > 10+ years). > > >> > > > I can provide my reasoning but would it make any difference > there? > > >> > > > > > >> > > > Thank you. > > >> > > > > > >> > > > -- Shamil > > >> > > > > > >> > > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > > >> > > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > > >> > > > > sensitive > > >> while C# > > >> > > > > is. For example, the variable 'stgPerson' in VB is the > > >> > > > > same as > > >> when you > > >> > > > > type 'stgperson'; VB will change the case for you. But C# > > >> > > > > sees > > >> 'stgPerson' > > >> > > > > and 'stgperson' as two separate variables, and I don't see > > >> > > > > how > > >> that would be > > >> > > > > helpful. > > >> > > > > > > >> > > > > Good Luck! > > >> > > > > Dan > > >> > > > > > > ______________________________**_________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > eadvisors.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 > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 > > _______________________________________________ > 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 Nov 15 10:34:38 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2011 17:34:38 +0100 Subject: [dba-VB] Which version of Visual Studio Message-ID: Hi Stuart You could but you didn't as that would have been sloppy code ... In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. /gustav >>> "Stuart McLachlan" 14-11-2011 23:50 >>> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart From stuart at lexacorp.com.pg Tue Nov 15 16:07:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2011 08:07:45 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: Message-ID: <4EC2E2B1.4301.237BBEF5@stuart.lexacorp.com.pg> I did it in PowerBasic. On 15 Nov 2011 at 17:34, Gustav Brock wrote: > Hi Stuart > > You could but you didn't as that would have been sloppy code ... > > In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. > > /gustav > > > >>> "Stuart McLachlan" 14-11-2011 23:50 >>> > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:18:30 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:18:30 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Message-ID: <000001cca459$da428960$8ec79c20$@com.au> Hi Everyone, I am currently teaching myself asp.net and using vb.net as the code behind. What I would like to create is a login page for my site using MySQL or MariaDB instead of the built in ASP.net security. Has anyone come across some good tutorial for something like this? Thanks Vlad From mcp2004 at mail.ru Wed Nov 16 06:30:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:30:44 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca459$da428960$8ec79c20$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:36:35 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:36:35 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: <000501cca45c$60d99340$228cb9c0$@com.au> Hi Shamil, You're awesome! I'll muck around with that and report back... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:31 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > 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 mcp2004 at mail.ru Wed Nov 16 06:50:39 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:50:39 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000501cca45c$60d99340$228cb9c0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-VB] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From actebs at actebs.com.au Fri Nov 18 18:33:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 19 Nov 2011 11:33:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca652$e27e7850$a77b68f0$@com.au> Hi Shamil, OK, after much mucking around, I have found an alternative solution that works beautifully. Here is the article that outlines the whole process: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Sat Nov 19 02:20:32 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Nov 2011 12:20:32 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca652$e27e7850$a77b68f0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From accessd at shaw.ca Sat Nov 19 11:24:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2011 09:24:42 -0800 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Here is another implementation of CAPTCHA from Google. I initially set it up on my own site and have subsequently set it up on a couple of client sites. http://www.google.com/recaptcha/captcha ...and it works great with all the bells and whistles. Note; Images of text should be distorted randomly before being presented to the user. Many implementations of CAPTCHAs use undistorted text, or text with only minor distortions. These implementations are vulnerable to simple automated attacks. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Saturday, November 19, 2011 12:21 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm l > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ 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 Sat Nov 19 17:27:14 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2011 09:27:14 +1000 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> References: <000001cca459$da428960$8ec79c20$@com.au>, , <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Message-ID: <4EC83B52.335.385DDF3F@stuart.lexacorp.com.pg> Looks good and I like the concept of using the results to improve the accuracy of digitized books. -- Stuart On 19 Nov 2011 at 9:24, Jim Lawrence wrote: > Here is another implementation of CAPTCHA from Google. I initially set it up > on my own site and have subsequently set it up on a couple of client sites. > > http://www.google.com/recaptcha/captcha > > ...and it works great with all the bells and whistles. > > Note; Images of text should be distorted randomly before being presented to > the user. Many implementations of CAPTCHAs use undistorted text, or text > with only minor distortions. These implementations are vulnerable to simple > automated attacks. > > Jim > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Saturday, November 19, 2011 12:21 AM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > Hi Vlad -- > > Thank you for your progress feedback. > > FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET > site: > > http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx > > -- Shamil > > 19 2011, 04:34 "ACTEBS" : > > Hi Shamil, > > > > OK, after much mucking around, I have found an alternative solution that > works beautifully. > > > > Here is the article that outlines the whole process: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm > l > > > > Here are the supporting articles which you should be comfortable with, and > have the included software installed before attempting the above link: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-databinding-linq-entities.html > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-winform-data-source.html > > > > I am currently working my way through it all and have a majority of it > working. I am just trying to find out how to include CAPTCHA into the > solution and then I will give everyone the opportunity to download my test > site if you like... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > Sent: Wednesday, 16 November 2011 11:51 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > Hi Vlad, > > > > > You're awesome! > > That's MSDN... > > > > > I'll muck around with that and report back... > > Quite some folks here (including mysefl) will be waiting for your report I > guess - the same approach should work for MS Access backend used on ASP.NET > site - so you may try to make both :) > > > > Thank you. > > > > -- Shamil > > > > 16 2011, 16:37 "ACTEBS" : > > > Hi Shamil, > > > > > > You're awesome! I'll muck around with that and report back... > > > > > > Thanks > > > > > > Vlad > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > > Sent: Wednesday, 16 November 2011 11:31 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > > > Hi Vlad -- > > > > > > Have a look: > > > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > > > If you'll happen to make it working for you don't hesitate to share your > experience :) > > > > > > Thank you. > > > > > > -- Shamil > > > > > > 16 2011, 16:19 "ACTEBS" : > > > > Hi Everyone, > > > > > > > > I am currently teaching myself asp.net and using vb.net as the code > behind. > > > > What I would like to create is a login page for my site using MySQL or > > > > MariaDB instead of the built in ASP.net security. > > > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > > > Thanks > > > > > > > > Vlad > > > > > > > > _______________________________________________ > > > > 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 > > > > > > _______________________________________________ > 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 actebs at actebs.com.au Sat Nov 19 21:29:08 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 20 Nov 2011 14:29:08 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca734$904e2480$b0ea6d80$@com.au> Hi Everyone, Does anyone know how you create the control from this link: http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx I've compiled/built the downloaded project and added and referenced the resultant WebControlCaptcha.DLL to my project. How do I get the control into the Toolbox? Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 18:48:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 11:48:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000101cca979$a4de70c0$ee9b5240$@com.au> Hi Everyone, I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: http://download.actebs.com.au/asp/LoginMySQL.zip Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: http://www.mysql.com/products/connector/ Download the item called "ADO.NET Driver for MySQL (Connector/NET)" Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. I will be asking a heap of question shortly and I hope you guys can help me out... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 19:04:18 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 12:04:18 +1100 Subject: [dba-VB] VB.Net Database Classes Message-ID: <000201cca97b$d3d7d270$7b877750$@com.au> Hi Everyone, To create this custom membership site, I would like to learn how to use and create database classes for the project and I'm hoping someone has the patience to guide me through it. I have tried searching on the web, but everyone is talking about classes, methods and properties but not about actual database access and data retrieval. So basically my question is as follows. Suppose you have 2 tables in your database tblUsers and tblUsersRoles. The fields in these tables are: UserID RoleID Username UserEmail UserPassword UserCreated UserLastLogin RoleID RoleDescription How would I create the classes for the above tables and also, how do I use these classes within the site as well? By use within the site I mean, how do I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. Many thanks Vlad From jwcolby at colbyconsulting.com Tue Nov 22 21:05:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:05:24 -0500 Subject: [dba-VB] Hyper-V VM oddness Message-ID: <4ECC62F4.7050201@colbyconsulting.com> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs it could handle the load. The sole purpose of one of the VMs is to host a third party application. When this app is running the VM says that the single core I assign to it is pegged, 100% utilization. However none of the host machine cores shows any significant usage, and the total server usage bounces between 0 and 1%. So I'm wondering what the heck is going on? The application on the dedicated VM server was processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million records / hour. I expected one core to max and the total to say 1/16th total usage. Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not busy at all? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Nov 22 21:25:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:25:57 -0500 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC62F4.7050201@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> Message-ID: <4ECC67C5.8040405@colbyconsulting.com> I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. Sorry for the ring. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/22/2011 10:05 PM, jwcolby wrote: > I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs > it could handle the load. The sole purpose of one of the VMs is to host a third party application. > When this app is running the VM says that the single core I assign to it is pegged, 100% > utilization. However none of the host machine cores shows any significant usage, and the total > server usage bounces between 0 and 1%. > > So I'm wondering what the heck is going on? The application on the dedicated VM server was > processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine > one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo > server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million > records / hour. I expected one core to max and the total to say 1/16th total usage. > > Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not > busy at all? > From hans.andersen at phulse.com Tue Nov 22 22:59:10 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Tue, 22 Nov 2011 20:59:10 -0800 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC67C5.8040405@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> <4ECC67C5.8040405@colbyconsulting.com> Message-ID: <7788A799-B464-404C-9681-14FAB97737FF@phulse.com> John, This could also be a sign of heavy IO utilisation that is only being measured in ring 0. Best regards, Hans-Christian Andersen On 22 Nov 2011, at 19:25, jwcolby wrote: > I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. > > Sorry for the ring. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/22/2011 10:05 PM, jwcolby wrote: >> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs >> it could handle the load. The sole purpose of one of the VMs is to host a third party application. >> When this app is running the VM says that the single core I assign to it is pegged, 100% >> utilization. However none of the host machine cores shows any significant usage, and the total >> server usage bounces between 0 and 1%. >> >> So I'm wondering what the heck is going on? The application on the dedicated VM server was >> processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine >> one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo >> server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million >> records / hour. I expected one core to max and the total to say 1/16th total usage. >> >> Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not >> busy at all? >> > _______________________________________________ > 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 Wed Nov 23 02:32:06 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:32:06 +0400 Subject: [dba-VB] =?utf-8?q?VB=2ENet_Database_Classes?= In-Reply-To: <000201cca97b$d3d7d270$7b877750$@com.au> References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Wed Nov 23 02:49:30 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:49:30 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000101cca979$a4de70c0$ee9b5240$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000101cca979$a4de70c0$ee9b5240$@com.au> Message-ID: Hi Vlad, > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, > this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. > Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. You don't have to use ASP.NET controls to implement membership features using samples I referred: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 I didn't use that samples but I have worked quite a bit with native ASP.NET membership classes, which use MS SQL backend, and I'd note that implementing your own membership provider could be rather time consuming... Sending e-mail on login can be done by using .NET/C# SMTP classes... If you're just starting with .NET OleDb, ASP.NET and web development and you're going to do a lot of custom development including custom membership/login/logout/... implementation be prepared it all could take quite some time... Sorry, I cannot provide more help these days... -- Shamil 23 ?????? 2011, 04:49 ?? "ACTEBS" : > Hi Everyone, > > I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. > > For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: > > http://download.actebs.com.au/asp/LoginMySQL.zip > > Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: > > http://www.mysql.com/products/connector/ > > Download the item called "ADO.NET Driver for MySQL (Connector/NET)" > > Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll > > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. > > I will be asking a heap of question shortly and I hope you guys can help me out... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-VB] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From newsgrps at dalyn.co.nz Wed Nov 23 17:21:18 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 12:21:18 +1300 Subject: [dba-VB] Connection String Anomoly Message-ID: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I am trying to understand what could be causing this to happen. I have this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Server.ScriptTimeout = 360 Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "data source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" This connection works and I can access stored procedures etc. However, when I replace the Conn.Connection line above with this line below it does not work conn.ConnectionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings( "MyDatabaseConnection").ConnectionString The Web.Config file has this: Any ideas why this might be? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Wed Nov 23 19:48:33 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 23 Nov 2011 17:48:33 -0800 Subject: [dba-VB] Connection String Anomoly In-Reply-To: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: This may be nothing, but I checked some auto-generated code in a project of mine, and the code uses square brackets: this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; Have you tried setting a breakpoint in the code and seeing exactly what is returned into conn.ConnectionString? Doug On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > I am trying to understand what could be causing this to happen. I have > this code: > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > System.EventArgs) Handles Me.Load > > Server.ScriptTimeout = 360 > > Dim conn As New SqlClient.SqlConnection > conn.ConnectionString = "data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > > This connection works and I can access stored procedures etc. > > However, when I replace the Conn.Connection line above with this line > below it does not work > > conn.ConnectionString = System.Web.Configuration.** > WebConfigurationManager.**ConnectionStrings( "MyDatabaseConnection").** > ConnectionString > > The Web.Config file has this: > > > name="MyDatabaseConnection" > connectionString="data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > providerName="System.Data.**SqlClient" > /> > > > Any ideas why this might be? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From newsgrps at dalyn.co.nz Wed Nov 23 21:10:22 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 16:10:22 +1300 Subject: [dba-VB] Connection String Anomoly In-Reply-To: References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111124031058.ZWTV10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I have used the round bracket syntax in another project and it worked ok. That project was complete in itself. This project is an add on to another one being developed by a separate developer. I don't have access to the complete project except when it is installed on a test server. Even then all I can do is put my files in place and see how they run. The file locations are different from other projects I have done but they seem to work except for this connection string. Since everything else works it may be some time before I can spending more time playing around with it. Thanks for the suggestion. David At 24/11/2011, Doug Steele wrote: >This may be nothing, but I checked some auto-generated code in a project of >mine, and the code uses square brackets: > >this._connection.ConnectionString = >System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; > >Have you tried setting a breakpoint in the code and seeing exactly what is >returned into conn.ConnectionString? > >Doug > > >On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > > > I am trying to understand what could be causing this to happen. I have > > this code: > > > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > > System.EventArgs) Handles Me.Load > > > > Server.ScriptTimeout = 360 > > > > Dim conn As New SqlClient.SqlConnection > > conn.ConnectionString = "data source=MySQLSource;initial > > catalog=MyDataBase;user id=sa;password=mypassword" > > > > This connection works and I can access stored procedures etc. > > > > However, when I replace the Conn.Connection line above with this line > > below it does not work > > > > conn.ConnectionString = > System.Web.Configuration.WebConfigurationManager.**ConnectionStrings > ( "MyDatabaseConnection").ConnectionString > > > > The Web.Config file has this: > > > > > > > name="MyDatabaseConnection" > > connectionString="data > source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" > > providerName="System.Data.**SqlClient" > > /> > > > > > > Any ideas why this might be? > > > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand ______________________________**_________________ From actebs at actebs.com.au Thu Nov 24 07:43:24 2011 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 25 Nov 2011 00:43:24 +1100 Subject: [dba-VB] VB.Net Database Classes In-Reply-To: References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: <000001ccaaaf$0a06ac70$1e140550$@com.au> Thanks Shamil. Am working through this very slowly... Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 23 November 2011 7:32 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VB.Net Database Classes Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-VB] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From mcp2004 at mail.ru Sun Nov 27 15:27:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 01:27:44 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= Message-ID: Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil From accessd at shaw.ca Sun Nov 27 20:42:49 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:42:49 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Hi Shamil: I would recommend you contact Martin Reid as he is the Share-point guru. It might save a week of two. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Sun Nov 27 20:45:31 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:45:31 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: PS this looks like a really good deal. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Mon Nov 28 03:34:16 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 09:34:16 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I have been playing with VM ware recently. VMWare have a free product that allows you to install it on bare metal box IOW, No OS is initally installed. This saves you the overhead of Win2K8. Secondly, VMware seems to dynamically share memory, so with your 8 GB machine, you can start three or four machines with 4 GB each configured and probably allow bursts of 4 GB on each. I think it is good and I think it is better than Windows. http://www.vmware.com/products/vsphere-hypervisor/overview.html < VMware vSphere Hypervisor is the simplest and easiest way to get started with virtualization for free. This fully functional hypervisor lets you virtualize your servers and run your applications in virtual machines in a matter of minutes. vSphere Hypervisor is based on VMware ESXi, the hypervisor architecture that sets the industry standard for reliability, performance, and ecosystem support. Consolidate your applications onto fewer servers and start saving money through reduced hardware, power, cooling, and administration costs. With VMware vSphere Hypervisor, you can: > Mark On 28 November 2011 02:45, Jim Lawrence wrote: > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 mcp2004 at mail.ru Mon Nov 28 04:19:20 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:19:20 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 Mon Nov 28 04:30:56 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:30:56 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> References: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Message-ID: Hi Jim -- Yes, I know that Martin Reid is an MS SharePoint Guru. But wouldn't it be more useful and helpful for everybody here to discuss Sharepoint development options? I just don't know where should I better post my messages concerning SharePoint development - here in dba-VB, in Access-D, or...? I do not want to go to SharePoint sites as I suppose that SharePoint (/Office 365) + OpenXML development could soon become part of everyday practice of this DatabaseDevelopers community members. Look e.g. at this demonstration/sample: Open XML SDK + Office Services: Better Together http://blogs.msdn.com/b/brian_jones/archive/2010/02/26/open-xml-sdk-office-services-better-together.aspx It doesn't look "rocket science" at all still it needs(?) that much computing power as I noted. Sounds strange? Is it true? Should I ask Martin Reid personally or we'd better try to discuss this issue/(development) use case here? For the latter option (discussing SharePoint development here) - where should I better post my questions with a mark: "Special attention to Martin Reid" to not force Martin to feel obliged to get heavily involved in that discussion as it could be rather time consuming for him explaining the basics to SharePoint development beginners as I'm? Thank you. -- Shamil 28 ?????? 2011, 06:42 ?? "Jim Lawrence" : > Hi Shamil: > > I would recommend you contact Martin Reid as he is the Share-point guru. It > might save a week of two. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 Mon Nov 28 04:33:50 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:33:50 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hi Jim -- Do you mean my family members getting a lot of computing power for "free" from my "mighty" server environment? (And so I can save quite some money in long run by not funding them in upgrading their laptops and smartphones hardware? :)) Thank you -- Shamil 28 ?????? 2011, 06:45 ?? "Jim Lawrence" : > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > Thank you. > > -- Shamil > > _______________________________________________ > 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 Mon Nov 28 09:21:37 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 15:21:37 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. I then quickly installed three OS's XP, Win7 and W2K. All worked well. I also downloaded a VMimage of a dos games machine. I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to > convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > > 28 ?????? 2011, 13:36 ?? Mark Breen : > > Hello Shamil, > > > > I have been playing with VM ware recently. > > > > VMWare have a free product that allows you to install it on bare metal > box > > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > > Secondly, VMware seems to dynamically share memory, so with your 8 GB > > machine, you can start three or four machines with 4 GB each configured > and > > probably allow bursts of 4 GB on each. > > > > I think it is good and I think it is better than Windows. > > > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > > > < > > VMware vSphere Hypervisor is the simplest and easiest way to get started > > with virtualization for free. This fully functional hypervisor lets you > > virtualize your servers and run your applications in virtual machines in > a > > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > > hypervisor architecture that sets the industry standard for reliability, > > performance, and ecosystem support. Consolidate your applications onto > > fewer servers and start saving money through reduced hardware, power, > > cooling, and administration costs. With VMware vSphere Hypervisor, you > can: > > > > > > > Mark > > > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > > > PS this looks like a really good deal. > > > > > > Jim > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > > Shamil > > > Sent: Sunday, November 27, 2011 1:28 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > > system > > > box requirements - please advise > > > > > > Hi All -- > > > > > > I'm looking to setup a system box here for MS Office 2010 / MS > SharePoint > > > 2010 development to be able to run something like the following > "virtual" > > > development environment: > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, > with > > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard > Edition at > > > least. Correct? > > > > > > Although I do not have that much development which needs such a > computing > > > power fully loaded all the time so I also wanted to share that system > > > between my family members who all have their own laptops etc. of > different > > > types. > > > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > > Windows Server 2008 R2 system would also be a good host running > several VMs > > > accessible via MS Windows Remote Desktops within my home/office > network? > > > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > > laptop and accessing that my "mighty" system via MS Windows Remote > Desktop > > > via Internet - I have a broadband access to Internet from my home so my > > > running system should be available from outside using MS Windows Remote > > > Desktop if it has a fixed IP address?... > > > > > > Please advise what are system box requirements for my development > > > environment I mentioned above... > > > > > > 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 > > > > > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Mon Nov 28 12:40:38 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 22:40:38 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Thank you for your information - I will be waiting for your news on your advanced experience with VMWare. -- Shamil? 28 ?????? 2011, 19:21 ?? Mark Breen : Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. ?I then quickly installed three OS's XP, Win7 and W2K. ?All worked well. ?I also downloaded a VMimage of a dos games machine. ?I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help? you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. ?This saves you the overhead of Win2K8. > ?Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be ?Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running ?64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 mcp2004 at mail.ru Mon Nov 28 14:16:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 00:16:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Mark, Gustav at all -- Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From mcp2004 at mail.ru Mon Nov 28 17:50:11 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 03:50:11 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi All -- Never mind - I have got visited VMWare site and I have got downloaded a free utility - VMWare vCenter Converter http://www.vmware.com/products/converter/ and then I have run test conversion of Internet Explorer Compatibility VPC image http://www.microsoft.com/download/en/details.aspx?id=11575 into VMDK format. Then I have got setup VMWAre workstation (trial version - http://www.vmware.com/products/workstation/overview.html) and voila' - I have got up & running converted into VMDK 'Internet Explorer Compatibility VPC image, and I'm using it right now to prepare this message. I'm going to try to download now 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 convert it into VMDK and try to run it on my test laptop - 32bit Win7 system with 3+GB RAM. We will see. It will be very slow very probably but I just have to know will it run at all - and when it will hopefully will then I will start assembling my new system box part by part... And I'm going to purchase VMWare workstation license in the near future - VMWare workstation has a feature of converting physical PCs into VMDK images. (Although VMWare workstation may fail to setup and run on Win2003 Server - we will see...) Thank you for all your help. -- Shamil 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > Hi Mark, Gustav at all -- > > Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. > > Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? > > As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... > > Thank you. > > -- Shamil > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > Hi Shamil et al > > > > Here is a free tool: > > > > http://www.starwindsoftware.com/converter > > > > to: > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > > > > /gustav > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > Hello Mark -- > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > Did you work with it and did it worked well as described in the VMWare ads? > > > > Also, the > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > > > 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 Mon Nov 28 18:49:01 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 28 Nov 2011 16:49:01 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements In-Reply-To: References: Message-ID: Hi Shamil: I think you'll be surprised at how fast VMs run on your computer, even with 3Gb and 32bit Windows. I have VMWare Workstation. I normally use VMs to run different versions of Office for Access development. Most of them are 20-25Gb. The first time I tried to convert an actual physical machine to a VM, I was surprised to find that the size of the resulting VM was going to be the total of EVERY file on the Windows boot drive - I wasn't ready to create a 200GB VM! I did convert one old Windows 2000 server machine to a VM successfully (as a backup before I sent the computer to recycling), but before I converted it, I removed as many programs and files as I could while still keeping it functional. Doug On Mon, Nov 28, 2011 at 3:50 PM, Salakhetdinov Shamil wrote: > Hi All -- > > Never mind - I have got visited VMWare site and I have got downloaded a > free utility - VMWare vCenter Converter > > http://www.vmware.com/products/converter/ > > and then I have run test conversion of > > Internet Explorer Compatibility VPC image > > http://www.microsoft.com/download/en/details.aspx?id=11575 > > into VMDK format. > > Then I have got setup VMWAre workstation (trial version - > http://www.vmware.com/products/workstation/overview.html) > > and voila' - I have got up & running converted into VMDK 'Internet > Explorer Compatibility VPC image, and I'm using it right now to prepare > this message. > > I'm going to try to download now > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > convert it into VMDK and try to run it on my test laptop - 32bit Win7 > system with 3+GB RAM. We will see. > It will be very slow very probably but I just have to know will it run at > all - and when it will hopefully will then I will start assembling my new > system box part by part... > > And I'm going to purchase VMWare workstation license in the near future - > VMWare workstation has a feature of converting physical PCs into VMDK > images. (Although VMWare workstation may fail to setup and run on Win2003 > Server - we will see...) > > Thank you for all your help. > > -- Shamil > > > > > 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > > Hi Mark, Gustav at all -- > > > > Now, when I'm going to take VMWare vSphere route I wanted to make a > temporary/transitional "virtual copy" of my physical system box running MS > Windows 2003 Server together with its harddisk (250GB) partitioned into one > system drive and 5 logical drives. > > > > Are there any free/inexpensive tools to make such a virtual copy as VHD > and/or VMDK image/set of images? > > > > As far as I understand I should be able to use this "virtual > copy/machine" as an active virtual machine running under VMWare or I can > just mount its virtual harddisks to get their data transferred on the new > system/archived?... > > > > Thank you. > > > > -- Shamil > > > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > > Hi Shamil et al > > > > > > Here is a free tool: > > > > > > http://www.starwindsoftware.com/converter > > > > > > to: > > > > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > > > StarWind Converter is a downloadable V2V conversion tool for virtual > machines. You can use it to convert VMDK to VHD files and VHD to VMDK as > well as to IMG file, which is a native StarWind format. This is a very > simple but useful file conversion tool that will convert virtual hard drive > images from VMware's VMDK format into the Microsoft's VHD format. It is a > sector by sector copy operation from one format to the other. It does not > modify the source image and will leave it so you can continue to use it. > > > > > > > > > /gustav > > > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > > Hello Mark -- > > > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > > Did you work with it and did it worked well as described in the VMWare > ads? > > > > > > Also, the > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways > to convert that Hyper-V image into an WMare image? > > > > > > 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 mcp2004 at mail.ru Wed Nov 30 14:10:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 00:10:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From gustav at cactus.dk Wed Nov 30 16:04:12 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2011 23:04:12 +0100 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements Message-ID: Hi Shamil Yep, that's a show stopper. The free VMware Server will allow up to two CPUs and 64-bit but only if the host is equal or larger. I'm not aware of any other brand of VM that will simulate multiple CPUs or cores on a host with less resources. /gustav >>> Salakhetdinov Shamil 30-11-2011 21:10 >>> Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil From newsgrps at dalyn.co.nz Wed Nov 30 16:19:01 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 01 Dec 2011 11:19:01 +1300 Subject: [dba-VB] vb.net vs c#.net Message-ID: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Just out of curiosity, a comment I read recently was that 99% of .net programmers seem to be using c#. As far as this group goes: What are peoples preferences? What do you do most of your development work in? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From davidmcafee at gmail.com Wed Nov 30 16:25:33 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 30 Nov 2011 14:25:33 -0800 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I use both. VB.net was easier for me to move over to, so a lot of my earlier stuff is in VB.net. I try to push myself to always use C# for newer stuff because everyone I deal seems to only use C#. Another reason that I'm using C# more is that I'm still learning Java, and C# is closer to Java than VB.net is, so I tend to practice on stuff like case sensitivity and variable declarations. D On Wed, Nov 30, 2011 at 2:19 PM, David Emerson wrote: > Just out of curiosity, a comment I read recently was that 99% of .net > programmers seem to be using c#. > > As far as this group goes: > > What are peoples preferences? > > What do you do most of your development work in? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > 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 Nov 30 16:51:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 17:51:49 -0500 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: IME, I have observed the elitist preference for C# in the marketplace, and the dimunition of Vb.NET in the same marketplace. There are a few differences, AFICS, but there are translators to overcome this. That said, almost all that is required to move from VB to C# is a bunch of semi-colons. But the marketplace seems to regard these as worth at least $20 an hour more income. So I have dived into C#. Most of the transition has proved trivial. A. From stuart at lexacorp.com.pg Wed Nov 30 22:09:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Dec 2011 14:09:07 +1000 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4ED6FDE3.14088.38C4BD1@stuart.lexacorp.com.pg> Don't forget the curly brackets - go to have lots of loverly curly brackets too :-) -- Stuart On 30 Nov 2011 at 17:51, Arthur Fuller wrote: > IME, I have observed the elitist preference for C# in the marketplace, and > the dimunition of Vb.NET in the same marketplace. There are a few > differences, AFICS, but there are translators to overcome this. That said, > almost all that is required to move from VB to C# is a bunch of > semi-colons. But the marketplace seems to regard these as worth at least > $20 an hour more income. So I have dived into C#. Most of the transition > has proved trivial. > > A. > _______________________________________________ > 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 Nov 1 14:44:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 15:44:53 -0400 Subject: [dba-VB] Unhooking events while they are running Message-ID: <4EB04C35.4010201@colbyconsulting.com> I am using the directory watcher class. When the parent class to start, it hooks the events and when it is told to stop it unhooks the events. My question is simply that events are asynchronous and as such could occur at the same instant that the parent class is being told to stop. I use a boolean evFileDeletedIsRunning flag which the event sets as the first line inside of that event and clears as the last line of the event. I then check this flag before unhooking the event. Is this adequate protection? What happens if an event is unhooked while the event sink is running? Is it a page fault or something less catastrophic? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From stuart at lexacorp.com.pg Tue Nov 1 16:33:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2011 07:33:51 +1000 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB04C35.4010201@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> Message-ID: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> To quote MS: A hook is a point in the system message-handling mechanism where an application can install a subroutine to monitor the message traffic in the system and process certain types of messages before they reach the target window procedure. Is that what you are actually doing i.e. "intercepting" and acting on messages intended for another target ? Or are you just using a FileSystemWatcher, which is basically a wrapper for WaitForSingleObject in Kernel32.DLL, to monitor changes? If the latter, I'd say you solution is quite adequate. On 1 Nov 2011 at 15:44, jwcolby wrote: > I am using the directory watcher class. When the parent class to > start, it hooks the events and when it is told to stop it unhooks the > events. > > My question is simply that events are asynchronous and as such could > occur at the same instant that the parent class is being told to stop. > I use a boolean evFileDeletedIsRunning flag which the event sets as > the first line inside of that event and clears as the last line of the > event. I then check this flag before unhooking the event. > > Is this adequate protection? What happens if an event is unhooked > while the event sink is running? > Is it a page fault or something less catastrophic? > > -- > 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 Tue Nov 1 16:42:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 17:42:35 -0400 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> Message-ID: <4EB067CB.7080100@colbyconsulting.com> I am just using filesystemwatcher. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/1/2011 5:33 PM, Stuart McLachlan wrote: > To quote MS: A hook is a point in the system message-handling mechanism where an > application can install a subroutine to monitor the message traffic in the system and process > certain types of messages before they reach the target window procedure. > > Is that what you are actually doing i.e. "intercepting" and acting on messages intended for > another target ? > > Or are you just using a FileSystemWatcher, which is basically a wrapper for > WaitForSingleObject in Kernel32.DLL, to monitor changes? > > If the latter, I'd say you solution is quite adequate. > > > > On 1 Nov 2011 at 15:44, jwcolby wrote: > >> I am using the directory watcher class. When the parent class to >> start, it hooks the events and when it is told to stop it unhooks the >> events. >> >> My question is simply that events are asynchronous and as such could >> occur at the same instant that the parent class is being told to stop. >> I use a boolean evFileDeletedIsRunning flag which the event sets as >> the first line inside of that event and clears as the last line of the >> event. I then check this flag before unhooking the event. >> >> Is this adequate protection? What happens if an event is unhooked >> while the event sink is running? >> Is it a page fault or something less catastrophic? >> >> -- >> 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 Wed Nov 2 07:41:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Nov 2011 08:41:21 -0400 Subject: [dba-VB] Owner scope Message-ID: <4EB13A71.4000802@colbyconsulting.com> A couple of questions: We use the term parent for inheritance. What is the term for the "owner" of a variable or class. IOW I use a RunState class. A process class can have class level variables which are initialized to instances of this class. Thus (in my terminology) the class "owns" these RunState class instances. What I am windering is if there is a OO term for this "owner" concept. Next question. The run state class has methods and properties. Some of the methods, specifically the Start method should be visible from the object trying to "start" the process. Other methods should only be called from the "owner" of the RunState class. What is the syntax for scope to make some properties and methods only visible from the owner side? I am trying to build a state machine where the RunState class starts at state Stopped. clsRunState has 4 states. 1) Stopped 2) Starting 3) Started 4) Stopped State changes can only be done by clsRunState, IOW it is not possible to directly set the RunState from outside of clsRunState. This allows clsRunState to enforce the state machine rules / transitions. clsRunState has 5 methods 1) mStart - called by the external process starting this process 2) mInitialized - Called by the owner to signal that Initialization completed 3) mInitFailed - Called by the owner to indicate that initialization failed, passing in error info 4) mStop - Called by the external process or the owner to trigger cleanup and stopping 5) mTerminated - called by the owner to signal that termination is complete clsRunState has 2 events 1) evInitialize - Raised by mStart() and sunk by the owner to trigger initialization code. 2) evTerminate - Raised by mStop() and sunk by the owner to trigger cleanup and shutdown. 1) The process is started when an external process calls the clsRunState.mStart() method (from outside of the owner). If the state was Stopped when entering mStart, then clsRunState sets the state to Starting and raises an evInitialize event which is sunk in the "owner" (whatever we are calling that). If the state was not Stopped when clsRunState.mStart() is called then the method just returns, doing nothing. The owner sinks the evInitialize and performs initialization. If the initialization works then the owner calls the clsRunState.mInitialized() method which sets the RunState to Started. If initialization fails then the the owner calls clsRunState.mInitFailed() passing in a fail text message which is stored in a property for the external process to read. clsRunState.mInitFailed() then sets the RunState to Stopped. The external process or the owner can call clsRunState.mStop(). clsRunState.mStop() sets the RunState to Stopping and raises the evTerminate event which is sunk by the owner and is used to trigger cleanup of the process controlled by the RunState class. When the owner finishes all termination processes the owner calls clsRunState.mTerminated() which sets the RunState to Stopped. I need the scope syntax to prevent the external process from calling methods that only the owner is supposed to call. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 5 11:29:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 12:29:57 -0400 Subject: [dba-VB] C# Scope Message-ID: <4EB56485.70602@colbyconsulting.com> Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From shamil at smsconsulting.spb.ru Sat Nov 5 11:56:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 19:56:58 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56485.70602@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> Message-ID: John, If you put class runState and class myClassParent in one class library and class myGrandParent in another class library referencing the first one then the following code would be the scoping solution you're looking for: ==== classlib1 ==== public class runState { public ... mStart() {...} internal ... mStarted() {...} } public class myClassParent { runState myRunState } ===== classlib2 === public class myGrandParent { myClassParent MyClassParent; } Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 19:30 To: VBA Subject: [dba-VB] C# Scope Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- 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 Sat Nov 5 12:11:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:11:52 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56E58.7050205@colbyconsulting.com> Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From jwcolby at colbyconsulting.com Sat Nov 5 12:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:15:35 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56F37.7060802@colbyconsulting.com> The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From shamil at smsconsulting.spb.ru Sat Nov 5 13:32:13 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 21:32:13 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56E58.7050205@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: No, John, I mean a separate assembly/project with type ClassLibrary. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:12 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Nov 5 13:57:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 14:57:28 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: <4EB58718.3050408@colbyconsulting.com> Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class library >> and class myGrandParent in another class library referencing the first >> one then the following code would be the scoping solution you're looking > for: From shamil at smsconsulting.spb.ru Sat Nov 5 14:25:52 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:25:52 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56F37.7060802@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56F37.7060802@colbyconsulting.com> Message-ID: <0D5030F160A94419BB8D91720010D635@nant> John -- Sorry, I don't know what to say/advise here - I don't understand the reasoning... I personally routinely use inheritance or composition or delegation, and I usually do not care that much about scope: I do keep most of the stuff private or protected, and when needed I do make it internal or public... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:16 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Sat Nov 5 14:47:18 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:47:18 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB58718.3050408@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com><4EB56E58.7050205@colbyconsulting.com> <4EB58718.3050408@colbyconsulting.com> Message-ID: John -- With manager and supervisor classes being together in other classlibrary than RunState class you can try to use inheritance - inherit RunState by RunState1(for manager) and RunState2(for supervisor) then use delegation... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 21:57 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class >> library and class myGrandParent in another class library referencing >> the first one then the following code would be the scoping solution >> you're looking > for: _______________________________________________ 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 Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-VB] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From accessd at shaw.ca Wed Nov 9 16:13:23 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 14:13:23 -0800 Subject: [dba-VB] Silverlight dead In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: As mentioned many time before, Silverlight was a dead application before even got out there. http://www.zdnet.com/blog/microsoft/will-there-be-a-silverlight-6-and-does-i t-matter/11180 Flash is dead too and it is about time and Adobe is developing its replacement product called Edge. We will now have to learn how to use the Open Standards of HTML5 and CSS3. As a web developer all I can say it is it is a very good day. :-) Jim From jeff.developer at gmail.com Thu Nov 10 16:33:56 2011 From: jeff.developer at gmail.com (Jeff B) Date: Thu, 10 Nov 2011 16:33:56 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET Message-ID: Does anyone here have experience writing web pages in ASP.NET that require online signatures? I have a website ALMOST finished that needs users to sign on an iPad and I need to capture the signature, save it into an SQL Server 2005 database, and extract the signature back out to a PDF. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From davidmcafee at gmail.com Thu Nov 10 16:37:36 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 10 Nov 2011 14:37:36 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: My coworker is doing that very same thing, but I believe in C#. This is where he went for the custom control: realsignature.com He said it includes the license file. It looks like they have VB.Net samples on their site. HTH, David On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > Does anyone here have experience writing web pages in ASP.NET that require > online signatures? I have a website ALMOST finished that needs users to > sign on an iPad and I need to capture the signature, save it into an SQL > Server 2005 database, and extract the signature back out to a PDF. > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > > > _______________________________________________ > 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 Thu Nov 10 18:01:18 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 10 Nov 2011 16:01:18 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs users to > > sign on an iPad and I need to capture the signature, save it into an SQL > > Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 jeff.developer at gmail.com Fri Nov 11 07:30:48 2011 From: jeff.developer at gmail.com (Jeff B) Date: Fri, 11 Nov 2011 07:30:48 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: <003001cca076$20a08e80$61e1ab80$@gmail.com> OK, I guess I need to add some more information. We purchased a signature control from WebSignatureCapture. When I discovered that their control would not work for our site, they referred me to their sister-site, SuperSignature. I have worked with their support team as I could not get the signature box to show up on the published site, (it was a VS 2010 issue). It now appears that things are working ok, but I want to verify that the image is actually being stored in SQL, and I am currently having issues retrieving the image from SQL. Does anyone have some code they are willing to share that retrieves images? And the code you use to store it? (if I am not asking for too much?) Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, November 10, 2011 6:01 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs > > users to sign on an iPad and I need to capture the signature, save > > it into an SQL Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 dbdoug at gmail.com Fri Nov 11 10:03:56 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 11 Nov 2011 08:03:56 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: <003001cca076$20a08e80$61e1ab80$@gmail.com> References: <003001cca076$20a08e80$61e1ab80$@gmail.com> Message-ID: Hi Jeff: We just use SuperSignature as they suggested - to save a file to a folder on the server. But I do retrieve the signature data first as a System.Drawing.Bitmap, then convert it to a jpg and save it. I assume that you could write the Bitmap to a blob field in SQL. Sorry, the code is C#: // signature is returned as bitmap if no path specified System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); if (!ctlSignature.SignHasError) { // Save the image in JPEG format. BM.Save(Server.MapPath("~/sigs/sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); } else { Response.Write("Error:" + ctlSignature.SignInternalError); } Hope this helps! Doug On Fri, Nov 11, 2011 at 5:30 AM, Jeff B wrote: > OK, I guess I need to add some more information. > > We purchased a signature control from WebSignatureCapture. When I > discovered that their control would not work for our site, they referred me > to their sister-site, SuperSignature. > > I have worked with their support team as I could not get the signature box > to show up on the published site, (it was a VS 2010 issue). > > It now appears that things are working ok, but I want to verify that the > image is actually being stored in SQL, and I am currently having issues > retrieving the image from SQL. Does anyone have some code they are willing > to share that retrieves images? And the code you use to store it? (if I > am > not asking for too much?) > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, November 10, 2011 6:01 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET > > I did this for a client's app (in C#). We went with SuperSignature: > > http://www.supersignature.com/ > > If I remember, SuperSignature had a lot fewer options than RealSignature, > but did what we wanted (simple signature capture on a web app focused on > iPhone use) and was considerably cheaper. > > Their copy protection is a little quirky, but their tech support was > helpful. > > Doug > > On Thu, Nov 10, 2011 at 2:37 PM, David McAfee > wrote: > > > My coworker is doing that very same thing, but I believe in C#. > > > > This is where he went for the custom control: realsignature.com > > > > He said it includes the license file. > > > > It looks like they have VB.Net samples on their site. > > > > HTH, > > David > > > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B > wrote: > > > > > Does anyone here have experience writing web pages in ASP.NET that > > require > > > online signatures? I have a website ALMOST finished that needs > > > users to sign on an iPad and I need to capture the signature, save > > > it into an SQL Server 2005 database, and extract the signature back out > to a PDF. > > > > > > > > > Jeff Barrows > > > MCP, MCAD, MCSD > > > > > > Outbak Technologies, LLC > > > Racine, WI > > > jeff.developer at gmail.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 > > From newsgrps at dalyn.co.nz Sun Nov 13 20:00:43 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 14 Nov 2011 15:00:43 +1300 Subject: [dba-VB] Which version of Visual Studio Message-ID: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Ok - Here goes for my first post to this group. I currently have Visual Studio 2005 Professional installed which I have done some playing around on. I know this is getting a little old (like me). I am wanting to get more familiar with dot net and application development. Should I continue to use this to get more familiar with the dot net environment or should I get a later version (if so which one?). What are the advantages/disadvantages of each approach (apart from cost which is a big disincentive). The Express Visual Studio 2010 products don't seem to have enough features (for example the one dot net web application I do support is in vb.net but VS 2010 Express documentation doesn't seem to indicate that vb.net is included). Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Sun Nov 13 22:00:13 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 13 Nov 2011 20:00:13 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I have > done some playing around on. I know this is getting a little old (like > me). I am wanting to get more familiar with dot net and application > development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What are > the advantages/disadvantages of each approach (apart from cost which is a > big disincentive). The Express Visual Studio 2010 products don't seem to > have enough features (for example the one dot net web application I do > support is in vb.net but VS 2010 Express documentation doesn't seem to > indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From df.waters at comcast.net Mon Nov 14 08:27:58 2011 From: df.waters at comcast.net (Dan Waters) Date: Mon, 14 Nov 2011 08:27:58 -0600 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <002301cca2d9$9bc20b10$d3462130$@comcast.net> I disagree on automatically taking the plunge on C#. The two languages, vb.net and C# are now, with .Net 4 and Visual Studio 2010, almost identical, and MS will probably make them absolutely identical in one of the next versions. As a relative newcomer, you won't see the differences for a while. So, because there is no intrinsic advantage for either language, it's just your personal preference. In addition, I've found that the more I write in VB, the easier it is to read something in C# and understand what's happening (converting code and comparing line for line helps with this as well). Also, I've been programming in VB.Net for about 6 months, and have never not been able to find examples using VB.Net. In fact, I'd say that about 40% are in VB.Net, and the rest in C#. If you find an interesting example in C#, you can usually convert it here: http://converter.telerik.com/. Sometimes I will suffix my searches with '-C#' so that only VB.Net examples come up, and I can more quickly get what I'm looking for. Of course, if you are going to be programming within a group of C# developers, then you need to learn the language. If you're going to be programming on your own, which it sounds like you're doing, then I'd say skip the 'tiny brain exploding transition' and start with VB.Net. That's plenty of a learning curve just with the transition to any .Net language. I do prefer VB for at least one reason: VB is not case sensitive while C# is. For example, the variable 'stgPerson' in VB is the same as when you type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' and 'stgperson' as two separate variables, and I don't see how that would be helpful. Many C# developers will often say that 'C# rules the world' and so on. Not true. I think it's the same attitude that IT people have for Access. They want to be 'superior' and do the 'true' language. The truth is it's not that simple. You might want to write a small app in both languages, and see which one works for you. It's been a while, but I believe that there are separate VS 2010 Express downloads for each of the different languages. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, November 13, 2011 10:00 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Which version of Visual Studio Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I > have done some playing around on. I know this is getting a little old > (like me). I am wanting to get more familiar with dot net and > application development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What > are the advantages/disadvantages of each approach (apart from cost > which is a big disincentive). The Express Visual Studio 2010 products > don't seem to have enough features (for example the one dot net web > application I do support is in vb.net but VS 2010 Express > documentation doesn't seem to indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb dvisors.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 mcp2004 at mail.ru Mon Nov 14 15:05:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 01:05:41 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <002301cca2d9$9bc20b10$d3462130$@comcast.net> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Hi Dan -- > I do prefer VB for at least one reason: > VB is not case sensitive while C# is. I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). I can provide my reasoning but would it make any difference there? BTW, there are many "indirect signs" that C# is "superior" than VB.NET, e.g. DotNetNuke code base moved from VB.NET to C#, as well as another large commercial Internet shopping applications I have worked with... Why they did that? Recap: when moving into .NET development from any other system I'd recommend to use C#. If you have already a large code base developed using VB.NET then you should be safe to continue using VB.NET. Thank you. -- Shamil 14 ?????? 2011, 18:29 ?? "Dan Waters" : > I disagree on automatically taking the plunge on C#. > > The two languages, vb.net and C# are now, with .Net 4 and Visual Studio > 2010, almost identical, and MS will probably make them absolutely identical > in one of the next versions. As a relative newcomer, you won't see the > differences for a while. So, because there is no intrinsic advantage for > either language, it's just your personal preference. In addition, I've > found that the more I write in VB, the easier it is to read something in C# > and understand what's happening (converting code and comparing line for line > helps with this as well). > > Also, I've been programming in VB.Net for about 6 months, and have never not > been able to find examples using VB.Net. In fact, I'd say that about 40% > are in VB.Net, and the rest in C#. If you find an interesting example in > C#, you can usually convert it here: http://converter.telerik.com/. > Sometimes I will suffix my searches with '-C#' so that only VB.Net examples > come up, and I can more quickly get what I'm looking for. > > Of course, if you are going to be programming within a group of C# > developers, then you need to learn the language. If you're going to be > programming on your own, which it sounds like you're doing, then I'd say > skip the 'tiny brain exploding transition' and start with VB.Net. That's > plenty of a learning curve just with the transition to any .Net language. > > I do prefer VB for at least one reason: VB is not case sensitive while C# > is. For example, the variable 'stgPerson' in VB is the same as when you > type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' > and 'stgperson' as two separate variables, and I don't see how that would be > helpful. > > Many C# developers will often say that 'C# rules the world' and so on. Not > true. I think it's the same attitude that IT people have for Access. They > want to be 'superior' and do the 'true' language. The truth is it's not > that simple. > > You might want to write a small app in both languages, and see which one > works for you. > > It's been a while, but I believe that there are separate VS 2010 Express > downloads for each of the different languages. > > Good Luck! > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, November 13, 2011 10:00 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Which version of Visual Studio > > Apart from anything else, I think you should just take the plunge and start > using C#. It appears to be the language of choice for .Net developers. > Whenever you search for for .Net programming advice on the web, 99% of the > explanations and examples will be in C#. > > The transition from VB to C# will be, from my experience at least, a tiny > part of the brain exploding transition from Access/VBA to .Net. > > And if you're thinking of making web apps, my advice would be to start right > in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, > and I found the whole system to be really difficult to work with. > I thought it was just my advanced years and calcified brain, but I've > started working with MVC and it is, to my mind, much more straightforward. > > Doug > > On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > > > Ok - Here goes for my first post to this group. > > > > I currently have Visual Studio 2005 Professional installed which I > > have done some playing around on. I know this is getting a little old > > (like me). I am wanting to get more familiar with dot net and > > application development. > > > > Should I continue to use this to get more familiar with the dot net > > environment or should I get a later version (if so which one?). What > > are the advantages/disadvantages of each approach (apart from cost > > which is a big disincentive). The Express Visual Studio 2010 products > > don't seem to have enough features (for example the one dot net web > > application I do support is in vb.net but VS 2010 Express > > documentation doesn't seem to indicate that vb.net is included). > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > dvisors.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 davidmcafee at gmail.com Mon Nov 14 15:15:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:15:27 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Shamil, why do you prefer case sensitivity? That is one of my most common mistakes when developing in C, C#, Java, Android(Java). Just wondering, David On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > Hi Dan -- > > > I do prefer VB for at least one reason: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > 10+ years). > I can provide my reasoning but would it make any difference there? > > Thank you. > > -- Shamil > > > 14 ?????? 2011, 18:29 ?? "Dan Waters" : > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > is. For example, the variable 'stgPerson' in VB is the same as when you > > type 'stgperson'; VB will change the case for you. But C# sees > 'stgPerson' > > and 'stgperson' as two separate variables, and I don't see how that > would be > > helpful. > > > > Good Luck! > > Dan > From stuart at lexacorp.com.pg Mon Nov 14 15:18:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:18:48 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <002301cca2d9$9bc20b10$d3462130$@comcast.net>, Message-ID: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Go on, we haven't had a good flame war on any of the dba lists for ages. The Natural/Surrogate and Bound/Unbound issues are dead. ;-) -- Stuart On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > I can provide my reasoning but would it make any difference there? > From stuart at lexacorp.com.pg Mon Nov 14 15:21:44 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:21:44 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Here we go, grab your tin hats everyone and duck for cover :-) -- Stuart On 14 Nov 2011 at 13:15, David McAfee wrote: > Shamil, why do you prefer case sensitivity? > > That is one of my most common mistakes when developing in C, C#, Java, > Android(Java). > > Just wondering, > > David > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > > > Hi Dan -- > > > > > I do prefer VB for at least one reason: > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > > 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > > > Thank you. > > > > -- Shamil > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > > is. For example, the variable 'stgPerson' in VB is the same as when you > > > type 'stgperson'; VB will change the case for you. But C# sees > > 'stgPerson' > > > and 'stgperson' as two separate variables, and I don't see how that > > would be > > > helpful. > > > > > > Good Luck! > > > Dan > > > _______________________________________________ > 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 Mon Nov 14 15:26:01 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:26:01 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: :) One of my pet peeves is when variables are used that are the opposite case of a reserved word. String string = "StRiNg"; On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan wrote: > Here we go, grab your tin hats everyone and duck for cover :-) > > -- > Stuart > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > Shamil, why do you prefer case sensitivity? > > > > That is one of my most common mistakes when developing in C, C#, Java, > > Android(Java). > > > > Just wondering, > > > > David > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil >wrote: > > > > > Hi Dan -- > > > > > > > I do prefer VB for at least one reason: > > > > VB is not case sensitive while C# is. > > > I'm not arguing - that's funny: I, personally, dislike VB.NET because > it > > > is *not* case sensitive :) (And I have been programming using VBA/VB6 > for > > > 10+ years). > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > -- Shamil > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive > while C# > > > > is. For example, the variable 'stgPerson' in VB is the same as when > you > > > > type 'stgperson'; VB will change the case for you. But C# sees > > > 'stgPerson' > > > > and 'stgperson' as two separate variables, and I don't see how that > > > would be > > > > helpful. > > > > > > > > Good Luck! > > > > Dan > > > > > _______________________________________________ > > 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 newsgrps at dalyn.co.nz Mon Nov 14 16:23:03 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 15 Nov 2011 11:23:03 +1300 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Here is a related question to variable names. I read somewhere that Hungarian naming convention is not now supported by Microsoft and they prefer not to include the type as a prefix. What could be the reason for this? I know there are more tooltips to help identify a variable but this is no help if you are looking at printed code. David At 15/11/2011, David McAfee wrote: >:) > >One of my pet peeves is when variables are used that are the opposite case >of a reserved word. > > >String string = "StRiNg"; > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >wrote: > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > -- > > Stuart > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > Shamil, why do you prefer case sensitivity? > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > Android(Java). > > > > > > Just wondering, > > > > > > David > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > >wrote: > > > > > > > Hi Dan -- > > > > > > > > > I do prefer VB for at least one reason: > > > > > VB is not case sensitive while C# is. > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > because it > > > > is *not* case sensitive :) (And I have been programming using > VBA/VB6 for > > > > 10+ years). > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > Thank you. > > > > > > > > -- Shamil > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > I do prefer VB for at least one reason: VB is not case > sensitive while C# > > > > > is. For example, the variable 'stgPerson' in VB is the > same as when you > > > > > type 'stgperson'; VB will change the case for you. But C# > sees 'stgPerson' > > > > > and 'stgperson' as two separate variables, and I don't see > how that would be > > > > > helpful. > > > > > > > > > > Good Luck! > > > > > Dan From davidmcafee at gmail.com Mon Nov 14 16:28:32 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 14:28:32 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I still use it (or a variation of it), even in other languages. On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and they > prefer not to include the type as a prefix. What could be the reason for > this? I know there are more tooltips to help identify a variable but this > is no help if you are looking at printed code. > > David > > > At 15/11/2011, David McAfee wrote: > >> :) >> >> One of my pet peeves is when variables are used that are the opposite case >> of a reserved word. >> >> >> String string = "StRiNg"; >> >> >> >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: >> >> > Here we go, grab your tin hats everyone and duck for cover :-) >> > >> > -- >> > Stuart >> > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: >> > >> > > Shamil, why do you prefer case sensitivity? >> > > >> > > That is one of my most common mistakes when developing in C, C#, Java, >> > > Android(Java). >> > > >> > > Just wondering, >> > > >> > > David >> > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < >> mcp2004 at mail.ru >> > >wrote: >> > > >> > > > Hi Dan -- >> > > > >> > > > > I do prefer VB for at least one reason: >> > > > > VB is not case sensitive while C# is. >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it >> > > > is *not* case sensitive :) (And I have been programming using >> VBA/VB6 for >> > > > 10+ years). >> > > > I can provide my reasoning but would it make any difference there? >> > > > >> > > > Thank you. >> > > > >> > > > -- Shamil >> > > > >> > > > >> > > > 14 2011, 18:29 "Dan Waters" : >> > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive >> while C# >> > > > > is. For example, the variable 'stgPerson' in VB is the same as >> when you >> > > > > type 'stgperson'; VB will change the case for you. But C# sees >> 'stgPerson' >> > > > > and 'stgperson' as two separate variables, and I don't see how >> that would be >> > > > > helpful. >> > > > > >> > > > > Good Luck! >> > > > > Dan >> > > ______________________________**_________________ > 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 Mon Nov 14 16:47:21 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:47:21 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Hi David -- Have a look: http://thejoyofcode.com/_NET_Naming_Conventions.aspx http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices http://msdn.microsoft.com/en-us/library/ms229045.aspx Hungarian notation is depreciated for .NET languages, still Hungarian notation "dialect" (LRNC) is widely used in VBA world, and VB6 code does use both "classical" Hungarian notation or LRNC... Thank you. -- Shamil 15 ?????? 2011, 02:24 ?? David Emerson : > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and > they prefer not to include the type as a prefix. What could be the > reason for this? I know there are more tooltips to help identify a > variable but this is no help if you are looking at printed code. > > David > > At 15/11/2011, David McAfee wrote: > >:) > > > >One of my pet peeves is when variables are used that are the opposite case > >of a reserved word. > > > > > >String string = "StRiNg"; > > > > > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: > > > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > > > -- > > > Stuart > > > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > > > Shamil, why do you prefer case sensitivity? > > > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > > Android(Java). > > > > > > > > Just wondering, > > > > > > > > David > > > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > > >wrote: > > > > > > > > > Hi Dan -- > > > > > > > > > > > I do prefer VB for at least one reason: > > > > > > VB is not case sensitive while C# is. > > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > > because it > > > > > is *not* case sensitive :) (And I have been programming using > > VBA/VB6 for > > > > > 10+ years). > > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > > > > > -- Shamil > > > > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case > > sensitive while C# > > > > > > is. For example, the variable 'stgPerson' in VB is the > > same as when you > > > > > > type 'stgperson'; VB will change the case for you. But C# > > sees 'stgPerson' > > > > > > and 'stgperson' as two separate variables, and I don't see > > how that would be > > > > > > helpful. > > > > > > > > > > > > Good Luck! > > > > > > Dan > > _______________________________________________ > 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 Mon Nov 14 16:50:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:50:05 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- I'm off - 2:49 a.m. here - your turn now :) Thank you. -- Shamil 15 ?????? 2011, 01:19 ?? "Stuart McLachlan" : > Go on, we haven't had a good flame war on any of the dba lists for ages. > > The Natural/Surrogate and Bound/Unbound issues are dead. > > ;-) > > -- > Stuart > > On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > From stuart at lexacorp.com.pg Mon Nov 14 16:50:43 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 08:50:43 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, Message-ID: <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and they > > prefer not to include the type as a prefix. What could be the reason for > > this? I know there are more tooltips to help identify a variable but this > > is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the opposite case > >> of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, C#, Java, > >> > > Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it > >> > > > is *not* case sensitive :) (And I have been programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > http://www.databaseadvisors.**com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Mon Nov 14 20:09:44 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2011 13:09:44 +1100 Subject: [dba-VB] Which version of Visual Studio References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Hi Stuart, Your code below would return the wrong result here in OZ ;-) In .net you should probably cast to datetime and use the month property to return either a string or int as required. C# or VB doesn't matter though I prefer C#. I use VB only when I have to. Cheers Michael M Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and > > they prefer not to include the type as a prefix. What could be the > > reason for this? I know there are more tooltips to help identify a > > variable but this is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the > >> opposite case of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >> >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, > >> > > C#, Java, Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > >> > > > programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > >> > > > > sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the > >> > > > > same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# > >> > > > > sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see > >> > > > > how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > eadvisors.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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 From stuart at lexacorp.com.pg Mon Nov 14 21:33:35 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 13:33:35 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Message-ID: <4EC1DD8F.14609.1F7FAF85@stuart.lexacorp.com.pg> No it wouldn't ;-) Here in PNG we use the same format as OZ. Date$ in various BASIC dialects is not locale aware. It always returns mm-dd-yyyy. That's why I have numerous functions which parse out strMonth, lngMonthetc and do different manipulations on the parts. -- Stuart On 15 Nov 2011 at 13:09, Michael Maddison wrote: > Hi Stuart, > > Your code below would return the wrong result here in OZ ;-) > > In .net you should probably cast to datetime and use the month property > to return either a string or int as required. > C# or VB doesn't matter though I prefer C#. I use VB only when I have > to. > > Cheers > > Michael M > > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables > depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > On 14 Nov 2011 at 14:28, David McAfee wrote: > > > I still use it (or a variation of it), even in other languages. > > > > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson > wrote: > > > > > Here is a related question to variable names. I read somewhere that > > > > Hungarian naming convention is not now supported by Microsoft and > > > they prefer not to include the type as a prefix. What could be the > > > reason for this? I know there are more tooltips to help identify a > > > variable but this is no help if you are looking at printed code. > > > > > > David > > > > > > > > > At 15/11/2011, David McAfee wrote: > > > > > >> :) > > >> > > >> One of my pet peeves is when variables are used that are the > > >> opposite case of a reserved word. > > >> > > >> > > >> String string = "StRiNg"; > > >> > > >> > > >> > > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > > >> > >> >wrote: > > >> > > >> > Here we go, grab your tin hats everyone and duck for cover :-) > > >> > > > >> > -- > > >> > Stuart > > >> > > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > > >> > > > >> > > Shamil, why do you prefer case sensitivity? > > >> > > > > >> > > That is one of my most common mistakes when developing in C, > > >> > > C#, Java, Android(Java). > > >> > > > > >> > > Just wondering, > > >> > > > > >> > > David > > >> > > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > > >> mcp2004 at mail.ru > > >> > >wrote: > > >> > > > > >> > > > Hi Dan -- > > >> > > > > > >> > > > > I do prefer VB for at least one reason: > > >> > > > > VB is not case sensitive while C# is. > > >> > > > I'm not arguing - that's funny: I, personally, dislike > > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > > >> > > > programming using > > >> VBA/VB6 for > > >> > > > 10+ years). > > >> > > > I can provide my reasoning but would it make any difference > there? > > >> > > > > > >> > > > Thank you. > > >> > > > > > >> > > > -- Shamil > > >> > > > > > >> > > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > > >> > > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > > >> > > > > sensitive > > >> while C# > > >> > > > > is. For example, the variable 'stgPerson' in VB is the > > >> > > > > same as > > >> when you > > >> > > > > type 'stgperson'; VB will change the case for you. But C# > > >> > > > > sees > > >> 'stgPerson' > > >> > > > > and 'stgperson' as two separate variables, and I don't see > > >> > > > > how > > >> that would be > > >> > > > > helpful. > > >> > > > > > > >> > > > > Good Luck! > > >> > > > > Dan > > >> > > > > > > ______________________________**_________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > eadvisors.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 > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 > > _______________________________________________ > 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 Nov 15 10:34:38 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2011 17:34:38 +0100 Subject: [dba-VB] Which version of Visual Studio Message-ID: Hi Stuart You could but you didn't as that would have been sloppy code ... In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. /gustav >>> "Stuart McLachlan" 14-11-2011 23:50 >>> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart From stuart at lexacorp.com.pg Tue Nov 15 16:07:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2011 08:07:45 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: Message-ID: <4EC2E2B1.4301.237BBEF5@stuart.lexacorp.com.pg> I did it in PowerBasic. On 15 Nov 2011 at 17:34, Gustav Brock wrote: > Hi Stuart > > You could but you didn't as that would have been sloppy code ... > > In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. > > /gustav > > > >>> "Stuart McLachlan" 14-11-2011 23:50 >>> > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:18:30 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:18:30 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Message-ID: <000001cca459$da428960$8ec79c20$@com.au> Hi Everyone, I am currently teaching myself asp.net and using vb.net as the code behind. What I would like to create is a login page for my site using MySQL or MariaDB instead of the built in ASP.net security. Has anyone come across some good tutorial for something like this? Thanks Vlad From mcp2004 at mail.ru Wed Nov 16 06:30:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:30:44 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca459$da428960$8ec79c20$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:36:35 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:36:35 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: <000501cca45c$60d99340$228cb9c0$@com.au> Hi Shamil, You're awesome! I'll muck around with that and report back... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:31 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > 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 mcp2004 at mail.ru Wed Nov 16 06:50:39 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:50:39 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000501cca45c$60d99340$228cb9c0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-VB] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From actebs at actebs.com.au Fri Nov 18 18:33:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 19 Nov 2011 11:33:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca652$e27e7850$a77b68f0$@com.au> Hi Shamil, OK, after much mucking around, I have found an alternative solution that works beautifully. Here is the article that outlines the whole process: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Sat Nov 19 02:20:32 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Nov 2011 12:20:32 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca652$e27e7850$a77b68f0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From accessd at shaw.ca Sat Nov 19 11:24:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2011 09:24:42 -0800 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Here is another implementation of CAPTCHA from Google. I initially set it up on my own site and have subsequently set it up on a couple of client sites. http://www.google.com/recaptcha/captcha ...and it works great with all the bells and whistles. Note; Images of text should be distorted randomly before being presented to the user. Many implementations of CAPTCHAs use undistorted text, or text with only minor distortions. These implementations are vulnerable to simple automated attacks. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Saturday, November 19, 2011 12:21 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm l > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ 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 Sat Nov 19 17:27:14 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2011 09:27:14 +1000 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> References: <000001cca459$da428960$8ec79c20$@com.au>, , <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Message-ID: <4EC83B52.335.385DDF3F@stuart.lexacorp.com.pg> Looks good and I like the concept of using the results to improve the accuracy of digitized books. -- Stuart On 19 Nov 2011 at 9:24, Jim Lawrence wrote: > Here is another implementation of CAPTCHA from Google. I initially set it up > on my own site and have subsequently set it up on a couple of client sites. > > http://www.google.com/recaptcha/captcha > > ...and it works great with all the bells and whistles. > > Note; Images of text should be distorted randomly before being presented to > the user. Many implementations of CAPTCHAs use undistorted text, or text > with only minor distortions. These implementations are vulnerable to simple > automated attacks. > > Jim > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Saturday, November 19, 2011 12:21 AM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > Hi Vlad -- > > Thank you for your progress feedback. > > FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET > site: > > http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx > > -- Shamil > > 19 2011, 04:34 "ACTEBS" : > > Hi Shamil, > > > > OK, after much mucking around, I have found an alternative solution that > works beautifully. > > > > Here is the article that outlines the whole process: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm > l > > > > Here are the supporting articles which you should be comfortable with, and > have the included software installed before attempting the above link: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-databinding-linq-entities.html > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-winform-data-source.html > > > > I am currently working my way through it all and have a majority of it > working. I am just trying to find out how to include CAPTCHA into the > solution and then I will give everyone the opportunity to download my test > site if you like... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > Sent: Wednesday, 16 November 2011 11:51 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > Hi Vlad, > > > > > You're awesome! > > That's MSDN... > > > > > I'll muck around with that and report back... > > Quite some folks here (including mysefl) will be waiting for your report I > guess - the same approach should work for MS Access backend used on ASP.NET > site - so you may try to make both :) > > > > Thank you. > > > > -- Shamil > > > > 16 2011, 16:37 "ACTEBS" : > > > Hi Shamil, > > > > > > You're awesome! I'll muck around with that and report back... > > > > > > Thanks > > > > > > Vlad > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > > Sent: Wednesday, 16 November 2011 11:31 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > > > Hi Vlad -- > > > > > > Have a look: > > > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > > > If you'll happen to make it working for you don't hesitate to share your > experience :) > > > > > > Thank you. > > > > > > -- Shamil > > > > > > 16 2011, 16:19 "ACTEBS" : > > > > Hi Everyone, > > > > > > > > I am currently teaching myself asp.net and using vb.net as the code > behind. > > > > What I would like to create is a login page for my site using MySQL or > > > > MariaDB instead of the built in ASP.net security. > > > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > > > Thanks > > > > > > > > Vlad > > > > > > > > _______________________________________________ > > > > 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 > > > > > > _______________________________________________ > 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 actebs at actebs.com.au Sat Nov 19 21:29:08 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 20 Nov 2011 14:29:08 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca734$904e2480$b0ea6d80$@com.au> Hi Everyone, Does anyone know how you create the control from this link: http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx I've compiled/built the downloaded project and added and referenced the resultant WebControlCaptcha.DLL to my project. How do I get the control into the Toolbox? Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 18:48:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 11:48:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000101cca979$a4de70c0$ee9b5240$@com.au> Hi Everyone, I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: http://download.actebs.com.au/asp/LoginMySQL.zip Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: http://www.mysql.com/products/connector/ Download the item called "ADO.NET Driver for MySQL (Connector/NET)" Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. I will be asking a heap of question shortly and I hope you guys can help me out... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 19:04:18 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 12:04:18 +1100 Subject: [dba-VB] VB.Net Database Classes Message-ID: <000201cca97b$d3d7d270$7b877750$@com.au> Hi Everyone, To create this custom membership site, I would like to learn how to use and create database classes for the project and I'm hoping someone has the patience to guide me through it. I have tried searching on the web, but everyone is talking about classes, methods and properties but not about actual database access and data retrieval. So basically my question is as follows. Suppose you have 2 tables in your database tblUsers and tblUsersRoles. The fields in these tables are: UserID RoleID Username UserEmail UserPassword UserCreated UserLastLogin RoleID RoleDescription How would I create the classes for the above tables and also, how do I use these classes within the site as well? By use within the site I mean, how do I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. Many thanks Vlad From jwcolby at colbyconsulting.com Tue Nov 22 21:05:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:05:24 -0500 Subject: [dba-VB] Hyper-V VM oddness Message-ID: <4ECC62F4.7050201@colbyconsulting.com> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs it could handle the load. The sole purpose of one of the VMs is to host a third party application. When this app is running the VM says that the single core I assign to it is pegged, 100% utilization. However none of the host machine cores shows any significant usage, and the total server usage bounces between 0 and 1%. So I'm wondering what the heck is going on? The application on the dedicated VM server was processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million records / hour. I expected one core to max and the total to say 1/16th total usage. Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not busy at all? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Nov 22 21:25:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:25:57 -0500 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC62F4.7050201@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> Message-ID: <4ECC67C5.8040405@colbyconsulting.com> I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. Sorry for the ring. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/22/2011 10:05 PM, jwcolby wrote: > I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs > it could handle the load. The sole purpose of one of the VMs is to host a third party application. > When this app is running the VM says that the single core I assign to it is pegged, 100% > utilization. However none of the host machine cores shows any significant usage, and the total > server usage bounces between 0 and 1%. > > So I'm wondering what the heck is going on? The application on the dedicated VM server was > processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine > one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo > server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million > records / hour. I expected one core to max and the total to say 1/16th total usage. > > Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not > busy at all? > From hans.andersen at phulse.com Tue Nov 22 22:59:10 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Tue, 22 Nov 2011 20:59:10 -0800 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC67C5.8040405@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> <4ECC67C5.8040405@colbyconsulting.com> Message-ID: <7788A799-B464-404C-9681-14FAB97737FF@phulse.com> John, This could also be a sign of heavy IO utilisation that is only being measured in ring 0. Best regards, Hans-Christian Andersen On 22 Nov 2011, at 19:25, jwcolby wrote: > I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. > > Sorry for the ring. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/22/2011 10:05 PM, jwcolby wrote: >> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs >> it could handle the load. The sole purpose of one of the VMs is to host a third party application. >> When this app is running the VM says that the single core I assign to it is pegged, 100% >> utilization. However none of the host machine cores shows any significant usage, and the total >> server usage bounces between 0 and 1%. >> >> So I'm wondering what the heck is going on? The application on the dedicated VM server was >> processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine >> one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo >> server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million >> records / hour. I expected one core to max and the total to say 1/16th total usage. >> >> Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not >> busy at all? >> > _______________________________________________ > 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 Wed Nov 23 02:32:06 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:32:06 +0400 Subject: [dba-VB] =?utf-8?q?VB=2ENet_Database_Classes?= In-Reply-To: <000201cca97b$d3d7d270$7b877750$@com.au> References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Wed Nov 23 02:49:30 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:49:30 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000101cca979$a4de70c0$ee9b5240$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000101cca979$a4de70c0$ee9b5240$@com.au> Message-ID: Hi Vlad, > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, > this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. > Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. You don't have to use ASP.NET controls to implement membership features using samples I referred: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 I didn't use that samples but I have worked quite a bit with native ASP.NET membership classes, which use MS SQL backend, and I'd note that implementing your own membership provider could be rather time consuming... Sending e-mail on login can be done by using .NET/C# SMTP classes... If you're just starting with .NET OleDb, ASP.NET and web development and you're going to do a lot of custom development including custom membership/login/logout/... implementation be prepared it all could take quite some time... Sorry, I cannot provide more help these days... -- Shamil 23 ?????? 2011, 04:49 ?? "ACTEBS" : > Hi Everyone, > > I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. > > For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: > > http://download.actebs.com.au/asp/LoginMySQL.zip > > Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: > > http://www.mysql.com/products/connector/ > > Download the item called "ADO.NET Driver for MySQL (Connector/NET)" > > Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll > > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. > > I will be asking a heap of question shortly and I hope you guys can help me out... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-VB] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From newsgrps at dalyn.co.nz Wed Nov 23 17:21:18 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 12:21:18 +1300 Subject: [dba-VB] Connection String Anomoly Message-ID: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I am trying to understand what could be causing this to happen. I have this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Server.ScriptTimeout = 360 Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "data source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" This connection works and I can access stored procedures etc. However, when I replace the Conn.Connection line above with this line below it does not work conn.ConnectionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings( "MyDatabaseConnection").ConnectionString The Web.Config file has this: Any ideas why this might be? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Wed Nov 23 19:48:33 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 23 Nov 2011 17:48:33 -0800 Subject: [dba-VB] Connection String Anomoly In-Reply-To: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: This may be nothing, but I checked some auto-generated code in a project of mine, and the code uses square brackets: this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; Have you tried setting a breakpoint in the code and seeing exactly what is returned into conn.ConnectionString? Doug On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > I am trying to understand what could be causing this to happen. I have > this code: > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > System.EventArgs) Handles Me.Load > > Server.ScriptTimeout = 360 > > Dim conn As New SqlClient.SqlConnection > conn.ConnectionString = "data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > > This connection works and I can access stored procedures etc. > > However, when I replace the Conn.Connection line above with this line > below it does not work > > conn.ConnectionString = System.Web.Configuration.** > WebConfigurationManager.**ConnectionStrings( "MyDatabaseConnection").** > ConnectionString > > The Web.Config file has this: > > > name="MyDatabaseConnection" > connectionString="data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > providerName="System.Data.**SqlClient" > /> > > > Any ideas why this might be? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From newsgrps at dalyn.co.nz Wed Nov 23 21:10:22 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 16:10:22 +1300 Subject: [dba-VB] Connection String Anomoly In-Reply-To: References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111124031058.ZWTV10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I have used the round bracket syntax in another project and it worked ok. That project was complete in itself. This project is an add on to another one being developed by a separate developer. I don't have access to the complete project except when it is installed on a test server. Even then all I can do is put my files in place and see how they run. The file locations are different from other projects I have done but they seem to work except for this connection string. Since everything else works it may be some time before I can spending more time playing around with it. Thanks for the suggestion. David At 24/11/2011, Doug Steele wrote: >This may be nothing, but I checked some auto-generated code in a project of >mine, and the code uses square brackets: > >this._connection.ConnectionString = >System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; > >Have you tried setting a breakpoint in the code and seeing exactly what is >returned into conn.ConnectionString? > >Doug > > >On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > > > I am trying to understand what could be causing this to happen. I have > > this code: > > > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > > System.EventArgs) Handles Me.Load > > > > Server.ScriptTimeout = 360 > > > > Dim conn As New SqlClient.SqlConnection > > conn.ConnectionString = "data source=MySQLSource;initial > > catalog=MyDataBase;user id=sa;password=mypassword" > > > > This connection works and I can access stored procedures etc. > > > > However, when I replace the Conn.Connection line above with this line > > below it does not work > > > > conn.ConnectionString = > System.Web.Configuration.WebConfigurationManager.**ConnectionStrings > ( "MyDatabaseConnection").ConnectionString > > > > The Web.Config file has this: > > > > > > > name="MyDatabaseConnection" > > connectionString="data > source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" > > providerName="System.Data.**SqlClient" > > /> > > > > > > Any ideas why this might be? > > > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand ______________________________**_________________ From actebs at actebs.com.au Thu Nov 24 07:43:24 2011 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 25 Nov 2011 00:43:24 +1100 Subject: [dba-VB] VB.Net Database Classes In-Reply-To: References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: <000001ccaaaf$0a06ac70$1e140550$@com.au> Thanks Shamil. Am working through this very slowly... Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 23 November 2011 7:32 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VB.Net Database Classes Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-VB] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From mcp2004 at mail.ru Sun Nov 27 15:27:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 01:27:44 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= Message-ID: Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil From accessd at shaw.ca Sun Nov 27 20:42:49 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:42:49 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Hi Shamil: I would recommend you contact Martin Reid as he is the Share-point guru. It might save a week of two. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Sun Nov 27 20:45:31 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:45:31 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: PS this looks like a really good deal. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Mon Nov 28 03:34:16 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 09:34:16 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I have been playing with VM ware recently. VMWare have a free product that allows you to install it on bare metal box IOW, No OS is initally installed. This saves you the overhead of Win2K8. Secondly, VMware seems to dynamically share memory, so with your 8 GB machine, you can start three or four machines with 4 GB each configured and probably allow bursts of 4 GB on each. I think it is good and I think it is better than Windows. http://www.vmware.com/products/vsphere-hypervisor/overview.html < VMware vSphere Hypervisor is the simplest and easiest way to get started with virtualization for free. This fully functional hypervisor lets you virtualize your servers and run your applications in virtual machines in a matter of minutes. vSphere Hypervisor is based on VMware ESXi, the hypervisor architecture that sets the industry standard for reliability, performance, and ecosystem support. Consolidate your applications onto fewer servers and start saving money through reduced hardware, power, cooling, and administration costs. With VMware vSphere Hypervisor, you can: > Mark On 28 November 2011 02:45, Jim Lawrence wrote: > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 mcp2004 at mail.ru Mon Nov 28 04:19:20 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:19:20 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 Mon Nov 28 04:30:56 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:30:56 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> References: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Message-ID: Hi Jim -- Yes, I know that Martin Reid is an MS SharePoint Guru. But wouldn't it be more useful and helpful for everybody here to discuss Sharepoint development options? I just don't know where should I better post my messages concerning SharePoint development - here in dba-VB, in Access-D, or...? I do not want to go to SharePoint sites as I suppose that SharePoint (/Office 365) + OpenXML development could soon become part of everyday practice of this DatabaseDevelopers community members. Look e.g. at this demonstration/sample: Open XML SDK + Office Services: Better Together http://blogs.msdn.com/b/brian_jones/archive/2010/02/26/open-xml-sdk-office-services-better-together.aspx It doesn't look "rocket science" at all still it needs(?) that much computing power as I noted. Sounds strange? Is it true? Should I ask Martin Reid personally or we'd better try to discuss this issue/(development) use case here? For the latter option (discussing SharePoint development here) - where should I better post my questions with a mark: "Special attention to Martin Reid" to not force Martin to feel obliged to get heavily involved in that discussion as it could be rather time consuming for him explaining the basics to SharePoint development beginners as I'm? Thank you. -- Shamil 28 ?????? 2011, 06:42 ?? "Jim Lawrence" : > Hi Shamil: > > I would recommend you contact Martin Reid as he is the Share-point guru. It > might save a week of two. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 Mon Nov 28 04:33:50 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:33:50 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hi Jim -- Do you mean my family members getting a lot of computing power for "free" from my "mighty" server environment? (And so I can save quite some money in long run by not funding them in upgrading their laptops and smartphones hardware? :)) Thank you -- Shamil 28 ?????? 2011, 06:45 ?? "Jim Lawrence" : > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > Thank you. > > -- Shamil > > _______________________________________________ > 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 Mon Nov 28 09:21:37 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 15:21:37 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. I then quickly installed three OS's XP, Win7 and W2K. All worked well. I also downloaded a VMimage of a dos games machine. I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to > convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > > 28 ?????? 2011, 13:36 ?? Mark Breen : > > Hello Shamil, > > > > I have been playing with VM ware recently. > > > > VMWare have a free product that allows you to install it on bare metal > box > > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > > Secondly, VMware seems to dynamically share memory, so with your 8 GB > > machine, you can start three or four machines with 4 GB each configured > and > > probably allow bursts of 4 GB on each. > > > > I think it is good and I think it is better than Windows. > > > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > > > < > > VMware vSphere Hypervisor is the simplest and easiest way to get started > > with virtualization for free. This fully functional hypervisor lets you > > virtualize your servers and run your applications in virtual machines in > a > > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > > hypervisor architecture that sets the industry standard for reliability, > > performance, and ecosystem support. Consolidate your applications onto > > fewer servers and start saving money through reduced hardware, power, > > cooling, and administration costs. With VMware vSphere Hypervisor, you > can: > > > > > > > Mark > > > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > > > PS this looks like a really good deal. > > > > > > Jim > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > > Shamil > > > Sent: Sunday, November 27, 2011 1:28 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > > system > > > box requirements - please advise > > > > > > Hi All -- > > > > > > I'm looking to setup a system box here for MS Office 2010 / MS > SharePoint > > > 2010 development to be able to run something like the following > "virtual" > > > development environment: > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, > with > > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard > Edition at > > > least. Correct? > > > > > > Although I do not have that much development which needs such a > computing > > > power fully loaded all the time so I also wanted to share that system > > > between my family members who all have their own laptops etc. of > different > > > types. > > > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > > Windows Server 2008 R2 system would also be a good host running > several VMs > > > accessible via MS Windows Remote Desktops within my home/office > network? > > > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > > laptop and accessing that my "mighty" system via MS Windows Remote > Desktop > > > via Internet - I have a broadband access to Internet from my home so my > > > running system should be available from outside using MS Windows Remote > > > Desktop if it has a fixed IP address?... > > > > > > Please advise what are system box requirements for my development > > > environment I mentioned above... > > > > > > 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 > > > > > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Mon Nov 28 12:40:38 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 22:40:38 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Thank you for your information - I will be waiting for your news on your advanced experience with VMWare. -- Shamil? 28 ?????? 2011, 19:21 ?? Mark Breen : Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. ?I then quickly installed three OS's XP, Win7 and W2K. ?All worked well. ?I also downloaded a VMimage of a dos games machine. ?I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help? you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. ?This saves you the overhead of Win2K8. > ?Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be ?Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running ?64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 mcp2004 at mail.ru Mon Nov 28 14:16:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 00:16:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Mark, Gustav at all -- Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From mcp2004 at mail.ru Mon Nov 28 17:50:11 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 03:50:11 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi All -- Never mind - I have got visited VMWare site and I have got downloaded a free utility - VMWare vCenter Converter http://www.vmware.com/products/converter/ and then I have run test conversion of Internet Explorer Compatibility VPC image http://www.microsoft.com/download/en/details.aspx?id=11575 into VMDK format. Then I have got setup VMWAre workstation (trial version - http://www.vmware.com/products/workstation/overview.html) and voila' - I have got up & running converted into VMDK 'Internet Explorer Compatibility VPC image, and I'm using it right now to prepare this message. I'm going to try to download now 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 convert it into VMDK and try to run it on my test laptop - 32bit Win7 system with 3+GB RAM. We will see. It will be very slow very probably but I just have to know will it run at all - and when it will hopefully will then I will start assembling my new system box part by part... And I'm going to purchase VMWare workstation license in the near future - VMWare workstation has a feature of converting physical PCs into VMDK images. (Although VMWare workstation may fail to setup and run on Win2003 Server - we will see...) Thank you for all your help. -- Shamil 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > Hi Mark, Gustav at all -- > > Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. > > Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? > > As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... > > Thank you. > > -- Shamil > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > Hi Shamil et al > > > > Here is a free tool: > > > > http://www.starwindsoftware.com/converter > > > > to: > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > > > > /gustav > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > Hello Mark -- > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > Did you work with it and did it worked well as described in the VMWare ads? > > > > Also, the > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > > > 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 Mon Nov 28 18:49:01 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 28 Nov 2011 16:49:01 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements In-Reply-To: References: Message-ID: Hi Shamil: I think you'll be surprised at how fast VMs run on your computer, even with 3Gb and 32bit Windows. I have VMWare Workstation. I normally use VMs to run different versions of Office for Access development. Most of them are 20-25Gb. The first time I tried to convert an actual physical machine to a VM, I was surprised to find that the size of the resulting VM was going to be the total of EVERY file on the Windows boot drive - I wasn't ready to create a 200GB VM! I did convert one old Windows 2000 server machine to a VM successfully (as a backup before I sent the computer to recycling), but before I converted it, I removed as many programs and files as I could while still keeping it functional. Doug On Mon, Nov 28, 2011 at 3:50 PM, Salakhetdinov Shamil wrote: > Hi All -- > > Never mind - I have got visited VMWare site and I have got downloaded a > free utility - VMWare vCenter Converter > > http://www.vmware.com/products/converter/ > > and then I have run test conversion of > > Internet Explorer Compatibility VPC image > > http://www.microsoft.com/download/en/details.aspx?id=11575 > > into VMDK format. > > Then I have got setup VMWAre workstation (trial version - > http://www.vmware.com/products/workstation/overview.html) > > and voila' - I have got up & running converted into VMDK 'Internet > Explorer Compatibility VPC image, and I'm using it right now to prepare > this message. > > I'm going to try to download now > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > convert it into VMDK and try to run it on my test laptop - 32bit Win7 > system with 3+GB RAM. We will see. > It will be very slow very probably but I just have to know will it run at > all - and when it will hopefully will then I will start assembling my new > system box part by part... > > And I'm going to purchase VMWare workstation license in the near future - > VMWare workstation has a feature of converting physical PCs into VMDK > images. (Although VMWare workstation may fail to setup and run on Win2003 > Server - we will see...) > > Thank you for all your help. > > -- Shamil > > > > > 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > > Hi Mark, Gustav at all -- > > > > Now, when I'm going to take VMWare vSphere route I wanted to make a > temporary/transitional "virtual copy" of my physical system box running MS > Windows 2003 Server together with its harddisk (250GB) partitioned into one > system drive and 5 logical drives. > > > > Are there any free/inexpensive tools to make such a virtual copy as VHD > and/or VMDK image/set of images? > > > > As far as I understand I should be able to use this "virtual > copy/machine" as an active virtual machine running under VMWare or I can > just mount its virtual harddisks to get their data transferred on the new > system/archived?... > > > > Thank you. > > > > -- Shamil > > > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > > Hi Shamil et al > > > > > > Here is a free tool: > > > > > > http://www.starwindsoftware.com/converter > > > > > > to: > > > > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > > > StarWind Converter is a downloadable V2V conversion tool for virtual > machines. You can use it to convert VMDK to VHD files and VHD to VMDK as > well as to IMG file, which is a native StarWind format. This is a very > simple but useful file conversion tool that will convert virtual hard drive > images from VMware's VMDK format into the Microsoft's VHD format. It is a > sector by sector copy operation from one format to the other. It does not > modify the source image and will leave it so you can continue to use it. > > > > > > > > > /gustav > > > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > > Hello Mark -- > > > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > > Did you work with it and did it worked well as described in the VMWare > ads? > > > > > > Also, the > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways > to convert that Hyper-V image into an WMare image? > > > > > > 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 mcp2004 at mail.ru Wed Nov 30 14:10:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 00:10:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From gustav at cactus.dk Wed Nov 30 16:04:12 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2011 23:04:12 +0100 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements Message-ID: Hi Shamil Yep, that's a show stopper. The free VMware Server will allow up to two CPUs and 64-bit but only if the host is equal or larger. I'm not aware of any other brand of VM that will simulate multiple CPUs or cores on a host with less resources. /gustav >>> Salakhetdinov Shamil 30-11-2011 21:10 >>> Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil From newsgrps at dalyn.co.nz Wed Nov 30 16:19:01 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 01 Dec 2011 11:19:01 +1300 Subject: [dba-VB] vb.net vs c#.net Message-ID: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Just out of curiosity, a comment I read recently was that 99% of .net programmers seem to be using c#. As far as this group goes: What are peoples preferences? What do you do most of your development work in? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From davidmcafee at gmail.com Wed Nov 30 16:25:33 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 30 Nov 2011 14:25:33 -0800 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I use both. VB.net was easier for me to move over to, so a lot of my earlier stuff is in VB.net. I try to push myself to always use C# for newer stuff because everyone I deal seems to only use C#. Another reason that I'm using C# more is that I'm still learning Java, and C# is closer to Java than VB.net is, so I tend to practice on stuff like case sensitivity and variable declarations. D On Wed, Nov 30, 2011 at 2:19 PM, David Emerson wrote: > Just out of curiosity, a comment I read recently was that 99% of .net > programmers seem to be using c#. > > As far as this group goes: > > What are peoples preferences? > > What do you do most of your development work in? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > 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 Nov 30 16:51:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 17:51:49 -0500 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: IME, I have observed the elitist preference for C# in the marketplace, and the dimunition of Vb.NET in the same marketplace. There are a few differences, AFICS, but there are translators to overcome this. That said, almost all that is required to move from VB to C# is a bunch of semi-colons. But the marketplace seems to regard these as worth at least $20 an hour more income. So I have dived into C#. Most of the transition has proved trivial. A. From stuart at lexacorp.com.pg Wed Nov 30 22:09:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Dec 2011 14:09:07 +1000 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4ED6FDE3.14088.38C4BD1@stuart.lexacorp.com.pg> Don't forget the curly brackets - go to have lots of loverly curly brackets too :-) -- Stuart On 30 Nov 2011 at 17:51, Arthur Fuller wrote: > IME, I have observed the elitist preference for C# in the marketplace, and > the dimunition of Vb.NET in the same marketplace. There are a few > differences, AFICS, but there are translators to overcome this. That said, > almost all that is required to move from VB to C# is a bunch of > semi-colons. But the marketplace seems to regard these as worth at least > $20 an hour more income. So I have dived into C#. Most of the transition > has proved trivial. > > A. > _______________________________________________ > 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 Nov 1 14:44:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 15:44:53 -0400 Subject: [dba-VB] Unhooking events while they are running Message-ID: <4EB04C35.4010201@colbyconsulting.com> I am using the directory watcher class. When the parent class to start, it hooks the events and when it is told to stop it unhooks the events. My question is simply that events are asynchronous and as such could occur at the same instant that the parent class is being told to stop. I use a boolean evFileDeletedIsRunning flag which the event sets as the first line inside of that event and clears as the last line of the event. I then check this flag before unhooking the event. Is this adequate protection? What happens if an event is unhooked while the event sink is running? Is it a page fault or something less catastrophic? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From stuart at lexacorp.com.pg Tue Nov 1 16:33:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2011 07:33:51 +1000 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB04C35.4010201@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> Message-ID: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> To quote MS: A hook is a point in the system message-handling mechanism where an application can install a subroutine to monitor the message traffic in the system and process certain types of messages before they reach the target window procedure. Is that what you are actually doing i.e. "intercepting" and acting on messages intended for another target ? Or are you just using a FileSystemWatcher, which is basically a wrapper for WaitForSingleObject in Kernel32.DLL, to monitor changes? If the latter, I'd say you solution is quite adequate. On 1 Nov 2011 at 15:44, jwcolby wrote: > I am using the directory watcher class. When the parent class to > start, it hooks the events and when it is told to stop it unhooks the > events. > > My question is simply that events are asynchronous and as such could > occur at the same instant that the parent class is being told to stop. > I use a boolean evFileDeletedIsRunning flag which the event sets as > the first line inside of that event and clears as the last line of the > event. I then check this flag before unhooking the event. > > Is this adequate protection? What happens if an event is unhooked > while the event sink is running? > Is it a page fault or something less catastrophic? > > -- > 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 Tue Nov 1 16:42:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 17:42:35 -0400 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> Message-ID: <4EB067CB.7080100@colbyconsulting.com> I am just using filesystemwatcher. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/1/2011 5:33 PM, Stuart McLachlan wrote: > To quote MS: A hook is a point in the system message-handling mechanism where an > application can install a subroutine to monitor the message traffic in the system and process > certain types of messages before they reach the target window procedure. > > Is that what you are actually doing i.e. "intercepting" and acting on messages intended for > another target ? > > Or are you just using a FileSystemWatcher, which is basically a wrapper for > WaitForSingleObject in Kernel32.DLL, to monitor changes? > > If the latter, I'd say you solution is quite adequate. > > > > On 1 Nov 2011 at 15:44, jwcolby wrote: > >> I am using the directory watcher class. When the parent class to >> start, it hooks the events and when it is told to stop it unhooks the >> events. >> >> My question is simply that events are asynchronous and as such could >> occur at the same instant that the parent class is being told to stop. >> I use a boolean evFileDeletedIsRunning flag which the event sets as >> the first line inside of that event and clears as the last line of the >> event. I then check this flag before unhooking the event. >> >> Is this adequate protection? What happens if an event is unhooked >> while the event sink is running? >> Is it a page fault or something less catastrophic? >> >> -- >> 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 Wed Nov 2 07:41:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Nov 2011 08:41:21 -0400 Subject: [dba-VB] Owner scope Message-ID: <4EB13A71.4000802@colbyconsulting.com> A couple of questions: We use the term parent for inheritance. What is the term for the "owner" of a variable or class. IOW I use a RunState class. A process class can have class level variables which are initialized to instances of this class. Thus (in my terminology) the class "owns" these RunState class instances. What I am windering is if there is a OO term for this "owner" concept. Next question. The run state class has methods and properties. Some of the methods, specifically the Start method should be visible from the object trying to "start" the process. Other methods should only be called from the "owner" of the RunState class. What is the syntax for scope to make some properties and methods only visible from the owner side? I am trying to build a state machine where the RunState class starts at state Stopped. clsRunState has 4 states. 1) Stopped 2) Starting 3) Started 4) Stopped State changes can only be done by clsRunState, IOW it is not possible to directly set the RunState from outside of clsRunState. This allows clsRunState to enforce the state machine rules / transitions. clsRunState has 5 methods 1) mStart - called by the external process starting this process 2) mInitialized - Called by the owner to signal that Initialization completed 3) mInitFailed - Called by the owner to indicate that initialization failed, passing in error info 4) mStop - Called by the external process or the owner to trigger cleanup and stopping 5) mTerminated - called by the owner to signal that termination is complete clsRunState has 2 events 1) evInitialize - Raised by mStart() and sunk by the owner to trigger initialization code. 2) evTerminate - Raised by mStop() and sunk by the owner to trigger cleanup and shutdown. 1) The process is started when an external process calls the clsRunState.mStart() method (from outside of the owner). If the state was Stopped when entering mStart, then clsRunState sets the state to Starting and raises an evInitialize event which is sunk in the "owner" (whatever we are calling that). If the state was not Stopped when clsRunState.mStart() is called then the method just returns, doing nothing. The owner sinks the evInitialize and performs initialization. If the initialization works then the owner calls the clsRunState.mInitialized() method which sets the RunState to Started. If initialization fails then the the owner calls clsRunState.mInitFailed() passing in a fail text message which is stored in a property for the external process to read. clsRunState.mInitFailed() then sets the RunState to Stopped. The external process or the owner can call clsRunState.mStop(). clsRunState.mStop() sets the RunState to Stopping and raises the evTerminate event which is sunk by the owner and is used to trigger cleanup of the process controlled by the RunState class. When the owner finishes all termination processes the owner calls clsRunState.mTerminated() which sets the RunState to Stopped. I need the scope syntax to prevent the external process from calling methods that only the owner is supposed to call. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 5 11:29:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 12:29:57 -0400 Subject: [dba-VB] C# Scope Message-ID: <4EB56485.70602@colbyconsulting.com> Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From shamil at smsconsulting.spb.ru Sat Nov 5 11:56:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 19:56:58 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56485.70602@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> Message-ID: John, If you put class runState and class myClassParent in one class library and class myGrandParent in another class library referencing the first one then the following code would be the scoping solution you're looking for: ==== classlib1 ==== public class runState { public ... mStart() {...} internal ... mStarted() {...} } public class myClassParent { runState myRunState } ===== classlib2 === public class myGrandParent { myClassParent MyClassParent; } Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 19:30 To: VBA Subject: [dba-VB] C# Scope Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- 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 Sat Nov 5 12:11:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:11:52 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56E58.7050205@colbyconsulting.com> Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From jwcolby at colbyconsulting.com Sat Nov 5 12:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:15:35 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56F37.7060802@colbyconsulting.com> The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From shamil at smsconsulting.spb.ru Sat Nov 5 13:32:13 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 21:32:13 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56E58.7050205@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: No, John, I mean a separate assembly/project with type ClassLibrary. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:12 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Nov 5 13:57:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 14:57:28 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: <4EB58718.3050408@colbyconsulting.com> Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class library >> and class myGrandParent in another class library referencing the first >> one then the following code would be the scoping solution you're looking > for: From shamil at smsconsulting.spb.ru Sat Nov 5 14:25:52 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:25:52 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56F37.7060802@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56F37.7060802@colbyconsulting.com> Message-ID: <0D5030F160A94419BB8D91720010D635@nant> John -- Sorry, I don't know what to say/advise here - I don't understand the reasoning... I personally routinely use inheritance or composition or delegation, and I usually do not care that much about scope: I do keep most of the stuff private or protected, and when needed I do make it internal or public... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:16 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Sat Nov 5 14:47:18 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:47:18 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB58718.3050408@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com><4EB56E58.7050205@colbyconsulting.com> <4EB58718.3050408@colbyconsulting.com> Message-ID: John -- With manager and supervisor classes being together in other classlibrary than RunState class you can try to use inheritance - inherit RunState by RunState1(for manager) and RunState2(for supervisor) then use delegation... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 21:57 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class >> library and class myGrandParent in another class library referencing >> the first one then the following code would be the scoping solution >> you're looking > for: _______________________________________________ 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 Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-VB] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From accessd at shaw.ca Wed Nov 9 16:13:23 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 14:13:23 -0800 Subject: [dba-VB] Silverlight dead In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: As mentioned many time before, Silverlight was a dead application before even got out there. http://www.zdnet.com/blog/microsoft/will-there-be-a-silverlight-6-and-does-i t-matter/11180 Flash is dead too and it is about time and Adobe is developing its replacement product called Edge. We will now have to learn how to use the Open Standards of HTML5 and CSS3. As a web developer all I can say it is it is a very good day. :-) Jim From jeff.developer at gmail.com Thu Nov 10 16:33:56 2011 From: jeff.developer at gmail.com (Jeff B) Date: Thu, 10 Nov 2011 16:33:56 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET Message-ID: Does anyone here have experience writing web pages in ASP.NET that require online signatures? I have a website ALMOST finished that needs users to sign on an iPad and I need to capture the signature, save it into an SQL Server 2005 database, and extract the signature back out to a PDF. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From davidmcafee at gmail.com Thu Nov 10 16:37:36 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 10 Nov 2011 14:37:36 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: My coworker is doing that very same thing, but I believe in C#. This is where he went for the custom control: realsignature.com He said it includes the license file. It looks like they have VB.Net samples on their site. HTH, David On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > Does anyone here have experience writing web pages in ASP.NET that require > online signatures? I have a website ALMOST finished that needs users to > sign on an iPad and I need to capture the signature, save it into an SQL > Server 2005 database, and extract the signature back out to a PDF. > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > > > _______________________________________________ > 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 Thu Nov 10 18:01:18 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 10 Nov 2011 16:01:18 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs users to > > sign on an iPad and I need to capture the signature, save it into an SQL > > Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 jeff.developer at gmail.com Fri Nov 11 07:30:48 2011 From: jeff.developer at gmail.com (Jeff B) Date: Fri, 11 Nov 2011 07:30:48 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: <003001cca076$20a08e80$61e1ab80$@gmail.com> OK, I guess I need to add some more information. We purchased a signature control from WebSignatureCapture. When I discovered that their control would not work for our site, they referred me to their sister-site, SuperSignature. I have worked with their support team as I could not get the signature box to show up on the published site, (it was a VS 2010 issue). It now appears that things are working ok, but I want to verify that the image is actually being stored in SQL, and I am currently having issues retrieving the image from SQL. Does anyone have some code they are willing to share that retrieves images? And the code you use to store it? (if I am not asking for too much?) Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, November 10, 2011 6:01 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs > > users to sign on an iPad and I need to capture the signature, save > > it into an SQL Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 dbdoug at gmail.com Fri Nov 11 10:03:56 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 11 Nov 2011 08:03:56 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: <003001cca076$20a08e80$61e1ab80$@gmail.com> References: <003001cca076$20a08e80$61e1ab80$@gmail.com> Message-ID: Hi Jeff: We just use SuperSignature as they suggested - to save a file to a folder on the server. But I do retrieve the signature data first as a System.Drawing.Bitmap, then convert it to a jpg and save it. I assume that you could write the Bitmap to a blob field in SQL. Sorry, the code is C#: // signature is returned as bitmap if no path specified System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); if (!ctlSignature.SignHasError) { // Save the image in JPEG format. BM.Save(Server.MapPath("~/sigs/sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); } else { Response.Write("Error:" + ctlSignature.SignInternalError); } Hope this helps! Doug On Fri, Nov 11, 2011 at 5:30 AM, Jeff B wrote: > OK, I guess I need to add some more information. > > We purchased a signature control from WebSignatureCapture. When I > discovered that their control would not work for our site, they referred me > to their sister-site, SuperSignature. > > I have worked with their support team as I could not get the signature box > to show up on the published site, (it was a VS 2010 issue). > > It now appears that things are working ok, but I want to verify that the > image is actually being stored in SQL, and I am currently having issues > retrieving the image from SQL. Does anyone have some code they are willing > to share that retrieves images? And the code you use to store it? (if I > am > not asking for too much?) > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, November 10, 2011 6:01 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET > > I did this for a client's app (in C#). We went with SuperSignature: > > http://www.supersignature.com/ > > If I remember, SuperSignature had a lot fewer options than RealSignature, > but did what we wanted (simple signature capture on a web app focused on > iPhone use) and was considerably cheaper. > > Their copy protection is a little quirky, but their tech support was > helpful. > > Doug > > On Thu, Nov 10, 2011 at 2:37 PM, David McAfee > wrote: > > > My coworker is doing that very same thing, but I believe in C#. > > > > This is where he went for the custom control: realsignature.com > > > > He said it includes the license file. > > > > It looks like they have VB.Net samples on their site. > > > > HTH, > > David > > > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B > wrote: > > > > > Does anyone here have experience writing web pages in ASP.NET that > > require > > > online signatures? I have a website ALMOST finished that needs > > > users to sign on an iPad and I need to capture the signature, save > > > it into an SQL Server 2005 database, and extract the signature back out > to a PDF. > > > > > > > > > Jeff Barrows > > > MCP, MCAD, MCSD > > > > > > Outbak Technologies, LLC > > > Racine, WI > > > jeff.developer at gmail.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 > > From newsgrps at dalyn.co.nz Sun Nov 13 20:00:43 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 14 Nov 2011 15:00:43 +1300 Subject: [dba-VB] Which version of Visual Studio Message-ID: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Ok - Here goes for my first post to this group. I currently have Visual Studio 2005 Professional installed which I have done some playing around on. I know this is getting a little old (like me). I am wanting to get more familiar with dot net and application development. Should I continue to use this to get more familiar with the dot net environment or should I get a later version (if so which one?). What are the advantages/disadvantages of each approach (apart from cost which is a big disincentive). The Express Visual Studio 2010 products don't seem to have enough features (for example the one dot net web application I do support is in vb.net but VS 2010 Express documentation doesn't seem to indicate that vb.net is included). Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Sun Nov 13 22:00:13 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 13 Nov 2011 20:00:13 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I have > done some playing around on. I know this is getting a little old (like > me). I am wanting to get more familiar with dot net and application > development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What are > the advantages/disadvantages of each approach (apart from cost which is a > big disincentive). The Express Visual Studio 2010 products don't seem to > have enough features (for example the one dot net web application I do > support is in vb.net but VS 2010 Express documentation doesn't seem to > indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From df.waters at comcast.net Mon Nov 14 08:27:58 2011 From: df.waters at comcast.net (Dan Waters) Date: Mon, 14 Nov 2011 08:27:58 -0600 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <002301cca2d9$9bc20b10$d3462130$@comcast.net> I disagree on automatically taking the plunge on C#. The two languages, vb.net and C# are now, with .Net 4 and Visual Studio 2010, almost identical, and MS will probably make them absolutely identical in one of the next versions. As a relative newcomer, you won't see the differences for a while. So, because there is no intrinsic advantage for either language, it's just your personal preference. In addition, I've found that the more I write in VB, the easier it is to read something in C# and understand what's happening (converting code and comparing line for line helps with this as well). Also, I've been programming in VB.Net for about 6 months, and have never not been able to find examples using VB.Net. In fact, I'd say that about 40% are in VB.Net, and the rest in C#. If you find an interesting example in C#, you can usually convert it here: http://converter.telerik.com/. Sometimes I will suffix my searches with '-C#' so that only VB.Net examples come up, and I can more quickly get what I'm looking for. Of course, if you are going to be programming within a group of C# developers, then you need to learn the language. If you're going to be programming on your own, which it sounds like you're doing, then I'd say skip the 'tiny brain exploding transition' and start with VB.Net. That's plenty of a learning curve just with the transition to any .Net language. I do prefer VB for at least one reason: VB is not case sensitive while C# is. For example, the variable 'stgPerson' in VB is the same as when you type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' and 'stgperson' as two separate variables, and I don't see how that would be helpful. Many C# developers will often say that 'C# rules the world' and so on. Not true. I think it's the same attitude that IT people have for Access. They want to be 'superior' and do the 'true' language. The truth is it's not that simple. You might want to write a small app in both languages, and see which one works for you. It's been a while, but I believe that there are separate VS 2010 Express downloads for each of the different languages. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, November 13, 2011 10:00 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Which version of Visual Studio Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I > have done some playing around on. I know this is getting a little old > (like me). I am wanting to get more familiar with dot net and > application development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What > are the advantages/disadvantages of each approach (apart from cost > which is a big disincentive). The Express Visual Studio 2010 products > don't seem to have enough features (for example the one dot net web > application I do support is in vb.net but VS 2010 Express > documentation doesn't seem to indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb dvisors.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 mcp2004 at mail.ru Mon Nov 14 15:05:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 01:05:41 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <002301cca2d9$9bc20b10$d3462130$@comcast.net> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Hi Dan -- > I do prefer VB for at least one reason: > VB is not case sensitive while C# is. I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). I can provide my reasoning but would it make any difference there? BTW, there are many "indirect signs" that C# is "superior" than VB.NET, e.g. DotNetNuke code base moved from VB.NET to C#, as well as another large commercial Internet shopping applications I have worked with... Why they did that? Recap: when moving into .NET development from any other system I'd recommend to use C#. If you have already a large code base developed using VB.NET then you should be safe to continue using VB.NET. Thank you. -- Shamil 14 ?????? 2011, 18:29 ?? "Dan Waters" : > I disagree on automatically taking the plunge on C#. > > The two languages, vb.net and C# are now, with .Net 4 and Visual Studio > 2010, almost identical, and MS will probably make them absolutely identical > in one of the next versions. As a relative newcomer, you won't see the > differences for a while. So, because there is no intrinsic advantage for > either language, it's just your personal preference. In addition, I've > found that the more I write in VB, the easier it is to read something in C# > and understand what's happening (converting code and comparing line for line > helps with this as well). > > Also, I've been programming in VB.Net for about 6 months, and have never not > been able to find examples using VB.Net. In fact, I'd say that about 40% > are in VB.Net, and the rest in C#. If you find an interesting example in > C#, you can usually convert it here: http://converter.telerik.com/. > Sometimes I will suffix my searches with '-C#' so that only VB.Net examples > come up, and I can more quickly get what I'm looking for. > > Of course, if you are going to be programming within a group of C# > developers, then you need to learn the language. If you're going to be > programming on your own, which it sounds like you're doing, then I'd say > skip the 'tiny brain exploding transition' and start with VB.Net. That's > plenty of a learning curve just with the transition to any .Net language. > > I do prefer VB for at least one reason: VB is not case sensitive while C# > is. For example, the variable 'stgPerson' in VB is the same as when you > type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' > and 'stgperson' as two separate variables, and I don't see how that would be > helpful. > > Many C# developers will often say that 'C# rules the world' and so on. Not > true. I think it's the same attitude that IT people have for Access. They > want to be 'superior' and do the 'true' language. The truth is it's not > that simple. > > You might want to write a small app in both languages, and see which one > works for you. > > It's been a while, but I believe that there are separate VS 2010 Express > downloads for each of the different languages. > > Good Luck! > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, November 13, 2011 10:00 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Which version of Visual Studio > > Apart from anything else, I think you should just take the plunge and start > using C#. It appears to be the language of choice for .Net developers. > Whenever you search for for .Net programming advice on the web, 99% of the > explanations and examples will be in C#. > > The transition from VB to C# will be, from my experience at least, a tiny > part of the brain exploding transition from Access/VBA to .Net. > > And if you're thinking of making web apps, my advice would be to start right > in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, > and I found the whole system to be really difficult to work with. > I thought it was just my advanced years and calcified brain, but I've > started working with MVC and it is, to my mind, much more straightforward. > > Doug > > On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > > > Ok - Here goes for my first post to this group. > > > > I currently have Visual Studio 2005 Professional installed which I > > have done some playing around on. I know this is getting a little old > > (like me). I am wanting to get more familiar with dot net and > > application development. > > > > Should I continue to use this to get more familiar with the dot net > > environment or should I get a later version (if so which one?). What > > are the advantages/disadvantages of each approach (apart from cost > > which is a big disincentive). The Express Visual Studio 2010 products > > don't seem to have enough features (for example the one dot net web > > application I do support is in vb.net but VS 2010 Express > > documentation doesn't seem to indicate that vb.net is included). > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > dvisors.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 davidmcafee at gmail.com Mon Nov 14 15:15:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:15:27 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Shamil, why do you prefer case sensitivity? That is one of my most common mistakes when developing in C, C#, Java, Android(Java). Just wondering, David On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > Hi Dan -- > > > I do prefer VB for at least one reason: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > 10+ years). > I can provide my reasoning but would it make any difference there? > > Thank you. > > -- Shamil > > > 14 ?????? 2011, 18:29 ?? "Dan Waters" : > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > is. For example, the variable 'stgPerson' in VB is the same as when you > > type 'stgperson'; VB will change the case for you. But C# sees > 'stgPerson' > > and 'stgperson' as two separate variables, and I don't see how that > would be > > helpful. > > > > Good Luck! > > Dan > From stuart at lexacorp.com.pg Mon Nov 14 15:18:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:18:48 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <002301cca2d9$9bc20b10$d3462130$@comcast.net>, Message-ID: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Go on, we haven't had a good flame war on any of the dba lists for ages. The Natural/Surrogate and Bound/Unbound issues are dead. ;-) -- Stuart On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > I can provide my reasoning but would it make any difference there? > From stuart at lexacorp.com.pg Mon Nov 14 15:21:44 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:21:44 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Here we go, grab your tin hats everyone and duck for cover :-) -- Stuart On 14 Nov 2011 at 13:15, David McAfee wrote: > Shamil, why do you prefer case sensitivity? > > That is one of my most common mistakes when developing in C, C#, Java, > Android(Java). > > Just wondering, > > David > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > > > Hi Dan -- > > > > > I do prefer VB for at least one reason: > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > > 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > > > Thank you. > > > > -- Shamil > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > > is. For example, the variable 'stgPerson' in VB is the same as when you > > > type 'stgperson'; VB will change the case for you. But C# sees > > 'stgPerson' > > > and 'stgperson' as two separate variables, and I don't see how that > > would be > > > helpful. > > > > > > Good Luck! > > > Dan > > > _______________________________________________ > 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 Mon Nov 14 15:26:01 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:26:01 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: :) One of my pet peeves is when variables are used that are the opposite case of a reserved word. String string = "StRiNg"; On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan wrote: > Here we go, grab your tin hats everyone and duck for cover :-) > > -- > Stuart > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > Shamil, why do you prefer case sensitivity? > > > > That is one of my most common mistakes when developing in C, C#, Java, > > Android(Java). > > > > Just wondering, > > > > David > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil >wrote: > > > > > Hi Dan -- > > > > > > > I do prefer VB for at least one reason: > > > > VB is not case sensitive while C# is. > > > I'm not arguing - that's funny: I, personally, dislike VB.NET because > it > > > is *not* case sensitive :) (And I have been programming using VBA/VB6 > for > > > 10+ years). > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > -- Shamil > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive > while C# > > > > is. For example, the variable 'stgPerson' in VB is the same as when > you > > > > type 'stgperson'; VB will change the case for you. But C# sees > > > 'stgPerson' > > > > and 'stgperson' as two separate variables, and I don't see how that > > > would be > > > > helpful. > > > > > > > > Good Luck! > > > > Dan > > > > > _______________________________________________ > > 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 newsgrps at dalyn.co.nz Mon Nov 14 16:23:03 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 15 Nov 2011 11:23:03 +1300 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Here is a related question to variable names. I read somewhere that Hungarian naming convention is not now supported by Microsoft and they prefer not to include the type as a prefix. What could be the reason for this? I know there are more tooltips to help identify a variable but this is no help if you are looking at printed code. David At 15/11/2011, David McAfee wrote: >:) > >One of my pet peeves is when variables are used that are the opposite case >of a reserved word. > > >String string = "StRiNg"; > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >wrote: > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > -- > > Stuart > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > Shamil, why do you prefer case sensitivity? > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > Android(Java). > > > > > > Just wondering, > > > > > > David > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > >wrote: > > > > > > > Hi Dan -- > > > > > > > > > I do prefer VB for at least one reason: > > > > > VB is not case sensitive while C# is. > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > because it > > > > is *not* case sensitive :) (And I have been programming using > VBA/VB6 for > > > > 10+ years). > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > Thank you. > > > > > > > > -- Shamil > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > I do prefer VB for at least one reason: VB is not case > sensitive while C# > > > > > is. For example, the variable 'stgPerson' in VB is the > same as when you > > > > > type 'stgperson'; VB will change the case for you. But C# > sees 'stgPerson' > > > > > and 'stgperson' as two separate variables, and I don't see > how that would be > > > > > helpful. > > > > > > > > > > Good Luck! > > > > > Dan From davidmcafee at gmail.com Mon Nov 14 16:28:32 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 14:28:32 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I still use it (or a variation of it), even in other languages. On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and they > prefer not to include the type as a prefix. What could be the reason for > this? I know there are more tooltips to help identify a variable but this > is no help if you are looking at printed code. > > David > > > At 15/11/2011, David McAfee wrote: > >> :) >> >> One of my pet peeves is when variables are used that are the opposite case >> of a reserved word. >> >> >> String string = "StRiNg"; >> >> >> >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: >> >> > Here we go, grab your tin hats everyone and duck for cover :-) >> > >> > -- >> > Stuart >> > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: >> > >> > > Shamil, why do you prefer case sensitivity? >> > > >> > > That is one of my most common mistakes when developing in C, C#, Java, >> > > Android(Java). >> > > >> > > Just wondering, >> > > >> > > David >> > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < >> mcp2004 at mail.ru >> > >wrote: >> > > >> > > > Hi Dan -- >> > > > >> > > > > I do prefer VB for at least one reason: >> > > > > VB is not case sensitive while C# is. >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it >> > > > is *not* case sensitive :) (And I have been programming using >> VBA/VB6 for >> > > > 10+ years). >> > > > I can provide my reasoning but would it make any difference there? >> > > > >> > > > Thank you. >> > > > >> > > > -- Shamil >> > > > >> > > > >> > > > 14 2011, 18:29 "Dan Waters" : >> > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive >> while C# >> > > > > is. For example, the variable 'stgPerson' in VB is the same as >> when you >> > > > > type 'stgperson'; VB will change the case for you. But C# sees >> 'stgPerson' >> > > > > and 'stgperson' as two separate variables, and I don't see how >> that would be >> > > > > helpful. >> > > > > >> > > > > Good Luck! >> > > > > Dan >> > > ______________________________**_________________ > 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 Mon Nov 14 16:47:21 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:47:21 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Hi David -- Have a look: http://thejoyofcode.com/_NET_Naming_Conventions.aspx http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices http://msdn.microsoft.com/en-us/library/ms229045.aspx Hungarian notation is depreciated for .NET languages, still Hungarian notation "dialect" (LRNC) is widely used in VBA world, and VB6 code does use both "classical" Hungarian notation or LRNC... Thank you. -- Shamil 15 ?????? 2011, 02:24 ?? David Emerson : > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and > they prefer not to include the type as a prefix. What could be the > reason for this? I know there are more tooltips to help identify a > variable but this is no help if you are looking at printed code. > > David > > At 15/11/2011, David McAfee wrote: > >:) > > > >One of my pet peeves is when variables are used that are the opposite case > >of a reserved word. > > > > > >String string = "StRiNg"; > > > > > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: > > > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > > > -- > > > Stuart > > > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > > > Shamil, why do you prefer case sensitivity? > > > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > > Android(Java). > > > > > > > > Just wondering, > > > > > > > > David > > > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > > >wrote: > > > > > > > > > Hi Dan -- > > > > > > > > > > > I do prefer VB for at least one reason: > > > > > > VB is not case sensitive while C# is. > > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > > because it > > > > > is *not* case sensitive :) (And I have been programming using > > VBA/VB6 for > > > > > 10+ years). > > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > > > > > -- Shamil > > > > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case > > sensitive while C# > > > > > > is. For example, the variable 'stgPerson' in VB is the > > same as when you > > > > > > type 'stgperson'; VB will change the case for you. But C# > > sees 'stgPerson' > > > > > > and 'stgperson' as two separate variables, and I don't see > > how that would be > > > > > > helpful. > > > > > > > > > > > > Good Luck! > > > > > > Dan > > _______________________________________________ > 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 Mon Nov 14 16:50:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:50:05 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- I'm off - 2:49 a.m. here - your turn now :) Thank you. -- Shamil 15 ?????? 2011, 01:19 ?? "Stuart McLachlan" : > Go on, we haven't had a good flame war on any of the dba lists for ages. > > The Natural/Surrogate and Bound/Unbound issues are dead. > > ;-) > > -- > Stuart > > On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > From stuart at lexacorp.com.pg Mon Nov 14 16:50:43 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 08:50:43 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, Message-ID: <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and they > > prefer not to include the type as a prefix. What could be the reason for > > this? I know there are more tooltips to help identify a variable but this > > is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the opposite case > >> of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, C#, Java, > >> > > Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it > >> > > > is *not* case sensitive :) (And I have been programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > http://www.databaseadvisors.**com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Mon Nov 14 20:09:44 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2011 13:09:44 +1100 Subject: [dba-VB] Which version of Visual Studio References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Hi Stuart, Your code below would return the wrong result here in OZ ;-) In .net you should probably cast to datetime and use the month property to return either a string or int as required. C# or VB doesn't matter though I prefer C#. I use VB only when I have to. Cheers Michael M Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and > > they prefer not to include the type as a prefix. What could be the > > reason for this? I know there are more tooltips to help identify a > > variable but this is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the > >> opposite case of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >> >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, > >> > > C#, Java, Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > >> > > > programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > >> > > > > sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the > >> > > > > same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# > >> > > > > sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see > >> > > > > how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > eadvisors.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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 From stuart at lexacorp.com.pg Mon Nov 14 21:33:35 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 13:33:35 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Message-ID: <4EC1DD8F.14609.1F7FAF85@stuart.lexacorp.com.pg> No it wouldn't ;-) Here in PNG we use the same format as OZ. Date$ in various BASIC dialects is not locale aware. It always returns mm-dd-yyyy. That's why I have numerous functions which parse out strMonth, lngMonthetc and do different manipulations on the parts. -- Stuart On 15 Nov 2011 at 13:09, Michael Maddison wrote: > Hi Stuart, > > Your code below would return the wrong result here in OZ ;-) > > In .net you should probably cast to datetime and use the month property > to return either a string or int as required. > C# or VB doesn't matter though I prefer C#. I use VB only when I have > to. > > Cheers > > Michael M > > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables > depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > On 14 Nov 2011 at 14:28, David McAfee wrote: > > > I still use it (or a variation of it), even in other languages. > > > > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson > wrote: > > > > > Here is a related question to variable names. I read somewhere that > > > > Hungarian naming convention is not now supported by Microsoft and > > > they prefer not to include the type as a prefix. What could be the > > > reason for this? I know there are more tooltips to help identify a > > > variable but this is no help if you are looking at printed code. > > > > > > David > > > > > > > > > At 15/11/2011, David McAfee wrote: > > > > > >> :) > > >> > > >> One of my pet peeves is when variables are used that are the > > >> opposite case of a reserved word. > > >> > > >> > > >> String string = "StRiNg"; > > >> > > >> > > >> > > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > > >> > >> >wrote: > > >> > > >> > Here we go, grab your tin hats everyone and duck for cover :-) > > >> > > > >> > -- > > >> > Stuart > > >> > > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > > >> > > > >> > > Shamil, why do you prefer case sensitivity? > > >> > > > > >> > > That is one of my most common mistakes when developing in C, > > >> > > C#, Java, Android(Java). > > >> > > > > >> > > Just wondering, > > >> > > > > >> > > David > > >> > > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > > >> mcp2004 at mail.ru > > >> > >wrote: > > >> > > > > >> > > > Hi Dan -- > > >> > > > > > >> > > > > I do prefer VB for at least one reason: > > >> > > > > VB is not case sensitive while C# is. > > >> > > > I'm not arguing - that's funny: I, personally, dislike > > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > > >> > > > programming using > > >> VBA/VB6 for > > >> > > > 10+ years). > > >> > > > I can provide my reasoning but would it make any difference > there? > > >> > > > > > >> > > > Thank you. > > >> > > > > > >> > > > -- Shamil > > >> > > > > > >> > > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > > >> > > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > > >> > > > > sensitive > > >> while C# > > >> > > > > is. For example, the variable 'stgPerson' in VB is the > > >> > > > > same as > > >> when you > > >> > > > > type 'stgperson'; VB will change the case for you. But C# > > >> > > > > sees > > >> 'stgPerson' > > >> > > > > and 'stgperson' as two separate variables, and I don't see > > >> > > > > how > > >> that would be > > >> > > > > helpful. > > >> > > > > > > >> > > > > Good Luck! > > >> > > > > Dan > > >> > > > > > > ______________________________**_________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > eadvisors.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 > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 > > _______________________________________________ > 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 Nov 15 10:34:38 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2011 17:34:38 +0100 Subject: [dba-VB] Which version of Visual Studio Message-ID: Hi Stuart You could but you didn't as that would have been sloppy code ... In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. /gustav >>> "Stuart McLachlan" 14-11-2011 23:50 >>> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart From stuart at lexacorp.com.pg Tue Nov 15 16:07:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2011 08:07:45 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: Message-ID: <4EC2E2B1.4301.237BBEF5@stuart.lexacorp.com.pg> I did it in PowerBasic. On 15 Nov 2011 at 17:34, Gustav Brock wrote: > Hi Stuart > > You could but you didn't as that would have been sloppy code ... > > In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. > > /gustav > > > >>> "Stuart McLachlan" 14-11-2011 23:50 >>> > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:18:30 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:18:30 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Message-ID: <000001cca459$da428960$8ec79c20$@com.au> Hi Everyone, I am currently teaching myself asp.net and using vb.net as the code behind. What I would like to create is a login page for my site using MySQL or MariaDB instead of the built in ASP.net security. Has anyone come across some good tutorial for something like this? Thanks Vlad From mcp2004 at mail.ru Wed Nov 16 06:30:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:30:44 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca459$da428960$8ec79c20$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:36:35 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:36:35 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: <000501cca45c$60d99340$228cb9c0$@com.au> Hi Shamil, You're awesome! I'll muck around with that and report back... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:31 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > 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 mcp2004 at mail.ru Wed Nov 16 06:50:39 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:50:39 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000501cca45c$60d99340$228cb9c0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-VB] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From actebs at actebs.com.au Fri Nov 18 18:33:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 19 Nov 2011 11:33:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca652$e27e7850$a77b68f0$@com.au> Hi Shamil, OK, after much mucking around, I have found an alternative solution that works beautifully. Here is the article that outlines the whole process: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Sat Nov 19 02:20:32 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Nov 2011 12:20:32 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca652$e27e7850$a77b68f0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From accessd at shaw.ca Sat Nov 19 11:24:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2011 09:24:42 -0800 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Here is another implementation of CAPTCHA from Google. I initially set it up on my own site and have subsequently set it up on a couple of client sites. http://www.google.com/recaptcha/captcha ...and it works great with all the bells and whistles. Note; Images of text should be distorted randomly before being presented to the user. Many implementations of CAPTCHAs use undistorted text, or text with only minor distortions. These implementations are vulnerable to simple automated attacks. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Saturday, November 19, 2011 12:21 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm l > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ 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 Sat Nov 19 17:27:14 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2011 09:27:14 +1000 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> References: <000001cca459$da428960$8ec79c20$@com.au>, , <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Message-ID: <4EC83B52.335.385DDF3F@stuart.lexacorp.com.pg> Looks good and I like the concept of using the results to improve the accuracy of digitized books. -- Stuart On 19 Nov 2011 at 9:24, Jim Lawrence wrote: > Here is another implementation of CAPTCHA from Google. I initially set it up > on my own site and have subsequently set it up on a couple of client sites. > > http://www.google.com/recaptcha/captcha > > ...and it works great with all the bells and whistles. > > Note; Images of text should be distorted randomly before being presented to > the user. Many implementations of CAPTCHAs use undistorted text, or text > with only minor distortions. These implementations are vulnerable to simple > automated attacks. > > Jim > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Saturday, November 19, 2011 12:21 AM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > Hi Vlad -- > > Thank you for your progress feedback. > > FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET > site: > > http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx > > -- Shamil > > 19 2011, 04:34 "ACTEBS" : > > Hi Shamil, > > > > OK, after much mucking around, I have found an alternative solution that > works beautifully. > > > > Here is the article that outlines the whole process: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm > l > > > > Here are the supporting articles which you should be comfortable with, and > have the included software installed before attempting the above link: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-databinding-linq-entities.html > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-winform-data-source.html > > > > I am currently working my way through it all and have a majority of it > working. I am just trying to find out how to include CAPTCHA into the > solution and then I will give everyone the opportunity to download my test > site if you like... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > Sent: Wednesday, 16 November 2011 11:51 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > Hi Vlad, > > > > > You're awesome! > > That's MSDN... > > > > > I'll muck around with that and report back... > > Quite some folks here (including mysefl) will be waiting for your report I > guess - the same approach should work for MS Access backend used on ASP.NET > site - so you may try to make both :) > > > > Thank you. > > > > -- Shamil > > > > 16 2011, 16:37 "ACTEBS" : > > > Hi Shamil, > > > > > > You're awesome! I'll muck around with that and report back... > > > > > > Thanks > > > > > > Vlad > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > > Sent: Wednesday, 16 November 2011 11:31 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > > > Hi Vlad -- > > > > > > Have a look: > > > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > > > If you'll happen to make it working for you don't hesitate to share your > experience :) > > > > > > Thank you. > > > > > > -- Shamil > > > > > > 16 2011, 16:19 "ACTEBS" : > > > > Hi Everyone, > > > > > > > > I am currently teaching myself asp.net and using vb.net as the code > behind. > > > > What I would like to create is a login page for my site using MySQL or > > > > MariaDB instead of the built in ASP.net security. > > > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > > > Thanks > > > > > > > > Vlad > > > > > > > > _______________________________________________ > > > > 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 > > > > > > _______________________________________________ > 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 actebs at actebs.com.au Sat Nov 19 21:29:08 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 20 Nov 2011 14:29:08 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca734$904e2480$b0ea6d80$@com.au> Hi Everyone, Does anyone know how you create the control from this link: http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx I've compiled/built the downloaded project and added and referenced the resultant WebControlCaptcha.DLL to my project. How do I get the control into the Toolbox? Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 18:48:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 11:48:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000101cca979$a4de70c0$ee9b5240$@com.au> Hi Everyone, I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: http://download.actebs.com.au/asp/LoginMySQL.zip Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: http://www.mysql.com/products/connector/ Download the item called "ADO.NET Driver for MySQL (Connector/NET)" Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. I will be asking a heap of question shortly and I hope you guys can help me out... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 19:04:18 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 12:04:18 +1100 Subject: [dba-VB] VB.Net Database Classes Message-ID: <000201cca97b$d3d7d270$7b877750$@com.au> Hi Everyone, To create this custom membership site, I would like to learn how to use and create database classes for the project and I'm hoping someone has the patience to guide me through it. I have tried searching on the web, but everyone is talking about classes, methods and properties but not about actual database access and data retrieval. So basically my question is as follows. Suppose you have 2 tables in your database tblUsers and tblUsersRoles. The fields in these tables are: UserID RoleID Username UserEmail UserPassword UserCreated UserLastLogin RoleID RoleDescription How would I create the classes for the above tables and also, how do I use these classes within the site as well? By use within the site I mean, how do I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. Many thanks Vlad From jwcolby at colbyconsulting.com Tue Nov 22 21:05:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:05:24 -0500 Subject: [dba-VB] Hyper-V VM oddness Message-ID: <4ECC62F4.7050201@colbyconsulting.com> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs it could handle the load. The sole purpose of one of the VMs is to host a third party application. When this app is running the VM says that the single core I assign to it is pegged, 100% utilization. However none of the host machine cores shows any significant usage, and the total server usage bounces between 0 and 1%. So I'm wondering what the heck is going on? The application on the dedicated VM server was processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million records / hour. I expected one core to max and the total to say 1/16th total usage. Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not busy at all? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Nov 22 21:25:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:25:57 -0500 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC62F4.7050201@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> Message-ID: <4ECC67C5.8040405@colbyconsulting.com> I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. Sorry for the ring. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/22/2011 10:05 PM, jwcolby wrote: > I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs > it could handle the load. The sole purpose of one of the VMs is to host a third party application. > When this app is running the VM says that the single core I assign to it is pegged, 100% > utilization. However none of the host machine cores shows any significant usage, and the total > server usage bounces between 0 and 1%. > > So I'm wondering what the heck is going on? The application on the dedicated VM server was > processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine > one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo > server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million > records / hour. I expected one core to max and the total to say 1/16th total usage. > > Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not > busy at all? > From hans.andersen at phulse.com Tue Nov 22 22:59:10 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Tue, 22 Nov 2011 20:59:10 -0800 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC67C5.8040405@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> <4ECC67C5.8040405@colbyconsulting.com> Message-ID: <7788A799-B464-404C-9681-14FAB97737FF@phulse.com> John, This could also be a sign of heavy IO utilisation that is only being measured in ring 0. Best regards, Hans-Christian Andersen On 22 Nov 2011, at 19:25, jwcolby wrote: > I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. > > Sorry for the ring. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/22/2011 10:05 PM, jwcolby wrote: >> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs >> it could handle the load. The sole purpose of one of the VMs is to host a third party application. >> When this app is running the VM says that the single core I assign to it is pegged, 100% >> utilization. However none of the host machine cores shows any significant usage, and the total >> server usage bounces between 0 and 1%. >> >> So I'm wondering what the heck is going on? The application on the dedicated VM server was >> processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine >> one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo >> server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million >> records / hour. I expected one core to max and the total to say 1/16th total usage. >> >> Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not >> busy at all? >> > _______________________________________________ > 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 Wed Nov 23 02:32:06 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:32:06 +0400 Subject: [dba-VB] =?utf-8?q?VB=2ENet_Database_Classes?= In-Reply-To: <000201cca97b$d3d7d270$7b877750$@com.au> References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Wed Nov 23 02:49:30 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:49:30 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000101cca979$a4de70c0$ee9b5240$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000101cca979$a4de70c0$ee9b5240$@com.au> Message-ID: Hi Vlad, > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, > this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. > Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. You don't have to use ASP.NET controls to implement membership features using samples I referred: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 I didn't use that samples but I have worked quite a bit with native ASP.NET membership classes, which use MS SQL backend, and I'd note that implementing your own membership provider could be rather time consuming... Sending e-mail on login can be done by using .NET/C# SMTP classes... If you're just starting with .NET OleDb, ASP.NET and web development and you're going to do a lot of custom development including custom membership/login/logout/... implementation be prepared it all could take quite some time... Sorry, I cannot provide more help these days... -- Shamil 23 ?????? 2011, 04:49 ?? "ACTEBS" : > Hi Everyone, > > I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. > > For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: > > http://download.actebs.com.au/asp/LoginMySQL.zip > > Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: > > http://www.mysql.com/products/connector/ > > Download the item called "ADO.NET Driver for MySQL (Connector/NET)" > > Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll > > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. > > I will be asking a heap of question shortly and I hope you guys can help me out... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-VB] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From newsgrps at dalyn.co.nz Wed Nov 23 17:21:18 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 12:21:18 +1300 Subject: [dba-VB] Connection String Anomoly Message-ID: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I am trying to understand what could be causing this to happen. I have this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Server.ScriptTimeout = 360 Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "data source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" This connection works and I can access stored procedures etc. However, when I replace the Conn.Connection line above with this line below it does not work conn.ConnectionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings( "MyDatabaseConnection").ConnectionString The Web.Config file has this: Any ideas why this might be? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Wed Nov 23 19:48:33 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 23 Nov 2011 17:48:33 -0800 Subject: [dba-VB] Connection String Anomoly In-Reply-To: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: This may be nothing, but I checked some auto-generated code in a project of mine, and the code uses square brackets: this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; Have you tried setting a breakpoint in the code and seeing exactly what is returned into conn.ConnectionString? Doug On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > I am trying to understand what could be causing this to happen. I have > this code: > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > System.EventArgs) Handles Me.Load > > Server.ScriptTimeout = 360 > > Dim conn As New SqlClient.SqlConnection > conn.ConnectionString = "data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > > This connection works and I can access stored procedures etc. > > However, when I replace the Conn.Connection line above with this line > below it does not work > > conn.ConnectionString = System.Web.Configuration.** > WebConfigurationManager.**ConnectionStrings( "MyDatabaseConnection").** > ConnectionString > > The Web.Config file has this: > > > name="MyDatabaseConnection" > connectionString="data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > providerName="System.Data.**SqlClient" > /> > > > Any ideas why this might be? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From newsgrps at dalyn.co.nz Wed Nov 23 21:10:22 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 16:10:22 +1300 Subject: [dba-VB] Connection String Anomoly In-Reply-To: References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111124031058.ZWTV10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I have used the round bracket syntax in another project and it worked ok. That project was complete in itself. This project is an add on to another one being developed by a separate developer. I don't have access to the complete project except when it is installed on a test server. Even then all I can do is put my files in place and see how they run. The file locations are different from other projects I have done but they seem to work except for this connection string. Since everything else works it may be some time before I can spending more time playing around with it. Thanks for the suggestion. David At 24/11/2011, Doug Steele wrote: >This may be nothing, but I checked some auto-generated code in a project of >mine, and the code uses square brackets: > >this._connection.ConnectionString = >System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; > >Have you tried setting a breakpoint in the code and seeing exactly what is >returned into conn.ConnectionString? > >Doug > > >On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > > > I am trying to understand what could be causing this to happen. I have > > this code: > > > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > > System.EventArgs) Handles Me.Load > > > > Server.ScriptTimeout = 360 > > > > Dim conn As New SqlClient.SqlConnection > > conn.ConnectionString = "data source=MySQLSource;initial > > catalog=MyDataBase;user id=sa;password=mypassword" > > > > This connection works and I can access stored procedures etc. > > > > However, when I replace the Conn.Connection line above with this line > > below it does not work > > > > conn.ConnectionString = > System.Web.Configuration.WebConfigurationManager.**ConnectionStrings > ( "MyDatabaseConnection").ConnectionString > > > > The Web.Config file has this: > > > > > > > name="MyDatabaseConnection" > > connectionString="data > source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" > > providerName="System.Data.**SqlClient" > > /> > > > > > > Any ideas why this might be? > > > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand ______________________________**_________________ From actebs at actebs.com.au Thu Nov 24 07:43:24 2011 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 25 Nov 2011 00:43:24 +1100 Subject: [dba-VB] VB.Net Database Classes In-Reply-To: References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: <000001ccaaaf$0a06ac70$1e140550$@com.au> Thanks Shamil. Am working through this very slowly... Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 23 November 2011 7:32 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VB.Net Database Classes Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-VB] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From mcp2004 at mail.ru Sun Nov 27 15:27:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 01:27:44 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= Message-ID: Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil From accessd at shaw.ca Sun Nov 27 20:42:49 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:42:49 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Hi Shamil: I would recommend you contact Martin Reid as he is the Share-point guru. It might save a week of two. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Sun Nov 27 20:45:31 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:45:31 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: PS this looks like a really good deal. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Mon Nov 28 03:34:16 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 09:34:16 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I have been playing with VM ware recently. VMWare have a free product that allows you to install it on bare metal box IOW, No OS is initally installed. This saves you the overhead of Win2K8. Secondly, VMware seems to dynamically share memory, so with your 8 GB machine, you can start three or four machines with 4 GB each configured and probably allow bursts of 4 GB on each. I think it is good and I think it is better than Windows. http://www.vmware.com/products/vsphere-hypervisor/overview.html < VMware vSphere Hypervisor is the simplest and easiest way to get started with virtualization for free. This fully functional hypervisor lets you virtualize your servers and run your applications in virtual machines in a matter of minutes. vSphere Hypervisor is based on VMware ESXi, the hypervisor architecture that sets the industry standard for reliability, performance, and ecosystem support. Consolidate your applications onto fewer servers and start saving money through reduced hardware, power, cooling, and administration costs. With VMware vSphere Hypervisor, you can: > Mark On 28 November 2011 02:45, Jim Lawrence wrote: > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 mcp2004 at mail.ru Mon Nov 28 04:19:20 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:19:20 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 Mon Nov 28 04:30:56 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:30:56 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> References: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Message-ID: Hi Jim -- Yes, I know that Martin Reid is an MS SharePoint Guru. But wouldn't it be more useful and helpful for everybody here to discuss Sharepoint development options? I just don't know where should I better post my messages concerning SharePoint development - here in dba-VB, in Access-D, or...? I do not want to go to SharePoint sites as I suppose that SharePoint (/Office 365) + OpenXML development could soon become part of everyday practice of this DatabaseDevelopers community members. Look e.g. at this demonstration/sample: Open XML SDK + Office Services: Better Together http://blogs.msdn.com/b/brian_jones/archive/2010/02/26/open-xml-sdk-office-services-better-together.aspx It doesn't look "rocket science" at all still it needs(?) that much computing power as I noted. Sounds strange? Is it true? Should I ask Martin Reid personally or we'd better try to discuss this issue/(development) use case here? For the latter option (discussing SharePoint development here) - where should I better post my questions with a mark: "Special attention to Martin Reid" to not force Martin to feel obliged to get heavily involved in that discussion as it could be rather time consuming for him explaining the basics to SharePoint development beginners as I'm? Thank you. -- Shamil 28 ?????? 2011, 06:42 ?? "Jim Lawrence" : > Hi Shamil: > > I would recommend you contact Martin Reid as he is the Share-point guru. It > might save a week of two. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 Mon Nov 28 04:33:50 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:33:50 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hi Jim -- Do you mean my family members getting a lot of computing power for "free" from my "mighty" server environment? (And so I can save quite some money in long run by not funding them in upgrading their laptops and smartphones hardware? :)) Thank you -- Shamil 28 ?????? 2011, 06:45 ?? "Jim Lawrence" : > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > Thank you. > > -- Shamil > > _______________________________________________ > 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 Mon Nov 28 09:21:37 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 15:21:37 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. I then quickly installed three OS's XP, Win7 and W2K. All worked well. I also downloaded a VMimage of a dos games machine. I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to > convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > > 28 ?????? 2011, 13:36 ?? Mark Breen : > > Hello Shamil, > > > > I have been playing with VM ware recently. > > > > VMWare have a free product that allows you to install it on bare metal > box > > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > > Secondly, VMware seems to dynamically share memory, so with your 8 GB > > machine, you can start three or four machines with 4 GB each configured > and > > probably allow bursts of 4 GB on each. > > > > I think it is good and I think it is better than Windows. > > > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > > > < > > VMware vSphere Hypervisor is the simplest and easiest way to get started > > with virtualization for free. This fully functional hypervisor lets you > > virtualize your servers and run your applications in virtual machines in > a > > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > > hypervisor architecture that sets the industry standard for reliability, > > performance, and ecosystem support. Consolidate your applications onto > > fewer servers and start saving money through reduced hardware, power, > > cooling, and administration costs. With VMware vSphere Hypervisor, you > can: > > > > > > > Mark > > > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > > > PS this looks like a really good deal. > > > > > > Jim > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > > Shamil > > > Sent: Sunday, November 27, 2011 1:28 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > > system > > > box requirements - please advise > > > > > > Hi All -- > > > > > > I'm looking to setup a system box here for MS Office 2010 / MS > SharePoint > > > 2010 development to be able to run something like the following > "virtual" > > > development environment: > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, > with > > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard > Edition at > > > least. Correct? > > > > > > Although I do not have that much development which needs such a > computing > > > power fully loaded all the time so I also wanted to share that system > > > between my family members who all have their own laptops etc. of > different > > > types. > > > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > > Windows Server 2008 R2 system would also be a good host running > several VMs > > > accessible via MS Windows Remote Desktops within my home/office > network? > > > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > > laptop and accessing that my "mighty" system via MS Windows Remote > Desktop > > > via Internet - I have a broadband access to Internet from my home so my > > > running system should be available from outside using MS Windows Remote > > > Desktop if it has a fixed IP address?... > > > > > > Please advise what are system box requirements for my development > > > environment I mentioned above... > > > > > > 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 > > > > > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Mon Nov 28 12:40:38 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 22:40:38 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Thank you for your information - I will be waiting for your news on your advanced experience with VMWare. -- Shamil? 28 ?????? 2011, 19:21 ?? Mark Breen : Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. ?I then quickly installed three OS's XP, Win7 and W2K. ?All worked well. ?I also downloaded a VMimage of a dos games machine. ?I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help? you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. ?This saves you the overhead of Win2K8. > ?Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be ?Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running ?64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 mcp2004 at mail.ru Mon Nov 28 14:16:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 00:16:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Mark, Gustav at all -- Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From mcp2004 at mail.ru Mon Nov 28 17:50:11 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 03:50:11 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi All -- Never mind - I have got visited VMWare site and I have got downloaded a free utility - VMWare vCenter Converter http://www.vmware.com/products/converter/ and then I have run test conversion of Internet Explorer Compatibility VPC image http://www.microsoft.com/download/en/details.aspx?id=11575 into VMDK format. Then I have got setup VMWAre workstation (trial version - http://www.vmware.com/products/workstation/overview.html) and voila' - I have got up & running converted into VMDK 'Internet Explorer Compatibility VPC image, and I'm using it right now to prepare this message. I'm going to try to download now 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 convert it into VMDK and try to run it on my test laptop - 32bit Win7 system with 3+GB RAM. We will see. It will be very slow very probably but I just have to know will it run at all - and when it will hopefully will then I will start assembling my new system box part by part... And I'm going to purchase VMWare workstation license in the near future - VMWare workstation has a feature of converting physical PCs into VMDK images. (Although VMWare workstation may fail to setup and run on Win2003 Server - we will see...) Thank you for all your help. -- Shamil 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > Hi Mark, Gustav at all -- > > Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. > > Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? > > As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... > > Thank you. > > -- Shamil > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > Hi Shamil et al > > > > Here is a free tool: > > > > http://www.starwindsoftware.com/converter > > > > to: > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > > > > /gustav > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > Hello Mark -- > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > Did you work with it and did it worked well as described in the VMWare ads? > > > > Also, the > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > > > 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 Mon Nov 28 18:49:01 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 28 Nov 2011 16:49:01 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements In-Reply-To: References: Message-ID: Hi Shamil: I think you'll be surprised at how fast VMs run on your computer, even with 3Gb and 32bit Windows. I have VMWare Workstation. I normally use VMs to run different versions of Office for Access development. Most of them are 20-25Gb. The first time I tried to convert an actual physical machine to a VM, I was surprised to find that the size of the resulting VM was going to be the total of EVERY file on the Windows boot drive - I wasn't ready to create a 200GB VM! I did convert one old Windows 2000 server machine to a VM successfully (as a backup before I sent the computer to recycling), but before I converted it, I removed as many programs and files as I could while still keeping it functional. Doug On Mon, Nov 28, 2011 at 3:50 PM, Salakhetdinov Shamil wrote: > Hi All -- > > Never mind - I have got visited VMWare site and I have got downloaded a > free utility - VMWare vCenter Converter > > http://www.vmware.com/products/converter/ > > and then I have run test conversion of > > Internet Explorer Compatibility VPC image > > http://www.microsoft.com/download/en/details.aspx?id=11575 > > into VMDK format. > > Then I have got setup VMWAre workstation (trial version - > http://www.vmware.com/products/workstation/overview.html) > > and voila' - I have got up & running converted into VMDK 'Internet > Explorer Compatibility VPC image, and I'm using it right now to prepare > this message. > > I'm going to try to download now > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > convert it into VMDK and try to run it on my test laptop - 32bit Win7 > system with 3+GB RAM. We will see. > It will be very slow very probably but I just have to know will it run at > all - and when it will hopefully will then I will start assembling my new > system box part by part... > > And I'm going to purchase VMWare workstation license in the near future - > VMWare workstation has a feature of converting physical PCs into VMDK > images. (Although VMWare workstation may fail to setup and run on Win2003 > Server - we will see...) > > Thank you for all your help. > > -- Shamil > > > > > 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > > Hi Mark, Gustav at all -- > > > > Now, when I'm going to take VMWare vSphere route I wanted to make a > temporary/transitional "virtual copy" of my physical system box running MS > Windows 2003 Server together with its harddisk (250GB) partitioned into one > system drive and 5 logical drives. > > > > Are there any free/inexpensive tools to make such a virtual copy as VHD > and/or VMDK image/set of images? > > > > As far as I understand I should be able to use this "virtual > copy/machine" as an active virtual machine running under VMWare or I can > just mount its virtual harddisks to get their data transferred on the new > system/archived?... > > > > Thank you. > > > > -- Shamil > > > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > > Hi Shamil et al > > > > > > Here is a free tool: > > > > > > http://www.starwindsoftware.com/converter > > > > > > to: > > > > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > > > StarWind Converter is a downloadable V2V conversion tool for virtual > machines. You can use it to convert VMDK to VHD files and VHD to VMDK as > well as to IMG file, which is a native StarWind format. This is a very > simple but useful file conversion tool that will convert virtual hard drive > images from VMware's VMDK format into the Microsoft's VHD format. It is a > sector by sector copy operation from one format to the other. It does not > modify the source image and will leave it so you can continue to use it. > > > > > > > > > /gustav > > > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > > Hello Mark -- > > > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > > Did you work with it and did it worked well as described in the VMWare > ads? > > > > > > Also, the > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways > to convert that Hyper-V image into an WMare image? > > > > > > 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 mcp2004 at mail.ru Wed Nov 30 14:10:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 00:10:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From gustav at cactus.dk Wed Nov 30 16:04:12 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2011 23:04:12 +0100 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements Message-ID: Hi Shamil Yep, that's a show stopper. The free VMware Server will allow up to two CPUs and 64-bit but only if the host is equal or larger. I'm not aware of any other brand of VM that will simulate multiple CPUs or cores on a host with less resources. /gustav >>> Salakhetdinov Shamil 30-11-2011 21:10 >>> Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil From newsgrps at dalyn.co.nz Wed Nov 30 16:19:01 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 01 Dec 2011 11:19:01 +1300 Subject: [dba-VB] vb.net vs c#.net Message-ID: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Just out of curiosity, a comment I read recently was that 99% of .net programmers seem to be using c#. As far as this group goes: What are peoples preferences? What do you do most of your development work in? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From davidmcafee at gmail.com Wed Nov 30 16:25:33 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 30 Nov 2011 14:25:33 -0800 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I use both. VB.net was easier for me to move over to, so a lot of my earlier stuff is in VB.net. I try to push myself to always use C# for newer stuff because everyone I deal seems to only use C#. Another reason that I'm using C# more is that I'm still learning Java, and C# is closer to Java than VB.net is, so I tend to practice on stuff like case sensitivity and variable declarations. D On Wed, Nov 30, 2011 at 2:19 PM, David Emerson wrote: > Just out of curiosity, a comment I read recently was that 99% of .net > programmers seem to be using c#. > > As far as this group goes: > > What are peoples preferences? > > What do you do most of your development work in? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > 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 Nov 30 16:51:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 17:51:49 -0500 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: IME, I have observed the elitist preference for C# in the marketplace, and the dimunition of Vb.NET in the same marketplace. There are a few differences, AFICS, but there are translators to overcome this. That said, almost all that is required to move from VB to C# is a bunch of semi-colons. But the marketplace seems to regard these as worth at least $20 an hour more income. So I have dived into C#. Most of the transition has proved trivial. A. From stuart at lexacorp.com.pg Wed Nov 30 22:09:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Dec 2011 14:09:07 +1000 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4ED6FDE3.14088.38C4BD1@stuart.lexacorp.com.pg> Don't forget the curly brackets - go to have lots of loverly curly brackets too :-) -- Stuart On 30 Nov 2011 at 17:51, Arthur Fuller wrote: > IME, I have observed the elitist preference for C# in the marketplace, and > the dimunition of Vb.NET in the same marketplace. There are a few > differences, AFICS, but there are translators to overcome this. That said, > almost all that is required to move from VB to C# is a bunch of > semi-colons. But the marketplace seems to regard these as worth at least > $20 an hour more income. So I have dived into C#. Most of the transition > has proved trivial. > > A. > _______________________________________________ > 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 Nov 1 14:44:53 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 15:44:53 -0400 Subject: [dba-VB] Unhooking events while they are running Message-ID: <4EB04C35.4010201@colbyconsulting.com> I am using the directory watcher class. When the parent class to start, it hooks the events and when it is told to stop it unhooks the events. My question is simply that events are asynchronous and as such could occur at the same instant that the parent class is being told to stop. I use a boolean evFileDeletedIsRunning flag which the event sets as the first line inside of that event and clears as the last line of the event. I then check this flag before unhooking the event. Is this adequate protection? What happens if an event is unhooked while the event sink is running? Is it a page fault or something less catastrophic? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From stuart at lexacorp.com.pg Tue Nov 1 16:33:51 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 02 Nov 2011 07:33:51 +1000 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB04C35.4010201@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> Message-ID: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> To quote MS: A hook is a point in the system message-handling mechanism where an application can install a subroutine to monitor the message traffic in the system and process certain types of messages before they reach the target window procedure. Is that what you are actually doing i.e. "intercepting" and acting on messages intended for another target ? Or are you just using a FileSystemWatcher, which is basically a wrapper for WaitForSingleObject in Kernel32.DLL, to monitor changes? If the latter, I'd say you solution is quite adequate. On 1 Nov 2011 at 15:44, jwcolby wrote: > I am using the directory watcher class. When the parent class to > start, it hooks the events and when it is told to stop it unhooks the > events. > > My question is simply that events are asynchronous and as such could > occur at the same instant that the parent class is being told to stop. > I use a boolean evFileDeletedIsRunning flag which the event sets as > the first line inside of that event and clears as the last line of the > event. I then check this flag before unhooking the event. > > Is this adequate protection? What happens if an event is unhooked > while the event sink is running? > Is it a page fault or something less catastrophic? > > -- > 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 Tue Nov 1 16:42:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Nov 2011 17:42:35 -0400 Subject: [dba-VB] Unhooking events while they are running In-Reply-To: <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> Message-ID: <4EB067CB.7080100@colbyconsulting.com> I am just using filesystemwatcher. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/1/2011 5:33 PM, Stuart McLachlan wrote: > To quote MS: A hook is a point in the system message-handling mechanism where an > application can install a subroutine to monitor the message traffic in the system and process > certain types of messages before they reach the target window procedure. > > Is that what you are actually doing i.e. "intercepting" and acting on messages intended for > another target ? > > Or are you just using a FileSystemWatcher, which is basically a wrapper for > WaitForSingleObject in Kernel32.DLL, to monitor changes? > > If the latter, I'd say you solution is quite adequate. > > > > On 1 Nov 2011 at 15:44, jwcolby wrote: > >> I am using the directory watcher class. When the parent class to >> start, it hooks the events and when it is told to stop it unhooks the >> events. >> >> My question is simply that events are asynchronous and as such could >> occur at the same instant that the parent class is being told to stop. >> I use a boolean evFileDeletedIsRunning flag which the event sets as >> the first line inside of that event and clears as the last line of the >> event. I then check this flag before unhooking the event. >> >> Is this adequate protection? What happens if an event is unhooked >> while the event sink is running? >> Is it a page fault or something less catastrophic? >> >> -- >> 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 Wed Nov 2 07:41:21 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 02 Nov 2011 08:41:21 -0400 Subject: [dba-VB] Owner scope Message-ID: <4EB13A71.4000802@colbyconsulting.com> A couple of questions: We use the term parent for inheritance. What is the term for the "owner" of a variable or class. IOW I use a RunState class. A process class can have class level variables which are initialized to instances of this class. Thus (in my terminology) the class "owns" these RunState class instances. What I am windering is if there is a OO term for this "owner" concept. Next question. The run state class has methods and properties. Some of the methods, specifically the Start method should be visible from the object trying to "start" the process. Other methods should only be called from the "owner" of the RunState class. What is the syntax for scope to make some properties and methods only visible from the owner side? I am trying to build a state machine where the RunState class starts at state Stopped. clsRunState has 4 states. 1) Stopped 2) Starting 3) Started 4) Stopped State changes can only be done by clsRunState, IOW it is not possible to directly set the RunState from outside of clsRunState. This allows clsRunState to enforce the state machine rules / transitions. clsRunState has 5 methods 1) mStart - called by the external process starting this process 2) mInitialized - Called by the owner to signal that Initialization completed 3) mInitFailed - Called by the owner to indicate that initialization failed, passing in error info 4) mStop - Called by the external process or the owner to trigger cleanup and stopping 5) mTerminated - called by the owner to signal that termination is complete clsRunState has 2 events 1) evInitialize - Raised by mStart() and sunk by the owner to trigger initialization code. 2) evTerminate - Raised by mStop() and sunk by the owner to trigger cleanup and shutdown. 1) The process is started when an external process calls the clsRunState.mStart() method (from outside of the owner). If the state was Stopped when entering mStart, then clsRunState sets the state to Starting and raises an evInitialize event which is sunk in the "owner" (whatever we are calling that). If the state was not Stopped when clsRunState.mStart() is called then the method just returns, doing nothing. The owner sinks the evInitialize and performs initialization. If the initialization works then the owner calls the clsRunState.mInitialized() method which sets the RunState to Started. If initialization fails then the the owner calls clsRunState.mInitFailed() passing in a fail text message which is stored in a property for the external process to read. clsRunState.mInitFailed() then sets the RunState to Stopped. The external process or the owner can call clsRunState.mStop(). clsRunState.mStop() sets the RunState to Stopping and raises the evTerminate event which is sunk by the owner and is used to trigger cleanup of the process controlled by the RunState class. When the owner finishes all termination processes the owner calls clsRunState.mTerminated() which sets the RunState to Stopped. I need the scope syntax to prevent the external process from calling methods that only the owner is supposed to call. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Sat Nov 5 11:29:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 12:29:57 -0400 Subject: [dba-VB] C# Scope Message-ID: <4EB56485.70602@colbyconsulting.com> Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From shamil at smsconsulting.spb.ru Sat Nov 5 11:56:58 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 19:56:58 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56485.70602@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> Message-ID: John, If you put class runState and class myClassParent in one class library and class myGrandParent in another class library referencing the first one then the following code would be the scoping solution you're looking for: ==== classlib1 ==== public class runState { public ... mStart() {...} internal ... mStarted() {...} } public class myClassParent { runState myRunState } ===== classlib2 === public class myGrandParent { myClassParent MyClassParent; } Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 19:30 To: VBA Subject: [dba-VB] C# Scope Suppose I have a set of classes: class runState { mStart() { } mStarted() { } } class myClassParent { runState myRunState; } class myGrandParent { myClassParent MyClassParent; } Is there any way to scope runState.mStarted to be visible to MyClassParent but not visible to the grandparent while making runState.mStart visible to MyClassParent and MyClassGrandparent? In other words the grandparent should be able to call the parent's runState.mStart but not be able to call the runState.mStarted. Only the parent should be able to call runState.MStarted. -- 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 Sat Nov 5 12:11:52 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:11:52 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56E58.7050205@colbyconsulting.com> Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From jwcolby at colbyconsulting.com Sat Nov 5 12:15:35 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 13:15:35 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> Message-ID: <4EB56F37.7060802@colbyconsulting.com> The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library and > class myGrandParent in another class library referencing the first one then > the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to MyClassParent > but not visible to the grandparent while making runState.mStart visible to > MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only the > parent should be able to call runState.MStarted. > > From shamil at smsconsulting.spb.ru Sat Nov 5 13:32:13 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 21:32:13 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56E58.7050205@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: No, John, I mean a separate assembly/project with type ClassLibrary. Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:12 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Thanks Shamil. When you say "class library" do you mean a container module? John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Nov 5 13:57:28 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 05 Nov 2011 14:57:28 -0400 Subject: [dba-VB] C# Scope In-Reply-To: References: <4EB56485.70602@colbyconsulting.com> <4EB56E58.7050205@colbyconsulting.com> Message-ID: <4EB58718.3050408@colbyconsulting.com> Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class library >> and class myGrandParent in another class library referencing the first >> one then the following code would be the scoping solution you're looking > for: From shamil at smsconsulting.spb.ru Sat Nov 5 14:25:52 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:25:52 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB56F37.7060802@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com> <4EB56F37.7060802@colbyconsulting.com> Message-ID: <0D5030F160A94419BB8D91720010D635@nant> John -- Sorry, I don't know what to say/advise here - I don't understand the reasoning... I personally routinely use inheritance or composition or delegation, and I usually do not care that much about scope: I do keep most of the stuff private or protected, and when needed I do make it internal or public... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 20:16 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope The problem that I have here is that the RunState class can potentially be used by any other class. The point of the RunState class is to encapsulate all of the stuff to define a RunState state machine, and any complex class can have a RunState. In fact some of my classes have several RunState classes. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: > John, > > If you put class runState and class myClassParent in one class library > and class myGrandParent in another class library referencing the first > one then the following code would be the scoping solution you're looking for: > > ==== classlib1 ==== > public class runState > { > public ... mStart() {...} > internal ... mStarted() {...} > } > > public class myClassParent > { > runState myRunState > } > > ===== classlib2 === > > public class myGrandParent > { > myClassParent MyClassParent; > } > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 19:30 > To: VBA > Subject: [dba-VB] C# Scope > > Suppose I have a set of classes: > > class runState > { > mStart() > { > } > > mStarted() > { > } > } > > class myClassParent > { > runState myRunState; > > } > > class myGrandParent > { > myClassParent MyClassParent; > } > > Is there any way to scope runState.mStarted to be visible to > MyClassParent but not visible to the grandparent while making > runState.mStart visible to MyClassParent and MyClassGrandparent? > > In other words the grandparent should be able to call the parent's > runState.mStart but not be able to call the runState.mStarted. Only > the parent should be able to call runState.MStarted. > > _______________________________________________ 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 Sat Nov 5 14:47:18 2011 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 5 Nov 2011 22:47:18 +0300 Subject: [dba-VB] C# Scope In-Reply-To: <4EB58718.3050408@colbyconsulting.com> References: <4EB56485.70602@colbyconsulting.com><4EB56E58.7050205@colbyconsulting.com> <4EB58718.3050408@colbyconsulting.com> Message-ID: John -- With manager and supervisor classes being together in other classlibrary than RunState class you can try to use inheritance - inherit RunState by RunState1(for manager) and RunState2(for supervisor) then use delegation... Thank you. -- Shamil -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 5 ?????? 2011 ?. 21:57 To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] C# Scope Shamil, Either way it can't be done since RunState is a class that can potentially be needed by the grandparent as well as the parent. I.e. Grandparent and parent (in my current system) each actually do have their own Runstate. In fact the entire objective of building the RunState class was to have a common encapsulated functionality to program against for any process that can be started and stopped. Grandparent starts / stops and it starts / stops the parent. I am using a Manager / supervisor metaphor in the system. the form has three "stages", any stage can be independently running, and every stage has its own check box to allow me to start / stop it. Each stage also has its own status control for writing stage status stuff. Each Supervisor has jobs, and every job has to go through all three stages of processing. Thus the form starts the manager and the manager looks for supervisors ready to start any of the stages. Etc. So I have these RunStates to allow everything to be told to start and stop and communicate what state they are in. I can't embed the runstate into a lib with any of these other classes or I lose the encapsulation of the RunState class. I actually have the RunState class out in a CommonObjects class lib and the manager and supervisor classes in the actual application. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/5/2011 2:32 PM, Shamil Salakhetdinov wrote: > No, John, I mean a separate assembly/project with type ClassLibrary. > > Thank you. > > -- > Shamil > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 5 ?????? 2011 ?. 20:12 > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] C# Scope > > Thanks Shamil. When you say "class library" do you mean a container module? > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/5/2011 12:56 PM, Shamil Salakhetdinov wrote: >> John, >> >> If you put class runState and class myClassParent in one class >> library and class myGrandParent in another class library referencing >> the first one then the following code would be the scoping solution >> you're looking > for: _______________________________________________ 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 Nov 9 10:14:43 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 08:14:43 -0800 Subject: [dba-VB] the IT market In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: <3A1BA62CC701425080FC90220A0FC274@creativesystemdesigns.com> As the IT, market is dramatically, changing the people here now have a chance to grade their current endeavors. http://www.techrepublic.com/blog/career/grade-your-job-it-programmer/3622?ta g=nl.e101 Jim From accessd at shaw.ca Wed Nov 9 16:13:23 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 9 Nov 2011 14:13:23 -0800 Subject: [dba-VB] Silverlight dead In-Reply-To: <4EB067CB.7080100@colbyconsulting.com> References: <4EB04C35.4010201@colbyconsulting.com> <4EB065BF.29082.9E6B0FA@stuart.lexacorp.com.pg> <4EB067CB.7080100@colbyconsulting.com> Message-ID: As mentioned many time before, Silverlight was a dead application before even got out there. http://www.zdnet.com/blog/microsoft/will-there-be-a-silverlight-6-and-does-i t-matter/11180 Flash is dead too and it is about time and Adobe is developing its replacement product called Edge. We will now have to learn how to use the Open Standards of HTML5 and CSS3. As a web developer all I can say it is it is a very good day. :-) Jim From jeff.developer at gmail.com Thu Nov 10 16:33:56 2011 From: jeff.developer at gmail.com (Jeff B) Date: Thu, 10 Nov 2011 16:33:56 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET Message-ID: Does anyone here have experience writing web pages in ASP.NET that require online signatures? I have a website ALMOST finished that needs users to sign on an iPad and I need to capture the signature, save it into an SQL Server 2005 database, and extract the signature back out to a PDF. Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com From davidmcafee at gmail.com Thu Nov 10 16:37:36 2011 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 10 Nov 2011 14:37:36 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: My coworker is doing that very same thing, but I believe in C#. This is where he went for the custom control: realsignature.com He said it includes the license file. It looks like they have VB.Net samples on their site. HTH, David On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > Does anyone here have experience writing web pages in ASP.NET that require > online signatures? I have a website ALMOST finished that needs users to > sign on an iPad and I need to capture the signature, save it into an SQL > Server 2005 database, and extract the signature back out to a PDF. > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > > > _______________________________________________ > 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 Thu Nov 10 18:01:18 2011 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 10 Nov 2011 16:01:18 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs users to > > sign on an iPad and I need to capture the signature, save it into an SQL > > Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 jeff.developer at gmail.com Fri Nov 11 07:30:48 2011 From: jeff.developer at gmail.com (Jeff B) Date: Fri, 11 Nov 2011 07:30:48 -0600 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: References: Message-ID: <003001cca076$20a08e80$61e1ab80$@gmail.com> OK, I guess I need to add some more information. We purchased a signature control from WebSignatureCapture. When I discovered that their control would not work for our site, they referred me to their sister-site, SuperSignature. I have worked with their support team as I could not get the signature box to show up on the published site, (it was a VS 2010 issue). It now appears that things are working ok, but I want to verify that the image is actually being stored in SQL, and I am currently having issues retrieving the image from SQL. Does anyone have some code they are willing to share that retrieves images? And the code you use to store it? (if I am not asking for too much?) Jeff Barrows MCP, MCAD, MCSD ? Outbak Technologies, LLC Racine, WI jeff.developer at gmail.com -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, November 10, 2011 6:01 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET I did this for a client's app (in C#). We went with SuperSignature: http://www.supersignature.com/ If I remember, SuperSignature had a lot fewer options than RealSignature, but did what we wanted (simple signature capture on a web app focused on iPhone use) and was considerably cheaper. Their copy protection is a little quirky, but their tech support was helpful. Doug On Thu, Nov 10, 2011 at 2:37 PM, David McAfee wrote: > My coworker is doing that very same thing, but I believe in C#. > > This is where he went for the custom control: realsignature.com > > He said it includes the license file. > > It looks like they have VB.Net samples on their site. > > HTH, > David > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B wrote: > > > Does anyone here have experience writing web pages in ASP.NET that > require > > online signatures? I have a website ALMOST finished that needs > > users to sign on an iPad and I need to capture the signature, save > > it into an SQL Server 2005 database, and extract the signature back out to a PDF. > > > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff.developer at gmail.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 dbdoug at gmail.com Fri Nov 11 10:03:56 2011 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 11 Nov 2011 08:03:56 -0800 Subject: [dba-VB] Signature capture in ASP.NET / VB.NET In-Reply-To: <003001cca076$20a08e80$61e1ab80$@gmail.com> References: <003001cca076$20a08e80$61e1ab80$@gmail.com> Message-ID: Hi Jeff: We just use SuperSignature as they suggested - to save a file to a folder on the server. But I do retrieve the signature data first as a System.Drawing.Bitmap, then convert it to a jpg and save it. I assume that you could write the Bitmap to a blob field in SQL. Sorry, the code is C#: // signature is returned as bitmap if no path specified System.Drawing.Bitmap BM = ctlSignature.SaveSignature(""); if (!ctlSignature.SignHasError) { // Save the image in JPEG format. BM.Save(Server.MapPath("~/sigs/sign.jpg"), System.Drawing.Imaging.ImageFormat.Jpeg); } else { Response.Write("Error:" + ctlSignature.SignInternalError); } Hope this helps! Doug On Fri, Nov 11, 2011 at 5:30 AM, Jeff B wrote: > OK, I guess I need to add some more information. > > We purchased a signature control from WebSignatureCapture. When I > discovered that their control would not work for our site, they referred me > to their sister-site, SuperSignature. > > I have worked with their support team as I could not get the signature box > to show up on the published site, (it was a VS 2010 issue). > > It now appears that things are working ok, but I want to verify that the > image is actually being stored in SQL, and I am currently having issues > retrieving the image from SQL. Does anyone have some code they are willing > to share that retrieves images? And the code you use to store it? (if I > am > not asking for too much?) > > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff.developer at gmail.com > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, November 10, 2011 6:01 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Signature capture in ASP.NET / VB.NET > > I did this for a client's app (in C#). We went with SuperSignature: > > http://www.supersignature.com/ > > If I remember, SuperSignature had a lot fewer options than RealSignature, > but did what we wanted (simple signature capture on a web app focused on > iPhone use) and was considerably cheaper. > > Their copy protection is a little quirky, but their tech support was > helpful. > > Doug > > On Thu, Nov 10, 2011 at 2:37 PM, David McAfee > wrote: > > > My coworker is doing that very same thing, but I believe in C#. > > > > This is where he went for the custom control: realsignature.com > > > > He said it includes the license file. > > > > It looks like they have VB.Net samples on their site. > > > > HTH, > > David > > > > On Thu, Nov 10, 2011 at 2:33 PM, Jeff B > wrote: > > > > > Does anyone here have experience writing web pages in ASP.NET that > > require > > > online signatures? I have a website ALMOST finished that needs > > > users to sign on an iPad and I need to capture the signature, save > > > it into an SQL Server 2005 database, and extract the signature back out > to a PDF. > > > > > > > > > Jeff Barrows > > > MCP, MCAD, MCSD > > > > > > Outbak Technologies, LLC > > > Racine, WI > > > jeff.developer at gmail.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 > > From newsgrps at dalyn.co.nz Sun Nov 13 20:00:43 2011 From: newsgrps at dalyn.co.nz (newsgrps) Date: Mon, 14 Nov 2011 15:00:43 +1300 Subject: [dba-VB] Which version of Visual Studio Message-ID: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Ok - Here goes for my first post to this group. I currently have Visual Studio 2005 Professional installed which I have done some playing around on. I know this is getting a little old (like me). I am wanting to get more familiar with dot net and application development. Should I continue to use this to get more familiar with the dot net environment or should I get a later version (if so which one?). What are the advantages/disadvantages of each approach (apart from cost which is a big disincentive). The Express Visual Studio 2010 products don't seem to have enough features (for example the one dot net web application I do support is in vb.net but VS 2010 Express documentation doesn't seem to indicate that vb.net is included). Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Sun Nov 13 22:00:13 2011 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 13 Nov 2011 20:00:13 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I have > done some playing around on. I know this is getting a little old (like > me). I am wanting to get more familiar with dot net and application > development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What are > the advantages/disadvantages of each approach (apart from cost which is a > big disincentive). The Express Visual Studio 2010 products don't seem to > have enough features (for example the one dot net web application I do > support is in vb.net but VS 2010 Express documentation doesn't seem to > indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From df.waters at comcast.net Mon Nov 14 08:27:58 2011 From: df.waters at comcast.net (Dan Waters) Date: Mon, 14 Nov 2011 08:27:58 -0600 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <002301cca2d9$9bc20b10$d3462130$@comcast.net> I disagree on automatically taking the plunge on C#. The two languages, vb.net and C# are now, with .Net 4 and Visual Studio 2010, almost identical, and MS will probably make them absolutely identical in one of the next versions. As a relative newcomer, you won't see the differences for a while. So, because there is no intrinsic advantage for either language, it's just your personal preference. In addition, I've found that the more I write in VB, the easier it is to read something in C# and understand what's happening (converting code and comparing line for line helps with this as well). Also, I've been programming in VB.Net for about 6 months, and have never not been able to find examples using VB.Net. In fact, I'd say that about 40% are in VB.Net, and the rest in C#. If you find an interesting example in C#, you can usually convert it here: http://converter.telerik.com/. Sometimes I will suffix my searches with '-C#' so that only VB.Net examples come up, and I can more quickly get what I'm looking for. Of course, if you are going to be programming within a group of C# developers, then you need to learn the language. If you're going to be programming on your own, which it sounds like you're doing, then I'd say skip the 'tiny brain exploding transition' and start with VB.Net. That's plenty of a learning curve just with the transition to any .Net language. I do prefer VB for at least one reason: VB is not case sensitive while C# is. For example, the variable 'stgPerson' in VB is the same as when you type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' and 'stgperson' as two separate variables, and I don't see how that would be helpful. Many C# developers will often say that 'C# rules the world' and so on. Not true. I think it's the same attitude that IT people have for Access. They want to be 'superior' and do the 'true' language. The truth is it's not that simple. You might want to write a small app in both languages, and see which one works for you. It's been a while, but I believe that there are separate VS 2010 Express downloads for each of the different languages. Good Luck! Dan -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Sunday, November 13, 2011 10:00 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Which version of Visual Studio Apart from anything else, I think you should just take the plunge and start using C#. It appears to be the language of choice for .Net developers. Whenever you search for for .Net programming advice on the web, 99% of the explanations and examples will be in C#. The transition from VB to C# will be, from my experience at least, a tiny part of the brain exploding transition from Access/VBA to .Net. And if you're thinking of making web apps, my advice would be to start right in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, and I found the whole system to be really difficult to work with. I thought it was just my advanced years and calcified brain, but I've started working with MVC and it is, to my mind, much more straightforward. Doug On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > Ok - Here goes for my first post to this group. > > I currently have Visual Studio 2005 Professional installed which I > have done some playing around on. I know this is getting a little old > (like me). I am wanting to get more familiar with dot net and > application development. > > Should I continue to use this to get more familiar with the dot net > environment or should I get a later version (if so which one?). What > are the advantages/disadvantages of each approach (apart from cost > which is a big disincentive). The Express Visual Studio 2010 products > don't seem to have enough features (for example the one dot net web > application I do support is in vb.net but VS 2010 Express > documentation doesn't seem to indicate that vb.net is included). > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb dvisors.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 mcp2004 at mail.ru Mon Nov 14 15:05:41 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 01:05:41 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <002301cca2d9$9bc20b10$d3462130$@comcast.net> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Hi Dan -- > I do prefer VB for at least one reason: > VB is not case sensitive while C# is. I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). I can provide my reasoning but would it make any difference there? BTW, there are many "indirect signs" that C# is "superior" than VB.NET, e.g. DotNetNuke code base moved from VB.NET to C#, as well as another large commercial Internet shopping applications I have worked with... Why they did that? Recap: when moving into .NET development from any other system I'd recommend to use C#. If you have already a large code base developed using VB.NET then you should be safe to continue using VB.NET. Thank you. -- Shamil 14 ?????? 2011, 18:29 ?? "Dan Waters" : > I disagree on automatically taking the plunge on C#. > > The two languages, vb.net and C# are now, with .Net 4 and Visual Studio > 2010, almost identical, and MS will probably make them absolutely identical > in one of the next versions. As a relative newcomer, you won't see the > differences for a while. So, because there is no intrinsic advantage for > either language, it's just your personal preference. In addition, I've > found that the more I write in VB, the easier it is to read something in C# > and understand what's happening (converting code and comparing line for line > helps with this as well). > > Also, I've been programming in VB.Net for about 6 months, and have never not > been able to find examples using VB.Net. In fact, I'd say that about 40% > are in VB.Net, and the rest in C#. If you find an interesting example in > C#, you can usually convert it here: http://converter.telerik.com/. > Sometimes I will suffix my searches with '-C#' so that only VB.Net examples > come up, and I can more quickly get what I'm looking for. > > Of course, if you are going to be programming within a group of C# > developers, then you need to learn the language. If you're going to be > programming on your own, which it sounds like you're doing, then I'd say > skip the 'tiny brain exploding transition' and start with VB.Net. That's > plenty of a learning curve just with the transition to any .Net language. > > I do prefer VB for at least one reason: VB is not case sensitive while C# > is. For example, the variable 'stgPerson' in VB is the same as when you > type 'stgperson'; VB will change the case for you. But C# sees 'stgPerson' > and 'stgperson' as two separate variables, and I don't see how that would be > helpful. > > Many C# developers will often say that 'C# rules the world' and so on. Not > true. I think it's the same attitude that IT people have for Access. They > want to be 'superior' and do the 'true' language. The truth is it's not > that simple. > > You might want to write a small app in both languages, and see which one > works for you. > > It's been a while, but I believe that there are separate VS 2010 Express > downloads for each of the different languages. > > Good Luck! > Dan > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Sunday, November 13, 2011 10:00 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Which version of Visual Studio > > Apart from anything else, I think you should just take the plunge and start > using C#. It appears to be the language of choice for .Net developers. > Whenever you search for for .Net programming advice on the web, 99% of the > explanations and examples will be in C#. > > The transition from VB to C# will be, from my experience at least, a tiny > part of the brain exploding transition from Access/VBA to .Net. > > And if you're thinking of making web apps, my advice would be to start right > in using MVC3. I built a couple of apps for clients using ASP.Net Webforms, > and I found the whole system to be really difficult to work with. > I thought it was just my advanced years and calcified brain, but I've > started working with MVC and it is, to my mind, much more straightforward. > > Doug > > On Sun, Nov 13, 2011 at 6:00 PM, newsgrps wrote: > > > Ok - Here goes for my first post to this group. > > > > I currently have Visual Studio 2005 Professional installed which I > > have done some playing around on. I know this is getting a little old > > (like me). I am wanting to get more familiar with dot net and > > application development. > > > > Should I continue to use this to get more familiar with the dot net > > environment or should I get a later version (if so which one?). What > > are the advantages/disadvantages of each approach (apart from cost > > which is a big disincentive). The Express Visual Studio 2010 products > > don't seem to have enough features (for example the one dot net web > > application I do support is in vb.net but VS 2010 Express > > documentation doesn't seem to indicate that vb.net is included). > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > dvisors.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 davidmcafee at gmail.com Mon Nov 14 15:15:27 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:15:27 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <002301cca2d9$9bc20b10$d3462130$@comcast.net> Message-ID: Shamil, why do you prefer case sensitivity? That is one of my most common mistakes when developing in C, C#, Java, Android(Java). Just wondering, David On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > Hi Dan -- > > > I do prefer VB for at least one reason: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > 10+ years). > I can provide my reasoning but would it make any difference there? > > Thank you. > > -- Shamil > > > 14 ?????? 2011, 18:29 ?? "Dan Waters" : > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > is. For example, the variable 'stgPerson' in VB is the same as when you > > type 'stgperson'; VB will change the case for you. But C# sees > 'stgPerson' > > and 'stgperson' as two separate variables, and I don't see how that > would be > > helpful. > > > > Good Luck! > > Dan > From stuart at lexacorp.com.pg Mon Nov 14 15:18:48 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:18:48 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <002301cca2d9$9bc20b10$d3462130$@comcast.net>, Message-ID: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Go on, we haven't had a good flame war on any of the dba lists for ages. The Natural/Surrogate and Bound/Unbound issues are dead. ;-) -- Stuart On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > VB is not case sensitive while C# is. > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > I can provide my reasoning but would it make any difference there? > From stuart at lexacorp.com.pg Mon Nov 14 15:21:44 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 07:21:44 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Here we go, grab your tin hats everyone and duck for cover :-) -- Stuart On 14 Nov 2011 at 13:15, David McAfee wrote: > Shamil, why do you prefer case sensitivity? > > That is one of my most common mistakes when developing in C, C#, Java, > Android(Java). > > Just wondering, > > David > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil wrote: > > > Hi Dan -- > > > > > I do prefer VB for at least one reason: > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it > > is *not* case sensitive :) (And I have been programming using VBA/VB6 for > > 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > > > Thank you. > > > > -- Shamil > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive while C# > > > is. For example, the variable 'stgPerson' in VB is the same as when you > > > type 'stgperson'; VB will change the case for you. But C# sees > > 'stgPerson' > > > and 'stgperson' as two separate variables, and I don't see how that > > would be > > > helpful. > > > > > > Good Luck! > > > Dan > > > _______________________________________________ > 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 Mon Nov 14 15:26:01 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 13:26:01 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: :) One of my pet peeves is when variables are used that are the opposite case of a reserved word. String string = "StRiNg"; On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan wrote: > Here we go, grab your tin hats everyone and duck for cover :-) > > -- > Stuart > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > Shamil, why do you prefer case sensitivity? > > > > That is one of my most common mistakes when developing in C, C#, Java, > > Android(Java). > > > > Just wondering, > > > > David > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil >wrote: > > > > > Hi Dan -- > > > > > > > I do prefer VB for at least one reason: > > > > VB is not case sensitive while C# is. > > > I'm not arguing - that's funny: I, personally, dislike VB.NET because > it > > > is *not* case sensitive :) (And I have been programming using VBA/VB6 > for > > > 10+ years). > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > -- Shamil > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case sensitive > while C# > > > > is. For example, the variable 'stgPerson' in VB is the same as when > you > > > > type 'stgperson'; VB will change the case for you. But C# sees > > > 'stgPerson' > > > > and 'stgperson' as two separate variables, and I don't see how that > > > would be > > > > helpful. > > > > > > > > Good Luck! > > > > Dan > > > > > _______________________________________________ > > 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 newsgrps at dalyn.co.nz Mon Nov 14 16:23:03 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 15 Nov 2011 11:23:03 +1300 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> Message-ID: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Here is a related question to variable names. I read somewhere that Hungarian naming convention is not now supported by Microsoft and they prefer not to include the type as a prefix. What could be the reason for this? I know there are more tooltips to help identify a variable but this is no help if you are looking at printed code. David At 15/11/2011, David McAfee wrote: >:) > >One of my pet peeves is when variables are used that are the opposite case >of a reserved word. > > >String string = "StRiNg"; > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >wrote: > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > -- > > Stuart > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > Shamil, why do you prefer case sensitivity? > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > Android(Java). > > > > > > Just wondering, > > > > > > David > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > >wrote: > > > > > > > Hi Dan -- > > > > > > > > > I do prefer VB for at least one reason: > > > > > VB is not case sensitive while C# is. > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > because it > > > > is *not* case sensitive :) (And I have been programming using > VBA/VB6 for > > > > 10+ years). > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > Thank you. > > > > > > > > -- Shamil > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > I do prefer VB for at least one reason: VB is not case > sensitive while C# > > > > > is. For example, the variable 'stgPerson' in VB is the > same as when you > > > > > type 'stgperson'; VB will change the case for you. But C# > sees 'stgPerson' > > > > > and 'stgperson' as two separate variables, and I don't see > how that would be > > > > > helpful. > > > > > > > > > > Good Luck! > > > > > Dan From davidmcafee at gmail.com Mon Nov 14 16:28:32 2011 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 14 Nov 2011 14:28:32 -0800 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz> <4EC18668.2097.1E2B3B2A@stuart.lexacorp.com.pg> <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I still use it (or a variation of it), even in other languages. On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and they > prefer not to include the type as a prefix. What could be the reason for > this? I know there are more tooltips to help identify a variable but this > is no help if you are looking at printed code. > > David > > > At 15/11/2011, David McAfee wrote: > >> :) >> >> One of my pet peeves is when variables are used that are the opposite case >> of a reserved word. >> >> >> String string = "StRiNg"; >> >> >> >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: >> >> > Here we go, grab your tin hats everyone and duck for cover :-) >> > >> > -- >> > Stuart >> > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: >> > >> > > Shamil, why do you prefer case sensitivity? >> > > >> > > That is one of my most common mistakes when developing in C, C#, Java, >> > > Android(Java). >> > > >> > > Just wondering, >> > > >> > > David >> > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < >> mcp2004 at mail.ru >> > >wrote: >> > > >> > > > Hi Dan -- >> > > > >> > > > > I do prefer VB for at least one reason: >> > > > > VB is not case sensitive while C# is. >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it >> > > > is *not* case sensitive :) (And I have been programming using >> VBA/VB6 for >> > > > 10+ years). >> > > > I can provide my reasoning but would it make any difference there? >> > > > >> > > > Thank you. >> > > > >> > > > -- Shamil >> > > > >> > > > >> > > > 14 2011, 18:29 "Dan Waters" : >> > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive >> while C# >> > > > > is. For example, the variable 'stgPerson' in VB is the same as >> when you >> > > > > type 'stgperson'; VB will change the case for you. But C# sees >> 'stgPerson' >> > > > > and 'stgperson' as two separate variables, and I don't see how >> that would be >> > > > > helpful. >> > > > > >> > > > > Good Luck! >> > > > > Dan >> > > ______________________________**_________________ > 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 Mon Nov 14 16:47:21 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:47:21 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: Hi David -- Have a look: http://thejoyofcode.com/_NET_Naming_Conventions.aspx http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices http://msdn.microsoft.com/en-us/library/ms229045.aspx Hungarian notation is depreciated for .NET languages, still Hungarian notation "dialect" (LRNC) is widely used in VBA world, and VB6 code does use both "classical" Hungarian notation or LRNC... Thank you. -- Shamil 15 ?????? 2011, 02:24 ?? David Emerson : > Here is a related question to variable names. I read somewhere that > Hungarian naming convention is not now supported by Microsoft and > they prefer not to include the type as a prefix. What could be the > reason for this? I know there are more tooltips to help identify a > variable but this is no help if you are looking at printed code. > > David > > At 15/11/2011, David McAfee wrote: > >:) > > > >One of my pet peeves is when variables are used that are the opposite case > >of a reserved word. > > > > > >String string = "StRiNg"; > > > > > > > >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >wrote: > > > > > Here we go, grab your tin hats everyone and duck for cover :-) > > > > > > -- > > > Stuart > > > > > > On 14 Nov 2011 at 13:15, David McAfee wrote: > > > > > > > Shamil, why do you prefer case sensitivity? > > > > > > > > That is one of my most common mistakes when developing in C, C#, Java, > > > > Android(Java). > > > > > > > > Just wondering, > > > > > > > > David > > > > > > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil > > >wrote: > > > > > > > > > Hi Dan -- > > > > > > > > > > > I do prefer VB for at least one reason: > > > > > > VB is not case sensitive while C# is. > > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET > > because it > > > > > is *not* case sensitive :) (And I have been programming using > > VBA/VB6 for > > > > > 10+ years). > > > > > I can provide my reasoning but would it make any difference there? > > > > > > > > > > Thank you. > > > > > > > > > > -- Shamil > > > > > > > > > > > > > > > 14 2011, 18:29 "Dan Waters" : > > > > > > > > > > > I do prefer VB for at least one reason: VB is not case > > sensitive while C# > > > > > > is. For example, the variable 'stgPerson' in VB is the > > same as when you > > > > > > type 'stgperson'; VB will change the case for you. But C# > > sees 'stgPerson' > > > > > > and 'stgperson' as two separate variables, and I don't see > > how that would be > > > > > > helpful. > > > > > > > > > > > > Good Luck! > > > > > > Dan > > _______________________________________________ > 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 Mon Nov 14 16:50:05 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 15 Nov 2011 02:50:05 +0400 Subject: [dba-VB] =?utf-8?q?Which_version_of_Visual_Studio?= In-Reply-To: <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC185B8.15005.1E288C36@stuart.lexacorp.com.pg> Message-ID: Hi Stuart -- I'm off - 2:49 a.m. here - your turn now :) Thank you. -- Shamil 15 ?????? 2011, 01:19 ?? "Stuart McLachlan" : > Go on, we haven't had a good flame war on any of the dba lists for ages. > > The Natural/Surrogate and Bound/Unbound issues are dead. > > ;-) > > -- > Stuart > > On 15 Nov 2011 at 1:05, Salakhetdinov Shamil wrote: > > > > VB is not case sensitive while C# is. > > I'm not arguing - that's funny: I, personally, dislike VB.NET because it is *not* case sensitive :) (And I have been programming using VBA/VB6 for 10+ years). > > I can provide my reasoning but would it make any difference there? > > > > From stuart at lexacorp.com.pg Mon Nov 14 16:50:43 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 08:50:43 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, Message-ID: <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and they > > prefer not to include the type as a prefix. What could be the reason for > > this? I know there are more tooltips to help identify a variable but this > > is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the opposite case > >> of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, C#, Java, > >> > > Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike VB.NETbecause it > >> > > > is *not* case sensitive :) (And I have been programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > http://www.databaseadvisors.**com > > > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From michael at ddisolutions.com.au Mon Nov 14 20:09:44 2011 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 15 Nov 2011 13:09:44 +1100 Subject: [dba-VB] Which version of Visual Studio References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <20111114222323.TYLP28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, <4EC19B43.31180.1E7CB06A@stuart.lexacorp.com.pg> Message-ID: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Hi Stuart, Your code below would return the wrong result here in OZ ;-) In .net you should probably cast to datetime and use the month property to return either a string or int as required. C# or VB doesn't matter though I prefer C#. I use VB only when I have to. Cheers Michael M Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart On 14 Nov 2011 at 14:28, David McAfee wrote: > I still use it (or a variation of it), even in other languages. > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson wrote: > > > Here is a related question to variable names. I read somewhere that > > Hungarian naming convention is not now supported by Microsoft and > > they prefer not to include the type as a prefix. What could be the > > reason for this? I know there are more tooltips to help identify a > > variable but this is no help if you are looking at printed code. > > > > David > > > > > > At 15/11/2011, David McAfee wrote: > > > >> :) > >> > >> One of my pet peeves is when variables are used that are the > >> opposite case of a reserved word. > >> > >> > >> String string = "StRiNg"; > >> > >> > >> > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > >> >> >wrote: > >> > >> > Here we go, grab your tin hats everyone and duck for cover :-) > >> > > >> > -- > >> > Stuart > >> > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > >> > > >> > > Shamil, why do you prefer case sensitivity? > >> > > > >> > > That is one of my most common mistakes when developing in C, > >> > > C#, Java, Android(Java). > >> > > > >> > > Just wondering, > >> > > > >> > > David > >> > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > >> mcp2004 at mail.ru > >> > >wrote: > >> > > > >> > > > Hi Dan -- > >> > > > > >> > > > > I do prefer VB for at least one reason: > >> > > > > VB is not case sensitive while C# is. > >> > > > I'm not arguing - that's funny: I, personally, dislike > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > >> > > > programming using > >> VBA/VB6 for > >> > > > 10+ years). > >> > > > I can provide my reasoning but would it make any difference there? > >> > > > > >> > > > Thank you. > >> > > > > >> > > > -- Shamil > >> > > > > >> > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > >> > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > >> > > > > sensitive > >> while C# > >> > > > > is. For example, the variable 'stgPerson' in VB is the > >> > > > > same as > >> when you > >> > > > > type 'stgperson'; VB will change the case for you. But C# > >> > > > > sees > >> 'stgPerson' > >> > > > > and 'stgperson' as two separate variables, and I don't see > >> > > > > how > >> that would be > >> > > > > helpful. > >> > > > > > >> > > > > Good Luck! > >> > > > > Dan > >> > > > > ______________________________**_________________ > > dba-VB mailing list > > dba-VB at databaseadvisors.com > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > eadvisors.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 ----- No virus found in this message. Checked by AVG - www.avg.com Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 From stuart at lexacorp.com.pg Mon Nov 14 21:33:35 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 15 Nov 2011 13:33:35 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> References: <20111114020055.FXNW18437.mta03.xtra.co.nz@David-PC.dalyn.co.nz>, <99266C61B516644D9727F983FAFAB46511B83D@remote.ddisolutions.com.au> Message-ID: <4EC1DD8F.14609.1F7FAF85@stuart.lexacorp.com.pg> No it wouldn't ;-) Here in PNG we use the same format as OZ. Date$ in various BASIC dialects is not locale aware. It always returns mm-dd-yyyy. That's why I have numerous functions which parse out strMonth, lngMonthetc and do different manipulations on the parts. -- Stuart On 15 Nov 2011 at 13:09, Michael Maddison wrote: > Hi Stuart, > > Your code below would return the wrong result here in OZ ;-) > > In .net you should probably cast to datetime and use the month property > to return either a string or int as required. > C# or VB doesn't matter though I prefer C#. I use VB only when I have > to. > > Cheers > > Michael M > > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables > depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > On 14 Nov 2011 at 14:28, David McAfee wrote: > > > I still use it (or a variation of it), even in other languages. > > > > > > On Mon, Nov 14, 2011 at 2:23 PM, David Emerson > wrote: > > > > > Here is a related question to variable names. I read somewhere that > > > > Hungarian naming convention is not now supported by Microsoft and > > > they prefer not to include the type as a prefix. What could be the > > > reason for this? I know there are more tooltips to help identify a > > > variable but this is no help if you are looking at printed code. > > > > > > David > > > > > > > > > At 15/11/2011, David McAfee wrote: > > > > > >> :) > > >> > > >> One of my pet peeves is when variables are used that are the > > >> opposite case of a reserved word. > > >> > > >> > > >> String string = "StRiNg"; > > >> > > >> > > >> > > >> On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan > > >> > >> >wrote: > > >> > > >> > Here we go, grab your tin hats everyone and duck for cover :-) > > >> > > > >> > -- > > >> > Stuart > > >> > > > >> > On 14 Nov 2011 at 13:15, David McAfee wrote: > > >> > > > >> > > Shamil, why do you prefer case sensitivity? > > >> > > > > >> > > That is one of my most common mistakes when developing in C, > > >> > > C#, Java, Android(Java). > > >> > > > > >> > > Just wondering, > > >> > > > > >> > > David > > >> > > > > >> > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil < > > >> mcp2004 at mail.ru > > >> > >wrote: > > >> > > > > >> > > > Hi Dan -- > > >> > > > > > >> > > > > I do prefer VB for at least one reason: > > >> > > > > VB is not case sensitive while C# is. > > >> > > > I'm not arguing - that's funny: I, personally, dislike > > >> > > > VB.NETbecause it is *not* case sensitive :) (And I have been > > >> > > > programming using > > >> VBA/VB6 for > > >> > > > 10+ years). > > >> > > > I can provide my reasoning but would it make any difference > there? > > >> > > > > > >> > > > Thank you. > > >> > > > > > >> > > > -- Shamil > > >> > > > > > >> > > > > > >> > > > 14 2011, 18:29 "Dan Waters" : > > >> > > > > > >> > > > > I do prefer VB for at least one reason: VB is not case > > >> > > > > sensitive > > >> while C# > > >> > > > > is. For example, the variable 'stgPerson' in VB is the > > >> > > > > same as > > >> when you > > >> > > > > type 'stgperson'; VB will change the case for you. But C# > > >> > > > > sees > > >> 'stgPerson' > > >> > > > > and 'stgperson' as two separate variables, and I don't see > > >> > > > > how > > >> that would be > > >> > > > > helpful. > > >> > > > > > > >> > > > > Good Luck! > > >> > > > > Dan > > >> > > > > > > ______________________________**_________________ > > > dba-VB mailing list > > > dba-VB at databaseadvisors.com > > > http://databaseadvisors.com/**mailman/listinfo/dba-vb > > eadvisors.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 > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 10.0.1411 / Virus Database: 2092/4017 - Release Date: 11/14/11 > > _______________________________________________ > 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 Nov 15 10:34:38 2011 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 15 Nov 2011 17:34:38 +0100 Subject: [dba-VB] Which version of Visual Studio Message-ID: Hi Stuart You could but you didn't as that would have been sloppy code ... In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. /gustav >>> "Stuart McLachlan" 14-11-2011 23:50 >>> Me too. I wrote something like this just yesterday: strMonth = Left$(Date$,2) lngMonth = Val(strMonth) ...... 'lots of addition code using one or other of the above variables depending on context. .... It makes the code very easy to follow. And I could have written it as: strMonth = Left$(Date$,2) lngMonth = Val(strmonth) without any problem :-) -- Stuart From stuart at lexacorp.com.pg Tue Nov 15 16:07:45 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 16 Nov 2011 08:07:45 +1000 Subject: [dba-VB] Which version of Visual Studio In-Reply-To: References: Message-ID: <4EC2E2B1.4301.237BBEF5@stuart.lexacorp.com.pg> I did it in PowerBasic. On 15 Nov 2011 at 17:34, Gustav Brock wrote: > Hi Stuart > > You could but you didn't as that would have been sloppy code ... > > In VB(A) it would have self corrected; in Access Basic your variable would have been renamed to strmonth; in Visual Studio intellisense would have warned you. > > /gustav > > > >>> "Stuart McLachlan" 14-11-2011 23:50 >>> > Me too. I wrote something like this just yesterday: > > strMonth = Left$(Date$,2) > lngMonth = Val(strMonth) > ...... > 'lots of addition code using one or other of the above variables depending on context. > .... > > It makes the code very easy to follow. > And I could have written it as: > strMonth = Left$(Date$,2) > lngMonth = Val(strmonth) > > without any problem :-) > > -- > Stuart > > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:18:30 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:18:30 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Message-ID: <000001cca459$da428960$8ec79c20$@com.au> Hi Everyone, I am currently teaching myself asp.net and using vb.net as the code behind. What I would like to create is a login page for my site using MySQL or MariaDB instead of the built in ASP.net security. Has anyone come across some good tutorial for something like this? Thanks Vlad From mcp2004 at mail.ru Wed Nov 16 06:30:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:30:44 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca459$da428960$8ec79c20$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > > From actebs at actebs.com.au Wed Nov 16 06:36:35 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 16 Nov 2011 23:36:35 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> Message-ID: <000501cca45c$60d99340$228cb9c0$@com.au> Hi Shamil, You're awesome! I'll muck around with that and report back... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:31 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Have a look: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 If you'll happen to make it working for you don't hesitate to share your experience :) Thank you. -- Shamil 16 ?????? 2011, 16:19 ?? "ACTEBS" : > Hi Everyone, > > I am currently teaching myself asp.net and using vb.net as the code behind. > What I would like to create is a login page for my site using MySQL or > MariaDB instead of the built in ASP.net security. > > Has anyone come across some good tutorial for something like this? > > Thanks > > Vlad > > _______________________________________________ > 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 mcp2004 at mail.ru Wed Nov 16 06:50:39 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 16 Nov 2011 16:50:39 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000501cca45c$60d99340$228cb9c0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 df.waters at comcast.net Wed Nov 16 09:11:12 2011 From: df.waters at comcast.net (Dan Waters) Date: Wed, 16 Nov 2011 09:11:12 -0600 Subject: [dba-VB] IT Position in Minneapolis/St.Paul Message-ID: <002b01cca471$fa687070$ef395150$@comcast.net> I just talked with one of my customers this morning, and they are looking for a person to be an 'on call' IT person. This a 100 person manufacturing firm in Shoreview. If you're interested, please contact me directly. Thanks! Dan From actebs at actebs.com.au Fri Nov 18 18:33:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 19 Nov 2011 11:33:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca652$e27e7850$a77b68f0$@com.au> Hi Shamil, OK, after much mucking around, I have found an alternative solution that works beautifully. Here is the article that outlines the whole process: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Sat Nov 19 02:20:32 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Sat, 19 Nov 2011 12:20:32 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000001cca652$e27e7850$a77b68f0$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.html > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framework-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From accessd at shaw.ca Sat Nov 19 11:24:42 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 19 Nov 2011 09:24:42 -0800 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au> <000501cca45c$60d99340$228cb9c0$@com.au> <000001cca652$e27e7850$a77b68f0$@com.au> Message-ID: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Here is another implementation of CAPTCHA from Google. I initially set it up on my own site and have subsequently set it up on a couple of client sites. http://www.google.com/recaptcha/captcha ...and it works great with all the bells and whistles. Note; Images of text should be distorted randomly before being presented to the user. Many implementations of CAPTCHAs use undistorted text, or text with only minor distortions. These implementations are vulnerable to simple automated attacks. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Saturday, November 19, 2011 12:21 AM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad -- Thank you for your progress feedback. FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET site: http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx -- Shamil 19 ?????? 2011, 04:34 ?? "ACTEBS" : > Hi Shamil, > > OK, after much mucking around, I have found an alternative solution that works beautifully. > > Here is the article that outlines the whole process: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm l > > Here are the supporting articles which you should be comfortable with, and have the included software installed before attempting the above link: > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-databinding-linq-entities.html > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew ork-winform-data-source.html > > I am currently working my way through it all and have a majority of it working. I am just trying to find out how to include CAPTCHA into the solution and then I will give everyone the opportunity to download my test site if you like... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > _______________________________________________ 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 Sat Nov 19 17:27:14 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 20 Nov 2011 09:27:14 +1000 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> References: <000001cca459$da428960$8ec79c20$@com.au>, , <0CFAEDEFEAA6451B845DD17040638C7B@creativesystemdesigns.com> Message-ID: <4EC83B52.335.385DDF3F@stuart.lexacorp.com.pg> Looks good and I like the concept of using the results to improve the accuracy of digitized books. -- Stuart On 19 Nov 2011 at 9:24, Jim Lawrence wrote: > Here is another implementation of CAPTCHA from Google. I initially set it up > on my own site and have subsequently set it up on a couple of client sites. > > http://www.google.com/recaptcha/captcha > > ...and it works great with all the bells and whistles. > > Note; Images of text should be distorted randomly before being presented to > the user. Many implementations of CAPTCHAs use undistorted text, or text > with only minor distortions. These implementations are vulnerable to simple > automated attacks. > > Jim > > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Saturday, November 19, 2011 12:21 AM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > Hi Vlad -- > > Thank you for your progress feedback. > > FYI: Here's a link, which helped me to implement CAPTCHA for an ASP.NET > site: > > http://xtractpro.com/articles/CAPTCHA-Image-Generator.aspx > > -- Shamil > > 19 2011, 04:34 "ACTEBS" : > > Hi Shamil, > > > > OK, after much mucking around, I have found an alternative solution that > works beautifully. > > > > Here is the article that outlines the whole process: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-asp-roles.htm > l > > > > Here are the supporting articles which you should be comfortable with, and > have the included software installed before attempting the above link: > > > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-databinding-linq-entities.html > > > http://dev.mysql.com/doc/refman/5.0/en/connector-net-tutorials-entity-framew > ork-winform-data-source.html > > > > I am currently working my way through it all and have a majority of it > working. I am just trying to find out how to include CAPTCHA into the > solution and then I will give everyone the opportunity to download my test > site if you like... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > Sent: Wednesday, 16 November 2011 11:51 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > Hi Vlad, > > > > > You're awesome! > > That's MSDN... > > > > > I'll muck around with that and report back... > > Quite some folks here (including mysefl) will be waiting for your report I > guess - the same approach should work for MS Access backend used on ASP.NET > site - so you may try to make both :) > > > > Thank you. > > > > -- Shamil > > > > 16 2011, 16:37 "ACTEBS" : > > > Hi Shamil, > > > > > > You're awesome! I'll muck around with that and report back... > > > > > > Thanks > > > > > > Vlad > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > > > Sent: Wednesday, 16 November 2011 11:31 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net > connecting to MySQL > > > > > > Hi Vlad -- > > > > > > Have a look: > > > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > > > If you'll happen to make it working for you don't hesitate to share your > experience :) > > > > > > Thank you. > > > > > > -- Shamil > > > > > > 16 2011, 16:19 "ACTEBS" : > > > > Hi Everyone, > > > > > > > > I am currently teaching myself asp.net and using vb.net as the code > behind. > > > > What I would like to create is a login page for my site using MySQL or > > > > MariaDB instead of the built in ASP.net security. > > > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > > > Thanks > > > > > > > > Vlad > > > > > > > > _______________________________________________ > > > > 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 > > > > > > _______________________________________________ > 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 actebs at actebs.com.au Sat Nov 19 21:29:08 2011 From: actebs at actebs.com.au (ACTEBS) Date: Sun, 20 Nov 2011 14:29:08 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000001cca734$904e2480$b0ea6d80$@com.au> Hi Everyone, Does anyone know how you create the control from this link: http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx I've compiled/built the downloaded project and added and referenced the resultant WebControlCaptcha.DLL to my project. How do I get the control into the Toolbox? Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 18:48:40 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 11:48:40 +1100 Subject: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL In-Reply-To: References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> Message-ID: <000101cca979$a4de70c0$ee9b5240$@com.au> Hi Everyone, I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: http://download.actebs.com.au/asp/LoginMySQL.zip Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: http://www.mysql.com/products/connector/ Download the item called "ADO.NET Driver for MySQL (Connector/NET)" Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. I will be asking a heap of question shortly and I hope you guys can help me out... Thanks Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 16 November 2011 11:51 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL Hi Vlad, > You're awesome! That's MSDN... > I'll muck around with that and report back... Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) Thank you. -- Shamil 16 ?????? 2011, 16:37 ?? "ACTEBS" : > Hi Shamil, > > You're awesome! I'll muck around with that and report back... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:31 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad -- > > Have a look: > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > If you'll happen to make it working for you don't hesitate to share your experience :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > Hi Everyone, > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > What I would like to create is a login page for my site using MySQL or > > MariaDB instead of the built in ASP.net security. > > > > Has anyone come across some good tutorial for something like this? > > > > Thanks > > > > Vlad > > > > _______________________________________________ > > 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 actebs at actebs.com.au Tue Nov 22 19:04:18 2011 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 23 Nov 2011 12:04:18 +1100 Subject: [dba-VB] VB.Net Database Classes Message-ID: <000201cca97b$d3d7d270$7b877750$@com.au> Hi Everyone, To create this custom membership site, I would like to learn how to use and create database classes for the project and I'm hoping someone has the patience to guide me through it. I have tried searching on the web, but everyone is talking about classes, methods and properties but not about actual database access and data retrieval. So basically my question is as follows. Suppose you have 2 tables in your database tblUsers and tblUsersRoles. The fields in these tables are: UserID RoleID Username UserEmail UserPassword UserCreated UserLastLogin RoleID RoleDescription How would I create the classes for the above tables and also, how do I use these classes within the site as well? By use within the site I mean, how do I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. Many thanks Vlad From jwcolby at colbyconsulting.com Tue Nov 22 21:05:24 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:05:24 -0500 Subject: [dba-VB] Hyper-V VM oddness Message-ID: <4ECC62F4.7050201@colbyconsulting.com> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs it could handle the load. The sole purpose of one of the VMs is to host a third party application. When this app is running the VM says that the single core I assign to it is pegged, 100% utilization. However none of the host machine cores shows any significant usage, and the total server usage bounces between 0 and 1%. So I'm wondering what the heck is going on? The application on the dedicated VM server was processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million records / hour. I expected one core to max and the total to say 1/16th total usage. Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not busy at all? -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From jwcolby at colbyconsulting.com Tue Nov 22 21:25:57 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 22 Nov 2011 22:25:57 -0500 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC62F4.7050201@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> Message-ID: <4ECC67C5.8040405@colbyconsulting.com> I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. Sorry for the ring. John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it On 11/22/2011 10:05 PM, jwcolby wrote: > I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs > it could handle the load. The sole purpose of one of the VMs is to host a third party application. > When this app is running the VM says that the single core I assign to it is pegged, 100% > utilization. However none of the host machine cores shows any significant usage, and the total > server usage bounces between 0 and 1%. > > So I'm wondering what the heck is going on? The application on the dedicated VM server was > processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine > one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo > server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million > records / hour. I expected one core to max and the total to say 1/16th total usage. > > Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not > busy at all? > From hans.andersen at phulse.com Tue Nov 22 22:59:10 2011 From: hans.andersen at phulse.com (Hans-Christian Andersen) Date: Tue, 22 Nov 2011 20:59:10 -0800 Subject: [dba-VB] Hyper-V VM oddness In-Reply-To: <4ECC67C5.8040405@colbyconsulting.com> References: <4ECC62F4.7050201@colbyconsulting.com> <4ECC67C5.8040405@colbyconsulting.com> Message-ID: <7788A799-B464-404C-9681-14FAB97737FF@phulse.com> John, This could also be a sign of heavy IO utilisation that is only being measured in ring 0. Best regards, Hans-Christian Andersen On 22 Nov 2011, at 19:25, jwcolby wrote: > I think I have found the answer to the question, which is that the "host" windows system is not in fact the host system, Hyper-V is the host system. And Hyper-V is in fact showing 6% usage which is one out of 16 cores. > > Sorry for the ring. > > John W. Colby > Colby Consulting > > Reality is what refuses to go away > when you do not believe in it > > On 11/22/2011 10:05 PM, jwcolby wrote: >> I decided to try moving my VMs to Azul server, my "big" server. I figured with 16 cores and 64 gigs >> it could handle the load. The sole purpose of one of the VMs is to host a third party application. >> When this app is running the VM says that the single core I assign to it is pegged, 100% >> utilization. However none of the host machine cores shows any significant usage, and the total >> server usage bounces between 0 and 1%. >> >> So I'm wondering what the heck is going on? The application on the dedicated VM server was >> processing about 8-9 million records per hour on a 3.5 GHz AMD quad core, and on that host machine >> one of the cores would appear to be maxed out and the server would say 25% usage. On the mongo >> server the CPUs are 2 GHz 8 core and no core says it is busy and I'm only getting about 4 million >> records / hour. I expected one core to max and the total to say 1/16th total usage. >> >> Any ideas why this VM says it is using 100% of its virtual CPU but the host server says it is not >> busy at all? >> > _______________________________________________ > 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 Wed Nov 23 02:32:06 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:32:06 +0400 Subject: [dba-VB] =?utf-8?q?VB=2ENet_Database_Classes?= In-Reply-To: <000201cca97b$d3d7d270$7b877750$@com.au> References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Wed Nov 23 02:49:30 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Wed, 23 Nov 2011 12:49:30 +0400 Subject: [dba-VB] =?utf-8?q?Creating_Login_for_ASP=2Enet_site_using_VB=2EN?= =?utf-8?q?et_connecting_to_MySQL?= In-Reply-To: <000101cca979$a4de70c0$ee9b5240$@com.au> References: <000001cca459$da428960$8ec79c20$@com.au><000501cca45c$60d99340$228cb9c0$@com.au> <000101cca979$a4de70c0$ee9b5240$@com.au> Message-ID: Hi Vlad, > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, > this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. > Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. You don't have to use ASP.NET controls to implement membership features using samples I referred: http://msdn.microsoft.com/en-us/library/44w5aswa.aspx http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 I didn't use that samples but I have worked quite a bit with native ASP.NET membership classes, which use MS SQL backend, and I'd note that implementing your own membership provider could be rather time consuming... Sending e-mail on login can be done by using .NET/C# SMTP classes... If you're just starting with .NET OleDb, ASP.NET and web development and you're going to do a lot of custom development including custom membership/login/logout/... implementation be prepared it all could take quite some time... Sorry, I cannot provide more help these days... -- Shamil 23 ?????? 2011, 04:49 ?? "ACTEBS" : > Hi Everyone, > > I have decided to give up on the built in ASP Membership and create my own custom one to suit my needs and also to learn more about website coding and it's intricacies. > > For those of you who want to have a look at how you use the ASP Membership features with MySQL or MariaDB, you can download what I did here: > > http://download.actebs.com.au/asp/LoginMySQL.zip > > Inside the zip file you will see the sql script (logintest.sql) to create the database. Ensure you have the MySQL ADO.Net Connector installed. It can be downloaded here: > > http://www.mysql.com/products/connector/ > > Download the item called "ADO.NET Driver for MySQL (Connector/NET)" > > Also, in your project ensure you have referenced both MySQL.Data.dll and MySQL.Web.dll > > To be honest, those ASP controls are pretty lame, and even though they do save a bit of time in coding membership features, this is far outweighed by the sheer lack of info and lack of basic membership features like email confirmation upon log on. Totally bemused by the lack of such a fundamental feature that nearly all sites on the web currently have. > > I will be asking a heap of question shortly and I hope you guys can help me out... > > Thanks > > Vlad > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > Sent: Wednesday, 16 November 2011 11:51 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > Hi Vlad, > > > You're awesome! > That's MSDN... > > > I'll muck around with that and report back... > Quite some folks here (including mysefl) will be waiting for your report I guess - the same approach should work for MS Access backend used on ASP.NET site - so you may try to make both :) > > Thank you. > > -- Shamil > > 16 ?????? 2011, 16:37 ?? "ACTEBS" : > > Hi Shamil, > > > > You're awesome! I'll muck around with that and report back... > > > > Thanks > > > > Vlad > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil > > Sent: Wednesday, 16 November 2011 11:31 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: Re: [dba-VB] Creating Login for ASP.net site using VB.Net connecting to MySQL > > > > Hi Vlad -- > > > > Have a look: > > > > http://msdn.microsoft.com/en-us/library/44w5aswa.aspx > > > > http://msdn.microsoft.com/en-us/library/6tc47t75.aspx#Y164 > > > > If you'll happen to make it working for you don't hesitate to share your experience :) > > > > Thank you. > > > > -- Shamil > > > > 16 ?????? 2011, 16:19 ?? "ACTEBS" : > > > Hi Everyone, > > > > > > I am currently teaching myself asp.net and using vb.net as the code behind. > > > What I would like to create is a login page for my site using MySQL or > > > MariaDB instead of the built in ASP.net security. > > > > > > Has anyone come across some good tutorial for something like this? > > > > > > Thanks > > > > > > Vlad > > > > > > _______________________________________________ > > > 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 > > From jwcolby at colbyconsulting.com Wed Nov 23 10:35:06 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 23 Nov 2011 11:35:06 -0500 Subject: [dba-VB] Clearing the decks for MySQL Message-ID: <4ECD20BA.1060301@colbyconsulting.com> I run three VMs pretty much 24/7 here at my home office, one which I call vmDev which is my development machine, another is my Accuzip third party software vm and one final machine runs SQL Server Express for Access clients coming in over the internet. I had a dedicated server for VMs which I actually just upgraded to a new motherboard, DDR3 ram etc in preparation for the new AM3+ bulldozer processor. Given the weak performance of the new processor I am hanging out waiting for the next rev / price drops before taking that plunge. what I did do however is move all three of those VMs off onto my 16 core SQL Server machine. The only VM which truly needs much horsepower is the Accuzip VM and my performance dropped by half when I did the move. Whereas I was getting about 8-9 million records / hour on the dedicated VM Server, on Azul SQL Server machine I am lucky to get 4.5 million per hour. The difference is mostly just the core speed. The Magney-Cours server chips that I could afford run at 2.0 ghz and have ddr3 1300 memory (registered and ECC), whereas the new motherboard has DDR 1600 memory and a quad core Phenom lightly overclocked to 3.3 ghz. The additional clock speed and memory speed apparently makes for significant additional horsepower. Anyway, I have decided to take the speed hit on the Accuzip VM in order to clean off what was my dedicated VM server and use that for a MySQL machine. As servers go this machine is somewhat wimpy with 4 cores and 16 gigs of memory but for learning MySQL it should suffice. There has been a bit of interest expressed in MySQL, with some list members already using it and others trying to learn it. I count myself in the trying to learn it crowd. My intention is to go with MariaDB. Since I have Hyper-V running on this machine I am thinking about running mariaDB itself on a VM which would allow me to move the VM should I decide to keep it. I have to say I am not having a lot of luck getting a Linux distro running on a Hyper-V VM, but if I can make that happen that would be my preference. If anyone out there has experience getting a linux distro running in a Hyper-V VM running MariaDB let me know. I look forward to discussing MySQL with everyone interested in the subject. -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it From newsgrps at dalyn.co.nz Wed Nov 23 17:21:18 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 12:21:18 +1300 Subject: [dba-VB] Connection String Anomoly Message-ID: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I am trying to understand what could be causing this to happen. I have this code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Server.ScriptTimeout = 360 Dim conn As New SqlClient.SqlConnection conn.ConnectionString = "data source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" This connection works and I can access stored procedures etc. However, when I replace the Conn.Connection line above with this line below it does not work conn.ConnectionString = System.Web.Configuration.WebConfigurationManager.ConnectionStrings( "MyDatabaseConnection").ConnectionString The Web.Config file has this: Any ideas why this might be? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From dbdoug at gmail.com Wed Nov 23 19:48:33 2011 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 23 Nov 2011 17:48:33 -0800 Subject: [dba-VB] Connection String Anomoly In-Reply-To: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: This may be nothing, but I checked some auto-generated code in a project of mine, and the code uses square brackets: this._connection.ConnectionString = System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; Have you tried setting a breakpoint in the code and seeing exactly what is returned into conn.ConnectionString? Doug On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > I am trying to understand what could be causing this to happen. I have > this code: > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > System.EventArgs) Handles Me.Load > > Server.ScriptTimeout = 360 > > Dim conn As New SqlClient.SqlConnection > conn.ConnectionString = "data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > > This connection works and I can access stored procedures etc. > > However, when I replace the Conn.Connection line above with this line > below it does not work > > conn.ConnectionString = System.Web.Configuration.** > WebConfigurationManager.**ConnectionStrings( "MyDatabaseConnection").** > ConnectionString > > The Web.Config file has this: > > > name="MyDatabaseConnection" > connectionString="data source=MySQLSource;initial > catalog=MyDataBase;user id=sa;password=mypassword" > providerName="System.Data.**SqlClient" > /> > > > Any ideas why this might be? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand ______________________________**_________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/**mailman/listinfo/dba-vb > http://www.databaseadvisors.**com > > From newsgrps at dalyn.co.nz Wed Nov 23 21:10:22 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 24 Nov 2011 16:10:22 +1300 Subject: [dba-VB] Connection String Anomoly In-Reply-To: References: <20111123232256.DPLH10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: <20111124031058.ZWTV10424.mta01.xtra.co.nz@David-PC.dalyn.co.nz> I have used the round bracket syntax in another project and it worked ok. That project was complete in itself. This project is an add on to another one being developed by a separate developer. I don't have access to the complete project except when it is installed on a test server. Even then all I can do is put my files in place and see how they run. The file locations are different from other projects I have done but they seem to work except for this connection string. Since everything else works it may be some time before I can spending more time playing around with it. Thanks for the suggestion. David At 24/11/2011, Doug Steele wrote: >This may be nothing, but I checked some auto-generated code in a project of >mine, and the code uses square brackets: > >this._connection.ConnectionString = >System.Configuration.ConfigurationManager.ConnectionStrings["RescoConnectionString"].ConnectionString; > >Have you tried setting a breakpoint in the code and seeing exactly what is >returned into conn.ConnectionString? > >Doug > > >On Wed, Nov 23, 2011 at 3:21 PM, David Emerson wrote: > > > I am trying to understand what could be causing this to happen. I have > > this code: > > > > Protected Sub Page_Load(ByVal sender As Object, ByVal e As > > System.EventArgs) Handles Me.Load > > > > Server.ScriptTimeout = 360 > > > > Dim conn As New SqlClient.SqlConnection > > conn.ConnectionString = "data source=MySQLSource;initial > > catalog=MyDataBase;user id=sa;password=mypassword" > > > > This connection works and I can access stored procedures etc. > > > > However, when I replace the Conn.Connection line above with this line > > below it does not work > > > > conn.ConnectionString = > System.Web.Configuration.WebConfigurationManager.**ConnectionStrings > ( "MyDatabaseConnection").ConnectionString > > > > The Web.Config file has this: > > > > > > > name="MyDatabaseConnection" > > connectionString="data > source=MySQLSource;initial catalog=MyDataBase;user id=sa;password=mypassword" > > providerName="System.Data.**SqlClient" > > /> > > > > > > Any ideas why this might be? > > > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand ______________________________**_________________ From actebs at actebs.com.au Thu Nov 24 07:43:24 2011 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 25 Nov 2011 00:43:24 +1100 Subject: [dba-VB] VB.Net Database Classes In-Reply-To: References: <000201cca97b$d3d7d270$7b877750$@com.au> Message-ID: <000001ccaaaf$0a06ac70$1e140550$@com.au> Thanks Shamil. Am working through this very slowly... Vlad -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, 23 November 2011 7:32 PM To: Discussion concerning Visual Basic and related programming issues. Subject: Re: [dba-VB] VB.Net Database Classes Hi Vlad -- Sorry, I can't be of that much help - I'm very busy with custom development these days and I do not have experience in working with mySQL via .NET/C# I suppose basically you have to use .NET OleDb to implement CRUD operations - here is an introduction: http://www.aspfree.com/c/a/Database/Database-Programming-in-C-Sharp-with-MySQL-Using-OleDB/ It's similar to using OleDb with other backend types including MS Access. Folks say that using ADO.NET EF with mySQL is cumbersome: http://stackoverflow.com/questions/76488/using-mysql-with-entity-framework -- Shamil 23 ?????? 2011, 05:05 ?? "ACTEBS" : > Hi Everyone, > > To create this custom membership site, I would like to learn how to use and > create database classes for the project and I'm hoping someone has the > patience to guide me through it. I have tried searching on the web, but > everyone is talking about classes, methods and properties but not about > actual database access and data retrieval. > > So basically my question is as follows. Suppose you have 2 tables in your > database tblUsers and tblUsersRoles. The fields in these tables are: > > > > UserID > > RoleID > > Username > > UserEmail > > UserPassword > > UserCreated > > UserLastLogin > > > > RoleID > > RoleDescription > > How would I create the classes for the above tables and also, how do I use > these classes within the site as well? By use within the site I mean, how do > I do the normal SELECT, UPDATE, ADD, DELETE functions, using the classes. > > Many thanks > > Vlad > > _______________________________________________ > 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 Nov 26 08:28:19 2011 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 26 Nov 2011 09:28:19 -0500 Subject: [dba-VB] Five Absolutely Essential Utilities that make Windows better - Scott Hanselman Message-ID: <4ED0F783.8000201@colbyconsulting.com> -- John W. Colby Colby Consulting Reality is what refuses to go away when you do not believe in it http://www.hanselman.com/blog/FiveAbsolutelyEssentialUtilitiesThatMakeWindowsBetter.aspx From mcp2004 at mail.ru Sun Nov 27 15:27:44 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 01:27:44 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= Message-ID: Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil From accessd at shaw.ca Sun Nov 27 20:42:49 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:42:49 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Hi Shamil: I would recommend you contact Martin Reid as he is the Share-point guru. It might save a week of two. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Sun Nov 27 20:45:31 2011 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 27 Nov 2011 18:45:31 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: PS this looks like a really good deal. Jim -----Original Message----- From: dba-vb-bounces at databaseadvisors.com [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Sunday, November 27, 2011 1:28 PM To: Discussion concerning Visual Basic and related programming issues. Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise Hi All -- I'm looking to setup a system box here for MS Office 2010 / MS SharePoint 2010 development to be able to run something like the following "virtual" development environment: 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at least. Correct? Although I do not have that much development which needs such a computing power fully loaded all the time so I also wanted to share that system between my family members who all have their own laptops etc. of different types. Is that correct assumption/understanding that Hyper-V enabled Intel i7 Windows Server 2008 R2 system would also be a good host running several VMs accessible via MS Windows Remote Desktops within my home/office network? I'm also considering an option of "hobo-ing" St.Petersburg city with my laptop and accessing that my "mighty" system via MS Windows Remote Desktop via Internet - I have a broadband access to Internet from my home so my running system should be available from outside using MS Windows Remote Desktop if it has a fixed IP address?... Please advise what are system box requirements for my development environment I mentioned above... Thank you. -- Shamil _______________________________________________ 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 Mon Nov 28 03:34:16 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 09:34:16 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I have been playing with VM ware recently. VMWare have a free product that allows you to install it on bare metal box IOW, No OS is initally installed. This saves you the overhead of Win2K8. Secondly, VMware seems to dynamically share memory, so with your 8 GB machine, you can start three or four machines with 4 GB each configured and probably allow bursts of 4 GB on each. I think it is good and I think it is better than Windows. http://www.vmware.com/products/vsphere-hypervisor/overview.html < VMware vSphere Hypervisor is the simplest and easiest way to get started with virtualization for free. This fully functional hypervisor lets you virtualize your servers and run your applications in virtual machines in a matter of minutes. vSphere Hypervisor is based on VMware ESXi, the hypervisor architecture that sets the industry standard for reliability, performance, and ecosystem support. Consolidate your applications onto fewer servers and start saving money through reduced hardware, power, cooling, and administration costs. With VMware vSphere Hypervisor, you can: > Mark On 28 November 2011 02:45, Jim Lawrence wrote: > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 mcp2004 at mail.ru Mon Nov 28 04:19:20 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:19:20 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 Mon Nov 28 04:30:56 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:30:56 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> References: <4CA96BBCD05046B99204B4B436E3406A@creativesystemdesigns.com> Message-ID: Hi Jim -- Yes, I know that Martin Reid is an MS SharePoint Guru. But wouldn't it be more useful and helpful for everybody here to discuss Sharepoint development options? I just don't know where should I better post my messages concerning SharePoint development - here in dba-VB, in Access-D, or...? I do not want to go to SharePoint sites as I suppose that SharePoint (/Office 365) + OpenXML development could soon become part of everyday practice of this DatabaseDevelopers community members. Look e.g. at this demonstration/sample: Open XML SDK + Office Services: Better Together http://blogs.msdn.com/b/brian_jones/archive/2010/02/26/open-xml-sdk-office-services-better-together.aspx It doesn't look "rocket science" at all still it needs(?) that much computing power as I noted. Sounds strange? Is it true? Should I ask Martin Reid personally or we'd better try to discuss this issue/(development) use case here? For the latter option (discussing SharePoint development here) - where should I better post my questions with a mark: "Special attention to Martin Reid" to not force Martin to feel obliged to get heavily involved in that discussion as it could be rather time consuming for him explaining the basics to SharePoint development beginners as I'm? Thank you. -- Shamil 28 ?????? 2011, 06:42 ?? "Jim Lawrence" : > Hi Shamil: > > I would recommend you contact Martin Reid as he is the Share-point guru. It > might save a week of two. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > 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 Mon Nov 28 04:33:50 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 14:33:50 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/__MS_SharePoint_2010_dev?= =?utf-8?q?elopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hi Jim -- Do you mean my family members getting a lot of computing power for "free" from my "mighty" server environment? (And so I can save quite some money in long run by not funding them in upgrading their laptops and smartphones hardware? :)) Thank you -- Shamil 28 ?????? 2011, 06:45 ?? "Jim Lawrence" : > PS this looks like a really good deal. > > Jim > > -----Original Message----- > From: dba-vb-bounces at databaseadvisors.com > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > Shamil > Sent: Sunday, November 27, 2011 1:28 PM > To: Discussion concerning Visual Basic and related programming issues. > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system > box requirements - please advise > > Hi All -- > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > 2010 development to be able to run something like the following "virtual" > development environment: > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, with > Hyper-V support running 64 bit Windows 2008 R2 Server Standard Edition at > least. Correct? > > Although I do not have that much development which needs such a computing > power fully loaded all the time so I also wanted to share that system > between my family members who all have their own laptops etc. of different > types. > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > Windows Server 2008 R2 system would also be a good host running several VMs > accessible via MS Windows Remote Desktops within my home/office network? > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > via Internet - I have a broadband access to Internet from my home so my > running system should be available from outside using MS Windows Remote > Desktop if it has a fixed IP address?... > > Please advise what are system box requirements for my development > environment I mentioned above... > > Thank you. > > -- Shamil > > _______________________________________________ > 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 Mon Nov 28 09:21:37 2011 From: marklbreen at gmail.com (Mark Breen) Date: Mon, 28 Nov 2011 15:21:37 +0000 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements - please advise In-Reply-To: References: Message-ID: Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. I then quickly installed three OS's XP, Win7 and W2K. All worked well. I also downloaded a VMimage of a dos games machine. I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to > convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > > 28 ?????? 2011, 13:36 ?? Mark Breen : > > Hello Shamil, > > > > I have been playing with VM ware recently. > > > > VMWare have a free product that allows you to install it on bare metal > box > > IOW, No OS is initally installed. This saves you the overhead of Win2K8. > > Secondly, VMware seems to dynamically share memory, so with your 8 GB > > machine, you can start three or four machines with 4 GB each configured > and > > probably allow bursts of 4 GB on each. > > > > I think it is good and I think it is better than Windows. > > > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > > > < > > VMware vSphere Hypervisor is the simplest and easiest way to get started > > with virtualization for free. This fully functional hypervisor lets you > > virtualize your servers and run your applications in virtual machines in > a > > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > > hypervisor architecture that sets the industry standard for reliability, > > performance, and ecosystem support. Consolidate your applications onto > > fewer servers and start saving money through reduced hardware, power, > > cooling, and administration costs. With VMware vSphere Hypervisor, you > can: > > > > > > > Mark > > > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > > > PS this looks like a really good deal. > > > > > > Jim > > > > > > -----Original Message----- > > > From: dba-vb-bounces at databaseadvisors.com > > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov > > > Shamil > > > Sent: Sunday, November 27, 2011 1:28 PM > > > To: Discussion concerning Visual Basic and related programming issues. > > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > > system > > > box requirements - please advise > > > > > > Hi All -- > > > > > > I'm looking to setup a system box here for MS Office 2010 / MS > SharePoint > > > 2010 development to be able to run something like the following > "virtual" > > > development environment: > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > AFAIU that should better be Intel i7 powered system with 8GB RAM etc, > with > > > Hyper-V support running 64 bit Windows 2008 R2 Server Standard > Edition at > > > least. Correct? > > > > > > Although I do not have that much development which needs such a > computing > > > power fully loaded all the time so I also wanted to share that system > > > between my family members who all have their own laptops etc. of > different > > > types. > > > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > > Windows Server 2008 R2 system would also be a good host running > several VMs > > > accessible via MS Windows Remote Desktops within my home/office > network? > > > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > > laptop and accessing that my "mighty" system via MS Windows Remote > Desktop > > > via Internet - I have a broadband access to Internet from my home so my > > > running system should be available from outside using MS Windows Remote > > > Desktop if it has a fixed IP address?... > > > > > > Please advise what are system box requirements for my development > > > environment I mentioned above... > > > > > > 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 > > > > > > > > _______________________________________________ > > 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 mcp2004 at mail.ru Mon Nov 28 12:40:38 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Mon, 28 Nov 2011 22:40:38 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements_-_please_advise?= In-Reply-To: References: Message-ID: Hello Mark -- Thank you for your information - I will be waiting for your news on your advanced experience with VMWare. -- Shamil? 28 ?????? 2011, 19:21 ?? Mark Breen : Hello Shamil, I did play with VMWare, I did install it on a raw machine in 20 mins and it worked. ?I then quickly installed three OS's XP, Win7 and W2K. ?All worked well. ?I also downloaded a VMimage of a dos games machine. ?I also installed two or three linux machines and all worked well. I plan to do more, but have not yet done so. Actually, I plan to have a permanant server here for VM's, maybe even take SQL off my desktop completely, not sure if that will make it lighter or not. when I have more news, I will post it. One thing that may help? you have to do two things 1) install the VMWare ESXi server on the bare metal machine and boot it and configure a few basic networking settings. 2) then you install the windows client on another machine and you can connect to your server to set up VM's. HTH Mark On 28 November 2011 10:19, Salakhetdinov Shamil wrote: Hello Mark -- Yes, that VMWare vSphere Hypervisor sounds promising. Did you work with it and did it worked well as described in the VMWare ads? Also, the 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? Thank you. -- Shamil 28 ?????? 2011, 13:36 ?? Mark Breen : > Hello Shamil, > > I have been playing with VM ware recently. > > VMWare have a free product that allows you to install it on bare metal box > IOW, No OS is initally installed. ?This saves you the overhead of Win2K8. > ?Secondly, VMware seems to dynamically share memory, so with your 8 GB > machine, you can start three or four machines with 4 GB each configured and > probably allow bursts of 4 GB on each. > > I think it is good and I think it is better than Windows. > > http://www.vmware.com/products/vsphere-hypervisor/overview.html > > < > VMware vSphere Hypervisor is the simplest and easiest way to get started > with virtualization for free. This fully functional hypervisor lets you > virtualize your servers and run your applications in virtual machines in a > matter of minutes. vSphere Hypervisor is based on VMware ESXi, the > hypervisor architecture that sets the industry standard for reliability, > performance, and ecosystem support. Consolidate your applications onto > fewer servers and start saving money through reduced hardware, power, > cooling, and administration costs. With VMware vSphere Hypervisor, you can: > > > > Mark > > On 28 November 2011 02:45, Jim Lawrence wrote: > > > PS this looks like a really good deal. > > > > Jim > > > > -----Original Message----- > > From: dba-vb-bounces at databaseadvisors.com > > [mailto:dba-vb-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov > > Shamil > > Sent: Sunday, November 27, 2011 1:28 PM > > To: Discussion concerning Visual Basic and related programming issues. > > Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development > > system > > box requirements - please advise > > > > Hi All -- > > > > I'm looking to setup a system box here for MS Office 2010 / MS SharePoint > > 2010 development to be able to run something like the following "virtual" > > development environment: > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > AFAIU that should better be ?Intel i7 powered system with 8GB RAM etc, with > > Hyper-V support running ?64 bit Windows 2008 R2 Server Standard Edition at > > least. Correct? > > > > Although I do not have that much development which needs such a computing > > power fully loaded all the time so I also wanted to share that system > > between my family members who all have their own laptops etc. of different > > types. > > > > Is that correct assumption/understanding that Hyper-V enabled Intel i7 > > Windows Server 2008 R2 system would also be a good host running several VMs > > accessible via MS Windows Remote Desktops within my home/office network? > > > > I'm also considering an option of "hobo-ing" St.Petersburg city with my > > laptop and accessing that my "mighty" system via MS Windows Remote Desktop > > via Internet - I have a broadband access to Internet from my home so my > > running system should be available from outside using MS Windows Remote > > Desktop if it has a fixed IP address?... > > > > Please advise what are system box requirements for my development > > environment I mentioned above... > > > > 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 > > > > > _______________________________________________ > 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 mcp2004 at mail.ru Mon Nov 28 14:16:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 00:16:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Mark, Gustav at all -- Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From mcp2004 at mail.ru Mon Nov 28 17:50:11 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Tue, 29 Nov 2011 03:50:11 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi All -- Never mind - I have got visited VMWare site and I have got downloaded a free utility - VMWare vCenter Converter http://www.vmware.com/products/converter/ and then I have run test conversion of Internet Explorer Compatibility VPC image http://www.microsoft.com/download/en/details.aspx?id=11575 into VMDK format. Then I have got setup VMWAre workstation (trial version - http://www.vmware.com/products/workstation/overview.html) and voila' - I have got up & running converted into VMDK 'Internet Explorer Compatibility VPC image, and I'm using it right now to prepare this message. I'm going to try to download now 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) http://www.microsoft.com/download/en/details.aspx?id=27417 convert it into VMDK and try to run it on my test laptop - 32bit Win7 system with 3+GB RAM. We will see. It will be very slow very probably but I just have to know will it run at all - and when it will hopefully will then I will start assembling my new system box part by part... And I'm going to purchase VMWare workstation license in the near future - VMWare workstation has a feature of converting physical PCs into VMDK images. (Although VMWare workstation may fail to setup and run on Win2003 Server - we will see...) Thank you for all your help. -- Shamil 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > Hi Mark, Gustav at all -- > > Now, when I'm going to take VMWare vSphere route I wanted to make a temporary/transitional "virtual copy" of my physical system box running MS Windows 2003 Server together with its harddisk (250GB) partitioned into one system drive and 5 logical drives. > > Are there any free/inexpensive tools to make such a virtual copy as VHD and/or VMDK image/set of images? > > As far as I understand I should be able to use this "virtual copy/machine" as an active virtual machine running under VMWare or I can just mount its virtual harddisks to get their data transferred on the new system/archived?... > > Thank you. > > -- Shamil > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > Hi Shamil et al > > > > Here is a free tool: > > > > http://www.starwindsoftware.com/converter > > > > to: > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > > > > /gustav > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > Hello Mark -- > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > Did you work with it and did it worked well as described in the VMWare ads? > > > > Also, the > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > > > 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 Mon Nov 28 18:49:01 2011 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 28 Nov 2011 16:49:01 -0800 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements In-Reply-To: References: Message-ID: Hi Shamil: I think you'll be surprised at how fast VMs run on your computer, even with 3Gb and 32bit Windows. I have VMWare Workstation. I normally use VMs to run different versions of Office for Access development. Most of them are 20-25Gb. The first time I tried to convert an actual physical machine to a VM, I was surprised to find that the size of the resulting VM was going to be the total of EVERY file on the Windows boot drive - I wasn't ready to create a 200GB VM! I did convert one old Windows 2000 server machine to a VM successfully (as a backup before I sent the computer to recycling), but before I converted it, I removed as many programs and files as I could while still keeping it functional. Doug On Mon, Nov 28, 2011 at 3:50 PM, Salakhetdinov Shamil wrote: > Hi All -- > > Never mind - I have got visited VMWare site and I have got downloaded a > free utility - VMWare vCenter Converter > > http://www.vmware.com/products/converter/ > > and then I have run test conversion of > > Internet Explorer Compatibility VPC image > > http://www.microsoft.com/download/en/details.aspx?id=11575 > > into VMDK format. > > Then I have got setup VMWAre workstation (trial version - > http://www.vmware.com/products/workstation/overview.html) > > and voila' - I have got up & running converted into VMDK 'Internet > Explorer Compatibility VPC image, and I'm using it right now to prepare > this message. > > I'm going to try to download now > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > convert it into VMDK and try to run it on my test laptop - 32bit Win7 > system with 3+GB RAM. We will see. > It will be very slow very probably but I just have to know will it run at > all - and when it will hopefully will then I will start assembling my new > system box part by part... > > And I'm going to purchase VMWare workstation license in the near future - > VMWare workstation has a feature of converting physical PCs into VMDK > images. (Although VMWare workstation may fail to setup and run on Win2003 > Server - we will see...) > > Thank you for all your help. > > -- Shamil > > > > > 29 ?????? 2011, 00:18 ?? Salakhetdinov Shamil : > > Hi Mark, Gustav at all -- > > > > Now, when I'm going to take VMWare vSphere route I wanted to make a > temporary/transitional "virtual copy" of my physical system box running MS > Windows 2003 Server together with its harddisk (250GB) partitioned into one > system drive and 5 logical drives. > > > > Are there any free/inexpensive tools to make such a virtual copy as VHD > and/or VMDK image/set of images? > > > > As far as I understand I should be able to use this "virtual > copy/machine" as an active virtual machine running under VMWare or I can > just mount its virtual harddisks to get their data transferred on the new > system/archived?... > > > > Thank you. > > > > -- Shamil > > > > 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > > > Hi Shamil et al > > > > > > Here is a free tool: > > > > > > http://www.starwindsoftware.com/converter > > > > > > to: > > > > > > > > > Convert VMDK to VHD and VHD to VMDK for free > > > > > > StarWind Converter is a downloadable V2V conversion tool for virtual > machines. You can use it to convert VMDK to VHD files and VHD to VMDK as > well as to IMG file, which is a native StarWind format. This is a very > simple but useful file conversion tool that will convert virtual hard drive > images from VMware's VMDK format into the Microsoft's VHD format. It is a > sector by sector copy operation from one format to the other. It does not > modify the source image and will leave it so you can continue to use it. > > > > > > > > > /gustav > > > > > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > > > Hello Mark -- > > > > > > Yes, that VMWare vSphere Hypervisor sounds promising. > > > Did you work with it and did it worked well as described in the VMWare > ads? > > > > > > Also, the > > > > > > 2010 Information Worker Demonstration and Evaluation Virtual Machine > (SP1) > > > http://www.microsoft.com/download/en/details.aspx?id=27417 > > > > > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways > to convert that Hyper-V image into an WMare image? > > > > > > 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 mcp2004 at mail.ru Wed Nov 30 14:10:58 2011 From: mcp2004 at mail.ru (=?UTF-8?B?U2FsYWtoZXRkaW5vdiBTaGFtaWw=?=) Date: Thu, 01 Dec 2011 00:10:58 +0400 Subject: [dba-VB] =?utf-8?q?OT=3A_MS_Office_2010_/_MS_SharePoint_2010_deve?= =?utf-8?q?lopment_system_box_requirements?= In-Reply-To: References: Message-ID: Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil > > From gustav at cactus.dk Wed Nov 30 16:04:12 2011 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 30 Nov 2011 23:04:12 +0100 Subject: [dba-VB] OT: MS Office 2010 / MS SharePoint 2010 development system box requirements Message-ID: Hi Shamil Yep, that's a show stopper. The free VMware Server will allow up to two CPUs and 64-bit but only if the host is equal or larger. I'm not aware of any other brand of VM that will simulate multiple CPUs or cores on a host with less resources. /gustav >>> Salakhetdinov Shamil 30-11-2011 21:10 >>> Hi Gustav at all, I have got converted Hyper-V's VHD into VMDK using the tool Gustav recommended. VMDK image is correct - I can set it as a second HDD to my test Win7 VM. But I can't create 64-bit VM on 32-bit system - so this work have to be suspended now... Thank you. -- Shamil 28 ?????? 2011, 14:53 ?? "Gustav Brock" : > Hi Shamil et al > > Here is a free tool: > > http://www.starwindsoftware.com/converter > > to: > > > Convert VMDK to VHD and VHD to VMDK for free > > StarWind Converter is a downloadable V2V conversion tool for virtual machines. You can use it to convert VMDK to VHD files and VHD to VMDK as well as to IMG file, which is a native StarWind format. This is a very simple but useful file conversion tool that will convert virtual hard drive images from VMware's VMDK format into the Microsoft's VHD format. It is a sector by sector copy operation from one format to the other. It does not modify the source image and will leave it so you can continue to use it. > > > /gustav > > >>> Salakhetdinov Shamil 28-11-2011 11:19 >>> > Hello Mark -- > > Yes, that VMWare vSphere Hypervisor sounds promising. > Did you work with it and did it worked well as described in the VMWare ads? > > Also, the > > 2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1) > http://www.microsoft.com/download/en/details.aspx?id=27417 > > is a Hyper-V image AFAUI. Is there any (easy and cost effective) ways to convert that Hyper-V image into an WMare image? > > Thank you. > > -- Shamil From newsgrps at dalyn.co.nz Wed Nov 30 16:19:01 2011 From: newsgrps at dalyn.co.nz (David Emerson) Date: Thu, 01 Dec 2011 11:19:01 +1300 Subject: [dba-VB] vb.net vs c#.net Message-ID: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Just out of curiosity, a comment I read recently was that 99% of .net programmers seem to be using c#. As far as this group goes: What are peoples preferences? What do you do most of your development work in? Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From davidmcafee at gmail.com Wed Nov 30 16:25:33 2011 From: davidmcafee at gmail.com (David McAfee) Date: Wed, 30 Nov 2011 14:25:33 -0800 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: I use both. VB.net was easier for me to move over to, so a lot of my earlier stuff is in VB.net. I try to push myself to always use C# for newer stuff because everyone I deal seems to only use C#. Another reason that I'm using C# more is that I'm still learning Java, and C# is closer to Java than VB.net is, so I tend to practice on stuff like case sensitivity and variable declarations. D On Wed, Nov 30, 2011 at 2:19 PM, David Emerson wrote: > Just out of curiosity, a comment I read recently was that 99% of .net > programmers seem to be using c#. > > As far as this group goes: > > What are peoples preferences? > > What do you do most of your development work in? > > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > ______________________________**_________________ > 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 Nov 30 16:51:49 2011 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 30 Nov 2011 17:51:49 -0500 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz> Message-ID: IME, I have observed the elitist preference for C# in the marketplace, and the dimunition of Vb.NET in the same marketplace. There are a few differences, AFICS, but there are translators to overcome this. That said, almost all that is required to move from VB to C# is a bunch of semi-colons. But the marketplace seems to regard these as worth at least $20 an hour more income. So I have dived into C#. Most of the transition has proved trivial. A. From stuart at lexacorp.com.pg Wed Nov 30 22:09:07 2011 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 01 Dec 2011 14:09:07 +1000 Subject: [dba-VB] vb.net vs c#.net In-Reply-To: References: <20111130221947.DPTS28897.mta02.xtra.co.nz@David-PC.dalyn.co.nz>, , Message-ID: <4ED6FDE3.14088.38C4BD1@stuart.lexacorp.com.pg> Don't forget the curly brackets - go to have lots of loverly curly brackets too :-) -- Stuart On 30 Nov 2011 at 17:51, Arthur Fuller wrote: > IME, I have observed the elitist preference for C# in the marketplace, and > the dimunition of Vb.NET in the same marketplace. There are a few > differences, AFICS, but there are translators to overcome this. That said, > almost all that is required to move from VB to C# is a bunch of > semi-colons. But the marketplace seems to regard these as worth at least > $20 an hour more income. So I have dived into C#. Most of the transition > has proved trivial. > > A. > _______________________________________________ > dba-VB mailing list > dba-VB at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-vb > http://www.databaseadvisors.com > >