Populating Class List - VS2008
Hi, I have a simple Class and a ClassList. When I try to populate the class list, I get a NullReferenceException error. Probably easiest to explain with a small code sample Code: Public Class...
View ArticleTime period NumericUpDown type control?
Hi Folks I have an application in which I would like the user to be able to type or select a time period, so that they can indicate that a process should be run for that length of time. E.g. 00:05:20...
View ArticleVS 2012 Convert from Access to SQL-Server
I am trying to convert an application that was written for Access to MySql or SQL-Server. I know that "most" of the commands would be same. But I am getting some problems The following code for the...
View ArticleVS 2008 Fullscreen magnifier glass
Hello everyone, been a while since posting here... I'm trying to write a full-screen magnification program in Visual basic .NET, which will likely utilize the Windows API (Pinvoke) to do it's magic....
View Articlehide spin buttons in NUD
I know this is possible, as I've done this before, but forgotten how... how can I hide the spin buttons in a NUD control? Thanks
View ArticleFind server name
How do I find the name of my SQL server? I need to complete my connection string... The following image shows my SQL config Code: Public constr As String = "Server=.\user-HP;Data...
View ArticleVS 2010 Json.net start from value in array
Hey all i have the following json response that i am trying to find: Code: { "threaded_extended": { "3570956071": [ { "id": [edited], "network_id": [edited], "sender_type": "user",...
View ArticleVS 2008 struggling with error handling when a website does not load
My application is navigating an IE window to a website. Code: IE.navigate("https://secure.myhfs.illinois.gov/revs/revsInquiry.do?command=REVS") Do : Loop Until tab3.readystate = 4...
View ArticleEmbedded image within email from embedded resource
Hello. Seems there are hundreds of articles on how to embed an image within an email via code. But I've been unable to find one to help me figure out how to make it work with an embedded resource...
View ArticleVS 2010 need help with codeing buttons
hello, I am trying to make a spelling test to help my daughter with her spelling words. what I am trying to do is code the buttons. there are 2 I am having trouble with. the first button is the button...
View ArticleVS 2012 DragDrop Dynamic Labels (on a Picbox)
I cant seem to get this working... I have a picture box (with a map image) Right click it - pick add plane from the context menu lets you type a name into an input box and poof! a new label appears...
View ArticleVS 2010 Converting Powershell WMI query to VB.NET
I've found the following Powershell script to extract information from Hyper-V machines. I'm trying to convert it to VB.NET but I'm having trouble figuring out the WQL syntax Code: $HyperVParent =...
View ArticleVS 2012 Does a List of T contain a value
Here is my code that I am working with: Code: MsgBox(ListOfPackageContents.FindIndex(Function(item) item.Name = "Schedule")) MsgBox(ListOfPackageContents.Contains(Function(item)...
View ArticleVS 2010 Symbols missing?
Hey all! I'm in the process of developing a program that allows me to spam either 1 line, or many lines given the number of seconds I decide to choose. So here is how it works. 1. I click the "Add...
View ArticleWorking with Forms
I have three (3) forms namely: Form1, Form2 and Form3 Using Form1, I will show the Form2. Code: Dim FormTwo as New Form2 FormTwo.ShowDialog Using Form1 again, I will the Form3 but the Title should be...
View ArticleVS 2012 Input mask console line
Hi Guys! I don't think it is posible but I'll ask it anyway. Is there any way to mask command line? E.g there is a WriteLine says "Please input date". If user inputs "08" it will add "/". Then, after...
View ArticleVS 2008 VB 2008 Backgroundworker with datagridview on unbound data
Hi, I have the following code in my vb application, but duo to large amount of data the program stuck, so i need to make it in a background worker,i'v tried all the tutorials from the web but no luck,...
View ArticleVS 2010 ms chart save image with legends
Hey, I am able to save chart in image format.. but can save only chart not its legents (which is shown in right side.. two columns.. one is color and another one is legend name..) can anyone please...
View ArticleVS 2005 Changing programming for Arduino board
I have a program that was originally written for a Phidgets 0/16/16 board, but I now want to use an Arduino Ethernet board. Would it be difficult to change the code to allow it to work with the new...
View ArticleVS 2012 System.InvalidOperationException
I created a windows desktop app using VS2012 Express, targeting the .net 4.0 framework. I created an installer.exe using InstallSimple. I installed it and it runs good on my windows 7 computer....
View Article