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

VS 2008 keyboard controlling arduino rc car with UDP packets (VB 2008)

Hi, this is my first post on these forums. Doing a college project where we control an rc car wired into an Arduino over the network from a computer. It's been brilliant doing this project and all the...

View Article


Basic confusion over using classes...

Sigh... VB newbie here. I have a form that successfully uses a class I made (AddLabel) that created label objects on that form. It is launched by a button on THAT form. Works great. However, I have a...

View Article


VS 2010 some kind of tooltip with opacity

I have a regular form and if a certain condition comes up I want to pop up a small form/tooltip/message to the user. My first thought was to do a borderless form and have its opacity set to 80% and...

View Article

VS 2010 Problem with HTTPWebRequest VS2010 Ultimate

Hello, I'm new at this forum, I signed up because I have a question :D I'm creating a program that automatically login to a game, and selects the server, but after I logged in, I don't know how to...

View Article

VS 2008 Cannot star app. with Process.Start ?

I am able to start all other apps with this code except this one. I have double check the spelling look for spaces and still getting an error ' Open Failed ! ' . Can anyone think what could be the...

View Article


VS 2010 Auto crop-out white space surrounding an image in a PDF file using...

I'm looking for an automatic way to crop out the white space surrounding an image in a PDF document. I often write papers using Latex for which the images are saved as individual .pdf files. However,...

View Article

[VS 2010] Problems with Telnet Emulation

Hello, I have been trying to write something in VB.net 2010 that would allow me to log into several fiber channel switches over a telnet connection and perform some commands. After doing some research,...

View Article

VS 2010 Make VB Correctly Output Foreign Characters

I have realized, just recently, that when you type a foreign character (i.e., ñ) it comes out as either a diamond with a question mark or a blank square. My application will receive information from a...

View Article


Error: Resources.resources !

Hi, Where should I look to find where this error is ? Quote: Error 1 The item "obj\x86\Debug\Pirate2.Resources.resources" was specified more than once in the "Resources" parameter. Duplicate items are...

View Article


VS 2010 WaitforExit - need help to add

Hi need to add a WAITFOREXIT to my code before it can move on, my code; Code: Public Class Form1     Dim file_name As String = "./Start/PostInstall.txt"     Dim stream_reader As New...

View Article

How to convert a date in a textbox to a date in vb 2010

This can't be this hard but here's my problem I have a date in a TextBox in this format "03081960". I need to convert the date in the textbox into a date format to use in a DateDiff instruction. The...

View Article

VS 2010 Number Guessing Game?

So I need to generate a new random number after its completed and I've already gotten the number to be correct and clear the form but I don't get how to create a new random number because whenever I...

View Article

Program Setup Screens

When a program first installs, it sometimes goes through multiple screens/pages with prompts & requests for configuration. Ex: Screen 1: Step 1 of 4 Screen 2: Step 2 of 4 Screen 3: Step 3 of 4...

View Article


VS 2010 Visual Basic 2010 Error (Visual Studio 2010)

I get the following error message when I run the code I have included below "Error HRESULT E_FAIL has been returned from a call to a COM" {"Error HRESULT E_FAIL has been returned from a call to a COM...

View Article

VS 2010 [RESOLVED] Problem with datareader

I have a login form which is connected to a database, and i currently have a data reader to make sure that i enter the correct username and password, by using this code: Dim dr As OleDbDataReader Try...

View Article


Keypress Event not firing

I currently have a form with a panel on it and then 100 pictureboxes inside the panel. I was using the keydown event to 'move' my map, which worked. I was doing something like this: vb.net Code:...

View Article

VS 2010 [RESOLVED] Fix Excel late binding errors

This code is straight from Microsoft's pages Code: Dim oExcel As Object             Dim oBook As Object             Dim oSheet As Object             'Start a new workbook in Excel.             oExcel =...

View Article


Running a VB compiled .exe silently

Rookie here :) Hoping someone might be able to assist. Long story, however, the short of it is that I need to delete a file using a compiled .exe. I've done a fair amount of VB scripting over the...

View Article

VS 2010 Checking values in a Do Loop

I have written code for a class. The code works as written, but I am trying to enhance it by verifying the results of an Integer.TryParse. I can't figure out how to do either an If...Then...Else or...

View Article

VS 2010 Extracting Image from Larger Image

Hi everyone. I'm having trouble with the below function that i wrote. It is supposed to extract a new bitmap (of the specified size) from the supplied bitmap and return it. But the problem is, every...

View Article
Browsing all 27186 articles
Browse latest View live