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

VS 2010 How to remove comments in simple compiler

I have to create a simple compiler as a project and need to know how to remove comments from a text box input on a button click. I currently have the following piece of code to remove the blank lines...

View Article


VS 2010 Delegate FtpTransferProgressEventHandler

I need a bit of help please I'm using the Pivo.FTP.FtpClient and can get it to do the basics, but now I'm stuck. I want to use the FtpTransferProgressEventHandler, but have no idea what I need to do. I...

View Article


excel file read query

hi i have started a topic on this before but can seem to find the post in my profile. anyway i have code that read my excel file here is the code Code:     Private Sub btnRead_Click(ByVal sender As...

View Article

VS 2010 How can I do this?

If I want visual basic to talk I will make this: HTML Code: Dim SAPI         SAPI = CreateObject("sapi.spvoice")         SAPI.speak("Do you want to be moved to credits page?") but what about if I want...

View Article

VS 2008 Drag And Drop From A Toolstrip dropdown Item

What i am trying to do is drag the text (or create the impression of a drag) from a dynamically created toolstrip menu item and then place a button on the form at the point where the user releases the...

View Article


Mysql

Look I am trying to read many posts but I need someone to reply on me please ! I made a register form and I want every Username and Password is putted will be saved, any idea how?

View Article

Radio Button Problem

Can anyone tell me why I am not able to select 2 Radio Buttons at the same time. In this program I am suppose to select a doughnut and a coffee choice but when I run the program I can only select a...

View Article

VS 2010 Licensed setup

Hello Guys, Is there a way to create a licensed setup so that if I want only 5 users to install the application it should be installed on the 5 machines only. Apart from that more interesting challenge...

View Article


Connection from vb.net 2012 to mssql server 2012

Hi all, please can anybody give me a guide that how to make a connection to database, what asi know is Dim sqlconn As SqlConnection ================================================= Try sqlconn = New...

View Article


VS 2010 DataGridView Assistance. Selecting next row/call

Hey, Here is the problem I am having. I have a datagrid view where some of the row's visibility is set to False depending on the users input. That means that it is possible for the first 3 rows to have...

View Article

VS 2012 Is Intellitrace worth the extra $$$?

:wave: We're going to be doing a new project soon in VS2012. I have read about Intellitrace, and how that it's only available in the 'ultimate' version of VS2012. So I'm wondering if anybody has an...

View Article

VS 2008 When opening Form auto generate Next number in field from SQL List

Hey I am REALLY new at VB and teaching myself as I go. I have run into an issue and not been able to find a solution so far. What I want to do is when I open my new work order form the form generates...

View Article

Visual Basic help

I need help making 2 forms 1 ) Create a function that takes an array argument and returns the lowest number in the array. 2) Create a function that takes an array returns the average I need to make...

View Article


VS 2010 Remove a specific character from a string

Okay, so I'm trying to validate a string which is a name so that it the user accidently entered a space at the end or beginning it'll remove it. I have this code Code:         If...

View Article

Function(n) - LINQ

I'm not to familiar with LINQ, so I'm trying to familiarize myself. I'm starting by finding examples that were posted here on the forums. One example is this thread, where I posted a solution that's 19...

View Article


write to an excel files

hi i have a class with alot of acc numbers and text for example value=100 text=hello value1 = 102 text1 = world etc what i want to do is when i click a button it writes them out to an excel file in the...

View Article

writing to excel error

hi i have this code Code: Dim oExcel As Object         Dim oBook As Object         Dim oRow As Int16 = 0         oExcel = CreateObject("Excel.Application")         oBook = oExcel.Workbooks.Add...

View Article


Display items from listbox to listbox over different forms.

How can i display items in listbox1 in form1 to listbox2 in from2. Thank you

View Article

VS 2012 [Help]Text Font Properties

I'm currently working on a program and I got stuck on a feature I was wanting to add. What I'm wanting to do is send text to a mySQL database and return that same text in the font that it was...

View Article

VS 2010 My general Question thread about VB Coding! [General Questions &...

Hello guys, I am learning VB at the moment and I thought its better to do one thread for all questions instead of creating a lot of threads :-) My first question: How can I define a MsgBox after...

View Article
Browsing all 27329 articles
Browse latest View live


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