Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27066 articles
Browse latest View live
↧

VS 2010 Help: value of type 'system.drawing.image' cannot be converted to...

I am using the following function to convert image to hash: Public Function MD5Hash(ByVal sFile As String) As String When I use this: Code:  Private Sub Button1_Click(ByVal sender As System.Object,...

View Article


Populate a listbox with all open forms

I have a form with a listbox, and I want to be able to populate it with all open forms of the same application. However, I want to be able to select an Item from the listbox, and be able to close the...

View Article


For All Images in a folder

Hi I have a folder on my desktop. This is what I am trying to do Code: dim x as integer = 0 dim y as integer = All images in Folder For image x to y, Picturebox1.image = image(x) x = x+1 interval: 5...

View Article

VS 2012 Serialized object password

I am serializing an object and saving this object to file. In this process I am using a CryptoStream to encrypt the object with a password. My question is this: What is the best way to check if the...

View Article

VS 2010 How to resize Picture Box to size of image?

What I want is that when an image - suppose it is 100 X 100 and the picture box is 50 X 50 - is chosen, the picture box must resize itself to become the size of the image. Thanks!

View Article


VS 2010 PictureBox1 problem

Hello to all, I have application, where you upload picture to PictureBox1, then you can do some actions. Problem is, if you don't upload picture, action can be realized. Here is problem, so I think...

View Article

PictureBox LoadCompleted event.

Anybody any ideas as to why PB.Load(localImageFile) doesn't fire PB.LoadCompleted?

View Article

VS 2008 error message

The code below gave me this error message "Could not complete operations on some files and directories. See the Data property of the exceptions for more details" Where do I find the Data property of...

View Article


how can i make 2 webclients in same form?

hey im trying to make 2 downloads in same form i im trying but i dont know what im doing wrong here is my code: Code: Imports System.Net Imports System.IO Imports System.Diagnostics Public Class Form1...

View Article


Adding number to days in the calendar and adding them together.

I'm making a program that makes it so you can write a note to that day and adding income aswell as expenses for that day. I've managed to make it so it saves the notes for the day. And the issue is...

View Article

Image may be NSFW.
Clik here to view.

An unhandled exception of type 'System.StackOverflowException' occurred in...

I'm trying to use application settings to store a string and call it on the form loading but it's giving me this Overflow Exception

View Article

Image may be NSFW.
Clik here to view.

VS 2012 How does the ICON know what image to show

All of these are the same .SLN file extension. VS 2008, 2010 and 2012... I understand that there is a VISUAL STUDIO VERSION SELECTOR as the default app to open these files - but does that actually run...

View Article

Image may be NSFW.
Clik here to view.

Adding information to the different days in the calendar

Let's say I'm making an application to store income and expenses for my lemonade stand. In this application I would like to be able to set notes for each day aswell as have an area where I can type in...

View Article


How to click on my form without stealing the focus from the foreground window?

How to click on my form without stealing the focus from the foreground window? I want my App acts like On-Screen Keybord

View Article

[RESOLVED] help with syntax error

hi i found this code online but it keeps giving me a syntax error wondering if sone one could help please. the full code Code: Imports System.Data Imports System.Data.SqlClient Imports System.Drawing...

View Article


Unexpected CPU-Usage after closing Application (in IDE)

Hy I'm observing an unexpected CPU usage of my application. It occurs when I start it from within the IDE and then close it. The task-manager then shows a CPU usage of 10-15% (on a 8 CPU system) of the...

View Article

external component has thrown an exception

i randomly get an error saying: external component has thrown an exception ....the application is in vb.net.... Below is the stack trace of the error at globalmodule.Main1.AddColToSubGrid(AxMSFlexGrid...

View Article


VS 2008 Help Sorting Collection/Array

What i am trying to achieve here is to sort the contents of any array by making use of a collection. The form makes use of an array called 'IntelliArray(X,Y)' which has two elements 1. Inventory Code...

View Article

[RESOLVED] App error when running on another PC

Can anyone tell me whats causing this error please. It works fine on my PC and a friends but we both have visual studio installed but on other PCs that dont have visual studio installed i get this...

View Article

VS 2010 trying to understand threading

I am a beginner at threading right now and have been working off of the MSDN multi-threading post. I am attempting to use the example and count to 1000 add each number to a list box. while the program...

View Article
Browsing all 27066 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>