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

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

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


VB.net Sybase 12 SAadapter commands

This is the code I am using to connect to my sybase database: Code: Dim DefConn As New SAConnection("UID=" + SQLUser + ";PWD=" + SQLPass + ";ENG=" + Database_Txt.Text + ";LINKS=tcpip(host=" +...

View Article

VS 2012 Copy & Paste through RemoteApp

I'm trying to copy and paste files between RemoteApp by using Code: Dim data As IDataObject = Clipboard.GetDataObject If data.GetDataPresent(DataFormats.FileDrop) Then       For Each s As String In...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Need help Getting some "Text" or Numbers from a Webpage - My Source...

Hi everyone.. I am trying to get the "Numbers" only showen in the Image Above, from a Webpage and into a Listbox. But I simply cant make it work. :confused: .I tried to use a Regex method, but since...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Reading from My.Settings

By the title it sounds simple, but here are some details: I used this code to write to the settings: Code:         For Each A_Word In MainForm.LBoxBadWords.Items...

View Article


VS 2013 Web Browser and popups stop the msgbox

If this is in the wrong forum then tell me where it should be. I am still a hobbyist and am not a programmer where I work but I am a network administrator and was asked if I could make this KIOSK. I...

View Article

DataGridView row selection

I'm working on a film manager program. The below code works when I have it in the PictureBox's method (I've moved it out to the DataGridView's code as you can see), so that when I click the PictureBox,...

View Article


[RESOLVED] Trouble with tab indexes

Wrapped up my project except cosmetics and I'm finding myself spending hours on the tab indexes. Given I don't understand what I'm seeing but if set the tab order via the tab order view or set the tab...

View Article

Nothing vs ""

Dim MyString as string = "" MyString="X" mystring=replace(mystring,"X","") ' mystring is now equal to "" mystring=replace(mystring,"X","") ' mystring is now equal to nothing ' which breaks if...

View Article


Computer player card game help.

I have been looking on the web for some examples of how to create computer players for a card game I made. I have no idea what this is called code wise etc. Can someone point me in the right direction...

View Article

VS 2008 member not found exception

in excel addin i have a form chartdetails : Code: Public Class ChartDetails     Private myChart As Excel.Chart     Private myChartQueryTable As Excel.QueryTable     Public Sub New(ByRef chart As...

View Article

Image may be NSFW.
Clik here to view.

VS 2012 [RESOLVED] Trying to make equal-sized cells in TableLayoutPanel

I'm trying to create a chessboard using a TableLayoutPanel of 64(8x8) cells, each cell to contain a PictureBox. I also want the chessboard to expand and contract as the user grows or shrinks the form....

View Article
Browsing all 27554 articles
Browse latest View live


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