Form 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 ArticleVS 2010 Specific Letters for Textboxes
Hello Does anyone know the code to only allow certain chacters to be inputted into a textbox. Exmaple: The user can only put 1 letter in a textbox, the only letters allowed are I, S, E, R As on a...
View Articlehow exactly do i add a sound to a button in VB2010?
i saw somewhere you can use wmp component in visual basic and use that to create a sound but what i did was, create a button, put an icon on it, and now i am trying to add a sound to the button. Im...
View ArticleVS 2010 How to insert value to string key or create a string key inside a...
I want to insert a string value to a string key which is existing in a specific registry key like this Look i want to insert value for InstallPath which is a string key how can i do this and also i...
View ArticleVS 2010 Help with web requests
Hi, I'm trying to get a project up and running, but am not having much luck and could use some help. I'm wondering how I can connect to it and send it GET requests and read the response. I'm receiving...
View ArticleIs it possible?
Hi guys, okay I just dig a lot together with Mr. Google regarding of resizing and reducing images file. However, what I'm facing is not just a typical image file it is a satellite map image which is a...
View ArticleVS 2010 [RESOLVED] howto add value from database in form without textbox?
Dears I know how to retrieve data from my database and use it in my form. what I want now is that I put the value in printing in my form example average fuell consumption : 5,5 ltrs /100 km where the...
View Article[RESOLVED] somproduct
In excel you can use the formula sumproduct is there a simular function in vb that allows me to the same thing thanks for your feedback Paul
View ArticleError while Obfuscation
We have developed project using vb.net for our internal purposes and then we obfuscated it. It is throwing error as mentioned below. Public member Var1 on type e not found. Code: Public Sub...
View ArticleVS 2008 Eof
Hi guys , I've been messing lately with codedom and reflection. Lets say I compile my code and I want to display a messagebox but the message data is written as bytes at the end of my executable (EOF)....
View Article