Managing Root Certificates?

Jan 19, 2011

When I try to use the add/remove metho9ds for an x509 store on the root authority (code below) I get confirmation dialogs.Is there any way to avoid those dialogs??

View 1 Replies


ADVERTISEMENT

Find The Root Of A Number Such As The Square Root, Cube Root 5th Root Or Whatever

Sep 23, 2011

For those of you interestested in mathematics you can find a root of a number in two different ways. Lets say you want to find the 5th root of 27.

[Code]...

View 2 Replies

Digital Certificates For Authentication And Access?

Jun 11, 2009

I'm looking for guidence on using digital certificates to manage website user authenication and access. i am using a website that has this and what happens is this... the company issued me a personal certificate, that i installed on my local machine. When i connect to the website it checks my local cert store for a cert issued by them and if none is found, no entry, if multiple are found, then a box displays to allow you to pick which one to use.

View 1 Replies

Installing Certificates To Specified Stores Programatically?

Sep 4, 2011

I'm having some issues when it comes to installing a certificate to specific stores without any user interaction.

View 3 Replies

Use Digital Certificates In Program Application?

Jun 22, 2009

Here is my issue/question. I am relatively new to VB.Net programming, and I have been assigned the task of creating an application that will go out to a Secure web site and download a file. My first issue is it best to do this using a Windows form, ASP.Net or what. My second and main question is how do I authenticated to the secure web site in .net code?

Upon connecting to the secure web site it asks me for a certificate, which at the moment I have to manually present, however we would like to automate this. Then after it authenticates I have to go a few more pages in before i get to the file that needs to be downloaded.Although this file changes daily it has the same key tag so I can hardcode that into the download application. I just need to figure out how to programically authenticate to the site with .Net

View 2 Replies

.net - Call Web Service Using Client Certificates / Mutual Authentication?

Mar 23, 2012

I'm building a web service client using vb .net. The web service is secured with ssl, basic authentication and also requires client certificates. So I created a web reference in Visual Studio and provided the credentials:

Dim cred As New System.Net.NetworkCredential("usr", "passwd")
Dim proxy As New SimpleFromLocal.simple
proxy.Credentials = cred
Console.WriteLine(proxy.helloWorld())

This works as expected, as long as I turn off mutual authentication on the server side.I added a client certificate like this:

Dim cert As X509Certificate = X509Certificate.CreateFromCertFile(certFile)proxy.ClientCertificates.Add(cert)

The certificate is loaded, but the web service call fails. I could post the exception, but it is in german, which is an issue on its own. It basically says: Authentication failed, because the remote site closed the connection.I tried debugging the ssl handshake on the server side and it looks like the client certificate is not transmitted.So what am I missing here? Is it required to install the client certificate on the local machine?Edit: The error thrown:

[Code]...

View 1 Replies

Java - Using Certificates In A Client-application Consuming A Web Service

Sep 16, 2010

I am implementing a VB.NET desktop application which consumes a web service.

The web service implemented in Java and I currently using Tomcat on my localhost to host the web service.

The web service requires secure communication with the client and so I have followed instructions that outlined how to use Java's keytool.exe to create two .jks keystores (one for the client and one for the server) and then create two .cer certificates (one for the client and one for the server)

I have placed the keystores and certificates generate into the directory where the web service is expecting them (according to the instructions)

I have installed the certificates into TrustedPeople and have attempted to use the certificate by setting the ClientCredentials.ClientCertificates property like this:

myServiceProxy.ClientCredentials.ClientCertificate.SetCertificate(storeLocation.CurrentUser, StoreName.TrustedPeople, X509FindType.FindByIssuerName, "name")

I keep getting the following error message when I try to call any method:

An error was discovered processing the <wsse:Security> header

My problem is that I don't know how to use this in the VB.NET client application that is consuming the web service. I could be doing this completely wrong.

View 2 Replies

VS 2008 : SignTool Error: No Certificates Were Found That Met All The Given Criteria

Jan 25, 2010

Im trying to publish a project but im getting this error.An error occurred while signing: Failed to sign binReleaseapp.publish\setup.exe. SignTool Error: No certificates were found that met all the given criteria.

View 1 Replies

Close Application Root Folder Or Sub Root Folder At The Time When Application Is In Running Mode?

