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

VS 2010 Display array values in Console

Hello, I have two dynamic arrays, each with three values. I want to display the values of both arrays horizontally. Example: Dim iArray1() As Integer = {1, 2, 3} Dim iArray2() As Integer = {1, 3, 2}...

View Article


Type Mismatch

Hi, I am working with Visual Studio 2005 with SQL Server 2005. Now, I have changed a data type on my table (dbo.files) from int to bigint. As a result I received the following error on my page;...

View Article


how to open a file through its default application upon selecting it in the...

Suppose i have a listbox filled with doc/docx files, when i select a file within that listbox and press the btnOpen. it will launch the default application , i.e. Microsoft word. thus opening the file...

View Article

VS 2010 Is there anyway to save usercontrol as image file?

Hi, may i know is there anyway to save usercontrol as image file (jpeg/bmp)? Something similar to picturebox.image.save properties. In my usercontrol, i have multiple controls on it, i.e picturebox,...

View Article

VS 2008 Reading file. Problem with finding and adding a string.

Hello ! The problem is that I can't add a new string to the files. So the file contains configurations. File looks like that: # example1 IDE example1.1 IDE example1.2 IDE example1.3 IDE example1.4 ......

View Article


VS 2010 Logging into my router with VB

Hi Guys, I'm trying to log into my router using VB. I created a form and added a web browser and navigated to the the log in page. The problem arises here, the actual log in is a popup msgbox with...

View Article

Published application wont open

Hi there, I have published and installed my application using the click once publish wizard in vs2010, once it installed the program launches. After exiting I try to re-open the program from the start...

View Article

VS 2010 Loops

Hello I have two listboxes: listbox1 contains the 50 states, listbox2 is to display the states ending in "na". How would I program the button to display the states ending in na? Thanks, Justin

View Article


Unable to find the requested .Net Framework Provider

I have an Access database and I'm wanting to make a VB frontend. I did this years back and it was pretty straight forward. Today I downloaded VS 2012 and tried to create a new Data Source and I pointed...

View Article


VS 2010 Un-Share Session Cookies of webbrowser control

I have more than one webbrowser controls on my program, and it seams they all share session cookies. What i want is that they DONT share the session cookies. I have different webbrowser controls that...

View Article

VS 2010 Get url from href tag

I am trying to make a programI how-ever need to get the url between the href tag. There are multiple links on the site. For example. PHP Code: <a class="sec pokeActionLink"...

View Article

VS 2010 Accessing Methods and Subroutines

Hi There I have a project i have been working on for a little while that lives on my server and switches phones around and what not. I don't want to have to log in to my server to use this program and...

View Article

VS 2010 How to efficiently set values in a 2D array

Hello, I've been juggling with this problem for quite a while now... I'm working with 2D arrays in Console, trying to make games where you move around a player character by pressing arrow keys to...

View Article


Fractional part problem

How can i change 14.66666666 to 14.66 i am using like this Dim sum As Double Label6.Text = sum thankyou

View Article

details section in crystal reports printing twice vb 2010.please help me

i am printing a crystal report but the detail section printing twice this is my problem how to solve this problem please help. i am using vs 2010 and crystal reports for vs 2010

View Article


VS 2008 How to check/uncheck ContextMenuItem by index

Hello, I have to check/uncheck some items (8-13) by index in ContextMenuStrip based on boolean value. What I try is: Code: ContextMenuStrip1.Items(8).Checked = 0 - value ... but this don't references...

View Article

Image may be NSFW.
Clik here to view.

Insert code snippets

The "VB.NET Example Code & Hints you may not know" post is closed for some reason. Maybe the moderators can suggest where to put this :D It didn't attach very well... Attached Images Snippets.pdf‎...

View Article


VS 2005 How to create database connection, which is used on every form.

Hi. I've using database connection in vb.net on every form separately. But its very lengthy and not good way. Is there any way, in which i create the connection in one place and that can be used on...

View Article

VS 2008 Create db sql server from script with vb.net

Hello. Sorry for my bad english but i need help. I developed a maintenance software but i need to work with separated bases. For example, one db 'Electric_M', another 'Mecanic_M' another 'computer_M'....

View Article

data from webrowser

I have database with players and they rankings. When i press button, i want those rankings to be updated from website. It takes some time for webpage to load, and since there is many players, it takes...

View Article
Browsing all 27554 articles
Browse latest View live


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