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

VS 2008 Insert Into Access Database , Syntax error in insert Statement

hey all, i need some help with access database !! i've been working with SQL Server 2008 and it was all fine, but now i'm required to use access database here is my code, and i keep getting same err :...

View Article


VS 2010 WebCam select Video Source dialog

I made an application which is capable of taking WebCam snapshots, the problem is that when my application is ran I get a Windows dialog saying to select a video source. I saw somewhere on the Internet...

View Article


VS 2010 How to avoid MDI child move out from MDI parent client area

I want to make my form divide into 3 like this Code: --------------------------------------                     Splitter1 --------------------------------------                     MDI Parent...

View Article

VS 2010 Print chart problem

Hello, I 'm trying to write e code to print (to printer) the results of some calculatios and a chart in the same paper. Since I could not do it, I've been doing a lot of research. I ended up with a...

View Article

VS 2010 MSCOMM in Vb 2010

Hello Guys I am new in using serial port, my idea is to Turn "ON" and "OFF" the LED using an Rs-232 I did some search here but no luck.. could you please enlighten me regarding this matter? I saw in...

View Article


VS 2010 ListView Items and Text from CSV File.

Hi. How can I populate a ListView with a CSV file? My CSV file is like this: John,Image1.bmp Kenny,Image2.bmp Jimmy,Image3.bmp The first value is the Text of the item. The second value is the image's...

View Article

VS 2010 White space in applications

In Visual Basic.NET, what is the main convention with white space? Where should it be used, and how many lines?

View Article

VS 2010 Visual Basic Destructor

In Visual Basic.NET, am I correct in saying that the following code is correct for a destructor? Code:     Protected Overrides Sub Finalize()         MsgBox("Finalize")     End Sub I am asking this...

View Article


System.Diagnostics.Process.Start in Windows Service

hello, I am trying to run another .exe program which has a simple windows form from within a windows service but i am getting no response. not even an error. if i copy the same code and try it on a...

View Article


[RESOLVED] Compiled exe not running on other computers hanging.

Hi I have a odd problem well I have not cos the exes run find on my system. anyway I made a cookie cleaner yesterday that in the code bank I sent it to a friend who I know has the framework installed...

View Article

Image may be NSFW.
Clik here to view.

VS 2008 Problem Insert Data into SQL Server 2005 from VB.NET

I am trying to insert data from VB.NET into SQL Server. I am using Visual Studio 2008 and SQL Server 2005. When I press the submit button, it shows the message "Successfully Added". But I checked...

View Article

Optimize & Handle Serial Port Reading Data

Dear Everyone! I'm a starter in vb. My project is reading data sent to com port from multiple devices connected to it. I wrote my code and it works good, but it seems it can be better and I want to...

View Article

VS 2010 Object reference not set to an instance of an object error c#

Hi Expert, I am a beginner in visual c#, i have a problem while running this code string Code: namespace sampleprocess {     public partial class main : Form     {         public main()         {...

View Article


adding data to database manually?

Code: Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click         Dim MyConnection As OleDb.OleDbConnection = Nothing         Dim MyTransaction As OleDb.OleDbTransaction...

View Article

VS 2008 Printing a form

I'd like to ask something which might be ridiculous , but - who knows - maybe it's possible :) ! So , is there a way to print a form on a printer ? I don't know if there are any improvements or...

View Article


Fill a Combo box from a dataset

Hello again. Still pretty new to vb 2010, but starting to understand it as I use it. I have a problem with filling my combobox, which I fill from a dataset. I can get my list to show in the combobox,...

View Article

add datasource to dynamically created DataGridView

Hello, In my form I am dynamically creating a tabcontrol with various tabpages. each tabpage has a dynamically created DataGridView. If the tab page is called 'page1' the DataGridview is also called...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 How to detect character position (index) of click in RichTextBox

I'm making an app that allows the user to easily write words/phrases/sentences in phonemes. I made a series of buttons and put a picture of the phoneme on each one and copied the SIL Manuscript...

View Article

VS 2010 HtmlAgilityPack getting page title and H1 tags

Hey all i am trying to get the page title and H1 tags from a webpage by doing the following Code:     doc.LoadHtml(htmlSourceCode)     txtTitle.Text = doc.GetElementsByTagName("title").InnerText()...

View Article

VS 2008 Trying to read a text fule but have a problem

Hello, I was trying to read a txt file in VB.NET but it would only read the first few characters no matter how I did it. I opened the txt file in Word and saw it stopped reading when I got to a square...

View Article
Browsing all 27554 articles
Browse latest View live


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