VS 2010 Search text in specific column of data grid view.
I want to set the focus on specific cell of data grid view. Suppose i have an column 'Id' in data grid view and there are 1 to 10 Ids in id column. Now i want that if i enter the '7' in textbox1 and...
View ArticleVS 2010 [RESOLVED] IO.Streamreader Repeats
Code: Dim lineno As Integer = 1 Dim r As New IO.StreamReader("C:\SuperPad\LineNumbers.txt") While (r.Peek() > -1) ListBox1.Items.Add(lineno.ToString & " " &...
View ArticleVS 2010 [RESOLVED] Printing contents in a form
Hi. I need some help in printing contents in a form, screenshot attached. I tried using the below code but it gives me a blank document. I think theres something I'm supposed to add under...
View Article[RESOLVED] Change Tab color Top of tab
Hi how do I chnage the top of a tab not the back ground just the little tab, I just want to make it like the old VB6 style button face color any ideas. I herd somewere that you can overdraw, but that...
View ArticleVS 2010 do until line is empty
Hi All, I have file like: Code: xxx,ccc ccc,xxx fff,kkk aaa,www www,aaa ddd,eee rrr,sss And I want to find a certain row and start reading next rows until I reach blank. Something like that: Code:...
View ArticleVS 2010 HELP, get sourcedata from webpage
Hello guys, I'm busy making a program which can get data from a website. Unfortunately I'm stuck now. I'm trying to get the sourcedata of the traininggraph-image (so not the sourcedata of the webpage)....
View Articledeploying - different resolutions problem - pics attached
Hi, I have a 'time reminder' application i wrote in vb.net (12). The application works fine, but I am going to be publishing it to many different workstations - all with differing resolutions. The...
View ArticleIncorrect syntax in sqlcommand
I'm coming from working with just ms access to try to learn to do the same things in sql. I'm getting an error that says: Quote: incorrect error at syntax '?' The command string that I'm using is:...
View ArticleNeed Code for changing "ConnectionString" in VB 2012 Project
I am new to VS 2012, coming from VB5 using a Win 8 Computer. I am creating a Windows Form which will run on a computer on a local network at a customer location. The Network Name of the computer with...
View ArticleDynamic Classes
I'm trying to figure out how to structure a large amount of data... Here is a simple example: Suppose I have up to 25 potential instances of objects (obj). Each of these objects has properties (name,...
View ArticleVS 2010 Move the caret in between quotation marks.
I have a TextBox control (A custom one, but that doesn't matter for now) and I append text to it everytime. I append functions to it, For example, "test("");", is one function. I want to move the caret...
View ArticleHow to save DataGrid changesto an SQL DB with VB 2010
Hey guys, I read this article http://www.vbforums.com/showthread.p...o-SQL-Database but it doesn't work for me. All I get is "NullReference exception" "Use the "new" keyword to create an object...
View ArticleSpell Checking Help
Hello guys, I'm creating a spell checker. It works by using Word to spell check. However, is there a possible way to use some application to list similar words to the word typed in the textbox? I would...
View Articlewhats the best way to do this?
Hi, I have an accounting department downstairs and an HR department upstairs. I need to create a program that will send a notification from accounting to HR to let them know a process is ready. Then HR...
View ArticleVS 2008 [RESOLVED] Treeview refresh...sorry!!
Code: Private Sub LoadTreeView() Dim letter_nodes(25) As TreeNode Dim letter As Integer Dim row_num As Integer Dim data_row As DataRow Dim record_node As...
View ArticleVS 2008 Pass Table Name as Parameter in storeprocedure that have joins in tables
i wanto create a store procedure like this and its saying error near @mytable CREATE PROC getdetail @mytable VARCHAR(100) AS SELECT e.ItemCode, e.OemNoOne, e.ItemDesc, e.ModelNoOne, e.StockNoOne,...
View ArticleVS 2008 vb.net convert
hello i am having hard time while converting this project for vb.net Any type of help will be very much appreciated. project:http://vbcity.com/forums/t/151778.aspx i am using Visual studio 2008 for...
View ArticleVS 2008 SendKeys.Send with countdown
Hi ! I want to make a program that will SendKeys with a countdown, that would be turned on by pressing 1 and turned off by pressing 2.I know pretty everything and i almost made it, however i dont know...
View ArticleVS 2010 Accessing "Open with" context menu
I have a file browser in my VB.net application and I'm trying to either a) display the native Explorer file context menu so that users can manipulate files as in Explorer or b) create a vb.net context...
View Article