VS 2010 What is this error?? :\ I can't seem to fix it.
ERROR: Code: System.InvalidOperationException was unhandled Message=An error occurred creating the form. See Exception.InnerException for details. The error is: 'phrase' cannot be an empty string....
View ArticleIs there better ways to write this logic?
Hi i cant help but wander, am i doing this right!! i have a feeling im stuck in my old VB6 way of writing functions and find it time consuming coming up with logic all the time a little background on...
View ArticleVS 2010 Affecting unfocused applications
Hello, I was wondering if there's any way to target a program while not having the program selected? I'd like to send keypresses to a program while I'm doing something in another program, If it's not...
View Articlelambda expresions with list.foreach methods
Hi lets say i had 2 list(of class1) objects and wanted to iterate through them checking for something with a for each loop, i always have a problem keeping the code simple because i have to iterate...
View Articlewhen its use full to add a class
Hi When you start writing a program. How do you determine if a class is required Can any one explain it to me
View ArticleVS 2010 Not getting my country weather??
How do I get this API to work? My location is Brisbane but its not currently at the correct position when I run the program... I am using the Yahoo Weather API http://developer.yahoo.com/weather/ Ill...
View Articlechange color of textbox label
Hi Is it possible to make a function or a sub to change the text color and font. lblResultaat.ForeColor = Color.Blue lblResultaat.Font = New System.Drawing.Font("Arial", 10) So that I have not to...
View ArticleVS 2008 Operator & is not defined for String "ProdID =" and type "DataRowView"
Hi. In my application, when i click on the form name in MDI so before loading the Sale Form, it gives an error Quote: Operator & is not defined for String "ProdID =" and type "DataRowView" Code:...
View ArticleVS 2012 [Resolved] IndexOf Text in Quotations
I'm trying to find the index of "some text", including the quotations. I've tried a few ways to escape the quotations but all have failed, resulting in an index of -1 Example... Code: Dim txtFile as...
View ArticleVS 2010 Curly braces and string.Format
hi That is code lblResultaat.Text = String.Format("Het bedrag {0} heeft als coupures {1} {2}{3} resterende bedrag in munten{4} ", Gebruiktbedrag, Environment.NewLine, Resultaat, Environment.NewLine,...
View ArticleNeed help with awesomium browser
Hello. I am using the vb.net sample of awesomium sdk (awesomium.com). While browsing the webform, it saves cookies and user settings into cache folder. I have added a form, with a tabcontrol that...
View Articlehelp needed
Public Function min(ByVal a() As Single) Dim i As Integer Dim smaller As Integer smaller = a(i) i = i + 1 While a(i) <> 555 If smaller > a(i) Then smaller = a(i) End If i = i + 1 End While...
View Article[RESOLVED] Changing transparent background image
I've made a program with a transparent background image using the following code in the form_load sub. Code: Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True) Me.BackColor =...
View ArticleHow to Grab Songs from a Radio in TextForm or Winamp? (VB6 Example Added)
Any coversation or any product close this this: http://www.vbforums.com/showthread.p...playing-module For vB2010 or Higher: I am wondering if there is anyways to grab the Name of a Playing song from...
View ArticleVS 2010 need help with coding a program
Hi, I do not know how to code this "Mailing Calculation: Registered Mail: RM8.00 for first 500gm and thereafter is RM6.00 per 500gm. Normal Mail: RM4.00 for first 500gm and thereafter is RM4.50 per...
View ArticleVS 2012 Splash Screen (Visual Studio 2012)
Hi guys, I am wondering how to make a "splash screen" appear while an application is loading... Any help would be appreciated, thanks!
View ArticleWanted: someone with more logic than me :)
Hi again! So I am expanding my program, but can't get the logic right behind my code. The code itself is no problem. I have a listbox with items (text files) and every file needs to be read by string....
View ArticleVS 2012 Code Optimization - Returning one row
Good morning everyone. This is not a problem or a error, just a small help for code optimization. In all of my apps, when I need to get only one value for a database (Sql compact for example or other)...
View ArticleVS 2010 Need simple Multi Socket code for my game!!!
Ok so i just finished my demo of my game egnine in vb.net 2010 and now i wanna make it as a multi player game, i have serach on google and on other forums but i cant find an easy socket...
View ArticleWebBrowser.NewWindow event - Can it block dialogs?
I'm using the webbrowser control to login to this forum, but I'd like to detect or suppress the "You have a new private message" dialog window from showing,.... This is hard for me to test since if I...
View Article