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

Create a class and Use it as an array

Hello everyone, I am back with another question and of course it had to be arrays (This is a nightmare for me) I wonder how important it is to learn arrays 100% because this is giving me a hard time...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 How To Filter Datagridview Without Datasource / Databindings / Database

Good night dude.. I want to filter my datagridview, but i created datagridview manually (No database). This is the datagrid looks like : Call the datagridview as dgv1. I want to view data with Beasiswa...

View Article


Drawing a tiled map flickering

Hi. I'm making a game that draws tiles in a picturebox to form a map, then draws an image with a transparent background, representing the character. The problem is, when the player moves, the character...

View Article

VS 2008 calls procedures

hi, i have mixed a piece of code i found with a simple variable code i made: Code: Imports System.Runtime.InteropServices Module inimod     Public Class IniFile         ' API functions...

View Article

Insertion sort

Anybody know a basic pseudo code algorithm for the insertion sort? And if you like the basics of VB code for the insertion sort. Thanks for your time :)

View Article


Image may be NSFW.
Clik here to view.

VB 2010 Com Exception

I'm trying to learn a bit about Excel Automation from one of the topics on the Microsoft site. Their actual code seams to be throwing an exception as shown in the attachment. Can somebody please...

View Article

VS 2010 Error in VB!

Guys, i need your helps! I'm a newbie in VB language. I have a code with an error which i can't resolve it: Code: Private Sub UserForm_Initialize()       If Weekday(Of Date)() = 1 Then...

View Article

VS 2013 US to UK Date?

Hi, Trying to convert a Date from mm/dd/yyyy to dd/mm/yyyy using Code:     Public Function USToUKDate(ByRef USDate As String) As Date         Dim Newdate() As String = USDate.Split("/")...

View Article


Excel Connection Failed

Hi, I had a Excel2003 on my laptop and this connection worked fine.. Code:     Dim _Obj As New ExcelConnectionGPRD1.ExcelConnectionGPRD1             _Obj.ImportAttendence(FrmProjectSetup.Txt_Path.Text,...

View Article


Inputbox validation i can make it to work..

Private Sub Entra_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Entra.Click Dim message As String 'validate the login If txtuser.text = "david" And txtpass.text = "12345"...

View Article

VS 2010 Combo box like text box

Hi I am new in vb.net but I have experience in vb6 I am using combo box vb.net 2010, with autocompletemode = suggestappend autocompletesource = ListItems and dropdownstyle = dropdownlist my combox have...

View Article

VS 2010 Multi Column Combo box

Hi there, After investing lot of time, I am now posting this threat. can someone help me how to create multi column combobox in vb.net. I surffed on web but couldn't find any sample project of example....

View Article

VS 2010 Select statement query throwing OleDbException error

Hi I am trying to create a paging system and came across a tutorial that included code for achieving this. However, when I run my query, it throws the quoted error. I have double checked code but...

View Article


VS 2012 Date range select returns wrong answer

I am using the following code to return values that lay in a date range, but when I test my answer, it is wrong. It is always returning less that what it should. I may expect to have 14 rows in the...

View Article

Change project from location

Hi, I changed my vb 2005 project from computer. In this new computer I cannot open the solution. It says that the solution is not valid. Here is the code inside the solution: Microsoft Visual Studio...

View Article


Unrar dll sample code

Hi, Does anyone has an example (in vb 2005) of how to work with the unrar dll to extract files from it? Thanks

View Article

VS 2013 Multiple EnableDesignMode controls??

I am using the ControlDesigner class and want to know how to use .EnableDesignMode for a heap of controls ... For one control per property it works fine... But what if I want a collection of controls,...

View Article


50 Textboxes

Hi guy's I am thinking about writing a programme for work. But it will require the user to input about 50 inputs. Do I have to put 50 Textboxes on the form or is there a better way, say like a grid...

View Article

Excel Connection String

Hi, I developed a .Net Application and on my laptop had Microsoft Excel2003 installed and it worked fine. I have an excel connection as shown; Code: Namespace ExcelConnectionGPRD     Public Class...

View Article

VS 2010 Picking categories from text files

How do I pick a word from this text file such as INSECT and then letting the program choose a word beneath it at random such as CRICKET? "HOUSE" "PORCH" "STAIRS" "KITCHEN" "BATHROOM" "CLOSET" "INSECT"...

View Article
Browsing all 27329 articles
Browse latest View live


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