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

VS 2008 regsavekey

Hi everyone , I've been messing with this api : http://www.pinvoke.net/default.aspx/advapi32.RegSaveKey And I know you have to open it first with RegOpenKey. I tried few solution but yet I can't figure...

View Article


Savings account Class

I am new to the site and I am having trouble with my code. below is the question and the application I am trying to do. Create Class savingsaccount. Use a shared class variable to store the...

View Article


picturebox

Hi All, I have a question about a picturebox. I have 52 pictureboxes (cards 2 to A) 4 x below of my program i have 7 pictureboxes hand (2) Flop(3) turn(1) and river(1) Now when i click a picturebox for...

View Article

VS 2010 End of statement expected???? help please

ok, so i made 2 panels with atletic jerseys and electronis and 2 check boxes. If you click a check box it is suppose to show panel 1 only and if you click check box 2 then its suppose to show panel 2...

View Article

Newbie here, I have two quick questions VB2010

Hi to all, my first question is 1.) What is the difference between Dim, Double, Decimal and Integer? When declaring the variables in your code? if you can name a few more with their definitions that...

View Article


Image may be NSFW.
Clik here to view.

StreamReader n StreamWriter with Config files (.ini or .cfg)

I wrote a little routine to read info from a config file & it works great. I am a little disappointed that I cannot simply search for a key word & write to the line I want on the fly. With the...

View Article

Completely and utterly lost creating program VB2010

Hi to all, I have to create a program that calculates car payment, I am totally lost here is an example of what the form design looks like: Price: down Payment: Annual interest rate:...

View Article

Search and Replace Strings in a Text Box

I need to upon the click of a button(I can induce via click event) take several sentences (lets say 5) that are stored within 5 variables (CLASS LEVEL) and replace certain sentences within a text box...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 maximised form covers taskbar

Hi folks. Windows 7 starter(for netbooks) does not allow wallpapers, so I am trying to create my own wallpaper app. I want the form to have no borders and to fill the visible desktop but not cover the...

View Article


How to convert numbers in VB2010

ive written my code and it converts liters prices to gallon prices but the result i get is to long for example in my code I wrote: conversion.text = val(liters)*3.78 (by the way the liters price in my...

View Article

VS 2005 What is wrong with this code

I have a form, with a DGV, textbox and a button. On the load event of the form: i have the following code. Code:   dsSql2.Clear()         Dim selSale As String = "select top 1 Sale_Date from SaleInfo...

View Article

VS 2010 [RESOLVED] Draw String

I have a transparent form and am displaying text via the Paint Sub on a Timer. Here is my code: Code:     Private Sub TextForm_Paint(sender As Object, e As System.Windows.Forms.PaintEventArgs) Handles...

View Article

VS 2010 Form lose focus - exit?

Hey. I've made a little handy tool that what it does is when I use ctrl + 1, it will open a new form which is almost invisible and will focus on the textbox. When you write something and press enter,...

View Article


From textbox to Word document

i found something to write text from a textbox to a textfield in a Word doc , but it is not working. The field i called Text1 It opens the Word doc but that it , what am i doing wrong ? Or maybey a...

View Article

Windows API (MouseEvent) not working in some programs

Hello everyone, I have been programming for a while now, and I usually use the MouseEvent API to make left mouse clicks. However, for many years I have wondered why this does not work within certain...

View Article


VS 2010 Need help

Hey, i want my application to sit on the start menu bar how can i do this

View Article

Combobox in DataGridView - a miracle!

I need to transform one datagridview column to combobox. For that I download from Visual Studio Developer Center / How Do I Videos for Visual Studio 2010, this tutorial (.mp4) :...

View Article


VS 2010 String to Char error

Hi Guys, I have a problem in one of my functions: Code:         '// FIRST THING IS TO SEPERATE AND SORT THE STRINGS         Dim credentialsSplit As String() = urlLogin.Split(Convert.ToChar(" "))...

View Article

VS 2008 datagridview drop down field flexible like access

Hi all is there any way to make the datagridview drop down field flexible like access (with the ability to write or select ) ?

View Article

Image may be NSFW.
Clik here to view.

Question About a Homework Assignment

Hello All, Edit: We are using Visual Basic Studio 2010 Express in Class. I have been out of school many years, recently re-enrolled, and am having a little bit of trouble with a homework assignment:...

View Article
Browsing all 27186 articles
Browse latest View live


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