I've created a website with a section that requires visitors to login to access certain company data.
At the moment the login works fine and if the user ends the session by clicking the 'Log Out' button, they are forced to login again if they want to access these pages again.
The problem is...
Can you just use the visible property of the button to hide it while the save is in progress ?
Then set the property back to 'True' once the save has been completed.
<asp:Button
ID="btnSave"
Text="Save"
runat="server" />
Sub Save
'Hide the button
btnSave.Visible=False
'save routine...
The root of the problem came to me whilst I was lying in bed lastnight :D
I can't believe I missed this.:o
When I use the buttons to enter the calculation e.g '3' + '3', the last button I clicked is still selected, so when I press enter the button is effectively being clicked again, so the...
I'm getting pretty close to completeing the simple calculator I'm trying to code, at the moment it works fine just using the keyboard, and it works fine just using the buttons ...
There is however something strange happening when you use a combination of buttons and keys which I just can't...
Thanks for the help on this, I've changed the textbox ReadOnly proprerty to true and I'm going to try and use the forms KeyPreview property to capture and handle the keyboard input.
I'm writing a simple calculator project just to see if I can actually do it.
At the moment it all works ok but only via the buttons on the form (which replicate windows calculator).
What I want to do is add the funtionality to allow it to be operated from the keyboard, so I need to look for the...
Just a suggestion, maybe try these changes to your code
<%@ Import NameSpace="System.Data.OleDB" %>
PrivateSub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
Dim sFN AsString
Dim sLN AsString
Dim sJT AsString
Dim sUN AsString
Dim sPW...
I'm using an Access database so I think that the parameter has to be represented by '?' in the sql statement.
It all works it's just that it slows the whole calendar down to an unacceptable level, I'm thinking that my whole approach is wrong and that I could achieve the same thing using a...
I'm trying to write a simple online diary system using the calendar control and an access database to store the appointment details.
Basically the issue I'm having is that when the calender loads I wan't to highlight any dates that currently have appointments booked.
I've managed to do this in...
I'm currently working through the Wrox Begining VB.NET 2003 book, which incidently I'm finding very good.
The problem is I want to build on the knowledge I've gained from the book, can anyone recommened any good sites with VB.Net tutorials for a beginner ?
Thanks for the help Kulrom :)
Maybe I need more help than I realise or like to admit, hopefully this will get me well on the way to completeing this exercise I set for myself.
.....but I will more than likely be back for more advice :D
Can the OpenFileDialog control be used to populate a list box on a form, or does it just display the Open file dialoge box ?
Excuse my lack of understanding in this :o
I'm new to VB.Net and i'm trying to write a project that allows the user to browse the local disks for image files.
Basically I want to be able to browse the disk and display the file structure in a list box and then when the user clicks on a file it is loaded into picturebox.
I'm not...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.