VS 2012 Setting up StreamReader to use 3 different text files
I need advice setting up StreamReader. This is for a game. 3 radio buttons are supposed to control access to 3 text files (difficulty level). I can get it to work for one. I declare (Dim) a new...
View ArticleVS 2012 How can i get this accomplished
Hey Experts, im trying to make a simple proxy checker, where it checks if a proxy is alive or not... im doing this in as follows i dowload my Proxylist into a listview called ProxyList then i use a...
View ArticleVS 2010 SendKeys brings up Cannot Hook Error
Hello. I've been tralling the interwebs for a few hours now, and there is this one piece of code that is preventing my entire application from being complete! Essentially, my application waits until a...
View Article[RESOLVED] Get value of the selected DataGridViewComboBox cell/column
Hi! I am making an employee scheduling system. I have a datagridview that has 2 datagridviewcombobox columns 1. I populated the first combobox column with Weekdays (Monday, Tuesday etc) 2. The second...
View ArticleVS 2012 Graphics Program for my class
Hello:wave: First time posting here, in dire need of help I'm doing a simple program for one of my classes and it needs to include an animation. I'm barely getting started but I am curious on how to...
View ArticleVS 2010 Charts - Can you specify a row rather than a column for YValueMembers
Hi, I have some data in a datatable which is the source of a DGV and the layout is just fine. I need to chart the table where the Y values of each series is a complete row, not a complete column: This...
View ArticlePlay sound from Stream instead from File
I have this Sub-Routine which save a WAV-File and also plays it. It uses the saved WAV-File for the Soundplayer. I would like to use the Stream itself to play (using the lines that are comented),...
View ArticleVS 2008 Urgent: DBNull error - 'System.InvalidCastException'
Using Visual Studio 2008 and generating .net 2.0 framework with VB.net for a web application. I encountered a very strange problem currently. After I build a solution and click a link in a web page, I...
View ArticleVS 2013 Addressing an unknown number of controls?
For users with no experience with SQL I created a form (in Visual Studio 2013) to generate new tables in PostgreSQL, in which the user can decide how many columns he wants to generate. To create the...
View ArticleVS 2012 A True Progress Bar
Hello Everyone. I coded a subnet calculator, and populating the listbox object with 53 thousand networks can take some time. I'm wondering if I can integrate a progress bar that reflects the actual...
View ArticleVS 2010 How can cancel pageup or pagedown event
HI there, I am using keyup event to detect pageup and pagedn key. It detects both keys perfectly. What i want when pageup or pagedn key is pressed it just cancel that event. In other words i want to...
View Articledeleting files with a + sign in the name
hello all, I have this simple bit of code that works fine, but if there is a plus sign ( + ) in the file name, it won't delete. Code: Dim fn As String = Request("fn") Try Dim...
View ArticleVS 2012 [RESOLVED] How to Multithread (Question)
Hello. I need to learn how to multithread. I have a child form to display an animation while my parent form loops 16 million times. The animation hangs because as of now the application is single...
View Article[RESOLVED] Weird behaviour of variable scope using BackgroundWorker
I changed the scope of some Global variables to be private of a form, and added a readonly property for them. From within the form a backgroundworker gets started which uses routines from a specific...
View ArticleGoing through controls on form with arrow key?
I'm using the following code I found here in another thread, to enable the arrow keys on my keyboard to move a rectangle around in a picture box instead of cycling through the controls on the form....
View ArticleVS 2008 Web Services Compression in .Net Compact Framework
Hi, I have written a VB.Net application, for deployment to SmartDevices. The application uses .Net Compact Framework v3.5. The application is working, but when it calls a remote web service, the...
View ArticleVS 2010 Assigning a List to a DataGridView
Hi, Is it possible to assign a list to a datagridview? Working with datatables and datagridviews seems reasonably simple but rather than convert a list I have into a datatable I wondered whether you...
View ArticleVS 2012 Save edited data in same row in table in Access db
Hi yet another issue. :( I've run into trouble once again. I can't figure this out. I have a form in my software called Hændelseslog, here you can enter a insident with a lot of data. Everything is...
View Article[RESOLVED] Does "Option Base 1" still work for VS 2012?
I am trying to add the Option Base 1 to my module in my VS 2012 Windows App and it won't take it. "Base" isn't even in the intellisense dropdown values.
View Articlecalculate from data table
'i have a tblFreightdataset with the following Coloum and row ID FreightType Value FrightValue 1 CIF 0.00 [] 2 FOB 0.015 [] 3 CFR 0.015 [] manual calculation from a button Private Sub...
View Article