[RESOLVED] DataGridView CellValuePushed
hello, i have a datagridview that i create during runtime, to summarize some datagridviews totally 2 columns and 8 rows are created inside a loop and i insert values to datagridview.rows(i).cells(j)...
View ArticleVS 2012 Stack Overflow in a game that plays itself
So I've been developing an american football game. In the game, the offense chooses a type of play, the defense chooses a play, then the code takes over. My problem is that when the computer is calling...
View ArticleDetect rectangle in image
Hello, I would detect the rectangle in image like image in attachments usually i use this below code in do that also you can check on full example in attachments. Code: Private Function...
View ArticleCannot Set object for ListBox
Hi everybody. I have an application that uses VBA in Excel to access values in ComboBox and ListBox. Here is the code for ComboBox: Code: Dim myCB As ComboBox Set myCB = UserForm1.ComboBox1 Then I have...
View ArticleVS 2010 Reading and Writing to my .ini file
hi, i'll post the reading problem later, rite now i have an error on writing to .ini file, here's my code: Code: Imports System Imports System.Xml Public Class Editor Private Sub Editor_Load(ByVal...
View ArticleCapturing serial data from Arduino
Hi All! I have made a digital scale using an Arduino Uno. I want the serial data to be sent to a VB.Net app. All I want to capture is a single number of type double. That would be the weight of the...
View ArticleExcel Cell Contents in VBA expressino
As I am sure will become apparent, I am new to Visual Basic. I'm trying to change the name of an Excel Sheet identified by the value in a particular spreadsheet cell to a name that I get from the user....
View ArticleVS 2010 How to make a richtextbox to display a selected part of a .rtf file
Hello everyone, A new problem. I have a rtf file from Word , I load it as string, but I can not find the way to make a richtextbox to display only a part of it . I have been unsuccessfully trying some...
View ArticleSelecting Rows Among two DataGridViews
Newbie here! Is it possible if a parents primary key is selected, multi childs tables primary key should also be highlighted/selected. If its possible can you create codes for this. I really dont have...
View Articlehow to convert QWERTY to DVORAK?
I have created On Screen Keyboard program and a problem arises, i have designed the UI according to QWERTY layout, now a user report that he is using DVORAK layou but the program not show it. Let's...
View ArticleThe IAsyncResult was not returend from corresponding asychnonous method on...
The IAsyncResult was not returend from corresponding asychnonous method on this class. Why do I get this exception?... I think everything's alright on my code. thanks VB Code: Imports...
View ArticleConverting each letter in a sentence to a different number?
Hey guys, so I'm looking at developing a program where the user enters a sentence and clicks the button and behind the scenes the program uses matrices to encrypt the sentence. It will also decode any...
View ArticleAre there times when WindowsForm is better than WPF?
I just started to read about VB.net 2012. It seems that WPF can do everything that WindowsForm can do. Should VB developers just drop WindowsForm? Are there times when WindowsForm is better than WPF?
View Article[RESOLVED] [VB2010] - using a const and numbers in a variable\enum
i need 1 variable type\enum that have the Automatic const(keyword) and accept numbers too. how can i do these? varName=Automatic or varName=1000 how can do these? see these enum: Code: Private Enum...
View ArticleHow do you add text to the bottom of a listbox
Sorry i wont figure out how to add a grand total to the end of my list of all the amounts. Code: Public Class Form1 Structure Clerk Dim ClerkID As String Dim DOS As String...
View ArticleClicking Print with VS 2010
Hey guys, I have a little program that prints a flash graphic from a page. However i have a problem finaliing the print and sending it to the printer. When i click print it sends me to the usual...
View ArticleVS 2010 ComboBox Add Item (True, False converting to text)
Hello, I have one table with Name (text), Surname (text), Gender (bit; Male, Female). I want to display this data to ComboBox, so I use this code: Code: For Each Comb1 In Comb.Table1s...
View Articleproblem exporting datgrid values to excel sheet using an array
I am trying to export datagrid values to excel using an array.. I get an error " ComException was unhandled " in the following line: Code: xlWorkSheet.Range( "A1" ).Resize(DataGridView1.Rows.Count,...
View ArticleVS 2010 [RESOLVED] BG Worker Dynamic Creation
Hey, I am creating BGwrks dynamically and assigning functions... i have a class worker and i created two functions with two parameters as i have to pass arguments... Inside class i wrote function to...
View ArticleVS 2010 Test if Recursive function calls itself
Hi im was just writing a simple recursive function and was stumped when i came to this..... public function Test(count as integer, RCall as boolean)<----- the rcall is used to know if the functions...
View Article