Asp.net - Implement Customized Home-page For Different Users?
Jun 15, 2011
I have an ASP.Net(VB.Net) project which has various modules/functionality. I want to give users the freedom to set their own default startup page.
I don't know how to get a head-start implementing this feature.
Also, I am NOT using MVC
View 2 Replies
ADVERTISEMENT
Jul 15, 2010
I want to build an application that checks every second for certain windows and then react according to that.
My Goal:I'm building the application for a pc in a Students Home with about 10 users. To create 10 different user accounts for windows will be annoying and crowded, because new people come in every year(or couple of months) and then old accounts have to be deleted and new ones created.
I want to build an application that accepts folderPaths or window names.Lets say user1 creates a folder with the name "Susan" that she wants to protect (her personal files/picture/work will be stored there. She opens the application, selects the folder. The application saves the folder path and her password that she enters.
If the application detects that a user is trying to open/move/delete/copy/whatever that folder, the app must pop up a password box. Correct password gives her the freedom she wants, wrong password just ignores the open/move/delete/copy/whatever command.
View 4 Replies
Jul 27, 2009
I have a simple task in DOT NET that is we take a thumbnail an one of the website home page, when we give an URL like in one text box that time control goes to home page of the specified URL and take a picture that home page as a thumbnail and stored in an our specified local disk like we give more than one an up to 100 URLS at a time and stored orderly stored in an our specified local disk
View 1 Replies
Jun 29, 2010
I dragged login box to my login page but now i want the usermane to appear on my home page.
View 1 Replies
Oct 1, 2009
I want to auto press Page Up and Home.I use SendKeys but I don't know how to repeat that until I click the stop button. I basically need to know how to keep doing commands until clicking on a stop button (like auto press).
View 3 Replies
Sep 17, 2009
How Webbrowser1 Pick My HOme Page Address also FInd Bookmark
View 3 Replies
Mar 3, 2011
I am using NopCommerce and i want to know how to show Featured Product home page???
View 1 Replies
Jan 7, 2011
I'm working on a web browser application and I'm trying to set up the home page to be decided with a textbox in the settings form. I want it so that if there is text in the textbox it pulls the url from it and goes to it every time the application is opened.I doubt this is even close to anything that would actually work but I like to show that I put the effort in.[code]
View 2 Replies
Sep 24, 2009
I have made many web browsers that just navigate to a web page, I don't have any buttons or any thing like that as it is controlled via other software using shortcut keys etc.I have created a button in my other software that sends the keys strokes "Control" and "H" I can get this to navigate to a webpage by manually typing i the same page that it navigates to when the form loads, but this mean I have to type the address in twice for each browser I make. I first type the url for the browser to navigate to in the properties section in VB and this is nice and quick to type in each webpage and build quickly build a new browser for it. Currently I have to repeat that url in the browser_homebutton Private Sub, what I want to happen in the below Private Sub is that it navigates to what ever address is typed in the "URL" cell in properties of the browser. What should my "Then" statement say? [code]
View 2 Replies
Dec 29, 2010
I have a program originally compiled in VS2008 on a WindowsXP Pro box. The program uses Microsoft DAO 3.5 Object Library to access an Access database.
When I try and run the program on Windows XP (any version) it runs just fine. If I try and run in on Vista (any version) it doesn't work. When I try and run it on Windows 7 Pro, it runs fine. I really want it to run on Windows 7 Home Premium, but I get an interop error anytime I try and access the database.
View 3 Replies
Dec 29, 2010
I have a program originally compiled in VS2008 on a WindowsXP Pro box. The program uses Microsoft DAO 3.5 Object Library to access an Access database.When I try and run the program on Windows XP (any version) it runs just fine. If I try and run in on Vista (any version) it doesn't work. When I try and run it on Windows 7 Pro, it runs fine. I really want it to run on Windows 7 Home Premium, but I get an interop error anytime I try and access the
View 3 Replies
Aug 18, 2010
I hava it navigate to a webppage then do some code under the document complete.
View 3 Replies
Feb 15, 2011
I am trying to get one of the information inside the Users at the Task Manager.[code]...
I want to know in .Net coding how to get that information?
View 2 Replies
Jan 5, 2012
What can i used to get a visiting users referal URL?
I know about retrieving IP address etc but need to log a referal URL (e.g. google) on load.
View 2 Replies
Aug 31, 2011
I am new to .NET and I have created a login page, with a user Id and password. In my webconfig, I put the following code in to deny users who are not authenticated.
<authentication mode="Forms">
<forms loginUrl="Login.aspx" timeout="10" protection="All" />
</authentication>
<authorization>
<deny users="?"></deny>
</authorization>
What I am trying to accomplish is that when a user enters the correct information, I would like to store information small information about the user in a cookie, say for example if there an admin, manager, user, etc...Here is the code that occurs when the user click the submit button. The problem is that the page doesn't redirect to the page after user enter correct information.
If txtPassword.Text.ToLower = "test" Then
'Create a cookie
Dim cookie As New HttpCookie("UserInfo")
'Cookie variables
cookie("User") = txtUser.Text
[Code] .....
View 4 Replies
May 6, 2009
how would i open a users default browser on a website say for example i wanted it to open on [URL] how would i achieve this?
View 1 Replies
May 14, 2010
how to implement a counter in label which decrements every time page is loaded in asp.net(vb)? It would be better if that counter value is accessed from and updated into database..
I've tried this on buttonclick but the value is reset automatically to intial value everytime as the button is insert and page is reloaded
Protected Sub InsertButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim entries As Label = FindControl("label1")
entries.Text = entries.Text - 1
End Sub
View 1 Replies
Jun 22, 2011
Scenario: We have a website that is viewed both internally and externally. When an error occurs the users are displayed with a detailed error page(Stack trace etc). Problem: The external customers do not need that much information about the error. We are looking to have the external customers see a message instead. Ex. Please contact Administrator. Also if possible we would like to log this message in our SQL database.
Note: I'm assuming I make a custom error page like - Implementing a Custom Error page on an ASP.Net website. but how do I determine whether or not the user is internal/external? Also is this the best way to approach the problem?
View 5 Replies
Feb 7, 2012
I have an asp.net web forms application that uses asp.net membership and URL Routing.Because of the way Roles work, i cant put an "AND" or "OR", etc. in the allow/deny tags of the web.config file that resides in each folder.This is a business website that that is being ported from a vb.net win forms project that contianed many apps. (The win forms project have a custom authentication system.)The web app is structured in a way to mimic the desktop suites and a folder was created for each app.There are also common folders where any user of any app can generate a report.
View 1 Replies
Feb 24, 2011
I have a site where users must only be able to access the Login.aspx page via SSL/HTTPS.Currently I run something like the following in my Page_Load():
If Not (IsSSL) Then
Response.Redirect("https://" + thisDomainName + "/Login.aspx")
End If
Is there a better way of doing this?
View 2 Replies
Feb 9, 2010
I have an asp.net web app that uses forms-based authentication, a SqlMembershipProvider (using an encrypted password format), and a SqlRoleProvider. I need to know if it's possible to administer the users (create new users, assign them to roles, etc.) from a windows application - the powers that be don't want any administrative functionality in the web app itself.Here is the membership provider definition from web.config:
<membership defaultProvider="MyProvider">
<providers>
<add name="MyProvider"
[code].....
View 3 Replies
Dec 29, 2010
I've got a code using SQLClient that loops though all users in a Users table inside each loop i want to preform another search in the UserOrders table, thus doing a count of all orders.
I get this error
HTML
There is already an open DataReader associated with this Command which must be closed first.
Here is my code
vb.net UserLists.Items.Clear()
Dim connection As New SqlClient.SqlConnection(My.Settings.ConnectString)
Dim command As New SqlClient.SqlCommand("SELECT * FROM Users ORDER BY PersonName",
[CODE]...
View 3 Replies
Jan 17, 2011
I want to place 24 check boxes on a form. I want to enable drag and drop for each and place the code to handle the drop on a customized check box, then create each check box from the custom check box. I understand how to create the custom check box, my dillemma is I would like to be able to drop the new control on the form using the form designer IDE.
View 2 Replies
Mar 24, 2011
At the top of my form, I have a status strip with the common "Window" dropdown that is seem in many commerical and Windows Applications. What I am attempting to do is the same that can be done in VB2010 itself. In Visual Basic, clicking the Window Dropdown allows you to choose which window is active. My whole point on this is that they are using a customized Image.Here is an image example from a program called Paint.NETIn the area of the dropdown, you can clearly see that the "Checked" images are customized. For example, Tools is showing the hammer with the glass button frame over it.What I want to know is how would I achieve this customized image set? I already know I would need at least 2 images, one for checked, one for unchecked.
View 5 Replies
May 9, 2011
I have a FolderBorwserDialog named fbdProfileDirectory and would like to start the dialog at a specific folder (other than the System.Environment.SpecialFolder options). I would like it to start in a file at "C:\Browser\". The program has created this folder and copied contents from a separate directory already. Is there a way to start FolderBrowserDialog, or a similar dialog box at a specific folder?
View 1 Replies
Sep 21, 2010
Is it possible to build customized Designers in Visual Studio, for example to mimic the Designer function of the stock Settings template, for classes whose instance variables change drastically from project to project?
View 1 Replies
Apr 3, 2012
1.I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back.
2.Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only.
View 2 Replies
Apr 4, 2012
1. I�d like to publish a free vb.net desktop application for the users to download and use meanwhile I�d like to collect usage information ex: user ip address, user�s registration information, used features, time spent� if the user allows the report to be sent back. 2. Also , in order for the user to be able to use the application, he�ll have to register it then, everytime, before the application loads, it gets verified online that it was registered, maybe validate the registration information or a valid user name and password, no critical personal information. The target of this step is for the application to be used exclusively by the registered user and maybe on his computer only. Any alternative way to achive the target is just fine.
View 1 Replies
Jun 10, 2008
I cannot figure out how to get this call to work.I have searched EVERYWHERE.MSDN is no help at all and the only thing I can find is this vb6 code that doesn't work in .net.I tried to convert it over but I've had no luck.Specifically I'm trying to get the path of the "All Users" Desktop and the "All Users" Start Menu.It would rock if anyone could help me out with this one.
View 5 Replies
Sep 12, 2010
UPDATED: Feel like this shouldn't be that complicated, but I think I just don't know the proper name for what I'm trying to do. I'm dealing with an ASP.net project. The concept is pretty simple: I have a library that supplies some ecomm functions. One class in the libary contains functions around calculating tax. One class in the library revolves around the cart header. This class is consumed by a web project.
[Code]...
View 4 Replies