Click here to Skip to main content
15,914,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Base64 class in VB.NET Pin
Guffa24-Oct-06 6:42
Guffa24-Oct-06 6:42 
QuestionProgress Bar Pin
jds120723-Oct-06 5:46
jds120723-Oct-06 5:46 
AnswerRe: Progress Bar Pin
Are Jay23-Oct-06 15:28
Are Jay23-Oct-06 15:28 
AnswerRe: Progress Bar Pin
Dave Kreskowiak24-Oct-06 4:46
mveDave Kreskowiak24-Oct-06 4:46 
QuestionCrystal Reports Field View Pin
Silver-Grey23-Oct-06 5:35
Silver-Grey23-Oct-06 5:35 
QuestionAddin - Disabling CommandBarPopup in Code Window Context Menu [modified] Pin
dlarkin7723-Oct-06 2:19
dlarkin7723-Oct-06 2:19 
Questionvs.net - / vb.net 2005 Pin
Pete Newman22-Oct-06 23:53
Pete Newman22-Oct-06 23:53 
AnswerRe: vs.net - / vb.net 2005 Pin
Dave Sexton23-Oct-06 0:50
Dave Sexton23-Oct-06 0:50 
Pete Newman wrote:
Id like to
have a logon tested against a SQL table.


You can still use methods from VS2003 to perform a logon in VS2005. Or do you want to make use of the new login controls[^]?

Pete Newman wrote:
on a sucessfull logon go to a 'page'
that displays a datagrid form a different table. I would also need to know
how i can stop direct access to the second page bypassing the logon page, and
also preventing the use of the back button from the second page to the logon
page.


I'd suggest creating the aspx page with the datagrid that's bound to your datasource and control access to that page using roles in the "User" object, e.g.

If User.IsInRole("Admin") Then
 Response.Redirect("datagridpage.aspx")
End If


Not sure how or why you want to disable the back button to the logon page. You could add code in the PageLoad event of the second page to conditionally check whether or not the current user has viewing permission for the page - if they don't, redirect them to the logon form. This would really only apply if/when they typed in the url for that page directly (otherwise it would already have been checked through your logon procedure).

Does that help at all?
GeneralRe: vs.net - / vb.net 2005 Pin
Pete Newman23-Oct-06 1:03
Pete Newman23-Oct-06 1:03 
GeneralRe: vs.net - / vb.net 2005 Pin
Dave Sexton23-Oct-06 4:19
Dave Sexton23-Oct-06 4:19 
GeneralRe: vs.net - / vb.net 2005 Pin
Pete Newman23-Oct-06 5:57
Pete Newman23-Oct-06 5:57 
QuestionApplication Failed To Initialze properly Pin
RichardBerry22-Oct-06 23:37
RichardBerry22-Oct-06 23:37 
AnswerRe: Application Failed To Initialze properly Pin
Dave Sexton23-Oct-06 0:28
Dave Sexton23-Oct-06 0:28 
GeneralSolved - Application Failed To Initialze properly- Pin
RichardBerry23-Oct-06 1:53
RichardBerry23-Oct-06 1:53 
QuestionVB6 .vbp but Visual Studio license Pin
Hans Kelder22-Oct-06 23:34
Hans Kelder22-Oct-06 23:34 
AnswerRe: VB6 .vbp but Visual Studio license Pin
Michael P Butler22-Oct-06 23:55
Michael P Butler22-Oct-06 23:55 
QuestionSystem.DateTime.Now Pin
Subjugate22-Oct-06 21:55
Subjugate22-Oct-06 21:55 
AnswerRe: System.DateTime.Now Pin
Tamimi - Code22-Oct-06 22:33
Tamimi - Code22-Oct-06 22:33 
GeneralRe: System.DateTime.Now Pin
Subjugate22-Oct-06 22:43
Subjugate22-Oct-06 22:43 
QuestionDefault Browser Pin
UltraCoder22-Oct-06 20:24
UltraCoder22-Oct-06 20:24 
QuestionPlease help me with the coding required Pin
preethishivbaba22-Oct-06 20:17
preethishivbaba22-Oct-06 20:17 
AnswerRe: Please help me with the coding required Pin
Jonathan [Darka]22-Oct-06 21:19
professionalJonathan [Darka]22-Oct-06 21:19 
Questionmaxiachun--help needed Pin
preethishivbaba22-Oct-06 20:15
preethishivbaba22-Oct-06 20:15 
Questionhow to upload a textfile to one computer to another ? Pin
preethishivbaba22-Oct-06 18:18
preethishivbaba22-Oct-06 18:18 
AnswerRe: how to upload a textfile to one computer to another ? Pin
maxiachun22-Oct-06 18:26
maxiachun22-Oct-06 18:26 

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.