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 ArticleVS 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 ArticleVS 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 ArticleXp 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 Articledrag 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 ArticleVS 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 ArticleVS 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 ArticleDataGridView - 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 ArticleProblem 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 ArticleMultiple 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 ArticleNo "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 ArticleHow 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 ArticleVS 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 ArticleVS 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 ArticleTrying 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 ArticleHow 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 ArticleBeginner 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 ArticleFilling 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 ArticleCannot 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