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

Timer + progressbar help

Hello! form1... timer1.interval=4000 'outside Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick timer1.interval = textbox2.text * 1000 'in textbox2 should be written...

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 Placing a shape in front of a picturebox (or an alternative)

Let's say I have a picture loaded inside a Picturebox. Let's say inside this picture we have a car, a book and a computer. When i click or move my mouse over the car, book or computer something should...

View Article

unable forms - help

Hello e.g. 2 forms, I form1 is the main and the form2 is for some preferences opening form2, form1 should be visible @the back, but how to make it unable (disable it, idk what would be the right word),...

View Article


VS 2010 Checksum with Xor

Hi, If some one can helpme with my problem I'll really appreciate. I'm trying ton send a string like "Hi this is the 2nd message" to send it I need to get hex value from each character " 48 69 20 74 68...

View Article

VS 2010 How to load songs to listbox

Hey, i need help i wanna load songs from a playlist in put them in my Listbox in i want the playlist to be stored on my web server how can i do this

View Article

VS 2008 Rows to list or array select ? linq?

Code: Public emailadd As New List(Of String)     Public Function GetEmailAdd()         If Table.Rows.Count <= 0 Then             MsgBox("There is No Data")         End If         For Each row As...

View Article
Browsing all 27329 articles
Browse latest View live


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