DataGridView - transparent row select
When I make changes to a row, I change the background color of the cell. Therefore, I want to have a transparent row selector, so the user can see the changes. I am getting very close. The following...
View ArticleVisual Basic Express 2010 Grapging Calulator
Hello, I am working on a school project that requires me to make a graphing calculator in Visual Basic Express 2010. I have been searching the internet for a few days and have not found the solution to...
View ArticleVS 2008 error handling
I am trying to decide whether to use on error goto, or to use a try/catch/finally statement to catch errors. The problem I see with the try catch is that if you have say 400 lines of code, with lots of...
View ArticleVS 2010 Get CellValueChanged event by changing dataSource
hi i have a datagridview on my form that bind to a datatable . is it possible to get CellValueChanged event by changing DataTable's values ? for some reasons i must change the dataTable's value instead...
View Articlesockets.net telnet client not listening long enough... need help
I have a telnet client that i use for remote access. i am using sockets.net. the sample below is what i use to connect... Try Me.state.CheckState = CheckState.Unchecked ClientSocket = New...
View ArticleVS 2010 [RESOLVED] Get mPosition on different resolutions
Hello, I was wondering how I could know the mouse position on other resolutions. Example, my screen is at 1680x1050 and the position I want to do something on is 1000x500. How do I know the exact same...
View ArticleProblem Mapping Drive on W7
First..... I'm very new to VB.NET -- only a week or so into using it, but have 15 years of using close-sibling LotusScript. I've inherited a VB & XML program that I'm rewriting purely into VB.NET...
View ArticleVS 2010 Best way to put a contents of a dataset into a tab delimited file?
I have a program that queries multiple data sources, firing the results of each query into a single dataset. That part is working okay - I'm just now sure how best to proceed. I need to export this...
View ArticleUse a Variable in the Form Text Title
Is there a way to enter a variable in the Text field of a form? What I'd like is for the user's name from their login on the domain showup in the blue title strip at the top of the form.
View ArticleDifferent Versions of Office Causing Headaches
Well here is another weekend approaching which means I will be working on my system in my home office instead of the desktop at my office. And the version of MS Office I have at home is 2007 vs 2003...
View Article[RESOLVED] iterating through tabcontrol
this topic has been broached in 2010 but somehow the code does not seem to work and is not recognized by vb. the problem is this I have a form and on this form I place a tabcontrol with 2 tabpages....
View Article[RESOLVED] Percentage Integer Apears
I'm kind of stumped on this one. I have a datatable, and it has 5 columns. Each column is filled with integers. I can't think of a way to get the percentage of how many times that integer appears. For...
View Article[RESOLVED] One-line datatable row creation
I can add a new row to the end of a datatable in one line: Code: MyTable.Rows.Add(FirstValue, SecondValue, etc) But if I want to just create a new row, all the examples I've seen add each field one at...
View ArticleMargin center
Hello to all, is there code for center align text... Code: e.Graphics.DrawString(TextBox1.Text, font1, Brushes.Yellow, X, Y) so X is pixels from left to right of paper, Y is from top to bootom. I try...
View ArticleVS 2010 How to find window and set focus on a specific part of it?
So i'm trying to set focus on a specific part of a window. After i did a little search, i found the following code.. Code: Private Declare Function FindWindow _ Lib "user32" _ Alias...
View ArticleVS 2008 Code that opens a file from desktop
Hello, I am new to VB and I need a simple code that opens a file from my desktop or any other folder from the computer. Not sure what method to use. Can you either send me a simple code or a link where...
View ArticleVS 2010 Text cut-off
Hello. I want my code to cut off the text but the problem is, that it only copies it. I want to cut off the text from textbox2 and paste it into textbox1. Here is my code but it only copies the text:...
View ArticleVS 2010 If WebBrowser1's Document Complete + 5 seconds delay then...
Hello. How to make a 5 seconds delay after WebBrowser1's document is complete? Something like: If WebBrowser1's Document Complete, add 5 seconds delay, then - for example...
View ArticlePassing arguments to clickone application
Hi, We are trying to use clickone deployment for updating our application.My application is winform application and targeted to .NET Framework 3.5. Since we cant pass commandline arguments to clickone...
View ArticleVS 2010 Webbrowser not filling in fields
Hi Guys, I can't seem to figure out what the problem is here, i'm using the most basic code to login to a website: Code: WebBrowser1.Navigate("http://site.com/auth/login") If...
View Article