.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to launch or load a page after log in from vb codebehind using visual web developer xprs 2010

Posted By:      Posted Date: September 04, 2010    Points: 0   Category :ASP.Net
 Ok, and hello to every one reading this; what I reakon should be a simple question for one of you code gurus out there. ok here is my code VB snippet that I pasted from my web app, and sorry if this is the wrong forum . anyway here goes, Partial Class login    Inherits System.Web.UI.Page    Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles Login1.Authenticate        Try            If (Login1.UserName = "user1") And (Login1.Password = "password*") Then                MsgBox("Success")                 'need line of code here to launch main.aspx            else                MsgBox("Login Failed")            End If        Catch ex As Exception        End Try            End SubEnd Cl

View Complete Post

More Related Resource Links

Visual Web Developer 2010 Express "Copy Web Site" using different login


I created a site and am trying to grant another pesron access to upload changes to it without giving them my super-user login.

I made a login for her but I can't test whether it works or not because no matter how much I "disconnect" in the Copy Web Site page of VWD 2010, reconnecting to the same site always logs in as my superuser account without prompting me for a login again.

How do I test is the account it set up correctly before having her try to upload to it?    I want to force the login to remote site dialog to pop up again to test her account.

Any ideas?

Visual Studio 2010 Shows Blank Page during web development


