Archive | .NET 3.5 VB

29 November 2008 ~ Comments Off

How was it?

How was your Thanksgiving? Mine was great, lots of food and good fun! I also got some work done on the new .NET guestbook. I will be posting some updates to the spec and when it will be available to the public. As of now I am still testing the code and security! Should not [...]

Continue Reading

03 November 2008 ~ Comments Off

Simple Ajax with .NET

Adding Ajax to an application is simple and easy! Ajax is a powerful tool and can make your application look and feel great! First let’s start by adding a “Script Manager” to the page, now we only have to add this once so it’s best placed in your Master page. The Script Manager needs to [...]

Continue Reading

Tags: , ,

27 October 2008 ~ Comments Off

Winn .NET Guestbook

I am in the process of building a sweet little open source Guestbook in VB.NET 3.5. This guestbook will be dramatically updated from the original Winn ASP Guestbook. At that time I will drop all support for the ASP guestbook and remove it from my server. The ASP guestbook has had a good run and [...]

Continue Reading

Tags: ,

23 October 2008 ~ Comments Off

Web User Controls

Using the user controls may be one of the best moves you will make when developing an application in .NET. The user control will allow you to separate your reusable logic and keep it in one place. For many developers this is a great thing! Many of us have to re-create items over and over, [...]

Continue Reading

Tags: , ,

18 October 2008 ~ Comments Off

Select Case in VB

For the few still wondering how to do a Select case in VB here you go! Below is your basic select case in a function returning a true or false boolean. Public Function CheckStatus(ByVal Status As Boolean) As Boolean Select Case Status Case True Return False Case Else Return True End Select End Function The [...]

Continue Reading

Tags:

06 October 2008 ~ Comments Off

Functions in VB

Something that i picked up on was that functions in VB and functions in PHP are a lot alike! This is great news, VB does not have the huge learning curve when stepping in from PHP. Below i have created a simple function inside if a class: Public Class Core Public Function HelloWorld(AVar) Return “Hello [...]

Continue Reading

Tags: ,

04 October 2008 ~ Comments Off

Calling constants in VB

So i found my self needing to call on constants from another vb file. The file name was “core.vb”, now i needed to call a public constant and a public function. To do so, you can just first call the project name then call the file name and lastly call the constant or function. // [...]

Continue Reading

Tags:

01 October 2008 ~ Comments Off

jQuery to Ship with Visual Studio

Microsoft will now be adopting jQuery for all it’s Ajax tools and any javascript related items. This is a big win for jQuery! We have two pieces of fantastic, albeit serendipitous, news today: Both Microsoft and Nokia are taking the major step of adopting jQuery as part of their official application development platform. Not only [...]

Continue Reading

Tags: ,

29 September 2008 ~ Comments Off

.NET Winn Guestbook v1.0

Say welcome to the Winn Guestbook in .NET 3.5 VB. I have released version 1.0, this is a bare bones release with nothing but the basics. This is a nice upgrade if your running the old Winn ASP Guestbook in ASP Classic. You will need to make sure your server is running .NET 3.5 and [...]

Continue Reading

Tags:

26 September 2008 ~ Comments Off

InsertCommand .NET Date

So, i have been messing with .NET more and more. Just wanted to make a note just in case there is another developer out there looking for this solution. So the problem was i needed to place a date into the database but had no idea. So in the “asp:SqlDataSource” i edited the InsertCommand. InsertCommand=”INSERT [...]

Continue Reading

Tags: ,