i had decided to make my academic project in digital signer ,so i surf net for it and got a sample. its main aims is ti sign only one pdf..so i decided to make the application to sign all pdf which r there in a folder,i had done all the changes, i but i come accross an error which i am not able to solve,
I making an "sign in" application for checking email address with username and password as input.As output it will show me msgbox with content "Your email and password are correct!" or Not.There is a code:
Code: Imports System.Net.Mail Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click[code].....
I making an "sign in" application for checking email address with username and password as input.As output it will show me msgbox with content "Your email and password are correct!" or Not.
Im importing text from a .txt file using streamreader and when it reads in a � sign it converts it to the square symbol for a unknown character! If i put in a $ sign it imports it correctly!
I want my console application to be able to do one function I have when you click one option on the windows context menu, and another function when you click another option.
Here is the code snippet that performs this task. It's finds the button, but clicking doesn't work:
htmlDoc = .Document htmlColl = htmlDoc.getElementsByTagName("Input") For Each htmlInput In htmlColl If htmlInput.type = "submit" Then
[code]....
This works nearly every time, but not this time.I've also tried searching for the TagName "Button" and clicking that based on the innertext value of Leave Feedback, but that doesn't work either. I've also tried playing with onclick with something like this:
For Each htmlInput In htmlColl If htmlInput.type = "submit" Then If htmlInput.innerText = "Leave Feedback" Then
i am trying to set up and start the timer for few seconds when I input the timer seconds value in the textbox and click the button, wait for the timer to countdown then show up the messagebox. [code]When I input the timer value in the textbox and I have clicked the button, it did not start the timer for a few seconds which it show the messagebox straight away! How do i start the timer for a few seconds by input the value in the textbox and click the button then wait for few seconds while the timer start to countdown then show the messagebox??
I'm trying to convert input and display in a label using a calculate button click.I need to take the input from the textbox add it to data inside a label and display it in a label (output). The data has to be validated for no negative or non numeric data. [code]Nothing is being displayed in the output label and only getting label with error msg???
what I'm trying to do is setup my browser so that when I click an input field like a username, password, etc I would have a screen pop up where I can assign the "id" or "name" of the tag to a variable. Here is a screenshot of what I am trying to do. screenshot.jpg I am able to create those pop up boxes using a custom Content Menu Strip. Here is the code I have behind the context tab
I created 2 forms in Access 2003 (Form1 & Form2) for the purpose of creating a 'smartform' of sorts for my company. In essence they can click on a search feature in the top cell and input an employee ID # which automatically fills in about 10 to 15 fields.
- There is only 1 table attached to the forms.
- The group I created this for is uncomfortable using Access.
What I would like to do with VB.net:
- I thought I would create an internal webpage using VB.net so they wouldn't need to log into Access [the DB would be stored on a separate server.]
- I would need a clean & simple interface that has 2 buttons, one for each form.
-When the form is called up I would need a search feature "EMPLID _________" which would connect to the Access DB table and retrieve the correct information.
-Id also need to have the form printable & have the ability to search again or return to the front page.
I have some code that broadly looks like the following ... WebBrowser1.Document.All("btn_submit").InvokeMember("click") WebBrowser1.Document.GetElementsByTagName("select").Item("id_pickupdate").SetAttribute("value", "2011-07-07")
I cannot seem to get it to work in one code routine. I end up having to have a separate button to set the date after the page has loaded. I have tried all the blog posts using isbusy, timer etc but it does not seem to work. The code breaks and the error prompt says that id_pickupdate does not exist.
i developed an application which takes input from drop down list and then creates files when we click on that button for specified value in dropdownlist.And if we click on send button it sends to remote database.All the application is working fine. Can any one suggest me how to run this application without user interaction.I dont have any idea about task scheduler, people said it can be done with task scheduler.
I use new WEBBrowser control (VS2005) in my program (WinForm) for open web site. (VB2005)After using method "navigate", in my webbrowser control I have HTML page from some website.This HTML page has some input button with events or input text control or other interactive control on it. I can click with mouse on that buttons or input text from keyboard or select value from combo box to send this page back. question:How I can execute this from my program code, using property and methods WebBrowser control?
I use the code below to get driver file sign info, it works well
Imports System.Security.Cryptography.X509Certificates Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32drivers cpip.sys") MessageBox.Show(cert.Subject)
But if want to get EXE file signed info like
Dim cert As X509Certificate2 = New X509Certificate2("C:WindowsSystem32winlogon.exe")
MessageBox.Show(cert.Subject)
the error occured "Cannot find the requested object"
I want to digitally sign my exe. I have a .p12 file as digital certificate.I used signtool.exe for signing the exe. After signing the exe the properties > digital Signature tab is showing the right name but when I am doing double click on exe then the "open file-Security warning" window is still showing unknown publisher.How can I show right name of publisher in "open file-Security Warning" window.
I recently upgraded to VB 2010 Express (from 2008), and I have a problem using the debugger. When I move the mouse pointer over an array variable, I only can get the value for the current index, and not values for all indices, as I did in 2008. For example, if I move the pointer to classSize(i), I see the value for the current value of index i, but I do not see the plus sign which would display a drop-down list showing values of all elements in the array.
I checked for options (Tools > Options > Debugging > General), but did not see an option related to DataTips.
I am trying to get OpenSSL.net to 1) create a key pair to use for CA signing and 2) create and sign certificates using this CA. I have managed to create an RSA/SHA1 X509CertificateAuthority, and have created a X509Request and keys, but I am running into problems actually signing the request.
'create the request and request key Dim rsa As OpenSSL.Crypto.RSA = New OpenSSL.Crypto.RSA() rsa.GenerateKeys(1024, 65569, Nothing, Nothing)
[code]....
I am getting an OpenSslException on the line noted above, with the message error:0606B06E:digital envelope routines:EVP_SignFinal:wrong public key type error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib
I got this nice piece of code from someone on this forum which only allows user to input numbers or backspace i need to modify it to allow the - sign so user can input a negative number Can someone share with me the code to modify this
If Not Char.IsDigit(e.KeyChar) Then e.Handled = True If e.KeyChar = Chr(8) Then e.Handled = False 'allow Backspace
I'm building three web applications in .NET that will all share a users database and login information. Lets pretend that application 1 is the "parent" application and applications "A" and "B" are the "child" applications. All users have to be logged into application 1 to have access to applications A and B.
Authorization, Authentication, and MachineKey sections of all web configs are present and work correctly.
I have the correct web.config settings in all applications to achieve Single Sign On except one problem remains: what do I put in the "loginUrl" attribute of the forms tag in Applications A and B.
Assume that the url for the login to application 1 is [URL] How can I get applications A and B to send the user back to application 1 for authentication using only settings in web.config?
I would like to know how I would separate the $ from number. I am reading data from a text file. the last column has a contain $12.00. I am able to split the five columns into an array. But also want to be able to remove the dollar sign.
I am trimming some strings but I am unable to do anything about the strings containing plus signs. For example if I have this string with a telephone number
Dim str As String = "+46765124246" And try str.replace("+46", "0") Nothing changes in the string.
I am using web browser control to login to gmail account. After successful login, i want the browser automatically sign out. How can i do that? I tried this:
Private sub webbrowser1_DocumentCompleted (Byval sender as system.object)Dim element as html elementfor each element in webbrowser1.document.links if element.getattribute("href").contains("logout") then 'log out code goes here
I am fairly new to VB.NET so I research alot when I run into bugs. Problem is I cannot find a solution to this, or anything remotely dealing with it. I am developing software to connect to a remote mysql server, run a query, and come back with a dataset. I have run this query against the server through a mysql prompt and have received a result successfully. But when i try to run this query from my app, I get an object reference error.
Through debugging I have found that the @ character used for variables in sql strings, is causing the problem in my code, but i cannot find a way to pass this query to the server without visual studio throwing errors. Every answer to the use of variables that I have found, suggests specifically stipulating the variable values in my code, which I do not want to do.
I have one datagridview and there some field are there for money dataType. But if user want to add (-) keyword then it should be display like -$10. if again user will click on (-) keyword then it should be remove i.e $10 .