I just upgraded a web project from VS2008 to VS2010 Ultimate (Windows7 64bit, IE8/Google Chrome. When I run the web project in the development server (by hitting F5) everything acts like it is supposed to except everything comes up blank. Even the directory structure page is blank, just an empty HTML open and close shell. I get no errors no indications of failure, nothing. When I try to use google chrome I get the same blank page no matter where I navigate to, even if I try to navigate to a non-existant location on the dev server. I know the code compiles and acts correctly because I can deploy it to our QA servers without issue. Any ideas? 

Chapter 3: SharePoint Developer Tools in Microsoft Visual Studio 2010 (Inside SharePoint 2010)

Learn what's new with the SharePoint developer platform from experts on Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010.

Visual Web Developer 2010 Internal Web Browser - Browser Standard

I do not know what term to use for this one. I am wondering what standard (the "term" i think is right) does the internal web browser follows? Is it the same with Chrome, Netscape or Safari? because recently I notice that the Internal Web Browser of Visual Web Developer shows different output compare to Mozilla Firefox 3.6 and Internet Explorer 8.. Here are the screen shot of the output from different browser. Internal Browser Output: http://a.imageshack.us/img843/1034/screenshot7c.jpgFirefox Output: http://a.imageshack.us/img830/936/screenshot9u.jpg Internet Explorer Output: http://a.imageshack.us/img840/2542/screenshot10x.jpg

Visual Web Developer 2010 Exp and SVN Client

Hi All,Is there any SVN Client pluggin available for VWD 2010 Express edition. I checked the possibilities of AnkhSVN, but it doesn't support Express editions.Please suggest any alternate solution to use SVN with VWD Express edition.

package 'Visual Web Developer HTML Source Editor Package' has failed to load

Hi All  I am using VS 2008 Team Edition with SP1 installed. All was fine till yesterday when i started receiving the error 'package 'Visual Web Developer HTML SourceEditor Package' has failed to load properly (GUID={xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}}' . I am able to build the project and can do work in cs files but no support for the design view. Reinstall is not fixing this, Please HELP

Microsoft Visual Web Developer 2010 Express Bugs?

UserControl_Normal is a user control I created, it works wells, but sometimes system occur the following error when I compile project. I have to restart my Windows XP in order to solve the problem.  Could you tell me how to do? Thanks!  Error 1 The type or namespace name 'UserControl_Normal' could not be found (are you missing a using directive or an assembly reference?) E:\ASP.NET4.0_Calculator\hicalc\UserControl\ShowCode.ascx.cs 258   

VS 2010 and Visual Web Developer 2010 Express will add SQL CE 4 tooling support for ASP.NET

 ScottGu blog read like this : VS 2010 and Visual Web Developer 2010 Express will add SQL CE 4 tooling support for ASP.NET scenarios in an update we'll be rolling out in the future . Any one know when this event will be and how do we get a hold of the "tools"   any help/suggestions/your time to answer this Q much appreciated   regards    

Protecting .ascx file in Visual Web Developer 2010 Express

Hello, I am working on an application that has several user controls (.ascx) of which I do not want to give away the code of. I have tried to search about it, but didn't get very far. I am using visual web developer 2010 express edition, so I cannot publish my website. Also, it doesn't have dotfuscator. What can I do?   Kind regards, LeBesjamain

Getting Started with SharePoint 2010 Developer Tools in Visual Studio 2010 (Visual How To)

Watch the video and explore code as you learn to create, test, and debug SharePoint 2010 projects using the new SharePoint development tools in Visual Studio 2010.

Video: Getting Started with SharePoint 2010 Developer Tools in Visual Studio 2010

Watch this visual how-to video as you learn to create, test, and debug SharePoint 2010 projects using the new SharePoint development tools in Visual Studio 2010.

SQL Server 2008 R2 Developer with Visual Studio 2010 Pro always defaults using SQLEXPRESS


I had un-installed SQL Server 2008 Express that came with the Visual Studio 2010 Pro.

I had installed SQL Server 2008 R2 Developer, and Im able to connect through the Management Studio and Visual Studio itself.

The problem is: whenever I create a new ASP.NET Web Application, the web.config always defaults using SQLEXPRESS.

How can I change this within Visual Studio 2010 so that the web.config defaults to the new database SQL Server 2008 R2 Developer that I installed?

how to compile a website in Visual Web Developer 2010 Express



I created a "website" in VWD 2010 Express.  The project contains no bin folder and I can't seem to compile it.    I don't have a web host, so for now I'd like to run my site on "localhost" on my machine: i.e. I'd like to drop the DLL (if there is one) and my aspx files into a folder on my hard drive and run the site from there.  The site runs if I open VWD and run the asp.net web server, but I would prefer to not have to open VWD each time I want to load my site.  Thanks.

Cannot run Basic Web page from Visual Web Developer on IE8 on Windows 7 - won't accept connection e


I am trying to run the 'Basic Web Page' tutorial in internet explorer 8 on Windows 7.

I get an error message in IE8:

The remote device or resource won't accept the connection

The device or resource (localhost) is not set up to accept connections on port "51551".


I just upgraded from Vista to Windows 7. It did work on Vista so I think it must be related to security setting???

Cannot seem to get a hit on the web for help so appreciate any help.



Cannot launch application compiled in Visual Studio 2010


Hi all,

I have compiled and created an .msi file to install a WPF desktop application.

It installs fine but will not launch. The error is below.

The instllation machine is running windows 7, 32bit. Could it be that I am compiling a 64bit application. If so how do i change this in VS?

Cheers, Shane

Error Log:


Application: DTFStampingClient.DTFDesktop.exe

Framework Version: v4.0.30319

Description: The process was terminated due to an unhandled exception.

Exception Info: System.Reflection.TargetInvocationException


at System.Windows.Markup.WpfXamlLoader.Load(System.Xaml.XamlReader, System.Xaml.IXamlObjectWriterFactory, Boolean, System.Object, System.Xaml.XamlObjectWriterSettings, System.Uri)

at System.Windows.Markup.WpfXamlLoader.LoadBaml(System.Xaml.XamlReader, Boolean, System.Object, System.Xaml.Permissions.XamlAccessLevel, System.Uri)

at System.Windows.Markup.XamlReader.LoadBaml(System.IO.Stream, System.Windows.Markup.ParserContext, System.Object, Boolean)

at System.Windows.Application.LoadBamlStreamWithSyncInfo(System.IO.Stream, System.Windows.Markup.ParserContext)

at System.Windows.Application.LoadComponent(System.Uri, Boolean)

at System.Windows.Application.DoStartup()

at System.Windows.Applicati

Visual Web Developer 2010 Express - installation on Windows Server 2008



We are trying to install VWD 2010 on a windows 2008 server. We already have installed the 2008 version as well as SQL 2005, 2008 and 2008 R2. The Web Platform installer is not installing VWD 2010 however.

At first it notified us that the OS does not allow it, after running tons of updates on the OS (some of which failed) it is still not doing it, not even donwloading it. The latest message simply asked us to post the error on the forum.

Has anybody had similar experiences? If so, how was it solved?



Visual studio 2010 vs Visual web developer 2010




What is available in Visual studio professional 2010 that is not available in Visual web developer 2010? and Do I really need Visual studio professional o develop professional websites?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend