20,285 Topics
![]() | |
Hi, I have a DataGridView with a table loaded onto it. I have nine textboxes which will serve as a search feature for the DataGridView. What I want is that once text is entered, it goes through the relevant column filtering data as per what is inputed. This works perfectly … | |
I have written some code to make an outlook addin, which is working great. Except that the to field from outlook is displaying the contact na,e instead of the actual real address. IE it is displaying geoff instead of someone@gmail.com unfortunatly I want the who address not just the shortened … | |
Hello, I am making a program, when I click picturebox, some text appears on the form. So I got that part right, I am clicking picturebox and text is appearing, but the problem is, that I dont know how to clear that text one by one after certain amount of … | |
how to stimulat Ctrl+alt+i and Ctrl+alt+n keyboard key press in vb.net? | |
Hi! I am using Data Grid View to display the data from my database. This code works properly. It displays the data. This code is inserted in the Form_Load of the form. Dim cmdCount, cmdGet As New iDB2Command Dim daGet As New iDB2DataAdapter Dim dsGet As New DataSet Dim sqlCount, … | |
Me being a master noob and making a triangles color change with a console. link to program its shwelf[Click Here](http://www.mediafire.com/download/fwlqbb471ewwsw0/Debug.rar) Public Class main Inherits Windows.Forms.Form Protected gfx As Drawing.Graphics Protected thePoints() As Drawing.Point Public Sub New() InitializeComponent() Console.WriteLine("Form seems to be functioning so far.") End Sub Private Sub InitializeComponent() Me.SuspendLayout() … | |
Hi, i am trying to extract values based on range of dates. Why i am getting this error Invalidcastexception was unhandeled **Conversion from string "SELECT * FROM TBLRequest where T" to type 'Long' is not valid.** for below string **FlexString = "SELECT * FROM TBLRequest where TBLRequest.PrDate >='" &** **Date.Parse(TxtDateFrom.Text) … | |
Hi! Could you help me initialize or load the data into a Data Grid View Control using iDB2 Connection? I've tried this code I've seen from the net but it does not seem to work :( I am initializing the connection using form_load and not in the Properties Window. Imports … | |
hello,i have one application in vb net where i have 2 datetimepickers and one button and one datagrid. When i press the button a sub is called(below) and it is supposed to take the datetimepicker1.text and datetimepicker2.text and display the existinf records between these dates .The column that stores the … | |
How to copy a word table multiple times to a specific place using VB.Net 2010? I have viewed the other responses and these seem just not to work. I am working on a VB.Net 2010 program using the Interop class. We are having problems trying to duplicate a table more … | |
Hi everybody i am trying to implement the 'create new button' function for my desktop replacement but i have a problem with mouse coordinates.. this is the idea: I have FORM1 which is the main form, where i right click in a point of my choice and capture the X,Y … | |
Hi friends! First, I have read other similar threads but I haven't seen a complete match. It is my VB.NET app. I want the user to be logged out when a user closes the form/application by clicking the X at the right-top (to prevent the user from appearing to be … | |
Hi! These are the basic things I know about iDB2Commands to be used in Visual Studio 2010. Could you please help me how could I extract data from DB2? I know `INSERT`, `DELETE` and Record Count. But `SELECT` or Extract Data and `UPDATE` I don't know. Imports IBM.Data.DB2 Imports IBM.Data.DB2.iSeries … | |
I have created a workbook template that will be used to collect some data from users. I want to restrict user input to numbers between 0 and 20 in each worksheet range A1:C5 (say). I know I can use a Macro like below to do it With oSheet Dim r … | |
I have created a workbook using VB.net and I need to Hide all columns to the right of Column K in all worksheets. To hide column K alone I can do Worksheet.Range("K:K", missing).EntireColumn.Hidden = true How can I hide column K and ALL the columns to the right of column … | |
Hello, I'm using a modified version of a multiple client TCP server ([View here](http://www.drawbycode.com/blog/?p=218), and trying to have the server add an item to the listbox when a client connects. I have tested, and the client and server can communicate perfectly. I recieve the data from the client, I can … | |
The situation is I have to protect him now projects that reflect the sea is calling to fix security flaws in web Eg when running web path http://localhost:60864/DO_AN/Form_BA...px?MaBaiHat=11 (will appear 11 songs) and he asks that if anyone entered http://localhost:60864/DO_AN/Form_BA...aspx?MaBaiHat = ' or http://localhost:60864/DO_AN/Form_BA...?MaBaiHat=null web will surely fail immediately and … | |
Hi, I've got a little issue with a progress bar.I have a label and the progress bar on a form.I've some calculation to be performed and then stored to the database.I wanted to show the progress of this process to the user.The calculation process is on another form.when the process … | |
Hi! I have no problem when trying to execute and `insert` or a `delete` SQL Command. However, this `update` command does not seems to work well and I am having a hard time to figure it out. Kindly help me please. I am using an i Series or AS/400 database. … | |
![]() | I'm new to VB.net and I'm stumped as to how to do this. I want to find specific text in a richtextbox and color it red, but the problem is that I only want it to search (on each line) at the 15th character to the end of the line. … |
![]() | I had a windows form connected to a SQL database. In the form the data grid view contains 12 columns, all of which are text columns. I want to change two of the columns to ComboBoxColumns. Is there a simple way to do this without having to write code to … |
imade this query and named it as vwOwnerAnimal. my problem is that i don't know how to display it using listview. can anyone pls help me. SELECT tbowner.owner_code, tbowner.owner_name, tbowner.owner_add, tbowner.owner_cn, tbowneranimal.a_name, tbowneranimal.a_breed, tbowneranimal.a_age, tbowneranimal.a_sex FROM tbowner INNER JOIN tbowneranimal ON tbowner.owner_code = tbowneranimal.owner_code; | |
I have an excel file that i managed to perform some calculation.It's to know the asset value of bridges in a current year.I have 21 fields in the file.Out of the 21 fields,seven fields are just information about the bridge,the rest are used for the calculation based on various conditions.And … | |
I noticed that I can't use a field that has an expression ex: Fields!date_due has an expression where if Fields!term.value = 7 it will add 7 days on based on the Fields!date_invoice. I want to get the days overdue based on the interval between Fields!date_due.value and Fields!date_collected. Normally I would … | |
here is my code for delete Private Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click If MsgBox("Are you sure you want to delete this item?", vbYesNo + vbQuestion, "Delete") = vbNo Then Else If Me.DataGridView1.Rows.Count > 0 Then If Me.DataGridView1.SelectedRows.Count > 0 Then Dim x As Integer = Me.DataGridView1.SelectedRows(0).Cells("FNo").Value … | |
OK, so I'm making this advanced web browser for myself that can do favorites. I'm using a combo box as an alternate text box, thinking this should do. But then, I ask myself, what code so I can open a new form, type a title, and put the url, so … | |
is there a way to get info from a youtube video link such as i want to get the title, description, video duration, thumbnail link, and videoid ie.: v=**gJ_3BN0m7S8** just the bold part from a link and yeah without the use of an webbrowser since they seem to be really … | |
here is my code, it is very simple Me.Validate() Me.TableBindingSource.EndEdit() Me.TableTableAdapter.Update(Me.Database1DataSet.Table) MsgBox("Update successful!", MsgBoxStyle.OkOnly, "") Me.TableTableAdapter.Fill(Me.Database1DataSet.Table) Actually, I have been programming for a year or two three years ago but I stopped after my laptop was stolen and due to work. But now I I have a new laptop, and … | |
Hi guys I have this problem where a certain cell will select a value from a table based on another cell (like an id or something). First I select some values to be put in Datagrid (a typical OleDBCommand) then add some more columns using Datagridview.Columns.Add. Here's the scenario I … | |
i have two tables in access and i want to update datagridview which is made from joining of these two tables, how update this datagridview in vb.net |
The End.