VS 2010 [RESOLVED] Confused on Random
I just noticed that my random numbers are NOT random. They always start at a certain number, and generate the same sequence every time my program runs anew. Here is an example of my code within the sub...
View ArticleBubble Maker
Could someone please tell me if I am doing this right. I know I am not because it won't work but am I even close? I am trying to take a png file and use that to make a balloon in that shape on a...
View ArticleIF, then, Else Functions errors
This may seem like a stupid question but I can't seem to get the IF function to work. I got it to work in an earlier section: Code: If txtSat1.Text = "" Then If txtSat2.Text = "" Then...
View ArticleVS 2010 Multithreading
Not quite certain how to implement multi-threading. I get a Debugger.Runtime.CrossThreadingMessagingException even if I invoked "Control.CheckForIllegalCrossThreadCalls = False" within the body of...
View Article.mdf Database and ListView
How would one iterate through a collection of items in a column from a table in a database. Then display that in a listView. I know how to adequately use a ListView object. However, I don' know how to...
View ArticleWhere does the application start from?
For building an installer, I need to know where an application executes from so I can copy files from that directory. For instance, when the files are on a CD (D:\), I need to know to copy from D:\. If...
View ArticleEmpty Textbox = Program crashes?
The program I have written keeps crashing if the textbox is not filled in..how do I Prevent this? this is the code I have this far.. 'to make sure that user enters week number less than 52 If...
View Articlecounting checked boxes
Ok, I have two forms. The first form you enter in a whole bunch of info and have a row of checked boxes. Once you click submit, the second form pops up calculating every thing entered on the first form...
View Articleproblem at host my custom control in datagridview
hi I crate a textbox control by Additional property as: InputType as inputs , inputs is enum : Public Enum Inputs Standard = 0 (user can enter anything) Numbers = 1 (only number) Alphabets = 2...
View Articlesend sms (could not load sms.dll) HELP!
I have created a device application in VS 2005 I have put the following lines of code in me form I'm using windows mobile and VB.net. I 'm trying to built an application which will send sms. Imports...
View ArticleReboot
Hi guys, Instead of using a .cmd file and programming to launch after xx processes, can I launch my form (Reboot form) after all other processes........
View ArticleFind out what page as start page
I downloaded a vb.net sample. There are many folders under project as sub-project. Once I open sln file and run it, all folders display on the start page as buttons. How to find out which page is start...
View ArticleVS 2010 [RESOLVED] Adding Events To Custom Controls
I have a custom control that has a series of comboboxes. In my application, I programmatically add the control to several programmatically created tabs. When the first combobox value is changed, I...
View Article[VB.NET] Fill combobox from MySQL!
Hey guys! I've got a combobox, and I need to fill it up with data from a column in a MySQL table. When one of the cells is selected, the data in the cell in the next row(on the right) is displayed in a...
View Articleado - insert from one DB to another
Hi all, not too sure on how to craft this sql, I want to insert into an access database on a share path, from another access database on a share path, in vb.net using Code: Dim cmd As...
View ArticleTry and Catch with outlook
With this code i send a email with outlook. Code: Dim application = New Microsoft.Office.Interop.Outlook.Application Dim outlookEmail =...
View ArticleCant obtain Access Token. Unauthorized exception. Help?
It seems that Dropbox wont let me obtain access token. Any suggestions? Steps 0-3 work fine but it stops on step 4 and gives and 'unauthorized exception' warning. I have entered the correct consumer...
View ArticleConnection string to MSSQL 2008 VB.NET
Hi Guys, I'm working on some app which have to connect to the database (MSSQL2008). My connection string looks as follow: Code: #Region "[--------First of all you need database connection be set...
View ArticleVS 2010 Alternative to default webbrowser control?
the default webbrowser controls with vb.net 2010 no longer seem able to function with my project. (don't ask me why, they just won't. they stop navigating. LINK) a webbrowser control is still the best...
View ArticleVS 2010 Winsock, hamachi, ''The requested address is not valid in its...
Hello all, This is my first post on this forum, so first short introduction, I'm Daniël, a 17 year old programmer with an obsession for aviation... Today i started writing an application to fly...
View Article