Quantcast
Channel: VBForums - Visual Basic .NET
Browsing all 27512 articles
Browse latest View live

[RESOLVED] how to get total row and column number from MySQL using VB.NET...

Hi. In PHP I used: HTML Code: $result = mysqli_query($link,$select); $row_num = mysqli_num_rows($result); to get the total number of rows in a given table. What is the equivalent in VB.NET to get total...

View Article


VS 2010 [RESOLVED] Missing Files in Debug

Whenever I save a project in Visual Studio 2010, it only creates a single file in the Debug folder named "projectname.vshost". It used to make other files, including an exe that I could send to others....

View Article


VS 2008 Populate from Database ContextMenu Dropdown

Hello, Hope someone can help me with what is wrong. I've been trying to resolve all day. I'm just trying to load a dropdown in a context menu with data from a data table. I've confirmed the datatable...

View Article

Any kind souls out there

So I procrastinated! And yes i am asking for HW help. Here's the problem: Write a program to deteemine a student GPA. see figure 5.25. the user should enter the grade (A,B,C,D,orF) and the number of...

View Article

VS 2010 Sorting design code via date

I am using VS2012 vb.net and having to write a document associated with my application. Is it possible to 'arrange' or 'sort' code that has been done at design time. I am wanting to log the sequential...

View Article


Manually setting TabIndex property?

I have a windows application in which I set the TabIndex property of TextBox controls manually. Based on the menu option that is selected, a specific panel, loaded with controls, will appear. I set the...

View Article

Error Message

Hi, I have changed a data type of a field (fieldsize) from int to Bigint. Now, the problem is it generated the following error: Microsoft VBScript runtime error '800a000d' Type mismatch...

View Article

VS 2010 Delete word more than 10 characters in a line ?

I have a textbox and some text like this: Code: I love apple and longlongword blah blah I like mango She eats banana every day Oh my god thisisareallylongword blah blah I hate grapefruit How can I...

View Article


Image may be NSFW.
Clik here to view.

Porting a VS 2012/Windows 7 App to Windows XP?

I have a VS 2012/Windows 7 application that I need to move to a Windows XP machine. When I tried to run the app on the XP machine, I get the following error (see screenshot). Attached Images  

View Article


[RESOLVED] VS 2008 and getting the DataGridView control?

I was wondering if it's possible to use the DataGridView control in VS 2008. I know it doesn't come with VS 2008 but was wondering if there is anyway to pull into 2008. I tried adding from the .Net...

View Article

VS 2010 Saving comboboxes and texboxes to an Excel worksheet

Hi all, I made a program with multiple ComboBoxes and Textboxes. The Textboxes are next to the comboboxes. I would like to save its contents to an Excel worksheet (ComboBox1 to A1 and Textbox1 to B1)...

View Article

Opening generated html file name in web browser window in vb 2010

Hi Folks, I Have VB 2010. I use a set of list boxes that generates the location for the proper html file that I want to open up in my web browser named “wbChapter”. I want the final listbox to be able...

View Article

Binary Search

Anyone know how i would convert this to a binary search? Private Sub btnSearch_Click(sender As System.Object, e As System.EventArgs) Handles btnSearch.Click Dim first, last, middle As Integer Dim flag...

View Article


Return in a RichTextBox

Simply how do you put a "Return" in a RichTextBox: Code: RichTextBox1.Text = RichTextBox1.Text & "Return" & Value

View Article

DataGridView not display a bit field?

I have a DataGridView in a Windows app. Two of the columns hold data from a column in the database which is defined as a bit datatype. My problem is when the DGV is bound to the BindingSource, the bit...

View Article


VS 2010 run program 5 times

Hello, I''m trying to get my program to run 5 times then show a form called frmSurvey this is the code i used but it dosent seem to work and dosent show any errors. Public CountRun As Integer = 5...

View Article

VS 2010 Override the same function but a different formula

Hi everyone, I am required to override a function from a parent class but use a different formula in that function under a derived class. How can I do that? I was planning to use abstract class and...

View Article


VS 2010 Using If Statement in Login System

Hello to everyone , If textbox.text = "Pass" Then bla bla End If this is the simple login system all we know.im trying to develop advance one. i found functions which encrypt the text. i saved the...

View Article

How to take screenshot of region on screen using x1,y1,x2,y2?

I am trying to figure out how to take a screenshot of just a region of the screen using the x/y coordinates of the upper left corner and the x/y coordinates of the lower right hand corner? My issue...

View Article

Dupe thread.

Duplicate...sorry guys:lol:

View Article
Browsing all 27512 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>