Posts
 
Reputation
Joined
Last Seen
Ranked #2K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~8K People Reached
Favorite Tags
Member Avatar for Blueie

Hello I am getting 3 errors (same errors for all 3 lines) in my Visual Studio 2017 Web Forms project: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load pnlFormFields.Visible = False pnlThankYouMessage.Visible = True LblDate.Text = ReturnDate() End Sub pnlFormFields, pnlThankYouMessage, and LblDate, are not declared. …

Member Avatar for xrjf
0
425
Member Avatar for Blueie

Hello I have a Web page here: http://www.dimadayoub.net/forgot.aspx for users who have forgotten their password. When I type in the email address of a user who I know exists as an entry in the MS Access database, I get the following error: **Mailbox unavailable. The server response was: Authentication is …

Member Avatar for xrjf
0
190
Member Avatar for Blueie

Hello In this line of vb.net code (ASP.NET): `Dim HtmlMessage As AlternateView = AlternateView.CreateAlternateViewFromString("Hello <%= strEmailValue %>",<br /><br /> "To reset your password, please click on this <a style="color:#22BCES5" href="">link.</a>, Nothing, "text/html"<br /><br />")` I get an error here '*>*' (just before "To rest your password...") - it says 'Expression …

Member Avatar for rproffitt
0
234
Member Avatar for Blueie

Hello I have a log-on page and after a successful log-on, the user is redirected to userpage.aspx. I am reading up on 'Session' at the moment to prevent the user from bookmarking userpage.aspx to avoid logging-on in the future. In other words, I want to oblige the user to log-on …

Member Avatar for hericles
0
87
Member Avatar for Blueie

Hello I have this line of VB.NET that redirects the user to a 'Thank you' page (thankyou.aspx) after submitting a contact form. Dim target = String.Format("~/thankyou.aspx?yourname={0}", Name) 'Redirect user to thank you page Response.Redirect(target, True) The contact form itself has this: <p><span>Name</span><input class="contact" type="text" name="your_name" /></p> while in my aspx.vb …

Member Avatar for Blueie
0
155
Member Avatar for Blueie

Hello I am aiming to have an aspx file with a TextBox for the user to type in his email. When I leave the field blank, and press 'Submit', I get: "A password reset link has been sent to your email address" Why don't I get the error message: If …

Member Avatar for Blueie
0
221
Member Avatar for Blueie

Hello I have one field on a Web form for a user to type in his email address. If I leave the field blank and press submit, I get this error: Server Error in '/' Application. -------------------------------------------------------------------------------- System.NullReferenceException: Object reference not set to an instance of an object. The error …

Member Avatar for Blueie
0
804
Member Avatar for Blueie

Hello I am getting a bit mixed up with my code: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click Dim validFileTypes As String() = {"bmp", "gif", "png", "jpg", "jpeg", "doc", "docx", "txt", "xls"} Dim ext As String = System.IO.Path.GetExtension(FileUpload1.PostedFile.FileName) Dim isValidFile As Boolean = False For …

Member Avatar for Blueie
0
130
Member Avatar for Blueie

