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

VS 2010 Visual Basic 2010 Express Problems

Hi, I started coding a while ago, and used an old copy of visual basic 5.0, but it wasn't doing what I wanted it to and so I go visual basic 2010 the problem I'm finding is that everything I have...

View Article


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 Article


Time 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 Article

VS 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 Article

VS 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 Article


hide 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 Article

Image may be NSFW.
Clik here to view.

Find 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 Article

VS 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 Article


VS 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 Article


Embedded 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 Article

VS 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 Article

VS 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 Article

VS 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 Article


VS 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 Article

VS 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 Article


VS 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 Article

VS 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 Article


VS 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

downloading webpage error

:wave: I've asked this question once before the help i got last time didnt work out Dim hi as string = string.join("|", Form2.RichTextBox1.Lines) what this does is it combines everything and put it...

View Article

VS 2012 [RESOLVED] update datarow

Please help me..What is wrong with following code? Login table is not getting updated.. Code:         'check login         Dim sqlada As New SqlDataAdapter("select * from login where  lower(uname) =...

View Article
Browsing all 27346 articles
Browse latest View live


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