19,728 Topics

Member Avatar for
Member Avatar for UKnod

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 …

Member Avatar for UKnod
0
104
Member Avatar for KnifeDarky

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 …

Member Avatar for KnifeDarky
0
149
Member Avatar for xn hunk
Member Avatar for Michael_9
0
464
Member Avatar for xuexue

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, …

Member Avatar for Michael_9
0
734
Member Avatar for Michael_9

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() …

0
264
Member Avatar for PM312

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) …

Member Avatar for danielgr
0
278
Member Avatar for xuexue

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 …

Member Avatar for cgeier
0
324
Member Avatar for dimi231080

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 …

Member Avatar for dimi231080
0
5K
Member Avatar for QuickBooksDev

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 …

Member Avatar for PerplexedB
0
625
Member Avatar for gizidda

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 …

Member Avatar for Reverend Jim
0
424
Member Avatar for savedlema

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 …

Member Avatar for gizidda
0
2K
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
1K
Member Avatar for gbhs

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 …

Member Avatar for cgeier
0
373
Member Avatar for gbhs

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 …

Member Avatar for gbhs
0
4K
Member Avatar for MattuRocks

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 …

Member Avatar for cgeier
0
173
Member Avatar for jessicanguyen

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 …

Member Avatar for stelios.zisis.18
0
117
Member Avatar for Nebil

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 …

Member Avatar for Nebil
0
318
Member Avatar for xuexue

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. …

Member Avatar for cgeier
0
507
Member Avatar for lazlo2000

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. …

Member Avatar for Bang_1
0
227
Member Avatar for mrkm1188

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 …

Member Avatar for cgeier
0
68
Member Avatar for Diana Rose_1

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;

Member Avatar for tinstaafl
0
207
Member Avatar for Nebil

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 …

Member Avatar for Nebil
0
220
Member Avatar for jared.geli

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 …

0
72
Member Avatar for sing1006

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 …

Member Avatar for sing1006
0
237
Member Avatar for VBrulez

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 …

Member Avatar for gizidda
0
659
Member Avatar for AnooooPower

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 …

Member Avatar for AnooooPower
0
696
Member Avatar for markdean1989

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 …

Member Avatar for markdean1989
0
148
Member Avatar for jared.geli

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 …

Member Avatar for jared.geli
0
1K
Member Avatar for mkhan.haqpalkhan

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

Member Avatar for jared.geli
0
157
Member Avatar for cd88

Hi, I am stuck trying to reuse the calendar or the date time class in visual basic I can not find a way to reset the former settings. Is it just me or is there a way to accomplish this task. Any help would be appreciated. I feel it is …

Member Avatar for cd88
0
357

The End.