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

Picture box problem

Hello, I have another problem with my project. I have a form, that saves image from computer to databese. Saving, deleting all works except this. When you click button to open windows search (to find...

View Article


VS 2008 Problems with Action Delegates

I have a form with a button and the following code: vb.net Code: Public Class Form1    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click...

View Article


VS 2010 Printing a datagridview

Hi, I ame looking for a way to print data from a datagridview. I have been searching for a way to do this and found a class that would do this nicely....

View Article

VS 2008 Drag a Listview Item Onto a panel

How do I drag the text from a listview sub Item and then create a label on a panel in the exact location that the user performs the drop, the label should contain the text from the listview sub item

View Article

Image may be NSFW.
Clik here to view.

problem 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 Article


Trying to add cost to pizza ordering system also a array

I have tried to add cost to pizza ordering system for a school assessment and i keeps failing I think i am putting it in the wrong place i have to add all the pizzas to together a regular pizzas is...

View Article

send 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 Article

nesting picture boxes and their parent function

I have inserted a picture box inside which there is another smaller picture box. I have made the back color of the smaller picturebox to transparent, for this to work properly i have run the following...

View Article


Fibonacci Help, Im stuck

I am solving a problem that has to do with Fibonacci numbers but ive been stuck for the longest time trying to figure this out. Given a specified “distance” from the golden ratio, I have to determine...

View Article


VS 2010 WebBrowser control not navigating

I recently updated my app a bit (added a mute option for audio.play and other things unrelated to the controls), and for some reason just ONE of the TWO webbrowser controls has begun to experience...

View Article

VS 2012 Random Boolean and Procedure Matching

After watching iRobots, and against my better judgment I decided to give my program a brain to play against me. In a player's turn, the player can choose to execute 10 different actions (each its own...

View Article

VS 2010 Copy image from webbrowser

This seem to work in vb6 but no longer in vb.net Dim O As Object Set O = WebBrowser1.Document.body.createControlRange() Call O.Add(WebBrowser1.Document.All("imgcode")) Call O.execCommand("Copy") Set...

View Article

VS 2012 Async SQL considerations

I have a couple of questions about writing to a MySQL database using asynchronous transactions... 1. I am using BeginExecuteNonQuery to insert data, and I have my callback in place. Is this enough, or...

View Article


[RESOLVED] Pasting in Textbox - Jumping to top

Hi, I took a couple of classes on VB.Net last year and wanted to keep up with what little bit I did learn, so I wrote an HTML tagging program and am just adding things as I go, basically learning. It...

View Article

VS 2012 [RESOLVED] Datagridview --> loop or array?

Hi, I would like to fill the first row of my datagridview with the values “0.02” to “0.20”. Cause there are “only” 10 rows it can be done like this Code:         DataGridView1.RowCount = 10...

View Article


VS 2008 How to cast datakey in a DataBinding

Hello! I have a DataGridView which is bound to a DataTable populated from database. I have added a ComboBoxColumn to the DataGridView. The first two ComboBoxColumns get populated from a DataTable...

View Article

VS 2010 Make Vb.net desktop application with sql server 2008 databse...

Hai All, I have made a desktop application in Visual studio 2010 in vb.net with sql server 2008 as backend.I have made the setup of the project ,with sql database to be created using installer class...

View Article


VS 2008 Get values from a file and put them to a DomainDropDown

Hi ! I need some help.What im trying to do: I want to store some kind of XYZ positions and their names in a file that should be in the same directory as the application is.Then i want my app to read...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 how to access files added to the project?

Hi folks. In the solution explorer I have created a pics folder, then added files to the folder. I could use "Me.PictureBox1.ImageLocation = path" for pic files that have not been added to the project....

View Article

Connection 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 Article
Browsing all 27186 articles
Browse latest View live