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

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 [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 Article


VS 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 Article

Just 1 question > little help

Hi every one > i have this code Code:     Dim p As Process() = Process.GetProcessesByName("game")                     ' I'm assuming p is a Process object that represents the game process....

View Article

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 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


VS 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 Article

Is 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 Article


VS 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 Article

Error 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 Article
Browsing all 27512 articles
Browse latest View live


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