Hello I am testing a couple of the form fields that I have here: [Click Here](http://www.bayingwolf.com/changePassword.jpg) If I type in an invented password under 'Old password', invent a password under 'New password', and then, under 'Confirm password', I type in a wrong password, I get the following error when I …

0
99
Member Avatar for Blueie

Hello I have some hash and salt code I intend to try out (not used it before) but I am not sure of a couple of things. I have a new user aspx Register form page and a Log-in form. Do I use the hash and salt code on both …

Member Avatar for Blueie
0
288
Member Avatar for Blueie

Hello I am getting the following error in my Manage.aspx file: 'GetUserName' is not a member of 'System.Security.Principal.IIdentity'. I had not opened that file previously, so I can only think that changes I have made - or NuGent Package Manager has changed when I installed Microsoft.AspNet.Identity.Core 2.1.0 - have impacted …

Member Avatar for Blueie
0
149
Member Avatar for Blueie

Hello I would be grateful for some assistance getting the date to appear on my page, please. This is the code in my aspx.vb file: Dim Label As Object Function ReturnDate() As String Dim theDate As String = "" Dim NumericDayofMonth As Integer = Date.Now.Day Dim OrdinalSuffix As String = …

Member Avatar for JorgeM
0
174
Member Avatar for Blueie

Hello I have what looks like a serious compiler error, serious in that I cannot see any of my files in the browser. When I click on 'View in Browser', I get this compiler error: **BC30451: 'DefaultAuthenticationTypes' is not declared. It may be inaccessible due to its protection level.** That …

0
98
Member Avatar for Blueie

Hello In my success.aspx file, I have: <asp:Label ID="LblDate" runat="server" class="labelStyle" Text="Label"></asp:Label> and <div class="center"> <asp:Label ID="Name" runat="server"></asp:Label> you have successfully registered </div> and in my success.aspx.vb file, I have: Code for the date, which works, and then: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load …

Member Avatar for BMXDad
0
194
Member Avatar for Blueie

Hello I am trying to build a file upload page where a user can upload files and different messages appear on screen to the user of, for example, the name and size of the file successfully uploaded, whether or not he has even selected a file to be uploaded, and …

Member Avatar for Blueie
0
360
Member Avatar for Blueie

Hello I am trying to give focus to a text box on a form: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub I know the syntax is correct because I use it elsewhere. However, I am getting the following error (please see attached) with …

Member Avatar for Blueie
0
249
Member Avatar for Blueie

Hello I am attempting something like this: Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click If FileUpload1.HasFile Then Try FileUpload1.SaveAs("C:\Uploads\" & _ FileUpload1.FileName) Label1.Text = "File name: " & _ FileUpload1.PostedFile.FileName & "<br>" & _ "File Size: " & _ FileUpload1.PostedFile.ContentLength & "<br>" & _ "Content …

Member Avatar for JorgeM
0
121
Member Avatar for Blueie

Hello I have copied and pasted a font from my Windows fonts folder into my VB.NET fonts folder. What I would like to do is change the font-style and colour of the title 'Register' (please see attachment) from its current style/colour to the font I have imported. The only reference …

Member Avatar for JorgeM
0
130
Member Avatar for Blueie

Hello I have a VB.NET project in Visual Studio 2013. I am hoping to customise the standard Register.aspx form and want to insert a background image. However, I can't see any 'images' folder in Solution Explorer and I wish to import an image from the desktop and then use something …

Member Avatar for Blueie
0
192
Member Avatar for Blueie

Hello There seems to be a problem with the editing and posting facility here - the page has asked me to start a new discussion and not allowing me to reply, but this is a follow on from: https://www.daniweb.com/web-development/aspnet/threads/484864/site.master-file-question#post2121613 Thanks madCoder for your explanation. That accounts for the wild difference …

Member Avatar for Blueie
0
822
Member Avatar for Blueie

Hello I am trying to make an alteration to the CSS behind the site.master file. I have the following in my site.master code: <div class="navbar navbar-inverse navbar-fixed-top"> <div class="container"> <div class="navbar-header"> ........ </div> </div> </div> This refers to the fixed bar along the top of my page as in the …

Member Avatar for pritaeas
0
980
Member Avatar for Blueie

Hello I have a 'thank you for registering' page (success.aspx) for new users who have completed a 'new user registration form' and wish to use some CSS to make it more attractive. I intend to use these fonts, if possible, as follows: CSS <style type="test/css media="screen, projection"> @font-face { font-family: …

Member Avatar for Blueie
0
125
Member Avatar for Blueie

Hello I am getting the following error Compiler Error Message: CS1518: Expected class, delegate, enum, interface, or struct with 'string' on this line: public static string GetConnString() and with "MyConnectionString" on this line: return WebConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString; I have looked around the Web and I have seen examples of public static String …

Member Avatar for deceptikon
0
274
Member Avatar for Blueie

Hello I am using the following try | catch to locate an error: Try Using conn As OleDbConnection = New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("students").ConnectionString) Dim Sql As String = "INSERT INTO university (username,[password], strEmail) VALUES (@username,@password, @strEmail)" Dim cmd As New OleDbCommand(Sql, conn) conn.Open() cmd.Parameters.AddWithValue("@username", username.Text) cmd.Parameters.AddWithValue("@password", password.Text) cmd.Parameters.AddWithValue("@strEmail", strEmail.Text) cmd.ExecuteNonQuery() conn.Close() End …

Member Avatar for cgeier
0
195
Member Avatar for Blueie

Hello I have compiled a simple 'new user' form and now wish to upload it using FileZilla and view it on my site. As other files occupied the root of the server, I was informed that one way to overcome that issue was for my hosting service to create a …

Member Avatar for Blueie
0
139
Member Avatar for Blueie

Hello I am using the following in one Web page form in ASP.NET (VS 2013) in order to 'set focus' on the username field: Protected Sub Page_Load(ByVal sender As Object, _ ByVal e As System.EventArgs) username.Focus() End Sub It works on that form, but not on this new one: BC30269: …

Member Avatar for Blueie
0
574
Member Avatar for istteffy

Guys, I am trying to learn asp, but I am stuck on this error forever... I managed to display and create new, but I can't delete and update. I was told I had to remove the ' around cid, but it still gave me another erro. can someone please provide …

Member Avatar for Blueie
0
224
Member Avatar for Blueie

Hello I have started my first ever VS Web page today and have two pages open in the software: Register1.aspx and Web.config. I am hoping to devise a simple 'new user registration form' with three fields: username, password, and email. When the 'submit' button is clicked, those three fields should …

Member Avatar for Blueie
0
293