[Resolved]Crash in DataGridView in VB 2010 displaying a Column that is Null
I am using VB 2010 Express. I get the following Crash message from the DataDesigner if the DGV tries to display a column with a null value. undefined Code: Throw New...
View Articlerefreshing webbrowser
i have this webbrowser that will show videos. i want to determine if the video is finished playing so that i can recheck the list of videos to be played. how to check that?
View ArticleVS 2012 field not found
When I look through the object browser I can see the field is there but when I debug my code it throws the error "field not found" Has anyone had any issues with this? This last line of my code is...
View Articlewebbrowser scrollbarsenabled not working in some website
Hello guys. I am using the code below to enable or disable the scrollbars of the webbrowser. WebBrowser1.ScrollBarsEnabled = False WebBrowser2.ScrollBarsEnabled = False However I noticed that when I...
View ArticleHow do i deal with large IF Statments causing program to hang
Hi, I'm looking for some advice on how to make my program work better. The issue I have is that I have around 800 IF statements behind a command button so when the command button is pressed for the...
View ArticlePNG Alpha Channel Form
Hi, I have done some research in what ways there are to use transparency and I have found a few solutions, but even they still seem to give me trouble. What I want to achieve is a program window like...
View ArticleHow do you refer to ALL rows contained within a database?
Hi, I'm using a local database to save check in and check out dates. I then need to check if a certain date is within those dates. It works fine when I start with the program with the database being...
View ArticleUsing Directory.GetFiles() WITH multiple extensions AND sort order
Hi, I have to get a directory file list, filtered on multiple extensions...and sorted! I use this, which is the fastest way I've found to get dir content filtered on multiple extensions: Code: Dim ext...
View ArticleSave picturebox on form closing in vb.net
Hi,how to save picturebox on form closing ? This code doesn't work at all i tried many methods to fix this problem i can't figure out it. Code: my.settings = picturebox.tag My.Settings.Save() I tried...
View ArticleChoosing best report (rdlc) strategy from 3 un-related table into one report
Good afternoon All, I have a question - I am still in learning curve on VB.Net programming. I am making a windows application (.Net4) for small Sunday school. This is my challenge and I would love to...
View ArticleBuilding Charts
Hi Guys Need some help. I need a chart which with the following description: Black Background White Grid No Numbers on Axis I can get the black background.. but can't find a color control for the grid...
View ArticleLoop for a web bot
well, i'm working in a bot for a web page, i know how to get the values of things that i want, but i have a problem. When i do that.. Code: Dim allelements As HtmlElementCollection =...
View Article[RESOLVED] Take data from listbox in form1 and put it in listbox from form2
I have two forms in my project. Form1 Has data in it's listbox I need Form2 to copy that data and put it in the listbox on form2 I was thinking: ListBox1.Items = Form1.ListBox1.Items Would work, but it...
View ArticleVS 2010 No mapping exists from object type ...... provider native type.
Please Help! I am a System Developer at a private company and I encounter this error while I was playing at my codes. I am using Visual Studio 2010 and my database is MSSQL 2008 R2. I keep on searching...
View ArticleVS 2012 Null Date
I use the code Code: Dim iDate As DateTime = Nothing but when I pass the iDate as a parameter the value is #12:00:00 AM# what I need to pass is a null date. what should I do?
View ArticleText Box Problem
Hello, I am trying to select a textbox by pressing the "F10" key, and then enter some text. Everything works, except the first number entered is ignored. If I enter 5 6 7 8, it shows as 678. (using...
View ArticleVS 2010 Looking for projects to help learn VB.
I just recently started working with VB for school, but the class is kinda going slow. I'm looking for simple games, or other things of the like that I can look at, and find a way to code. I only have...
View ArticleFormat String Textbox
Basically my code is good but using P0 it multiplies the value inserted in the textbox by 100, since it user input I need it to display exactly what they type just a percentage. Also the value come...
View ArticleVS 2010 Small Clarification Required.
Hi, Can any body please tell me the difference between: Dim Temp() as Byte and Dim Temp as Byte() Also if I have to return array of bytes as in first case via a function how can it be done so. Say,...
View ArticleUsing the ImageListView tool in Windows Forms
Hi I am using an open source external tool called ImageListView for use in a usercontrol. I am running visual studio 2010 and programming in vb using the 4.0 .net framework. I'm trying to customise the...
View Article