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

[RESOLVED] SpecialFolder returning numerical value?

For some reason when I try to set a path to 'Environment.SpecialFolder.Windows' the path ends up being '36', even when dimming as a string - What the heck am I doing wrong? Code:         Dim Install As...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] how to refresh a datagridview and prevent rows from getting...

when i refresh my datagridview control, the new values gets updated but all the rows get repeated. in the figure 'student_pk ' is the primary key. after entering a new row, a whole new set of rows gets...

View Article


VS 2010 Asynchronoous Serialization

I would like to implement an automatic backup function in my software where the main object gets serialized and stored asynchronously on a timed schedule, but do it asynchronously so as to not slow...

View Article

VS 2010 [RESOLVED] How to make a MsgBox Popup for each 5th Item within a...

First of all I wish you all Merry Christmas and Happy Hollidays. I recently started a Project with Speech Recognition. I am using 2 ListBoxes. One for Curse Words that I dont want to include in my...

View Article

Drawing Sine and Cosine Graphs on vb10

Hi, I'm a beginner and i need help drawing a sine and cosine graph on vb if the equation is given by the user. I'm using the chart function and i know I'm close but just not there yet. It would be...

View Article


Image may be NSFW.
Clik here to view.

Horizontal Scroll Button Menu

Hi, I need help for creating a Horizontal scroll menu with next & previous + 5 buttons showing data from database. I have no clue what this type of menu is called but managed to find what I need in...

View Article

just wondering??

Why does the following code, Code: For rec As RectangleF = rectlist.First To rectlist.Last     'do something here Next generate an error (in intellisense) "value of type Integer cannot be converted to...

View Article

Redo after clicking ok on message box.

Using VB 2010 Express, the problem is, after displaying a message box when data is inadvertently omitted, when "O.K" is clicked, I wish to return (stay) to the current form (form5) to enter the data....

View Article


Sorting Array including negative and positive elements

I'm coding a statistics program. I need to sort an array. Array has 999 elements(some are 0). What I need to do sort the array without zero(0) elements. But if user entered 0 it should show the zero....

View Article


How to know file path of a vbs file running in wscript by vb.net?

Hello Friends, I'm able to get running process list by the following code: Code: For Each p As Process In Process.GetProcesses()  Msgbox p.Modulename Next I'm running a vbs file from the desktop by...

View Article

VS 2012 How to send bulk messages from a Webbrowser?

Hello to everybody, I am searching since days for a solution to stabilize my handling of a webpage that I control with vb studio 2012. It is a program to send bulk message in a existing webpage to all...

View Article

[RESOLVED] Server Time

I'm trying to show the time from my host and I managed to do it very well by using a WebClient but there is a problem, the program freezes for less that a 1/10 of a second but enough to make it...

View Article

Padding is invalid and cannot be removed

I'm trying to from read a .txt file and and then decrypt a line to use in My.Settings but I keep getting 'Padding is invalid and cannot be removed' error in the decryption, heres the code I use Code:...

View Article


VS 2010 Reading XML and Populating TextBoxes PROBLEM!

Hello guys! What I'm trying to do is read an xml file, and populate the textboxes in my form with the data in the xml file. What happens is that everytime, i want a different XML file, and to do so I...

View Article

VB2010 -Numbers and globalization

To test a "globalized code" I have created three Windows7 users: english, italian and french, downloading the related languages and setting the related language properties. The test code: Code: Dim...

View Article


VS 2010 Overwrite word bookmarks with .net

Hello, I have the need to replace some word bookmarks from my windows forms app. I have all my word templates in my resources folder. My app is behaving as desired as long as I only open 1 word...

View Article

VS 2010 [RESOLVED] Datagridview issue with column sort

ok so here's my problem..hope i explain it in an understandable fashion lol ok in my gridview i'm using the default sorting..i have one column called status..this is where the percentage of file...

View Article


Need help recursive treeview fill.

Hi guys, I have come across a problem, I am trying to populate a treeview with a data scheme, the data scheme is files within a folder. ONE.file ONE%%TWO%%THREE.file ONE%%TWO%%FOUR.file ONE%%FIVE.file...

View Article

Load a form on TabControl - Questions about it

Dear all, I am working on a VB .Net project, with Visual Studio 2013. Currently I am using Windows Forms with the following design: MainForm with a MenuStrip and a TabControl. newUserForm, with...

View Article

VS 2010 i have a new datagridview issue

i used code to add a header checkbox..when i click the headercheckbox it checks all rows and unchecks them fine..however when i check them all and then click any column header the checks are all...

View Article
Browsing all 27348 articles
Browse latest View live