Using VB 2010 Windows form on a win 7 computer - Crash in Shell instruction
What I want to do is run this program which is minimized in the task bar, and when it finishes processing, I want to start a new instance of my program which will also be minimized in the task bar and...
View ArticleVS 2010 add text to begin/end of each line
Hello, I'm new here and i need a quick help. i want to add some to my Textbox lines Code: line1 line2 line3 line4 now I press a button. The output should be (for example): Code: txt1 line1 txt2 txt3...
View ArticleGenerate Class.vb File Programmatically
Hello, I want to create a class builder which will get the tables from the specified database and build my [className].vb file - at the push of a button! For example: Code: Dim strBuilder As...
View ArticleVS 2010 Can someone complete this Decimal to Binary code? NEED HELP
For the code I want someone to complete the code but make it so that only the Binary conversion is shown from the loop, and so that none of the input = input / 2 working out is shown(i tried to use 2...
View ArticleVS 2010 "Force" websites to display mobile?
I've done some research but can't really find anything about this. My application is meant to be the only thing running, but sometimes you need to look something up and it's a pain in the ass to open a...
View ArticleGetting information from a textbox created in code
Hi Can anyone tell me why this piece of code doesn't work? Private Sub btnUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpdate.Click For i = 1 To WNew.intCount If...
View ArticleVS 2010 Minimize animation lost?
Ok, my problem is I have a form with the 'FormBorderStyle' property set to 'none'. So I made my own minimize/maximize/exit buttons, but the problem is when I click my minimize button, there is no...
View ArticleVS 2010 ImageList throws exception
Hi, I have an ImageList that throws an exception when it's initialized. I put an imagelist on form1, and populated it with 3 images. The "Images Collectionj Editor" shows they are given index numbers...
View ArticleGoTo
Ok, in Batch the command looks like this: :A CODE GoTo :A Making it go to a certain spot after the code is ran. How do I utilize this in VB.Net?
View ArticleVS 2010 need help with error
I received an "InvalidOperationException was unhandled" Error Here's what it states: An error occurred creating the form. See Exception.InnerException for details. The error is: The form referred to...
View ArticleHow to play 2 wave files in series
Hi, I need to know how to play 2 wave files but not at once. They should play one by one. My idea was like this: My.Computer.Audio.Play("C:\Desktop\sound\1.wav")...
View ArticleVS 2010 SUM() Sql query
Hi, CODE: Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim con = New SqlConnection("Data...
View ArticleVS 2010 Awesomium Web Core Favicon
I have begun development on a web browser using the Awesomium web core, and I tried to use this code to retrieve a favicon. The only problem I had was that "Url" wasn't a member of the...
View ArticleVS 2010 how to communicate with usb flash drive
i have a usb drive inserted , i know the path and PID and VID. how to read the particular sector in raw mode? can somebody share a snippet? thank you
View ArticleVS 2010 How to compare records in a function
Ok, i'm currently in the process of writing an application for work purposes... its basically an ACL security scan on certain folders. here is a picture of what i'm doing. Attachment 97399 You click...
View ArticleUsing a listbox to copy items, I can't get this to work!
I have 2 collections. an Item and a Inventory collection. I use a ListBox to that I fill with the Items. I want the user to be able to double click an item and have that copied from the Item collection...
View ArticleUpdating existing application help.
Hi All I used Visual Studio 2005 to create a basic Touchscreen system for recording production downtime. It's a simple screen that has 12 buttons. 1 button called start 1 button called finish 10...
View ArticleUse a form as a button menu
I am trying to get the main menu for my application this way, except using a form in the place of an actual menu. Most importantly having it appear directly underneath the button I set obviously....
View Article[RESOLVED] Question about a ListBox
When adding an item to a ListBox. If that item is an object. Does the entire object get copied into the ListBox? Meaning, the String that is listed in the ListBox is an index into a ListBox Delegate?...
View ArticleVS 2010 Access Path of File Clicked
Question: How would I go about accessing the file name of a file I open with my vb.exe?? What I am attempting to do: I have one software which has 3 different revisions and all show the same Icon. I...
View Article