It looks like you need to import the DotNetGallery namespace. Add the red line below to your page:
<%@ Page Language="VB" %>
<%@ Register TagPrefix="CE" Namespace="DotNetGallery" Assembly="DotNetGallery" %>
Private Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim album As String
album = Request.QueryString("album")
If ((album = Nothing) _
OrElse (album = "/")) Then
gallery1.FolderPath = "album1"
End If
gallery1.FolderPath = album
End Sub
You don't have to declare the gallery instance if you have the namespace loaded.
Andrew
UpManager Dealership Sales & CRM Softwarehttp://upmanager.com