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

Scope of variables in and out of procedures

Hi, I have declared 2 variables as integer in main module. The Func(a, b) assings the values to variables a and b. After the function execute, When I try to print the values of a and b, both the...

View Article


VS 2013 Classes and Object - The Emperor's New Clothes?

:confused:Are classes and objects just a modern version of the emperor's new clothes? I learnt to program many, many years ago and, although I have been slowly prodded and shoved towards new...

View Article


VS 2008 Play an audio file over a voice modem

Hi, I've got an app that is an alarm handler, so when an alarm goes off, it indicates on the screen etc. I'd like to dial up to a telephone line and announce the alarm to the person receiving the call....

View Article

Xp and .net access to Oracle

I have a system that touches an Oracle 11 DB. Installing on an XP machine (with the Oracle 10G client) I get the following error: <error> System.InvalidOperationException: The 'OraOLEDB.Oracle'...

View Article

drag and drop problem

, i actually posted this last time but i didnt got a good answers, but anyways i was trying to drag the button1 to picturebox1 inorder for the picturebox2 to show,.. heres the code that i did.. Quote:...

View Article


VS 2008 Passing textbox from form to module

I have an application migrated from vb6 to vb.net. I want to access the text of Textbox1 in SearchFieldsof module. I do not want to pass it as a parameter because I have so many controls to pass....

View Article

VS 2013 Need some slight help [Beginner Programmer]

Afternoon, I'm currently working on a project and currently have a few issues with the peace of code i have written. Code: Public Class Form1     Dim room, roomwithpaint As single     Dim bal As Double...

View Article

DataGridView - detecting Tab in cell edit and canceling

I am trying to detect the Tab key in a DataGridView while the cell is being edited, and then cancel the key. Below is what I am currently doing. Unfortunately, setting "e.IsInputKey = True" is not...

View Article


Problem Displaying bound Data in a Combobox bound to a datatable

Folks, I'm building a Winform app that loads 1 record at a time according to a set of criteria (not relevant to this) in VB Exrpess 2010 I am binding a combobox in code to a specific field...

View Article


[RESOLVED] ListView problem

Im using a listview in "List" mode to display some data. The reason I am not using a listbox is that it doe not have the .BackColor property. The problem is my rows are only highlighting the text, not...

View Article

Multiple API calls at once?

I've put together a trading program that works fairly well, except when I call the API for each currency, I have to do each currency in order consecutively. Because the API from the site is slow to...

View Article

No "Save As" in Visual Basic 2008 - What's the Alternative?

Since there is no "Save as" in Visual Basic 2008 (and possibly later versions), what's the alternative for creating a new version of a project or saving to a backup disk? I tried copying and pasting...

View Article

How to remove border from button?

Hello, I have the command button set to flat which I need. Is there any way to hide the border? Or better yet can the border be hidden until the mouse is over it? I set it to flat so it will be...

View Article


VS 2005 [RESOLVED] Problem with drag and drop reordering of listview items

:wave: I have a listview that is in details view. I want to be able to have drag and drop reordering of items. I got the following code from Microsoft that is supposed to do this very thing: Code:...

View Article

Image may be NSFW.
Clik here to view.

VS 2008 Click on button id ?

Hello guys i want to click a button who got this ID: But i dont know how to figure it out... i tryed Code: For Each Element As HtmlElement In WebBrowser1.Document.GetElementsByTagName("button")...

View Article


Trying to embed GoogleEarth in a VB app

Hi everyone. I'm trying to foind out how to develop a VB app that shows GoogleEarth embedded into it. This is, in a panel of the app, the user can see and intercat with a map, corresponding to...

View Article

How to add CC and BCC email send ?

I recently made this code Code: Imports System.Net.Mail Public Class Form1     Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load...

View Article


Image may be NSFW.
Clik here to view.

Beginner in VB.net needs help

So, I'm new to programming and just started VB.net 2 weeks ago with no knowledge about programming what so ever. I'm trying to make a program for this question given to me in my VB.net class at school....

View Article

Filling in textfields on web page

This is an explanation of what I am trying to do... I want my app to obtain the user's search criteria, search craigslist with the user's criteria and then return the results of the craigslist search...

View Article

Cannot Create New Project in Visual Basic 2008 Express Edition

This all started when I tried to create a new project in Visual Basic 2008 Express Edition. I just got a blank window and an error message about template files being missing. As suggested on threads on...

View Article
Browsing all 27349 articles
Browse latest View live


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