[RESOLVED] calling an EXE, not working out
Now ive seen a few ways to call an exe at a specific path. Like Process.start("path") but the software im calling is the software we make at my job. It errors out and all this junk its quite annoying....
View ArticleVS 2012 GetAsyncKeyState help
Hi, i have a problem with my hotkey using GetAsyncKeyState. I use ctrl, shift and A for the hotkey but the problem is it still works with only Shift pressed. Why aren't ctrl and A working? Code: Public...
View ArticleStarting a process
As part of a program I am updating, I need to have a really really old program called labcalc to run. I have installed a program called dosbox to run it and it works well by opening and closing before...
View ArticleVS 2012 Trying to understand events & form controls
OK, I've got a very simple experimental form with two buttons. Clicking the first button sets off a While...End While loop (takes about a minute). The second button just does as Consonle.Beep, nothing...
View ArticleVisual Basic Drop Down List Default Text (Not Menu Item)
Ok first off I have tried to search for the answer to this but I'm not finding anything (even though I'm sure it's been answered before) I will admit that I'm new to Visual Basic but I have been...
View ArticleExcel and SQL data
I have a Form which calls to an Excel document. This is the output to a try...catch that spans the Excel App which feeds a SQL Statement. Error code: "Overload resolution failed because no Public...
View ArticleVS 2008 [RESOLVED] Error in Data Retrieval
I am getting this error: Not sure but i believe it is the sql code Just not sure how to debug it and fix it. ErrorSystem.Data.OleDb.OleDbException: Data type mismatch in criteria expression. at...
View ArticleVS 2012 [Help] How To Insert Controls Into RichTextBox..?
hey guys.. Would someone please help me Inserting Controls Into RichTextbox?! i have googled alot for this.. and i have found this project.. http://www.codeproject.com/Articles/...control-the-OL This...
View Article[RESOLVED] Issue with preventing 3 numbers in a row
I've went back to my Bejeweled project and I'm currently stuck loading the gems. Right now I call: Code: 'Nested Loop for each picturebox in the board array For x As Integer = 0 To 5...
View ArticleVS 2008 Nedd help on vb.nets database code instead of older vb6.0
I had been used to using the convention of the older VB 6.0 database connections and code. I have been told to start using the new conventions , so I have anew project I'm starting and I need some...
View ArticleVS 2008 Need help with top down shooter
Code: Private Sub shoot(ByVal sender As System.Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MyBase.MouseClick Dim num1 As Decimal = 0 Dim num2 As Decimal = 0...
View ArticleVS 2012 Can someone help me get this Screenshot form working
I have explained how i want to get this working in the code but i am stuck and need someone to help me with the code to get this to the way i want it, you will make my day if you can help Code:...
View ArticleNeed help telling when an event has changed
I'm just about finished creating a diving competition program in Visual Studio 2010... It has well over 2,000 lines of code in 5 different files that I've attached. I'm stuck though on trying to figure...
View ArticleVS 2010 [RESOLVED] Get Entire Node Path from Database without using Treeview
Dear Experts; I have a table for the data storing of treeview. Now, the challenge is I need to get the full path of a node without using treeview; how to achieve this I am bit confused, any help will...
View ArticleCollision troubles
Greetings, I am making simple Pong application using just one picturebox, which is used as an canvas for everything happening. The code for collisions is : Code: Public Sub Collision() If...
View Articleresetting question!!!!
hello! my question is how to reset a private sub, I'm not sure if I'm saying it right, but here is an example, Code: Private Sub btnOne_Click (...) Handles btnOne.Click lblOne.ForeColor = Color.red...
View ArticleHow to override NULL value returned by a SQL command?
I have a "small" problem. Namely, I want to delete data associated with p_ID value from a table. Before of that, I'm trying to check is there data which should be deleted or not. vb Code: Dim amnt As...
View ArticleVS 2012 Multiple Textboxes that read from one textfile
I am in the middle of developing an application that will load lines of text from a txt file to specific textboxes. For example textbox1 would read from line one on the text file. I have this codes...
View ArticleVS 2012 Form2.Textbox1 update text from form1.textbox1
So I have been successful in importing form1.textbox1.text to form2.textbox2.text, however it does not update immediately. I have to either begin typing in form2.textbox1 for it to load. Is there a way...
View ArticleVS 2010 Need help with a probably simple error im new to this
im really new at this so sorry if its stupid but when I run this code it comes up with the error operator "=" is not defined for types system.windows.forms.labels and integer can you tell me whats...
View Article