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

Not listening. You must call the Start() method before calling this method.

I was using this nice little snippet of code on a Windows XP Pro machine before lunch and it worked perfectly. I then went out for a bite and came back and started testing it again. But now all of a...

View Article


VS 2010 Set VB .Net IDE to build all projects in solution when starting...

I'm having a problem with the IDE. I have right now 5 seperate projects in my solution. The main project references 2 of the other solution projects and those compile just fine if I make changes and...

View Article


VS 2008 printing multiple pages

So, this printing thing is blowing my mind. I work for a lab and want to print samples that are analyzed for dye. If I print one at a time by typing the sample numbers in one at a time and print each...

View Article

Image may be NSFW.
Clik here to view.

How I prevent mySQL Exception Timeout happen?

I have use VB 2008 Express function to port a big MySql database into a DataGridView table: Code: Function ScanDatabase()         Dim str_SQL As String         Dim Result As Boolean = True         If...

View Article

VS 2010 regdb_e_classnotreg(0x80040154) Error trying to connect to Access DB

I have a program that checks for a value in an Access 2007 DB with one field and one value in one table and one field and one value in another table. It works on the other computers I've tried, and it...

View Article


VS 2008 Linq Where Clause with Sum

I have a List of CustomerAccount called AccountsList, in CustomerAccount are a few fields which two of them are AccountInvoiceType and AccountInvoiceTypeVal. To get the total value of all the Invoices...

View Article

VB.Net Application Internet Connection

Hello, I want to create an application that a user can use at his work location but that will need to connect to a database hosted elsewhere. I don't want this to be a website but rather a windows app....

View Article

VS 2008 Adding background image and text to datagridview control column header

Hello, I found this code which adds an image as a column header background image. Is there a way to show the header text also? Thanks! Code:         myImage = New Bitmap("c:\grd_head.png")         If...

View Article


VS 2008 Can I resize datagridview height to show all rows?

Hello, After the data is loaded in a datagridview control is there any way to resize the control to show all rows by changing the height? I need to load data and capture an image of the control with...

View Article


VS 2008 mod math question

This makes no sense to me. The mod fuction is suppost to return the remainder of a division problem. It isn't for me. I have tried just about every combination of dim'ing the variables as doubles or...

View Article

VS 2010 PowerPoint 2010

Hi, I want to use this code to make a movie from PP Quote: Sub TestCreateSampleVideo() ' Change the file path and name as required. CreateSampleVideo ActivePresentation, "C:\TEMP\Video.wmv" End Sub Sub...

View Article

icons to load project

I use vb.net and vc.net for vb.net I use a pale orange background to the editor and for vc.net I use dark blue. I alternate often between writing code in either. but each time I change systems I must...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Rich text box does not show text in text file-What am I doing wrong?

Hi, Now I am trying to read text from a text file and display it in a rich text box on my form. However nothing shows up in the box. I can select the file properly (extension .fm6) but no text appears...

View Article


Using FinText API from VB.Net

I would like some assistance with calling/setting up FindText from VB.Net. I am getting CDERR_STRUCTSIZE from the following code (it lives in a form with various controls/components namely a...

View Article

question about add a property under columns() property in Datagridview

hi yesterday i asked a question related by creating new class and inheritance. some friends answer . but in an exercise i have a problem. in Datagridview there is a property named Columns . it can used...

View Article


Removing specific chars from listbox

Hey Guys, i generally want to make an application, which loads a textfile (the file contains some number combinations and unwanted chars in each line, like "12335243</br>"), removes all...

View Article

VS 2008 Decoding characters obtained from web pages

I am downloading pages from the web using a variety of methods, including this: Code:           Dim URLString = "http://www.example.com/page.htm"           Dim MyWebClient As Net.WebClient = New...

View Article


Displaying number in the textbox

There is a TextBox which have focus. If press number(0~9), that number should be displayed. I should do this in keydown event. If click number, currently pressed number should be displayed, not...

View Article

Need help with calculator app

I am new to VB and am stumped on how to get this calculator app to display a message in the result textbox if the user enters a principal amount less than zero. I am sure this is something simple, but...

View Article

Comapre 2 INI files

Hi all, I having a hard time to comapare 2 ini files here, can anyone please help me out with it ? What i'm trying to do it compare 2 ini files together where both are have same sections and same keys,...

View Article
Browsing all 27554 articles
Browse latest View live


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