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 ArticlePopulate 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 ArticleFor 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 ArticleVS 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 ArticleUsing HTML Agility Pack
I have been looking for a couple of days for code but have been unable to find what I'm needing. I have a form with HTML code (a web page). I need to clean/format/(whatever verb you'd like goes here),...
View ArticlePictureBox LoadCompleted event.
Anybody any ideas as to why PB.Load(localImageFile) doesn't fire PB.LoadCompleted?
View ArticleVS 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 Articlehow 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 ArticleAdding 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 ArticleAn 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 ArticleVS 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 ArticleAdding 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 ArticleHow 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 ArticleUnexpected 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 Articleexternal 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 ArticleVS 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 ArticleVS 2012 Running Shutdown
Hi folks, I am trying to run a command in cmd to shutdown a remote pc on the hostname that I enter, but cannot seem to find a way to have the info where I need it. I can get the shutdown command to...
View ArticleUnderstanding the Else If statement
Hello all! I come from a PHP background which I have found to be quite similar to VB. I am having a little trouble using an Else If statement though, I'm just messing around trying to get to grips with...
View Article