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

VS 2010 filter a dataTable using distinct column value...

Hey all, I have a large data table that stores process data. The table has a process_start_time column (dateTime value) and a total_process_time column (double). I ultimately need to get the sum of the...

View Article


[RESOLVED] Array out of range.

Hi I am trying to make some code to collect tokens of a string. but I keep getting an out of range error, tho it works with some expressions here my code. Code: Public Class Form1     Private Enum...

View Article


VS 2010 How to set the ListView cell text or background color

Hi all. I am new to WPF and I am trying to change the cell text or background color in the cell. Example Cell >= 1.25 change color to red Cell <= 1.24 change color to green Here's my xaml Code:...

View Article

null reference

i am getting a 'system not set to an instance of an object' nullreference error when i run the following function: Code: Function collisioncheck()         spikes(1) = spike1         spikes(2) = spike2...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Transparent edges.

Howdy! I'll try to keep it short. I've decided to make custom skin on my application, so I picked background color which was Orange, set the transparency key to background color, but sadly this is what...

View Article


VS 2010 [RESOLVED] Need help converting textbox numbers into integers

I'm creating a temperature convertor in Visual Basic 2010. I have the code working, but I need it to convert the result of the conversion into an integer. I've tried, but no success. I'm trying to...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Difficults with transparent edges.

Howdy. I've wanted to make my application to look more "flashy", so I decided to put a skin on it. So I've set the background color to Orange, and the Transparency key to Orange as well. As a result...

View Article

VS 2010 compare two datasets

hi everyone, hope you doing fine. I really need some help. actually i am developing a small application for creating invoices. one thing that i am finding really hard is when you have to edit an...

View Article


LINQ to XML Query in VB

Ok, Im new to LINQ to XML and need some help getting my query set up. I have googled for hours and it seems every diffrent website has a diffrent way of doing it and I am getting really really...

View Article


temp store of ibformation

i have a login form from which i check the username and password in the database what i want to know is i want to temp store this information so i can use in every other form or put it into another...

View Article

group timestamps into intervals

Hi, Im trying to group timestamps by a interval of say 30 mins im using Access as my data base. an example to work with of the tables are dater - date something happened timer - time it happended des -...

View Article

VS 2010 What's the best way to run mudule routines in a backgroundworker from...

My app has a main form where the user sets several values and has a progress indicator and cancel button. In the form I have a dozen of triplet subs for BackgroundWorkers. EG “Private Sub Frank_DoWork,...

View Article

VS 2008 Treeview, multiple child with same record.

OK, this is just a personal project of mine. I like the treeview control but it seems so dam hard to get it work corectly. The following code is a slash about of Microsofts How To on the treeview. My...

View Article


VS 2010 [RESOLVED] Text Box Question

I would like to make a text box that display a predefined text in it - once clicked, the text would then disappear, so the user doesn't have to annoyingly delete the default text before adding their...

View Article

VS 2010 Deep copy

In Visual Basic.NET, if I have an object, that has dynamic objects within it, and I wish to copy this object, do I have to do the deep copy process myself, or is there a feature in VS2012 Ultimate that...

View Article


VS 2010 Tab Questions

A) I would like to prevent the user from closing the last remaining tab in my program. So, I need to check to see what the total number of open tabs are - if the open tabs > 1, then close the...

View Article

VS 2010 Disabling Button Focus

So, I'm running into an issue, which I believe has to do with button focus. Lets say you have a search bar in your program where the user could search for files. You set AcceptButton to the associated...

View Article


VS 2010 Read txt file and store into variables

Hello, i tried to find some codes in here. (By search) But i haven't still found solution. TXT file aka config: Code: SAMP_PATH=C:/Program Files/Extra/Nothing/samp.exe PATH_FOUND=1...

View Article

VS 2008 HotKeys for both 32 and 64bit

Hi ! As you all probably know, when i declare GetAsyncKeyState function, then i need to specify if i take it from user32.dll or user64.dll, if i for example use 64bit program version when im really...

View Article

Why my form closes? and not putting items in listview?

Why processform will just show a bit then closes itself and not adding items in listbox? I tried showing it before this code but this time it will show but it did not add anything in the listview. I...

View Article
Browsing all 27189 articles
Browse latest View live


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