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

Squared Sum

Write a program that displays the sum of the squares given the range of integers by the user. This is what I got. The problem is that it won't display anything. Private Sub btnAnswer_Click(sender As...

View Article


checkbox help

What i'm trying to do is, when i check a checkbox (which are the toppings for my pizza, im making online pizza menu) I want them to show up in a large label next to it. What i produce is when i select...

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 regex but did not really...

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

Split recalled text in 2 lines

Hi, I am more-less new in programming, so I need a little help, even though the question may sound trivial. I am making a program in Visual Basic 2010 Express to help me learn German. I have made it...

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

VS 2010 MS Access and datetimepickers

Hello, I have a form containing a datagrid and 2 datetimepickers. In the datagrid I want to show data from dates between the 2 datetimepickers (including the date in the datetimepicker) I use the code...

View Article

VS 2008 Problem in code

Hi to all, I have a problem here with my code, lines marked as bold, once the code pass throught the lines and don't do anything, i mean the motor should stop but don't stop....I think the loop is very...

View Article
Browsing all 27355 articles
Browse latest View live


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