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

save PDF into SQL varbinary column

I use image object to save image (jpg file) into SQL varbinary column as code below. It works fine. Now, I need to insert pdf file but Imaging.ImageFormat do not have pdf option. How to insert pdf...

View Article


Deleting Button to work for both Parent and Child Table Rows

The Delete on my winform is not working the way I need it to. I have a form with parent table textboxes and child table datagridview. When I press the BindingNavigatorDeleteItem button it will delete...

View Article


Joystick input?

Could someone help me with some code for joystick input. I want to add it to my project and have is correspond with keyboard input.... say if I push the joystick forward it would do the same as my...

View Article

VS 2010 Determining the invariate date/time for a local pc

Hi all, So, I'm presented with a potential issue where I'm writing to a local database server in the UK but could have someone writing to the database from the US. I'm using a MS Access database which...

View Article

how to add button in title bar in specific application

hello everyone i'm making an application and i searched for this way to make an float button in every of specific app i want to make this button in specific windows how can i do this and thanks for...

View Article


How do I search a list view for text?

I have a listview with several columns. I need to add a function to search all of the columns for a piece of text specified in a text box. Some of these columns include descriptions, so there could be...

View Article

VB.NET datagridview Click event Error message

I put a click event on the datagridview. Im tryin to get the content of this grid to load some textboxes on a second form. But I kept getting error message, ERRORs Error 1 'text' is not a member of...

View Article

VS 2010 Add ListBox Item

Ok, I used this code to add a listbox item: Code: Private Sub Main_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load         ListBox1.Items.Add("(Test Item)")  End Sub It worked...

View Article


VS 2010 How to range an array?

Hi Guys! First, I am using VS 2012. I have a number m and p(n) array. How to say; Code: rng= Lbound(p) to Ubound(p) For Each val in rng If Not m Mod val = 0 Then 'Do something End If ??? Basicly I want...

View Article


Version Control

I have several projects underway and many of them are running fine. But now I'd like to refine them with a little more pizzazz. Once I open the project and make changes to it, my original code it lost....

View Article

vb 2008 getting all listbox items

hello, this is my first post here and is beginning to learn vb2008. I am working on my project now but I came to a problem that I don't know how to solve. I have a form with 3 listboxes and a button....

View Article

Generate controls at run time ?

Hi, I'm trying to discover how to generate controls at runtime... I've started a small test project, Sadly I don't really know what I'm doing... I wanted an array of controls but have discovered...

View Article

VS 2008 mybase.actived infinite loop

I have a program that has a series of forms in it. the main form is called Specdriver, and within that form, I have a button that hides this form and activates a form called frm123 so the user can do...

View Article


How to populate TextFields of Dispayed 3rd party WebPage with data from my...

I am using vb 2012 express. When the user displays the Name/Address web page of a 3rd Party, I would like for the user to start my program and then Click a button in my program that will transfer...

View Article

Regex help HTML

Code:     <p id="post-exception" role="message" class="exception notice">Error please check link <a href="http://support.xml.com/articles/1234-this-link-changes">here</a>.</p>...

View Article


VS 2010 How to add Keydown under all circumstances

In order for me to avoid writing the Code: If e.keycode = keys.control + keys.B then me.show() and writing that under ever keydown event. May I just have it under form.activated or how can it work...

View Article

VS 2008 SQL Code Executing without Error, Not Writing

I am using a SQL Code to write to the Database based on Data In the DataGrid. It is pulling the Data From the DataGrid Correctly, but Not writing to the DataBase. Here is the code Code:   Dim...

View Article


Filter Combobox items

Is there a way to filter combobox items (declared as single) to find which values are greater than an specific given value?

View Article

Help with number generating

I need help on coding this or help with VB. I have VB 2010 First GS = Random number 1-60 second GS = Random number 1-60 third GS = Random number 1-60 fourth GS = Random number 1-60 fifth GS = Random...

View Article

default text and a decimal value in a statusstrip?

I made a statusstrip to display my taxrate on the bottom of the form, code for that was simple StatusStrip1.Items.Add((taxrate)) that displays my tax rate for example it would show "10" or any other...

View Article
Browsing all 27554 articles
Browse latest View live


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