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

VS 2010 Memory leak caused by drawing?

I'm observing a memory leak in my project and I do believe it is caused by the way I'm drawing. My present usage was: Code: Private Sub MyPictureBox_Paint(ByVal sender As Object, ByVal e As...

View Article


Display records in combobox

Hi! I have two radio buttons, and two comboboxes and one textbox. On load of the form, I can display the records of students belonging to highschool, but when I click the other radio button for...

View Article


[RESOLVED] Best way to talk to a service over LAN

So here is my situation: I have created a service application that was installed on all the computers by group policy on a domain. Service looks for a file sitting at a shared location in a text file...

View Article

vb.net How to keep gui functional while webbrowser is navigating

Hi, i'm italian , so first of all sorry for my bad english. I want to keep gui functional while webbrowser is navigating. When I run my program, the gui freeze until webbrowser is completed, so the...

View Article

id of inserted register in SQL Server

Hi, I have this process that inserts a register in one table and then another register in another table. The thing is that the one in the second table must be referenced the id of the register from the...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Copying text help

Hello VBForums, i need some help with this program i am trying to create. I have like no idea on how to do this, i also have close to none experience with coding I am trying to make it, so when i press...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Copying text help, Saving data.

Hello VBForum, Its me again, and i am wondering if its possible to save the settings on this thing. So, is it possible to create 2 buttons to save and load the text that is in textbox 1 - 10? If it is,...

View Article

Print Datagrid on multiple A4 pages

I have tried to print a datagrid content using the ff code. It only prints half the A4 page. Sometimes, the printed data list order is in reverse. What causes this? I want to print all content of a...

View Article


working with arrays

I'm very new to VB and a student of about a month. I've created the below code and it just doesn't work. Having already spent 2 days on this and tried many, many variations of code, I'm just lost. I...

View Article


VS 2012 Opening 1 form and closing another

Code: Private Sub btnOKfrmTieSelection_Click(sender As Object, e As EventArgs) Handles btnOKfrmTieSelection.Click         frmTieDataInput.Show()         Me.Close()     End Sub I would like to close...

View Article

need help with printing with out preview dialogue ??

hello every one :wave: i'm using vb.net2008 and the RDLC reports and MS access i have made my DB application and every thing was awesome . now i need for method to get rid of the print preview...

View Article

VS 2010 Caption From Mouse Click

Ok, so currently I can get the caption of a window from the mouse position, but how can I get it from just a mouse click? Code: Imports System.Runtime.InteropServices Public Class Form1     Public...

View Article

VS 2012 Help: How to share a variable between subs?

('inserts long story of how he is a noob') When i was in school my teacher told me that using global variables was something to avoid at all cost. I'm trying to call the variable from another sub, and...

View Article


Open a file from inside a DLL and use/close it outside results in "bad file...

I've created a dll that contains alle my functions and procedures i've build over the last decades. Even old Clippercode has recently been converted to .NET and put into this dll. Most functions work...

View Article

VS 2010- Moving files

Hello to the communtiy. A few days ago, I installed VS 2010, using Visual Basic as the primary language. Since I am still new to this, I have faced a problem. I have created a new project and they have...

View Article


VS 2008 Create a tool that will builds an exe ?

Hi, i seen a tutorial a while back that showed how you build a hello world exe from withing another .net tool For example you have a project with a button, you click the button and it asks for a name...

View Article

VS 2012 Dictionairy - Dual entries?

Hello everyone. I've declared a new dictionairy in my class: Code:         Public Items As Dictionary(Of Integer, ItemData) And I also have this class inside my class: Code: Public Class ItemData...

View Article


Why is this a Circular Dependency

I have three projects in my solution. Lets say one is called "WindowsApplication1", and one is called "Messenger" and the third "ClassProject". I need WindowsApplication1 to be able to use methods from...

View Article

Basic XOR help

Hey, I have 2 binary strings e.g. "0101001" and "11100" They are different lengths and can change Sometimes, when I try and XOR them, I get non-binary numbers e.g. 9 and 8 in the answer Why does this...

View Article

VS 2008 Controlling Internet explorer from VB.net

I'm using VB.net to fill out internet explorer forms. After the form is filled out I have to click on the "Search" button. Code: <td  align="left" width="113px"> <input type="button"...

View Article
Browsing all 27351 articles
Browse latest View live


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