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

VS 2010 Button within a Location to execute a code

I am getting and error where 80, 380 is and the Comma is getting a error it blatantly says ") expected" Can someone tell me why it does this? Code: If e.KeyCode = Keys.Space And BtnSprite.Location =...

View Article


VS 2008 uncheck items from checkedlistbox and remove from database

have a checklistbox in windows application and am able to select the data items from checklistbox which is populated from database.& able to save the checked items in a tablebut not able to uncheck...

View Article


VS 2010 Need Help - Command launchbutton .exe re-size window or hide

I was stumped so i came here and hoped someone would know how to do this. I believe this is probably very easy or maybe its not possible but nothing is impossible The basic Setup is I have my app that...

View Article

VS 2010 ProcessStartInfo - How to launch a .exe process in the background

I need help on how to code a command button (buttonclick1) to launch a program in the background I attempted to try to using ProcessStartInfo with CreateNoWindow and WindowStyle. I think it's possible...

View Article

Updating a charts points during runtime

Hi guys, Big thanks to everyone who has helped me over the past couple of weeks. I am currently creating a line graph in one form using an array that I have stored in a module, the array is configured...

View Article


address verification

I want to build an application that can verify address that is on a .CSV file. The file will contain columns like this: firstname, lastname, address1, address2, city, state, zip, country Once the...

View Article

VS 2008 probleme EF with vb.net

hello :) i have a problem with my project. the error is always related to database.savechages() the inner execption say that : { "New transaction is not allowed because there are other threads running...

View Article

key down e.suppress key

i have a telephone number textbox that i have used the key down event to suppress any other keys besides 0-9 and the backspace key. i have a label beside it. i want to display a message on lbltelephone...

View Article


key down, suppress key problem

i have a telephone number textbox that i have used the key down event to suppress any other keys besides 0-9 and the backspace key. i have a label beside it. i want to display a message on lbltelephone...

View Article


Vbnet2012- pdf viewer control doesn't work, why?

Hi guys, with my VB2008 ver I did some simple code that loads a pdf into a pdf viewer with "AxAcroPDF1" command and it worked fine, but with my VB NET 2012 it returns error ,why? Does anyone have an...

View Article

Update Statement

Hi, I have the following update statement which works fine.. Code: query = "UPDATE dbo.TblChangeControlDet SET  UATComment=@UATComment, UATDate=@UATDate, UATApp=@UATApp  WHERE ChangeID=@ChangeID"...

View Article

VS 2010 Listing win 2008 server system32 directory files

Hi, I’ve written a VB app in VS2010 to list files in the windows\system32 directory on one of our 2008 R2 servers. At first glance, the output file list looks correct. Upon closer inspection its not...

View Article

Image may be NSFW.
Clik here to view.

VS 2005 Any body help me plz...

Hi every one, i am working in vb.net 2005 i have a little bit problem that: Suppose exam table have 16 student exam result. i have to assign top 10 positions to each student note: if multiple students...

View Article


help please

i am developing an application to calculate and grade students' marks in schools exams with vb 2010. i find it practically difficult to create a file extension for this program. i want the program to...

View Article

VS 2005 Anchor and Dock properties quit working

In one form of a certain app the Dock and Anchor properties have just seemed to quit working when the app is run (in the IDE they work fine). This is an existing app that was working fine before. I've...

View Article


How to Cycle through Listview entries programmatically.

Hello guys. I would be very grateful for your assistance. I want to know whether there is any means to cycle selection of entries in a Listview, like as its done in a listbox such as the example below....

View Article

VS 2010 [RESOLVED] Select x random items from a listbox and add em in an array?

Hello VBForums, So I have a listbox that has many items in it and I want to select x number of random items and add them in a string array. Any solution with code or how would it work? I can't think...

View Article


VS 2010 Read datatable column value

Hi, I'm new in VB. I do have a datatable with a few columns. The first column having a unique values. How do I want read the particular column value and display it in textbox? Say the datatable dt...

View Article

add label text with formatting in pdf

hey all, i have a label with some text.the font of text is COLONNA MT, text color is dark green & size 32. can i get the text with same formatting in my pdf ? thanx in advance :)

View Article

VS 2010 DotNetZip UnZip/Zip with file locations

I've got the problem narrowed down, I just don't know how to fix it. Here is an example code- Variables for example: Code: Dim Username As String = Environment.UserName     Dim AppData As String =...

View Article
Browsing all 27372 articles
Browse latest View live


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