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

Image may be NSFW.
Clik here to view.

Webbrowser Help, Opening new windows

Hi Everyone, I recently opened a thread about opening a link in a new tab for a webbrowser. Someone gave me the succesful code--> 'This creates a new tab Dim tp As New TabPage...

View Article


Image may be NSFW.
Clik here to view.

New to WCF Service - need assistance with form data hosting and a basic client

So I have been building forms apps for a few years now but have never delved into network or hosting based solutions. now I am trying to learn WCF services so I can add one to an existing forms...

View Article


how to check when active window changes

so I'm trying to write an app that needs to know when the window focus changes.. and track what window has focus and for how long.. so right now I had a timer checking every second to see what process...

View Article

How can I access members of an object that is in a ListBox?

I have this now... When you double click, a messagebox comes up showing the item. How can I get the message box to show the Listbox objects ID member instead of the name member? Code: Public Class...

View Article

VS 2010 Question About Colors in Console and More

Ok, so the assignment is to make a program that plays battleship. I couldn't figure out two things: How to change the color when a battleship is placed on the board and how to have the board reset to...

View Article


VS 2010 Adding several new listbox.items.add("statement")s by clicking on...

I have looked at the 8th edition of "An Introduction to Programming Using Visual Basic 2010" by David L. Schneider. My desired result: I was wanting to use my button1.click to sequentially add a series...

View Article

VS 2010 adding table to datagridview at runtime vb.net

can someone please help me how to insert the datas from the table to the datagridview at runtime in VB.NET 2010, i.e when a user runs the application he just need to enter the name of the table in a...

View Article

VS 2010 Listview only gives ID in return

Dear all I created a listview and the only Item I get into this window is the ID of my db. if I check if the while is correctly implemented I can see that All the info of the given ID is presented...

View Article


VS 2008 picturebox variables

how to have a variable that keeps track of how many pictureboxes i got, and when it reaches 0 a msgbox shows up i have 28 pictureboxes

View Article


set primary key to existing dataset

Hi. I have a database in access and some new data in excel. I need to compare the two databases, updating the access with the new items and updating existing ones (and leaving others as they are...

View Article

VS 2010 Random item select in Listview

Hey! This is my code to select a random item in a listview: Code: Dim tmp As Integer tmp = Rnd() * ListView2.Items.Count - 1 ListView2.Items(tmp).Selected = True ListView2.EnsureVisible(tmp) It works...

View Article

VS 2010 Writing a class to a text file

Okay, so this is for my A-Level computing coursework. I have a form which is an entry form, so the user enters their details. I already have this, I have also made a class, because it's required to get...

View Article

[RESOLVED] Saving the clipboard to a file

Is there a simple way to save the contents of the clipboard to a file? .txt.gif.jpg?

View Article


VS 2008 Can anyone please help me with my problem...

I cant figure out why this code always jumping to Catch ex As Exception MsgBox("error") My plan for this code is if the employee already pressed the IN BUTTON then I will restrict him to click again to...

View Article

vb.net: editing, saving, updating and deleting on the same form

HI I am a developing a vb.net project. Some of the forms will need the client to ‘delete, save, update and edit, should I do all this in one form or create different forms? Please what would be the...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 Trouble with array

I'm reading text from a file, and i can't seem to get this to work. I need to read a line into an array using the following code; Private Sub LoadDataFile() With Me fileReader =...

View Article

Web Browser in VB

Hello! I was wondering if it is possible to make a web browser in VB(VS 2012) withot using the WebBrowser controll. If it is, can anyone point me to an existing thread about this topic or something...

View Article


VS 2010 won't do the math

I was wondering if someone could please look at this and show me why it will not do the math. It shows all answers to be 0's. Here is what I have. Public Class Form1 Private Sub Button1_Click(sender As...

View Article

get data from string

hi! how do get address.text from below string dim dummy as string dummy = %FLtampa^reester$robert$^1801 SE 18TH AVE^ how do i get address.text = 1801 SE 18TH AVE thanks

View Article

generate random number from a selected item in a combo box

i am trying to generate 3, 7 or 12 random numbers when i select either small, medium, or large consectively from a combo box and then insert those random numbers into a list box. I keep getting this...

View Article
Browsing all 27154 articles
Browse latest View live