VS 2008 listbox click event
How can I achieve Listbox click event like we do in vb6 Code: Private Sub Form_Load() With List1 .AddItem "100" .AddItem "200" End With End Sub Private Sub List1_Click() With List2 .Clear...
View ArticleCode not working?
I'm starting a new thread but referencing thread http://www.vbforums.com/showthread.p...light=checkbox. Not sure why I closed the original thread but for some reason, but post #2 code isn't working. I...
View ArticleVS 2012 [RESOLVED] Can't start Snipping Tool from code
I'm trying to start the Windows(8) Snipping Tool from code. I've tried all of these: Code: Process.Start("C:\WINDOWS\system32\SnippingTool.exe") Process.Start("SnippingTool.exe")...
View ArticleVS 2012 VB.net extract links from google-search using HtmlAgilityPack
My code works 100% but my problem is it does not display the complete links, some are separated with dots Here is my working code: Code: Private Sub Button1_Click(sender As Object, e As EventArgs)...
View ArticleVS 2012 [RESOLVED] Get filename filepath draged on to exe
Hi Guys! I am writing a console app. It is a very simple file converter so I don't want the console visible. I'll drag the file to the exe, it will chew the file and spit it out in another format. Let...
View Articleserial port, on multiple forms
I'm not very good at VB yet so bear with me. So I have used VB to create a single form application, with a serial port and everything works fine. I want to elaborate on my application by adding more...
View ArticleStrict disallows implicit conversions from Drawing.Point' to 'Drawing.Size
Trying to get a grasp on skinning. Works fine with strict off how ever i do understand the implicit conversion but can't for the life of me solve it. vb Code: Private mPoint As New Point(0, 0)...
View Articlevisual studio 2012 - multiple for loops
my question is this. I have a project that moves and renames files based on certain criteria. It will search through all client files or if you type in a single client code it should only search...
View ArticleError : Additional information: The port is closed.
An unhandled exception of type 'System.InvalidOperationException' occurred in System.dll Additional information: The port is closed. Working with an application using serial ports, often times I am...
View ArticleQuestion on hierarchy.
Following this thread, I'm making a card game. Currently for my card I just have: Code: Option Strict On Option Explicit On Public Class Monster #Region "Properties" ''' <summary> '''...
View ArticleVS 2008 help filling out an HTML form
I'm trying to fill out the username and password form on the website: https://secure.myhfs.illinois.gov/lo...oamingEPF.html the user name and password html is : Code: <td><input type="text"...
View ArticleVS 2012 Express: Inserting Some Text With an Excel Range
I'm using the following code to gather a range of cells in Excel before writing them to a text file. The thing I need to do now is to squeeze a couple of extra fields of text in between a couple of...
View ArticleVS 2008 How to clear images from the scren that are not in picture boxes
I am converting an old VB6 Solitaire game to VB.Net (2008 is what I have) as a means to learn the newer tools. I have everything working correctly but one major glitch. I use qcard32.dll which draws...
View ArticleManually loading a ComboBox?
I have a function that populates any ComboBox control based on data passed to it. My problem is that, when the function returns the ComboBox, the target CB contains the Items, however, they are not in...
View ArticleVS 2012 Read line numbers for each word in a text box?
I have a program that reads a textbox and lists all words in a listbox. Need help displaying in the listbox the line number of each word as it appears in the text box. Any help would be appreciated!
View ArticleHooking?
Hello, I'm not sure if what I am trying to do is 'hooking' so let me explain. I have a game server. There is a dll that handles all the data being sent and recv. I want to be able to 'hook'? into that...
View ArticleVS 2012 object reference not set error (array.FindAll
I get error #91 at line 114 (Object reference not set to an instance of an object). What do I need to do to correct that. (I get the error either pre-declaring X or as it is now) Thanks Code: Dim...
View ArticleBasic understanding long datatype
Hi Friends,i simple want to know how the variable of vb.net is kept in heap area of RAM . each number will treat one byte . as i found somewhere long takes eight byte.so how it is arranged in Heap area...
View ArticleVS 2010 Suggestions on encrypting and decrypting password strings.
I have an application that has the hard coded encrypted version of a password. I then decrypt it and store it into a variable for use later on. My issue is that I encrypted it with a certificate as the...
View ArticleVS 2010 WebResponse then GetElementById
Okay, if I have a webbrowser control I can extract an HTMLElement with wb1.Document.GetElementById. But what, instead, if I've made a WebRequest, and got a WebResponse back? How do I then extract an...
View Article