VS 2010 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 which...
View ArticleVS 2008 Passing table Name as Parameter in Joins
i wanto create a store procedure like this and its saying error near @mytable CREATE PROC getdetail @mytable AS VARCHAR(100) AS SELECT e.ItemCode, e.OemNoOne, e.ItemDesc, e.ModelNoOne, e.StockNoOne,...
View ArticleVS 2010 Find the last line and increase it (More info in thread).
I'm new to this forum and to VB.NET, and I have a hard time looking for a solution to what I want to achieve. I know posting here without even trying is plain spoonfeed, but I tried and failed. I...
View ArticleShow children forms in modal dialog
Hi, I have a form with the property 'name' set to 'frmMain' and the property 'isMdiContainer' set to 'true'. After, i have another form with the property 'name' set to 'frmChild' and the property...
View ArticleVS 2005 Why Visual Studio 2005 is not installing on Windows 7 Professional
Hi. I have installed Windows 7 Professional (64 bit) but when i started installing visual studio 2005 professional so it gave me error that this is not supported on Windows 7. So what i do now? I'm...
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 ArticleVS 2010 Custom ListView control max characters.
Hey. I'm using a custom ListView control Chris001 made for someone here, add it to your project and build. Code: Public Class ListViewEx Inherits ListView Private imgList As New ImageList...
View Article