custom control in form click event not firing
Hi All, I have a custom user control which has an image and a button on it. this works as expected. however when I put it on a form, then double click it and select click event, it never fires. is this...
View ArticleVS 2010 [RESOLVED] Problem with closing form
Hi everyone, I got a simple problem but it's getting the best of me. I use this to show the Reports form, From the Projects form. Code: Public Reports As Reports Code: Private Sub Button4_Click(sender...
View ArticleVS 2008 Converting
I really need help with my coding in VB in how to convert decimal value to unsign binary representative, 1's complement, 2'complement and IEE Floating Point. Since this is my first time coding and i...
View ArticleArray error - array of 2-dimensional cannot be converted to integer
Hello there, I had a datatable with these colums: idSupplier, Item and Price. I wish to return the sum of the Items for each idSuplier, and display which has the lowest price, highest price and the...
View ArticleVS 2010 Reader returns nothing from MySQL
I have been trying to sort this out but I must be missing something and was wondering if someone can take a quick look. VB.Net Code: Dim datTab As DataTable = NothingDim strSQLText As String = ""Dim...
View ArticleOne toolbar in MDI, all child reacts to it individually
What I want to do is to place a toolbar in the MDI form with buttons New, Edit, Delete, etc, and if a child form is shown and I clicked New on the toolbar it should open up a form which will add a...
View ArticleVS 2008 [RESOLVED] Date Difference
hi i have to find the date difference between 2 dates. i have to give discount to the person if the second date is within 12 months. i have used : HTML Code: Dim mMonths As Integer =...
View ArticleVS 2005 How to read a range of cells in a XLS row having row number as input
Hi, I am trying to create a small console application where i can provide text box. The application should take text box input as "row number" of an XLS available in the network share, it should read...
View ArticleVS 2010 Playing multiple swf files
Could anyone help me out with this. I have swf files stored in my application in a folder named Videos. The problem is I can only play one file and I am trying to loop through all the files in the...
View ArticleVS 2010 Devexpress GridView GetValue Problem
Hi, I tried to explain the problem in the picture. I want to come to the active cell value is selected from form2 in form1. converter using English is no more. please help me I'm working for 4 days....
View ArticleVS 2010 Scrolling Hotkey No Focus?
Below is simple code which I've put together for the purpose of being able to read richtextbox text and scroll it w/out having to loose focus on an already focused application. So I came up with this...
View ArticleVS axWebBrowser events not firing / control problems
I have a project which contains the axWebBrowser control. However, this project no longer fires ANY axwebbrowser1 events. If I create a new project, the events fire just fine. After deleting the...
View ArticleVS 2008 listbox
Is there a way to use a listbox with the ubound() method that you can use with an array? If not, I know you can store stuff in an array, and then do the following line to feed the items from the array...
View ArticleVS2012 - Option Strict and Option Explicit don't always perform the same
I just ran into something weird. I always set my projects to Option Strict ON and Option Explicit ON. I have a large project that has absolutely no problem with code similar to below. However, I just...
View ArticleVS 2010 Active Directory Group Issue
Ok so, I am using the following code to add a member to a group. When I do this I get an error stating that there has been an unspecified error. Can someone please help? Thanks! Code: strPath =...
View ArticleOpenFileDialog imports csv into DataGridView and establishes DataSet
I am new to programming and I am using visual basic express 2010. This is my setup. I have Button1 on Form1. When selected, Form2 opens and displays values from a csv file. The values are displayed on...
View ArticleI Need help with vb.net and outlook 2010
Hi, I Need help with vb.net and outlook 2010 I have 3 outlook accounts (A,B,C) with outlook 2010 I tried to export all subject name from inbox to listbox by vb.net 2010, but I couldn't I need a code to...
View ArticleVS 2010 Load background image from folder
hi everyone i have a problem with my code i made the code so after the on program load its will load the background image from folder that i made but its not working i dont have error or warning its...
View ArticleCreating a List view or flow layout panel with images and labels?
Hey everyone I am currently trying to find out a way in which I can fill a list view or flow layout panel with images and labels in a structured manner. The reason for this is that the list view or...
View ArticleVS 2010 Detect last character of a TextBox
I have a String inside of a TextBox. What is the best way to detect if the last character in the TextBox is an end of line character, and if it is not, then add an end of line character to the TextBox?...
View Article