Change the selected date of a MonthCalendar?
I have searched on Google and MSDN for a way to change the currently selected date of a month calendar through code instead of the user clicking but I can't find a way to do it, does anybody know how?
View ArticlePrintout of table1 on the Form1
I want to use DataGridView like GridView in ASP.net. I draged the toolbox DataGridview to the Form. I linked it with my database. How do I get a printout of table1 on the Form1? My connection string...
View ArticleVS 2010 Error Null
Code: System.ArgumentNullException was unhandled Message=Value cannot be null. Parameter name: activationContext Source=mscorlib ParamName=activationContext StackTrace: at...
View ArticleProblem with moving cursor to desired cell in datagrigview
Hello my friends, Looking for your help againg. The case: I have a 6 columns datagridview (dgv) which is filled by the user. I need, with ENTER KEY, the cursor moves down, just as it usually does in...
View ArticleNeed guidance on hooks
Hello VBfourms, I am new to visual basic and well programming in general although I have had an introductory class in C programming. I am using Visual Basic 2010 to make a tool that can monitor a...
View ArticleHow to load crystal report if report (myorder.rpt) is in project folder?
How to load crystal report if report (myorder.rpt) is in project folder? Dim cryRpt As New ReportDocument cryRpt.Load(what path here & "\" & "myorder.rpt")
View ArticleID search problem?
I'm having problem about Adding Query in DataGridView Tasks. I was trying to make a Search using ID_1 1. I load DataGridView 2. DataGridView Tasks 3. Add Query... 4. Search Criteria Builder 5. New...
View Article[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 ArticleVS 2010 How to view RAM from processes?
I've got this, which I found someone on here: Code: TextBox1.Text = String.Join(" ", IO.File.ReadAllBytes(OpenFileDialog1.FileName).Select(Function(b) b.ToString("X2")).ToArray()) As you can see it...
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 Article