VS 2012 Disable Win7 Background Rotation With VB.NET
In Windows 7, certain themes have the option to "Switch to the next background". Is there a way to disable this without having to restart the computer (I found the registry option, but I'm sure I have...
View ArticleVS 2012 Extensions within Namespaces
Here is my simplified code: Code: Sub TestIt() MessageBox.Show(StringMagic.DoMagic("Magic number: ").NewLine.NewLine) End Sub Namespace StringMagic <HideModuleName()> Public Module...
View ArticleVS 2010 Split ListBox Item
Hello! I have one listbox with items ( just one item for now ) Code: ListBoxItem1 {X=200,Y=2} How can I split it so that it only says: Code: 200,2 I'm trying to use it like this: Code:...
View ArticleNeed some advice about System.ComponentModel.Win32Exception
I'm a newbie so it's ok to yell at me. I searched and couldn't find anything that would help me out. My program throws this code and I was wondering if someone can assist me out on figuring out why....
View ArticleVS 2008 InvalidArgument = Value of "4" is not valid for 'index' Parameter...
Im getting the error "InvalidArgument = Value of "4" is not valid for 'index' Parameter name: index" (that should be 'year_purchased' field) while adding items from Listview to sql database... the same...
View ArticleVS 2010 Targeted .Net Framework 2.0 but asking for 4.0 at installation
I have created an app which targets .net fw 2.0. And for this app i have also created an Setup Project. In which, in the Prerequisites as .net fw 2.0 was not listed i have chosen version 3.0 as...
View ArticleVB.Net - Need help incorporating backgroundworkers into screen capture program
Last couple of days I've been trying to solve an interval problem with my screen recorder application. Since my timer captures as well as records, it can't sustain a correct interval, so it records to...
View ArticleVS 2012 getting conversion error
sir i am new in here i got an error when i try to search a phone no from the database the error is "conversion from string phoneno to type integer is invalid the phoneno with type nvarchar(11) and the...
View ArticleVS 2008 Can I hide the tabs in a tab control and change tab items with a...
Hi All, I want to hide the tabs in a tab control and use a command button to change tab items. I'm using Winforms. Is there a way to accomplish this using properties or can anyone share some code to do...
View ArticleVS 2012 Exception when file not found - doesn't work.
I am trying to get an error message to show when a file isn't found, but it is just skipping to the next file listed in the datagrid. I found some examples of code using this claiming it works as...
View ArticleHow to Check If a Single Item from ListBox1 is in ListBox2?
Hello everyone! I have added a code below a button that checks if the FIRST item in Listbox2 --> "ListBox2.Items(0).toString" exist in listbox1 items or in listbox1. I wanted to create something...
View ArticleVS 2010 Adding DataBindings
I'm creating a login where my data is stored in an XML file and I'm having an issue adding databindings to my two textboxes and a checkbox. What I'm doing is: A) Loading a DataSet from an XML file:...
View ArticleAwesomium & a progress bar
The application I'm creating in visual basic needs a progress bar to be able to be complete. Is there any way to be able to do this? The standard code doesn't work, and I read elsewhere that Awesomium...
View ArticleHelp with a code
Hello guys, well first of all, i did some search annnd i've found nothing that helps me...My idea is... Make a program, to connect with the website to log-in with the data of the site...I created a...
View ArticleVS 2010 VB Coding
Hi, I was wondering if anyone could provide assistance with the scripting. Essentially what I am trying to do, is create a lookup feature where an email address can be entered in the text box and they...
View ArticleThanks VB Forums! See the reasults of our game here!
We created Yargis in XNA, and are proud to announce our game here! We could not have done it without your support. Thanks VB Forums for all your help on our back end classes! We would love to get your...
View ArticleVS 2010 Tab index through many different controls not working
I have a form with many controls that are grouped in group boxes and panels. For example, a group box that contains panels that contain text boxes. The first group box contains text boxes and, during...
View ArticlePrograms/Application ideas
Hey, iv recently learned VB, and iv gotten bored of making small pointless applications... So if anyone got any ideas for an application they would like me to make for them, or would find of any use,...
View Articlechange BuffredDouble by code without use Me...
Hi I try to create new Form with DoubleBuffered by code, but the DoubleBuffered is Protected property. How i can change value of that property Thanks....... Code: Private Sub Button1_Click(ByVal...
View ArticleValidate an XML file against XSD
Hi! I'm new to Xml. In my VS project (vb.net framework 4)I have added an xsd schemas like Music.xsd in a folder name kalled 'Schemas'. I get xml string as innparameter in a function. I want to validate...
View Article