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

VS 2010 [RESOLVED] Keyboard Tab Key Control

Hi, I have a form in which there are 11 text boxes and two button controls(Just example) ,I want the tab key control to be in the textbox1 when the form loads ,and then If I press Tab Key from keyboard...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Projector control software

Hi, I want to control the projector through software with LAN/TCP, which i want to write in vb 2010 I wrote small code to send the command to projector to increase brightness. It is executing properly...

View Article


open a new form from form 1

Hi! i create two form 1) customer and 2) chedetail now i want to open form chedetail from customer form with custid and both table has relation with custid thanks

View Article

update changes from DataGridView Back to DataTable

hi i have a datagridview in my form that it get Data from a datatable ( a dataadapter fill this datatable from a sql database ) i change some data in datagridview (for example add or delete some rows ,...

View Article

VS 2008 [RESOLVED] Question about PrintDialog

When a print dialog is shown to a user, how can i determine which button the user has clicked on i.e. the Print button or the cancel button PrintDialog1.Document = PrintDocument1...

View Article


How to fill String with 0x00

Here is VB6 code that fill String with 0x00. Private Const cMAXLEN = 255 Dim strLCData As String strLCData = String$(cMAXLEN, 0) How to make VB.NET code for this?

View Article

Printer Status using it as a variable, if x then y

I am trying to get get the status of a specific printer stored as a variable so something happens when it is printer, or idling, etc. I am able to retrieve the status of all the printer connected to my...

View Article

VS 2008 Form not starting center screen.

The property of the form is to start center screen, but it is appearing in a random start position. Any ideas?

View Article


[RESOLVED] Member and property with same name

This may sound like a bizarre question coming from me, but can somebody with VB and C# experience tell me whether it is EVER reasonable to have a class with a public data member and a public property...

View Article


Logging live streaming data...

I have data coming in a Serial Port at 50-70 times per second, I would like to store the data coming in line by line in a text document for future use... suggestions on the best way of doing this while...

View Article

VS 2010 Delegates for menu item click events

Hello All, I am trying to create a general class which defines a function to create menus using code in vb.net 2010. Everything works fine till i have to assign a sub to respond to the user click...

View Article

[RESOLVED] ListView: Pulling selected item's text

This problem is really starting to annoy me. What is the equivalent code to get the text of a selected item when using a ListVIEW to the ListBOX code of 'ListBox1.SelectedItem'. Super easy to, when...

View Article

First try at arrays

Hi, Can you start me off - I got paper and pen but not sure where to go with that either. Have been learning arrays or trying to! My topic: The application should allow the user to enter seven digits...

View Article


Newbe. Random word guessing game.

Having a heck of a time getting this to function the way I want. Should be just a basic generate number, guess what it is, count number of guesses, and let the user know whether to guess higher or...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 How can i make something like this

I need help i wanna make something like this can you help me on what i should use to make it work Attachment 97653 This is how far i got on my program Attachment 97655 Attached Images    

View Article


VS 2010 Issue remeber checkbox

I'm using mybb to login to my application in i wanna add a remember check box This is inside my button Code:         If ReactorCheckBox1.Checked Then             My.Settings.Username =...

View Article

VS 2010 Updating dataset/datarow if data is populated from stored procedure

Dear All, I am using: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 Microsoft Visual Studio 2010 : VB Express Microsoft .NET Framework : Version 4.0.30319 RTMRel When I populate dataset...

View Article


VS 2010 index all file in database

Hi I need a source that search in all of my hard , cd , flash,.. and insert name of files by any type ( like: a12.txt) in a filed and insert file location (like : d:\b2\ ) in a filed of database...

View Article

Datagdrid control

Hello, i am new to vb.net. I want to use datagrid control. Where i can edit/modify,delete cells like an excel file. Currently i have used some code for it cell is editing but column wise movement is...

View Article

VS 2010 File Read Error

I keep getting my catch error for the main try " MessageBox.Show("Error reading file 'teams.txt' ")". Can someone please help me? Code: Public Class ReportForm     Private Sub ReportForm_Load(ByVal...

View Article
Browsing all 27212 articles
Browse latest View live


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