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

'Print' property of 'Picturebox' in vb.Net

What is the equivalent for 'Print' property of 'Picturebox' in vb.Net ? (Tried 'DrawString', but the text disappears if any other event is occured.. like refresh etc)

View Article


VS 2005 ListView with Icons

Hey guys! I want to create a New Item Dialog Box in my project like the dialog when I press CTRL+SHIFT+N in VB because in my project I got many tables. And I want the name of those tables to be the...

View Article


Help DataGRidView not Bound but i cant import from TXT

i have a txt file that i want to import into a DGV that i didnt bind to anything but vb says its bound. Heres my code Code: Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As...

View Article

Visual Basic download a file faster {HELP}

Hello i need help How to make Visual Basic download a file faster ?? I'm using Direct link but How to make download file faster thanks

View Article

Image may be NSFW.
Clik here to view.

VS 2005 Get the List View Item Name

Hello guys! I have here a picture of my ListView from my project. Attachment 95549 Now if I selected one of the item and clicked the OK button, how can I get the item name? Example: Let me say, I want...

View Article


[RESOLVED] Adding Handler to DataGridView doesn't run code correctly

Hello, In my project when i dynamically create a DataGridView I am adding a Handler to the CellParsing event wit the following line: Code: AddHandler DatGr.CellParsing, (AddressOf Datgr_End_Update) My...

View Article

VS 2010 Multiline data from Access DB will not stay multiline in Report!

Hi Now a thread with this second problem. i have som data in a tablecell in an Access DB which is multiline, and it is multiline, and when I get this into my report it is converted to singleline which...

View Article

[RESOLVED] How to make a function when user hits Enter?

Hi As the title says, how do I make a function when the user hits the Enter button?? I know it's basic but I can't seem to find it??

View Article


VB Webserver Capabilities

I am working on a project which consists of a web server (xampp) running on a Windows XP machine. The web server receives a stream from our hosting company when a customer requests a product drawing. A...

View Article


VS 2010 How to access a connection string from a web.config or app.config in...

Hi Guys, I have a class library that I've used as a DataAccessLayer in my website. In the web.config file for the website I defined a connectionstring. In the class library I accessed the...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Getting error when trying to add ReportViewer to a form!!

Hi, I just deleted a form containing a ReportViewer and want to make another form with a ReportViewer in it and then I get the fault on the picture. Attachment 95551 What can I do to fix it?? Attached...

View Article

VS 2008 Sending e-mail

Hello, Let me first say that I searched the forums for a solution, but no matter what I try it's always the same. No error, no e-mail. Below is a sub I use to send e-mail. It executes without any...

View Article

Bluetooth file transfer

Hi, i would like to be able to pair a Bluetooth device (mobile) and have files sent from the phone to the PC. Is this possible, and if so how can i achieve this? Maybe embedding windows "fsquirt" some...

View Article


VS 2010 Broke Color Scanner

I have a code which I'm attempting to use that isn't working properly: Here is the code (full/runable) *requires 1 button (B1), 1 richtextbox (R1), 1 timer (Timer1) Code: Public Class Form1     Private...

View Article

.rtf File Printing

Hi all I am attempting to write a routine with VB 2010 that can be called via a dos program that prints an .rtf page. But when i run the program all i get is a blank page from the printer. This is what...

View Article


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

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
Browsing all 27554 articles
Browse latest View live


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