Oct 8, 2009

how to close application root folder or sub root folder at the time when application is in running mode?

View 7 Replies

Keep Root Array Value As Remove Another Array Value That Is Assigned By Root Array

Sep 8, 2011

I have short code like this :

Dim arr1 As New List(Of Integer)
For i As Integer = 1 To 100
arr1.Add(i)

[Code]....

My problem is : after RemoveAt command is value of array 2 is change this is true, but why it effect to array 1 , i don't want array 1 value change

View 4 Replies

.net - Managing .exe Files?

Sep 7, 2009

In VB.net, how can you programmatically launch a .exe file? Is there a way to check if the file is there?

I know there is some way to check using System.IO, but I have no idea. However, I have not even the slightest clue as to how to launch that .exe if it is there,

View 4 Replies

Managing Combo Box In Different Way?

Oct 12, 2011

In my programme, Student have to select 1 major subject out of 5 subjects and 1 subject for major2 subject our of 4 subjects. And student will have to select 1st major subject according to the preference and will have to select each 4 subjects for major 2 subject against each major 1 subject.as an example if student slect csc for major1 he can select 1st preferce stat , 2nd pref.. maths, 3rd pre.. managment. 4 th pre... eltn for 2nd mejor subject.so, if anyone select one subject for major 1 , I want to remove it from major 2 and display the rest of subject.

cmbBox2.Items.Add("CMIS")
cmbBox2.Items.Add("ELTN")
cmbBox2.Items.Add("IMGT")

[code]......

View 3 Replies

Managing To Get Ip Of A Server?

Jul 5, 2009

I would like to know how I can get a server ip.I have a textbox (textbox1), a label where the ip will be displayed, and a button that will get that information.this code is not related to this but it performs a simmilar action but instead in displays the ping of a given server:

Dim reply As System.Net.NetworkInformation.PingReply
Dim p As New System.Net.NetworkInformation.Ping
Try

[code]....

i want to use the same textbox to get ping and ip of a given website triggered by the same button.

View 5 Replies

Sql - Ado.net Managing Connections

Jun 6, 2010

I'm populating a listview with a list of databases on a selected SQL instance, then retrieving a value from each database (It's internal product version, column doesn't always exist) I'm calling the below function to populate the second column of the listview:

[Code]...

View 2 Replies

.net - Managing Event's EventHandlers?

Mar 21, 2011

I have a class that seems to be recursively adding an EventHandler to an event. I have looked at the code but there is no AddHandler on it and there's only one method with the Handles clause.In the memory profiler it shows that the event handler is calling the event handler that is calling the event handler and so on for a rather large number of steps.

View 1 Replies

Managing An FTP Server With VB Code?

Jun 21, 2010

I'm trying to manage an FTP server with code that requires authentication.So I need to log in, get a list of directories and files within a sub-directory, Create directory, Delete directory and Delete File. (I know how to download and upload) I can't find any documentation on how to do this...though I would think it a fairly simple question to answer I seek not answers, but understanding, that I may not solve, but learn. What good is a fish without the skill to catch it?

View 1 Replies

Managing Form Controls?

Nov 16, 2011

I have a form, 24 buttons on it...Thet name is button1, button2.... I created this.How can i change tabindex at run time?And how can i use this:?for i=0 to 23button(i).text=""

View 9 Replies

Managing Form's Code In .net?

Sep 24, 2011

Whats the best way to organize code responsible for Form's content.In my case, there is a DataGridView and list, next to it, with a few options available (projects, managers, employees, etc...). Choosing any list's element fills DataGrid with proper data from database.Now, GridFill functions + handling of all add/delete/edit buttons of each list element gives quite a code in the Form's source, which bothers me a bit. How to split it then to avoid problems in the future? While googling, I've seen some advices to use partial classes, modules or just classes. Moving all functions relating the Projects, Managers, ... , to own separate class sounds like a nice idea but then comes the question how to pass all necessary data to the class functions.

View 1 Replies

Managing Keys Of Keyboard?

Nov 27, 2010

