Need help with Windows Recording Devices
In Windows Vista and later, you have recording devices available to the system, which the user can access manually. If you right-click the speaker icon, then select recording devices, and then click on...
View ArticleVS 2008 [RESOLVED] The ConnectionString property has not been initialized....
Not sure what's wrong here. Any help would be appreciated. I am just hitting this sub after printing and want to mark it as printed in the Access Data Base. This the Error I get: The ConnectionString...
View ArticleUpdate a ListView control on a different form
Hi everyone! There's a 'small' problem with my program. I need to update a Listview control which is placed to an other form after clicking a button on my first form. Well... I googled a lot and found...
View ArticleLooping on error?
My program right now has an infinite loops, to gather data from a website. The issue is when there is a gateway timeout, the program crashes. How can I call the sub again on error?
View ArticleVS 2010 Checked Listbox Values > Inserted into text document > Saved > Run
Hi again Basically what I currently have is 3 list boxes that have Checkboxes, And a button that is the only button that will be pressed. When this button is pressed I need to take the information from...
View ArticleVS 2010 Catching errors while using System.Transaction in Using Statement?
How can I trap errors by using "Using Statement". I would like to use System.Transactions namespace to commit (if no errors) and rollback transactions (if there are errors). What is the best way to do...
View ArticleVS 2010 Process Killer!
Hi Guys! I am very stressed. I am running 3ds Max on a very slow computer (Yeah, I shouldn't!). In some calculations it is becoming a real pain in a**. I want to make a process killer special for...
View ArticleVS 2012 [RESOLVED] Converting IP Adresses into 8bit Binarys
Hello. I've started a utility to calculate a list of subnets from an IP address. It's not going to be a variable length subnet calculator. 192.168.0.0 Should be: 11000000.10101000.00000000.00000000...
View ArticleVB Saving Listview Items Error
Well the code itself works. The problem occurs when there is a sub items without text, the program will crash. I'm looking for a method that will bypass this annoying error. My Code: Code: If...
View ArticleVS 2005 [RESOLVED] Application.StartupPath Not Showing File
Code: Private Sub ManipulateFile() 'First File Path 'Dim filepath As String = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory) & "\Hello.txt"...
View ArticleVS 2013 Most efficient timer method?
By this day and age it seems that there are numerous ways to accomplish things over a change in time. I only noticed this because when I went to go search for a solution, I came across 100 different...
View ArticleEfficient polling of database (MySQL)
Would like to poll the database for any new transactions, what I am currently doing is to refresh my datasource every minute but it seems this is inefficient or rather not flawless. For instance, if a...
View ArticleVS 2010 Any way to prevent this "flicker" in an owner-draw combobox?
Hey guys, I've got a combobox control (Winforms) which I've set to "Drop Down List" style (because I don't want the user to be able to type text in the combobox). That works great, but I don't...
View ArticleCalling a Sub of the MainForm from a UserControl
Hi, I'm using a UserControl-Collection on my Mainform. Inside those UserControls I want a ClickEvent to call a _MouseUp Routine of the Mainform. I was able to get it working by declaring this _MouseUp...
View Article[VB2010] SafeHandle
My goal is to set an EXTERNAL window as owner of a my form. This simple code: Code: Dim OldParent As IntPtr Form Load OldParent = NativeMethods.SetWindowLong(Me.Handle, -8, ExtHwnd) Form Closing...
View ArticleProject Help
Hello everyone. I was told this is a rather simple project but I have no idea what I'm doing. Allow me to explain. I dont have any prior knowledge in programming, I just know I love computers and...
View ArticleVS 2008 Error in Writing data Not sure where my problem is.
I'm showing 2 pieces of code the first one works fine. The second one is the exact same code with one additional item added to it. and it does not work. Code: Sub SaveData() Dim mycommand As...
View ArticleVS 2012 DataSet Table Names Rename
Hey guys looking to name the "tables" in my dataset which is populated from a SqlClientStoredProcedure which is the combination of 4 child stored procedures. Instead of just going by "Table" and...
View ArticleSimple question on showing forms.
In my application i have 2 forms. In form1, the user clicks a button and form 2 opens. I need to make a button in form2 that will show form1 again. (put form1 in front of form2) form1.show() did not...
View ArticleFailed to Enable Constraints (SQL/VB.NET issue)
I'm having a very annoying issue that I don't know how to fix. I've been working on a VB.NET/SQL school project for the past two weeks and have finally gotten to the very end (I think), but am running...
View Article