Security - Create A Pop Up To Confirm Downloads In A Web Browser?
Aug 15, 2009how I could create a pop up to confirm downloads in a web browser?
View 4 Replieshow I could create a pop up to confirm downloads in a web browser?
View 4 Replieshow to create confirm password..
View 4 RepliesI want to create a program in VB that downloads an .exe (Note: Someone else's program, not mine) through a URL, runs it and installs it on the background.My knowledge of VB is not very large. So before starting my search on how to do each step, I would like to know from experienced programmers if it's possible to do this and how hard it would be?
View 12 Repliesim starting to create a usb security software im searching if how the usb will be detected by the program so once it is detected i can now put the code to scan the drive.
View 7 RepliesI'm writing an installation program that needs to create a new Folder in the "Program Files (x86)" folder. I'm getting the following security exception:
System.Security.SecurityException was unhandled
Message=Exception from HRESULT: 0x800A0046 (CTL_E_PERMISSIONDENIED)
What do I need to do to get around this issue and create the desired Folder?
I want to create a security log in that start up when the computer is turn on.Im having problem on multi user once the user ID is logged in it also logged in in another computer, i dont know how to add this codes can some one help me this is my code in my log in form. im using vb.net 2005 and back end is MySQL.
Private Sub btnLogIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogIn.Click
Dim myCommand As New MySqlCommand
Dim myAdapter As New MySqlDataAdapter
Dim myData As MySqlDataReader
[code]....
I'm creating what I believe is an mdi app.I have a login form.I have a class for security.My login form creates an instance of the security class. There are all kinds of security parameters for each user (permissions to different things, etc.)These parameters are part of my security class.Once the user logs in, many other forms will all be opened and closed within the main mdi frame.All of these other forms need the information of the security class to know what the user has permission to do.Do I have to create a new instance of security class for every form in my project? Isn't there a way to store this stuff globally somehow. Retrieve once from the db at the start of the app during login and just get it from this global area everytime?
View 2 RepliesI need some help in the creation of a program to generate a security code based on the current date. I need to create something that first multiplies the MMDDYY (ie X=MM * DD * YY) then also adds the MMDDYY then finds the remainder and then multiplies but a specified number. I would like to create a small program that sits in the system tray with this code displayed. The code will always need to be 6 characters, so I might need to pad it with zeros. It has been years since I took basic VB, and I am really rusty.
View 1 RepliesAfter a user takes some action, it is sometime necessary to confirm that the user is sure that the action should be takes. Classic example is if the user attempts to close a form which is 'dirty' or not saved.What is the preferred way to do this in .net?
View 3 RepliesI am getting the following error message when I try to call this program from a shared drive on our network;
System.Security.SecurityException: System.Security.Permissions.SecurityPermission
at EMAILVB.EmialVB.EmailVB_Load(Object sender, EventArgs e)
[code]....
How do I create my own Web Browser?Please remember to mark the replies as answers
View 1 RepliesI need to add a confirm delete action to a grid. the problem is the way the "Delete" link is rendered.
my grid is built in code behind in vb.net.i have this
colDelete.AllowDelete = True
colDelete.Width = "100"
AddHandler CType(gridSavedForLater, Grid).DeleteCommand, AddressOf dgDeleteSelectedIncident
and the sub is the following
[Code]...
i need to add a javascript confirm dialog when this sub is called. i can do it with a windows form messagebox but that does not work on the server.
The code i have so far inputs the users username and pas that they inputted into 2 textboxes. Next the user hits login and it submits the info. Here is where i have a problem. Some users are already logged in when they get to the site, this is a problem because i need to make sure they are logging in correctly. Here comes another problem, lets say they log in correctly, how can i know that the login was successful?
Simplified:
1) How can i find out if the user is already logged in so i can log them out.
2) If they are not logged in, and they log in successfully. how can i confirm that?
If there is any other way to login without web browsers?
'Code to enter the user and pass into the webpage
WebBrowser1.document.GetElementById("Username").InnerText = TextBox1.Text
WebBrowser1.document.GetElementById("Password").InnerText = TextBox2.Text
'Code to click login on the webpage
WebBrowser1.document.GetElementById("submit").InvokeMember("click")
I have this in my form closing event:
For Each FileFound As String In Directory.GetFiles(App_Path() & "tmp", "*.txt")
File.Delete(FileFound)
Application.DoEvents()
Next
For Each FileFound As String In Directory.GetFiles(App_Path() & "tmp", "*.txt")
File.Delete(FileFound)
Next
I used to run through an ultragrid with a for each loop and that took forever, I stumbled accross this way and it's much faster but I noticed today I still have some straggling .txt files after the form closes at times. Is there a way to actually verify all the files have been deleted before closing the form?
I ran the same for each loop twice to work it out but not sure if that works or worsens it. Also, I'm not entirely sure what that application.doevents does as I initially thought it would finish all above lines before continuing but that does not seem the case. Anyway, these .txt files files are about 500KB and up to 1000 of them at any one time so it's not instant but it's still pretty fast, faster then looping through a grid.
I've been reviewing some tutorials but can't seem to find the answer(s) I'm looking for.
I have a "Browse" button and I need it to open up a file browser. The trick is this: When the user finds the file and "opens" it, I want ALL the forms in my project to "remember" the filepath and filename of the file they chose.
Do I do this by storing the filepath/filename into a Public String variable and the other forms can access/refer to the main form's String?
I am a beginer and I am trying to create a simple web browser using Visual Basic 2005 Express Edition.
Public Class Form2
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
[Code].....
As you can see from the above code I do not have forward, back and stop buttons. Thats because I do not need them. The browser will be configured to go to a certain website directly.
What I need is this browser should be configured to use specific JRE. That is the browser should use ONLY JRE 1.3.1 or ONLY JRE 1.4.2
I want to create a web browser, and i don't want to use the microsoft web browser element, i want to use webkit can i put this into VB 2008?
View 2 RepliesI am looking to create a web browser and use Gecko instead of the built in "webbroswer" component.
Any idea on how I go about loading Gecko instead?
I am trying to create a Web Browser with tabs. Here is my code so far:
Public Class Form1
Private Sub NewTabToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles NewTabToolStripMenuItem.Click
[Code]...
I am trying to create a browser in visual basic 2008 and have the following problems
1. how can i create tabs in the web browser
2. when i open the link from my browser by "open in a new window" internet explorar pops up.I want my web browser window to pop up
Well, I have a form called customers. Login form and mainform.
So my clients want to have an option that explains this: If a user enters information in the customer form, then that information has to be confirmed by admins panel.
Get me well. When application program loads with a limited user, I set some buttons hidden so that only admin can see it when they log in. so in that case, users are not capable of inserting anything in the customer form.
But this time they want users to insert information then the information goes to administrators to confirm the information...if admins accepts the information, then information is then goes to customers table in database. If they don't confirm it, then that information will be ignored.
am using vb.net 2008 with sql server database.
I have a form where a user can delete a record, and I want a pop up message where the user has to click okay to confirm the delete.
Delete button:
<asp:Button ID="btnDelete" runat="server" Text="Delete" UseSubmitBehavior="false" OnClick="btnDelete_Click" OnClientClick="confirmation();" />
Confirmation function:
function confirmation() {
var answer = confirm("Are you sure you want to delete? This action cannot be undone.")
}
So right now, clicking the delete button executes the btnDelete_Click Sub in the code behind regardless of whether you click okay or cancel in the pop up box. I know I can add if (answer) { -- some code here -- } in my javascript function, but is it possible to use javascript to execute code from the codebehind? Or is there another way to do this?
If I have a form in my application that has a datasetview and allows users to edit entries, how best can I present the information back to them to show them the changes that they've made, and ask them to confirm changes?
View 3 RepliesHow to create a download manger for my web browser?
View 4 RepliesI was wondering whether or not I could create a web browser using the webbrowser and the tabcontrol to make it where I could add tabs like in the newer browsers. Or should I just create a bunch of buttons with images and a combo box as my webbrowser?
View 9 RepliesI noticed in one of your forums somebody had created a web Browser with a built in proxy. What does that mean and how did you do it - I'm coding a web browser myself.
View 2 RepliesIm tryingto create/run a webbrowser control so that i can check the status. I dont need to see the page so havent placed the webbrowser control on a form - its just in code as follows:
Sub TestBrowse(ByVal url As String)
Dim testbrowse As New WebBrowser
testbrowse.Navigate(url)
[code]....
the problem is that it never initialises and is always at the state 'Uninitialized' do i have to do something to the control to get it to run, or does it have to be physically on a form before i can use a web browse control.
I want to create a fully functional browser with a download manager using Vb-2008.
View 2 RepliesI create a tabbed web browser, when it loads it has two tabs, one is the main tab with web broswer, the second one is a new tab option when its clicked it creates a new tab. but it has no web browser.this is the code for the new tab.[code]
View 9 RepliesI hope thisis the right forum for my question. if not, sorry. I am using VB 2010 to create a WPF Web Browser application. I need to open a new page after clicking a button. How do i do this? In vb it would be like form1.show for example. How would it be in this case?
View 1 Replies