Click here to Skip to main content
15,895,799 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionTrouble Creating Controller-Type Grid Pin
EvanSaunders23-Oct-09 1:47
EvanSaunders23-Oct-09 1:47 
AnswerRe: Trouble Creating Controller-Type Grid Pin
dan!sh 23-Oct-09 2:08
professional dan!sh 23-Oct-09 2:08 
GeneralRe: Trouble Creating Controller-Type Grid Pin
EvanSaunders23-Oct-09 2:22
EvanSaunders23-Oct-09 2:22 
QuestionAdding an icon in MessageBoxIcon Pin
vijay248222-Oct-09 23:19
vijay248222-Oct-09 23:19 
AnswerRe: Adding an icon in MessageBoxIcon Pin
Christian Graus22-Oct-09 23:36
protectorChristian Graus22-Oct-09 23:36 
GeneralRe: Adding an icon in MessageBoxIcon Pin
vijay248222-Oct-09 23:49
vijay248222-Oct-09 23:49 
AnswerRe: Adding an icon in MessageBoxIcon [modified] Pin
JR21223-Oct-09 0:41
JR21223-Oct-09 0:41 
QuestionExit constructor in abstract class Pin
Enver Maroshi22-Oct-09 23:17
Enver Maroshi22-Oct-09 23:17 
Hi guys, i need help. Below i c/p code, to explain in short, in abstract class i have login authentication, i inherit that abstarct class on all other classes that i need to be secured, now what i wan tis that if my abstract class does invalidate user, to be stoped and render login page, otherwise it will continue processing and on end render index page.

Public Class Secure
     Public Sub New()
          If Not User.Authenticated Then
               RenderLogin()
          End If
     End Sub
End Class

Public Class Index
     Inherits Secure

     Public Sub New()
          LoadMessages()
          LoadTasks()
          RenderIndex()
     End Sub
End Class

The question is, how do i stop further executing after RenderLogin() method? I don't want it to continue constructing new Index class. Btw, all this is run inside http context, but i did put it in here and not in asp.net since this has more got to do with VB and classes than with asp. Oh, and i know i can write Response.End, but i would like to avoid this - because of "System.Threading.ThreadAbortException" errors which go on my nerves.
AnswerRe: Exit constructor in abstract class Pin
Christian Graus22-Oct-09 23:36
protectorChristian Graus22-Oct-09 23:36 
GeneralRe: Exit constructor in abstract class Pin
Enver Maroshi22-Oct-09 23:44
Enver Maroshi22-Oct-09 23:44 
GeneralRe: Exit constructor in abstract class Pin
Christian Graus23-Oct-09 0:12
protectorChristian Graus23-Oct-09 0:12 
GeneralRe: Exit constructor in abstract class Pin
Enver Maroshi23-Oct-09 0:47
Enver Maroshi23-Oct-09 0:47 
GeneralRe: Exit constructor in abstract class Pin
Ian Shlasko23-Oct-09 8:10
Ian Shlasko23-Oct-09 8:10 
GeneralRe: Exit constructor in abstract class Pin
Enver Maroshi26-Oct-09 0:07
Enver Maroshi26-Oct-09 0:07 
QuestionEnvent Handles Pin
mrvalles22-Oct-09 10:26
mrvalles22-Oct-09 10:26 
AnswerRe: Envent Handles Pin
Dave Kreskowiak22-Oct-09 11:02
mveDave Kreskowiak22-Oct-09 11:02 
Questioncopy and paste the contents of a.txt into b.txt Pin
offroaderdan22-Oct-09 9:49
offroaderdan22-Oct-09 9:49 
AnswerRe: copy and paste the contents of a.txt into b.txt Pin
Eddy Vluggen22-Oct-09 10:58
professionalEddy Vluggen22-Oct-09 10:58 
AnswerRe: copy and paste the contents of a.txt into b.txt Pin
Dave Kreskowiak22-Oct-09 10:59
mveDave Kreskowiak22-Oct-09 10:59 
AnswerRe: copy and paste the contents of a.txt into b.txt Pin
Christian Graus22-Oct-09 12:17
protectorChristian Graus22-Oct-09 12:17 
QuestionAdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 6:11
Les Singletary22-Oct-09 6:11 
AnswerRe: AdoDc in VB Express 2008 Eof not set Pin
Henry Minute22-Oct-09 6:51
Henry Minute22-Oct-09 6:51 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 7:11
Les Singletary22-Oct-09 7:11 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Henry Minute22-Oct-09 9:36
Henry Minute22-Oct-09 9:36 
GeneralRe: AdoDc in VB Express 2008 Eof not set Pin
Les Singletary22-Oct-09 10:33
Les Singletary22-Oct-09 10:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.