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

VS 2010 Effects/animations lag.

Hi all. In my project I have a fading form effect and a scrolling form effect. Both of these effects tend to lag a bit sometime, and on slower PC's they tend to leg a lot. (Got an I7 2670QM, Nvidia...

View Article


Easiest way to loop thru cells in a DataGridView?

I am seeking to loop thru all the cells in my dgv. I though you could do something like this: Code:     For Each cell In DGV.Cells     Next Unfortunately the above code doesn't work. There is no Cells...

View Article


VS 2010 Loop Through Dataset

Hi, Can anyone help me with looping through a dataset? I'm currently trying to get all the ingredients for a recipe into a textbox and my code only gets the first ingredient because it looks at the...

View Article

Whoever helps me gets a paperclip :D

I want to say "If integer is not 2 or 6, then this action will be performed" but I can't figure out the "not 2 or 6" part :'( pls help

View Article

Delaying Form Display

I have a project that does a LOT of stuff on startup. The load time is about 22 seconds in the IDE. There's a splash screen that shows for about 12 seconds of that, then it goes away, the screen goes...

View Article


(VS2102) Speech Recognition Suddenly Stopped

Hi, I put together the following code to start automating some stuff on my PC and it all worked great apart from random command pickups but now it just doesnt work. it always showed in the immedaite...

View Article

VS 2010 how to convert visual basic 6.0 to visual basic 2010

hy. i have code from visual basic 6.0 i want to change and convert from visual basic 6.0 to visual basic 2010. i don't understand using command get and put in visual basic. Private Sub Command3_Click()...

View Article

VS 2013 Shaping my tabs to imitate Chrome's tabs, by setting an array of points?

http://www.codeproject.com/Articles/...l-from-scratch I'm creating a web browser in Visual Basic, and I am using the ever-so-popular MDI Tab Control to do so. The example project on the page sort of...

View Article


VS 2012 See if SQL Server row exists

Hi guys, I am wanting to see if a row exists in a sql server table... I know how to do this and have the query etc. I just dont know how to return the result to the user via a message box... Can anyone...

View Article


VS 2013 pages datagrid

i'm having a datagrid (with data from the sqlserver) where i want to work like this site. Where i display for example 15 results on the datagrid, with a bindingnavigator i want to move forward / back /...

View Article

Insert new rows in datagridview

Hi, I am new to vb.net(2012) I have some data on my datagridview which i have shown it through datasource. Now i want to add some rows programmatically ..means through coding. But no success... Pls...

View Article

VS 2008 How to REPLACE more lines in a document

Hi, i'd like to replace few lines in my document but i don't know how to make working this code (it only changes one line) for ex. from my test.txt i want to search for "Replacetext1" and replace with...

View Article

VS 2012 panel auto scroll

why when I set the panel control auto-scroll to true, the panel is already scrolled on the middle? it should start the first. what should I do?

View Article


Image may be NSFW.
Clik here to view.

VS 2013 Downloaded a class library (.dll) But Not Working !!!

Hi EveryOne Two Days Ago I Downloaded many class libraries among them one from this website .NET random number generators and distributions - CodeProject and i managed to add it to Visual Studio 2013...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 resolved-Does anyone know a shortcut key press for this?

I'm not even sure what that is called, but I seem to use it quite a bit. If a key doesn't exist can one be assigned? I'm using vs2010. thanks kevin Attached Images  

View Article


using String.replace in a data table expression

I am working with a data table whose column naming convention uses an underscore to join common words. For example New_Column, My_Column, etc. It's a table created by another app with columns that can...

View Article

VS 2008 Putting an image in an RTF-file

So I want to insert a picture from a file into an RTF file. The RTF file is created using this: Code:         Dim w As System.IO.StreamWriter         w = IO.File.CreateText("OUTPUT") I then write to it...

View Article


VS 2010 Problem with receiving correct data from serial port

Hi guys, I started out a new project to install new switches from different types (HP Procurve). All the communcation goes with the serial port. So i add a serial port to my vb project. Make a simple...

View Article

Run certain event if Setting value = to...

I have a windowsForm with a search form. You can search on a DB as you type or you can search when you click SEARCH BUTTON. The user can select which way he wants to use. So I created a Search Options...

View Article

Whoever helps me gets a piece of string :D

there is a textbox. How do i refer to words inside the textbox? I mean: (textbox word 1) = ____ is textbox1.substring(1) the first word in the textbox?

View Article
Browsing all 27569 articles
Browse latest View live