Browse by Tags

All Tags » Visual Basic » Other (RSS)

Got confused about Strings

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...
Posted by Patrick Wellink | 5 comment(s)
Filed under: ,

Why Mygeneration Beats the Competition when it comes to codegeneration

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...

Using WMI to query the Eventlog

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...
Posted by Patrick Wellink | 6 comment(s)
Filed under: ,

Prevent SQL injection !

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...
Posted by Patrick Wellink | 2 comment(s)
Filed under: ,

Database Documenter MyGeneration Templates

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...
Posted by Patrick Wellink | 3 comment(s)
Filed under: ,

Data Access Application Block Support....

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...
Posted by Patrick Wellink | 5 comment(s)
Filed under: ,

dOOdad, Sorting in an ASP datagrid made easy

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 =...
Posted by Patrick Wellink | 2 comment(s)
Filed under: ,

MyGeneration Makes life Very easy....

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...
Posted by Patrick Wellink | 1 comment(s)
Filed under: ,

Awesome Dynamic SQL generation....

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...
Posted by Patrick Wellink | 1 comment(s)
Filed under: ,

Awesome Screen Generation..... (part Two)

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 ......
Posted by Patrick Wellink | 5 comment(s)
Filed under: ,

Awesome Code generation !!!!

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...
Posted by Patrick Wellink | 22 comment(s)
Filed under: ,

I would like to do that but I don't know how.....

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...
Posted by Patrick Wellink | 2 comment(s)
Filed under: ,