Form Dispose
I know that data connections should be either closed or disposed when no longer needed. My question is - If I have opened a connection within a Form and neglect to dispose it, will it be disposed when...
View ArticleVS 2012 Issue With WaitForExit On Process Started Externally
This is similar to another recent post of mine but a different problem. Part of my app starts an external process (setup.exe) and I want to monitor that for when the process has closed but the problem...
View ArticleVS 2012 Help Changing the Text displayed in a Text Box at runtime
So am trying to add a feature to an existing app I have written. The app builds a string based up on the input into four different text boxes which would then limit the amount of text in the last...
View ArticleError casting Integer()-typed arrays into Object()-typed parameters
This may be a silly question, but if I can send an Integer value into a sub/function whose parameter is typed Object, why can't I send an Integer() array into a sub/function whose parameter is typed...
View ArticleCrash in DataGridView in VB 2010 Express trying to display 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 ArticleVS 2012 [RESOLVED] Help Changing the Text displayed in a Text Box at runtime
So am trying to add a feature to an existing app I have written. The app builds a string based up on the input into four different text boxes which would then limit the amount of text in the last...
View ArticleAutomate WebBrowser File Download Dialog
I am trying to seamlessly download a csv file using web browser control. I can't use WebClient DownloadFile method nor HttpWebRequest because the files doesn't actually exists, its dynamically...
View Article[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 ArticleVS 2012 How to query Active Directory
Hey guys, I was wondering if anyone had any code for an Active Directory query. Essentially, I want to be able to enter a username and have the user's full name, email etc. returned to me. I have had a...
View ArticleBest event to use for DataGridView when making updates??
I have a DGV that contains a column that has dollar values in it. What I want to do is simple. I wish to accumulate these values and show a total value in another control on my form. This value needs...
View ArticleVS 2008 Synchronize server time with Client Time
i am having a night mare in an application which is built on strict uni direction time tested pattern while data insert / update it is easily possible to fool the logic's adapted at the front end by...
View ArticleVS 2010 bound and unbound columns in datagridview
I use a bounded datagridview (I bind it by code) I want to add a column, which is a description of a code in a column in the datagridview: for instance, i have a column of org_unit_id, and i want to...
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 ArticleNeed Help Please
How to retrieve the binary image in ms access database and display it to datagridview?
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 Article