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

VS 2008 [RESOLVED] Function that retrives a datatable from a sql statement...

Hi All i need a bit of help with the code in this function. basically what the function does is return a datatable which is a result of the Sql query that is sent to the function Although it works, I...

View Article


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


[RESOLVED] Excel Add-In: Showing UserControl, VS2012

So I'm working on learning VB.Net and VBA as additional languages. I must clearly be missing something simple from the MS example, because I can't seem to get my user control to pop up: Code:...

View Article

VS 02/03 [RESOLVED] Code Question Visual Studio 2010

Not sure if this is the right place but here is my issue. My function "SalesTax" is only supposed to return the cost of sales tax on parts. The function "OtherCharges" covers both parts and labor so...

View Article

VS 2010 Attach Script to Process to Debug

Hey, I am working with a program that uses scripts to generate reports. I found the scripts in the reports directory and am just playing around with them to try and get what I need. The script is...

View Article


How do I detect a key press at run time ?

Hi, I'm trying to detect a 'Return' key press but can't find how to do that. Reading a character typed into a Textbox is simple, but I can't detect the 'Enter' key. I tried to detect it at any time,...

View Article


VS 2010 [RESOLVED] windows service could not load file or assembly

I have created windows services before and able to load. For this windows service solution I have two projects. When I build the project it creates the following files: base.dll, service.exe and...

View Article

Process, app activate - help

Hello Whats the most efficient/best way, to open/activate a process/application that's already running and close it afterwards?

View Article

MouseClick doesnt work together with MouseMove...

Hello, I have this code. When ever i move my mouse over a button, a picture appears and the picture also moves with my mouse cursor Code: Private Sub Form1_MouseMove(sender As Object, e As...

View Article

I need help returning multiple values from a function

Here is the code I am trying to make work. Please show the missing or correct lines of code. Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)...

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

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
Browsing all 27554 articles
Browse latest View live


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