I Want manage the keys state in my program(in vb 2010) but 'key press event' cant manage more than a key in a time.i want manage keys for commanding something.(for example if "CTRL AND AIT AND Shift And "A" and "S" was pressed do something)

View 2 Replies

Managing Multiple Forms?

Apr 15, 2010

I am a beginner programmer, and taking my first course in VB.NET in college. I am writing a program that teaches the user step by step to solve a rubiks cube. One problem I am having is how to manage the 20 forms that make up my program. Currently, when the user procedes to the next step, I make the current form invisible, and show the next form.

ex. Nextbutton click
form2.show()
me.visible = false

[code].....

View 6 Replies

Managing Multiple Subroutines?

Feb 25, 2009

have been writing code to replace an old Fortran program. The Fortran program had very organized subroutines which could be called from anywhere in the project. Most of these were relatively small and left a small, easily followed main routine. I'm converting over to VB.net and when I write the subroutines they are all on the same form. Wading through 50-100 subroutines on one form is going to be messy.

View 3 Replies

Managing Music With 2010?

Jul 28, 2011

After casually creating a program to manage media (music, films, photos etc.) I came across a lack of functions that could be solved be being able to identify the length/ genre/ album/ artist of the song in question. find these file attributes (using a database is out of the question due to lack of resources).I'm reading the song into a string array from the folder they are contained in with the code:

My.Computer.FileSystem.Getfiles(FolderPath).copyto(MusicArray,0)

View 11 Replies

Managing Several Projects In The Same Solution?

Feb 7, 2012

It's me again, trying to have multiple projects in the same solution. How can I do that?

I know that the project name should accompany whatever functions I'll be calling but somewhere it does not work.

One more thing, can I include forms in all the projects I create?

View 7 Replies

Managing Text Files?

Feb 9, 2010

An application I am developing creates a directory and text file within the directory. A button is then coded to add a text string to text file. An error is issued stating the file cannot be written to as the is open to another process. This suggests the file needs to be closed before it can be written to.

View 2 Replies

Managing WindowsMediaPlayer In A Form?

Jan 3, 2012

Managing WindowsMediaPlayer in a Form

View 3 Replies

.net - Managing Connection To Database In An Asp.net Application?

Mar 17, 2009

what would be the best way to manage a connection to a database in asp.net.My application is built using an N-Tier architecture.The DAL consists of static classes with methods such as

Public Shared Sub Delete( _
ByVal connection As MyConnectionClass, _
ByVal contact_id As Integer, _
ByVal contact_timestamp As Date _

[code]....

The point to note here, is that I pass the connection to the DAL from the BLL.Should I create the connections in the MasterPage, store it in an object, then pass it to my business objects as I create them (the thing I'm trying to avoid)Should I create a connection using a static class and calling a method like CreateConnection on it, from the constructor of my business objects (Something I'd like, but I don't want to have a connection per object, I'd like it to be shared for all instances of my objects, but since asp.net is multi-threaded, a static class doesn't make sense to store connections) the solution should also work well in a Windows Forms environment (So no connection storing in session, and retrieving it with a static method in a class, for the current context)?

View 1 Replies

Database - Creating And Managing *.db Files

May 26, 2012

I have seen a few .NET apps use .db files. I am not new to Visual Basic, however I have never created a VB app that uses databases. I do know PHP pretty well, and working with databases in PHP I am familiar with.

[Code]...

View 1 Replies

IDE :: Managing Dates Using Business Logic?

Feb 16, 2010

i am currently trying, to create some sort of a business logic within my class, that contains information about a machine, now this machine once sold, can be re-sold by its owner. the company needs to keep track of the machine and its owner for warranty claim purposes.the class takes in two values, a from date and a to date.now when a new owner is added to the owner collection of the machine, the TO date of the previous owner should automatically be updated to one day less than the From date of the new owner that is being added.

View 1 Replies

Managing Exception In Multithreaded Application?

Mar 20, 2009

I started throwing exceptions on a multithreaded application, and got a mess.There is a good tutorial on managing exceptions in multithreaded applications?

View 4 Replies

Managing Modal Forms Location

Oct 3, 2010

I've got a "Loading" form which I display as a modal form when doing lengthy processes. I'm using the below to keep the form centred within the child form performing the process. However, when minimisingmaximising the "Loading" form appears before the parent making it look a little unprofessional. Anything I can do about that (Delay it appearing or attaching it in a different way)?

[Code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved