VS 2008 Error in Writing data Not sure where my problem is.
I'm showing 2 pieces of code the first one works fine. The second one is the exact same code with one additional item added to it. and it does not work. Code: Sub SaveData() Â Â Â Â Dim mycommand As...
View ArticleVS 2012 DataSet Table Names Rename
Hey guys looking to name the "tables" in my dataset which is populated from a SqlClientStoredProcedure which is the combination of 4 child stored procedures. Instead of just going by "Table" and...
View ArticleSimple 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 2008 How to setting VB goto form.shown not goto formload
If form.shown exist Attached Images Â
View Article[RESOLVED] How to pass an array number AND a variable?
If I have an array that a function uses, how can I pass it a variable and get back the output depending on which array # I pass it as well? E.G. Code: Public Function GetInfo(ByVal pstrMyVariable As...
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