Simple 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 ArticleMulitple PictureBox creation with a For Loop - Help, my friends!
I'm on the very last feature of my program (a movie manager) thanks to the help that the people of the forums have so graciously provided me with so far; however, I'm stuck with a problem I describe...
View ArticleVS 2010 option strict on errors
hi i've a few errors after turn option strict on, hope some1 can help me fix.... Error: Code: Option Strict On disallows implicit conversions from 'String' to 'Double'. Codes: Code: Â Â Â Â Dim...
View ArticleVS 2010 Advice Needed: About Option Stric On and Difference Between Any CPU /...
I am running a Windows 7 Professional x32 with Visual Basic Express 2010. Today I noticed that my Option Strict was On, and Option Explicit was On as Well. And its the first time that I noticed some...
View ArticleVB 2010 Using Nested Loops PRGM Project RULE OF 72
I need some help with a Rule of 72 program I am working on. Having trouble displaying correct output for actual double time. Current code seems work for displaying interest, rule of 72 doubling time,...
View ArticleVS 2010 How do I update a structure
Code: Hello everyone, I am new to vb.net. I am working on a project where I have to generate the details for a bill (i.e. qty, price, amount etc) first. Once I am done with that I generate the bill...
View ArticleMysql query for getting result !!
Can anyone help me on this please?? I am trying to make a stock exchange system based on mysql database using vb... So i am stuck on : my sql table : inProduct, OutProduct and Stock... inProduct cells...
View ArticleHTTP Web Request
I am wanting to create a HTTP web request with a time out so that my program isn't delayed several minutes trying to connect to a website if it isn't online. What I am currently doing is downloading...
View ArticleList(Of T).FindIndex: How to handover an argument in the Predicate(T)
Hi, I'm using a List(of T) and need to geht the Index of one of the elements. The Search Predicate as shown on MSDN should look like that: Code: Private Function FindID(ByVal bk As Book) As Boolean...
View ArticleN-gram/Bigram Help
Hey guys! My brother has a VB assignment that is looking for N-Gram/Bigram handling. He asked me for help with it and I am at a roadblock. Essentially the program must read any .txt or .vb file. It...
View Article[RESOLVED] Message box not functioning how i want
Hi, I am in an introduction to Visual basic course and am trying to write a program similar to an ATM machine. I have a text file with some fake user bank accounts. I am trying to make a little text...
View ArticleVS 2010 Print External PDF without opening it, via string entered in a textbox.
Hello, I just want to thank you for reading this post first of all :wave: :bigyello: I want to print a pdf file located in a external (P:\) drive, without opening up the file. I have a userform...
View ArticleVS 2010 Database
Hi, I'm having a bit of trouble with my program I'm creating. It's a recipe program and I'm having trouble with the menu. I want the menu, of 30 recipes to be 3 columns of 10 recipe's (See picture)...
View ArticleChange node image based on an IF condition
I am trying to get a node image changed based on an IF, something like this If TextBox1.Text = String.Empty Then node1 image = A 'Maybe by manipulating selectedindeximage else: node1 image = B End If...
View ArticleVS 2012 How to check if the first word in textbox is "CLEAR"??
As previously written in this thread http://www.vbforums.com/showthread.p...19#post4569619 I am now trying to check if the first word in a textbox is "CLEAR" but even though I got some clues from OPUS...
View ArticleDownload file that is not direct link
Hello!! I tried to download a file that the url is not a direct URL. The url is like: http://www.webpage.com/original/XXXX/0 Results: - If I enter the URL on my navigator, the navigator redirects to...
View Article[RESOLVED] How to determine the name of a PictureBox created during runtime?
I'm trying to figure out how I can implement a Click selection event for my movie manager/database. I want to be able to click a PictureBox in order to retrieve its information (movie name) which I've...
View Article[RESOLVED] I need an event but don't know which one
I have a movie manager database ( use a datagridview to display a user's database) and I need an event handler for when a row is added, but AFTER its first column is entered (which is the Film Name,...
View ArticleVS 2010 Random sentence generator question
Hello everyone, I'm trying to create an application that uses random-number generation to create sentences. i have to have 4 arrays, which i think i have done correctly and pull the random words from...
View Article