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

Image may be NSFW.
Clik here to view.

Help me with this Error please!

My code: I got it from http://www.youtube.com/watch?v=iBmQmIwcjpA I used the exact code as in the video. Code: Option Explicit On Imports Microsoft.Win32 Public Class Mainform     Public Sub New()...

View Article


Error 4 Unrecoverable build error

Hi, When I rebuild or build my setup project in VB.NET I get this error "Error 4 Unrecoverable build error C:\Documents and Settings\pribeiro\Ambiente de trabalho\SGSC\SGLCSetup\SGLCSetup.vdproj...

View Article


Image may be NSFW.
Clik here to view.

Registry Startup Problem

Every registry startup code i find doesn't work. ex: Code: Imports Microsoft.Win32 Public Class Form1     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles...

View Article

Need help with Windows Recording Devices

In Windows Vista and later, you have recording devices available to the system, which the user can access manually. If you right-click the speaker icon, then select recording devices, and then click on...

View Article

VS 2008 [RESOLVED] The ConnectionString property has not been initialized....

Not sure what's wrong here. Any help would be appreciated. I am just hitting this sub after printing and want to mark it as printed in the Access Data Base. This the Error I get: The ConnectionString...

View Article


Update a ListView control on a different form

Hi everyone! There's a 'small' problem with my program. I need to update a Listview control which is placed to an other form after clicking a button on my first form. Well... I googled a lot and found...

View Article

Looping on error?

My program right now has an infinite loops, to gather data from a website. The issue is when there is a gateway timeout, the program crashes. How can I call the sub again on error?

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Checked Listbox Values > Inserted into text document > Saved > Run

Hi again Basically what I currently have is 3 list boxes that have Checkboxes, And a button that is the only button that will be pressed. When this button is pressed I need to take the information from...

View Article


VS 2010 Catching errors while using System.Transaction in Using Statement?

How can I trap errors by using "Using Statement". I would like to use System.Transactions namespace to commit (if no errors) and rollback transactions (if there are errors). What is the best way to do...

View Article


VS 2010 Process Killer!

Hi Guys! I am very stressed. I am running 3ds Max on a very slow computer (Yeah, I shouldn't!). In some calculations it is becoming a real pain in a**. I want to make a process killer special for...

View Article

VS 2012 Converting IP Adresses into 8bit Binarys

Hello. I've started a utility to calculate a list of subnets from an IP address. It's not going to be a variable length subnet calculator. 192.168.0.0 Should be: 11000000.10101000.00000000.00000000...

View Article

[RESOLVED] Test for empty dataset

I've been unable to figure out how to do this although it ought to be really simple. I'm using VB 2012. Code: Dim connection As SqlConnection = clsConnection.GetConnection() Dim DataAdapter As...

View Article

VS 2012 Data And Dates

This may sound pretty noobish cause I never worked with it before, mostly cause I'm a hobbyist game programmer and never work with this stuff, but I'm making a program for a friend that involves saving...

View Article


VS 2010 How to reference a userform created datagridview from another

Hello, my friends. Once again looking for help. On-the-run, I create a datagridview (MYDGV) in my main userform (UF1). I need to populate it with data from another userform. Trying to code it, I get...

View Article

VS 2010 Any way to prevent this "flicker" in an owner-draw combobox?

Hey guys, I've got a combobox control (Winforms) which I've set to "Drop Down List" style (because I don't want the user to be able to type text in the combobox). That works great, but I don't...

View Article


Calling a Sub of the MainForm from a UserControl

Hi, I'm using a UserControl-Collection on my Mainform. Inside those UserControls I want a ClickEvent to call a _MouseUp Routine of the Mainform. I was able to get it working by declaring this _MouseUp...

View Article

[VB2010] SafeHandle

My goal is to set an EXTERNAL window as owner of a my form. This simple code: Code: Dim OldParent As IntPtr Form Load OldParent = NativeMethods.SetWindowLong(Me.Handle, -8, ExtHwnd) Form Closing...

View Article


Project Help

Hello everyone. I was told this is a rather simple project but I have no idea what I'm doing. Allow me to explain. I dont have any prior knowledge in programming, I just know I love computers and...

View Article

Image may be NSFW.
Clik here to view.

VS 2008 Error in Writing data Not sure where my problem is.

I'm showing 2 pieces of code the first one works fine. The second one is the exact same code with one additional item added to it. and it does not work. Code: Sub SaveData()         Dim mycommand As...

View Article

VS 2012 DataSet Table Names Rename

Hey guys looking to name the "tables" in my dataset which is populated from a SqlClientStoredProcedure which is the combination of 4 child stored procedures. Instead of just going by "Table" and...

View Article
Browsing all 27034 articles
Browse latest View live


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