How to transfer info from one sheet to another using a macro
This is my first post, and I sure hope I can find some help! Basically, I have two sheets: 1) "Labor Report" (LR) and 2) "Budget Hours" (BH). If LR has a value in column "A" that matches a value from...
View ArticleVS 2008 Change data table of the DataGridViewComboBoxColumn-cell only for the...
The existing data contains values that are not allowed to be selected for new records. If I bind the whole combobox-column to the reduced dataset I get errors, as some old value keys have no...
View ArticleVBF Flair
What exactly is a Flair? Flair is a piece of html code that you can place on any website to display relevant forum profile. A flair also updates automatically (every 24 hrs) to display your current...
View ArticleButton Click coding problems (Winsock)
hi guys!.. i have some problems.... I don`t know how to make coding for this situation.... here it is: I want send the data using winsock automatically BY using TIMER... Private Sub Timer2_Timer()...
View ArticleVS 2010 Need to sort a listview according a combobox choise
Hello. Now I need some help with this little problem. I have a detailed Listview with 6 columns (headers are hidden), and I need to sort it by any one of its columns which is selected from a combobox....
View ArticleVS 2012 [RESOLVED] Datagridview --> Index out of range
Hey, got a question regarding an error I get while debugging. I created a small form with a datagridview (1 row, 2 columns) with this code Code: DataGridView2.Rows.Add("0.0", "0.0") after a few...
View ArticleVS 2012 Should I always use xml comments?
Hi! I need a second (or third) opinion about the xml comments you can add with ''' or /// in visual studio. Usually I just comment on stuff that needs explanation, and I always comment classes with...
View ArticleUpdating Mysql database with vb datagridview
Hi! I am creating a windows form with vb to edit a mysql database. I have a datagridview where i can view the database with custom queries. But, I want to save the edited cells back to the source...
View ArticleVS 2008 How to assign DataRow to variable in grid?
Hi, Right now I am using a grid control from ComponentOne which I have to stay with. When I click an link in the row which fires a grid_ItemCommand event one of the parameters passed is e As...
View ArticleMicrosoft Ado.net sync framework conflict
hello all, I have a project that sync the client and the server. i'm using northwind database and customer table for testing purpose. here is the case. SERVER SIDE: Record 001 - Company Name changed...
View Articleproblem in validation fix number and decimal numbers
hi I use following regular expression to validate my numbers: Code: ^[-]?\d{1,15}(\.\d{1,3})? my validate numbers is : Code: 0 to 9 max length <= 15 decimal numbers are optional and decimal place is...
View Article2 Frozen columns and 1 scrolling column in middle??
I have three columns in an unbound datagridview. All three columns are populated via a button click. The first and third column must be frozen so that they do not scroll horizontally. The middle column...
View ArticleVS 2010 Entity SQL Code generation
Currently within the entity framework, I have created a Entity Data Model. From this I have generated a .edmx.sql file which contains the Required SQL code. I have then tried to execute this code by...
View ArticleRunning long term data grab from separate thread
Hi All, I have an application where I need to grab data from a high speed serial buffer. To process it in time I really do need to do something like the following: Essentially start a thread that...
View ArticleVS 2012 Add Option to "Select" tag with webbrowser.
i tried to add item to select tag with setattribute but it dont work :/ i want to add an item not to select one. thanks for help.
View ArticleSet of all disabled objects
I need to be able to make the disabled objects in my project invisible and vice-versa. Is there a way I can find a set of all the disabled objects in the project to set them all invisible?
View ArticleVS 2008 DataGridView and button click information sharing question
Hi! I need again some advice. I allow the user to edit a row or add a new row in a datagridview. I then handle the dgv.Validating and dgv.Validated events so I can update the database. Now I added a...
View ArticleVS 2010 Canceling/Disposing a TCP Client from a different thread.
I have two threads. One is a backgroundworker which makes a connection with a TCP client and another, the UI thread which has a timer which makes sure that we know when the backgroundworker takes too...
View Articlec# programatically selecting dropdown value
I am new at C# and it seems the following code below does not seem to select my combobox value: Code: private void button1_Click(object sender, EventArgs e) { cbPortNumber.SelectedIndex =...
View ArticleHow do you upload a text file and a folder to a remote internet server???
Hello, I wish to have a Visual Basic Application to upload a data text file and a number of blank folders to a remote internet server, that I have my webpage on. But then I wish to have my Visual Basic...
View Article