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 ArticleStreamReader 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 ArticleCompletely 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 ArticleSearch 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 ArticleVS 2010 [SOLVED] 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 ArticleVS 2010 Get the visibility state setting of a control when the form is not...
Hello everyone, I'm working on a project where I need to try and get the default visibility setting of controls on a form while the form itself is not visible. It's for a security type feature that can...
View ArticleForm Show/Hide issue question
I'm trying something that I haven't previously had to do: Keep a form in existence for the life of a program, though it will generally not be shown. The reason I'm doing this is that the form is pretty...
View ArticleHow 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 ArticleVS 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 ArticleVS 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 ArticleVS 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 ArticleFrom 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 ArticleWindows 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 ArticleVS 2010 Need help
Hey, i want my application to sit on the start menu bar how can i do this
View ArticleCombobox 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 ArticleVS 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 ArticleVS 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 ArticleQuestion 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 ArticleVS 2010 JSON deserialisation / Conversion to individual String
Currently I have a string that contains data in JSON format. What i Want to do is split these up into their individual components. The messgae string can contain multiple record instances with the...
View ArticleVS 2010 Open multiple files without starting multiple instances...
I have a program that handles a particular (custom) filetype and I can start my program by double-clicking on an associated file. I use My.Application.CommandLineArgs to get the name of the file that...
View Article