I have just created a picture viewer that can open the picture and show it in the picture box on my form, but I want the program to open more than one file as normal programs do. How do I make this happen? I want it to show the next button on the form especially when there is more than one picture on the directory I am currently opening the picture from.
The program opens only one picture and I have to open new picture again and again instead of using the next arrow.
Code sample:
Public Class pictureViewer
Private Sub OpenToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OpenToolStripMenuItem.Click
trying to build a photo viewer, but the picture box just is not the same quility as say the "windows picture viewer"..how can i fix this problem.... i am using VB.2008.
I want to use vb to learn some programming code. after reading some books i want to make a picture viewer. I want to take 100 Photo's and then show then random to study.
I'm writing a program that need to use handwriting. I have mouse pen with USB interface(buy from Genius, MousePen i608). My idea is that I want to record employee's sign with picture box from my attended form. And then save in MS.access. But I have no idea how to connect my external device and vb.net 2005. how to connect those devices?
I am a complete newbie when it comes to programing so i downloaded Visual Basic Express yesterday. I followed the tutorial here to create a picture box. [URL] Now i am going through and making some changes. Is there anyway to make a code so that there can be a next and back button?
I have followed a tutorial on how to make a Picture viewer. I have a next and back button that read off a counter. I have a couple of questions on this.
1. If there is just one picture in a folder and you hit the next or back button, the application crashes, is there a way to disable these buttons if there is only one?
2. Every time I open a new folder, the contents get added onto the list to go through, is there a way to overwrite the old files so only the new folder shows?
I have managed to build the basic Picture Viewer Program. Now Remember the program I am working on is for a Digital Picture Frame there is NO wirless network adapter on the old pc and there is no keyboard going to be attached to the laptop so the program must launch its self (ill put a short Cut in the windows startup folder). I got a picture box that excepts the picture file it covers the whole form! (when there is a picture in the picturebox1 it fits the screen) My form one covers the entire screen (I set the windows border from scalable to none). I need to make my program scan for picture files on different drives and then every 30 seconds or so choose a random picture from the usb drive and display it Posted below is my code:
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click OpenFileDialog1.ShowDialog() PictureBox1.ImageLocation = OpenFileDialog1.FileName ' want to remove this feature so the user cant see this [Code] .....
I am designing a program to be similar to Microsoft image viewer. I want it to open on PC start up Full screen and I want to make it scan for Images on flash drives with the user doing anything. I am making a Digital Picture frame out of my old dell laptop and I would like to make the program for it. How to have it play a random image every 30 seconds or so...
I have a tumbnail Control box. Everytime my pictures load i click it will show in Image Viewer or photoshop can i view it in picture box instead of open a new window in other application?
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!
with a college assignment. We are to make a program for a school class. It is on Flags of Europe. A Picture Viewer should show a flag and the students must type what the flag is in a text box. If it is correct it must say so in a label and display the next flag. I want it to add the correct answers the student got out of 10 flags.
I try to add a "Microsoft Office Document Imaging Viewer Control 12.0" control to a form and i'm getting the next exeption: An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) I have try to register the next files which throws an exeption when I try to do it:
Possible Duplicate: Crystal Reports vs ReportViewer Pros/Cons? what is the difference between MS Report Viewer and Crystal Report Viewer? I need to display some basic info. from my database and donot want to install any additional programs on client's computer to run the report.
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.
1- how I can put picture in tool strip and put it convert to split button without the picture go invisible when i click on it
2- how can I make tabs in the forms
3- I want to put pictures in the form in the same place For Example when the user check the radio button or when the user choose the name in the combo box a specific picture should be display?
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 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 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.