-
I read somewhere on this site the do's and dont's about strings...Because I use the + a lot I did run some tests....If you have a construct like this : Eventlogentry = New Eventlogentry(“There was a failure executing receive location “ + config.locationname + “. Please review the configuration“...
-
The main reason why MyGeneration is an excellent tool (Besides support of the dOOdad architecture) is the ability to add several templates to a project. Below is an example of this. In this project there are four templates needed. Adding a template is very easy. Jus right click on the Rootnode and add...
-
After some testing on various ways to query the eventlog I found that a WMI query is the easiest way to query the Eventlog of any (remote) machine. There is very little information about WMI on the internet so I thought it was nice to post this sample snippet. (If you see anything that should be improved...
-
In the NorthWind Database the Customer table has a CustomerID field and the field is 5 long. I am using the MyGeneration dOOdad architecture and I query the database for every customet that has a customerid of 'ANTON' In my code this looks like : Dim cust As New Customers cust.Where.CustomerID.Value...
-
On the MyGeneration WebSite there are Templates that create database documentation in a very nice (and goodlooking) html format. Tables, Stored Procedures and such are placed in nice html documents. They're extremely easy to create and it's really easy to browse all objects. Can come in pretty handy...
-
Yep..... If you don't like the dOOdad architecture, you can use MyGeneration to generate Stored Procedures and a complete DAL that make use of the D ata A ccess A pplication B lock in VB.Net or C# that use the more classic approach. have a look here at the DAAB architecture.
-
I have been playing around with the dOOdad architecture and found out something very nice about this architecture. Private Sub dgQuestions_SortCommand( Bla bla.. ) Handles dgQuestions.SortCommand ' Let's get the Questions from the cache MyQuestions = Cache.Get("MyQuestions") ' Determine some sort orders...
-
Well you prabably heard about MyGeneration by now if you are a regular BloggingAbout.Net reader. If you haven't go and download it now here . I am currently in the process of rewriting a web application and I am completely doing away with the old DAL. Instead I am using the dOOdad architecture that comes...
-
Hmmm, Played around a littlebit with the dOOdad architecture of MyGeneration. Besides a lot of nice features there is also the the dynamic query feature.... Let me show what I mean..... ' See if it is in cache Mymenu = Cache.Get("DefaultMenu") If Mymenu Is Nothing Then 'get the default Menu Dim MyMenuID...
-
Yep I know, i shouldn't scream so much....... but did you know you can generate entry screens as well with myGeneration ???? Oh yes and they work !!!!! Please click the link and investigate it , maybe it is something we can use ......
-
Have a look at MyGeneration . ( Click the link !!!!!!!!!!!, don't miss out..... ) This is a freeware code generation tool that really works.....Normally I use the NorthWind database to test code generation and I test it in VB.Net and C#. Usually I have to modify stuff on some points to get the stuff...
-
I havent looked into this to deep but I dont know how to do this..... In C# you see constructions like this... foreach (string mystr in bla bla) mystr.trim(); In VB.NET this would be Dim Mystr as String For Each Mystr in BlaBla MyStr.trim() Is it possible in VB.Net to use a same kind of construct , now...