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

Converting image to base64 String? Help with code!

Hello, so I am trying to make a program that will convert an image from a screenshot of the users desktop to base64 string so that I can send it to my websites php API. Here is what i have so far......

View Article


VS 2010 [help] How to pass a Label( ) array from sub to sub

Hi and Happy New Year. I want to pass a Label() array from form1_load sub to Timer_tick subs I googled and find ByVal ParamArray labels() As Object method but it doesn't seem to work.Any suggestions?...

View Article


VS 2010 SQL and Visual Basic.NET

I am wanting to develop an application in Visual Basic.NET that has an SQL database to store data. My question is this: If I develop an SQL database and store it on my HDD, is it easy to later place...

View Article

VS 2010 OS Information

Here is my code: Code:         Dim os As OperatingSystem = Environment.OSVersion         MsgBox("OS Version: " + os.Version.ToString())         MsgBox("OS Platoform: " + os.Platform.ToString())...

View Article

VS 2010 2 Things i need help with VB 2010 EXPRESS

1. How Do i make the Security Certificate Error Like auto-click yes or how do i fix in webbrowser. they told me to use this WebBrowser1.ScriptErrorsSuppressed = True But it just Hides it and it wont...

View Article


VS 2010 Open files with program

Hello, everyone. I made a mini mp3 player in VB 2010. Does anyone know how to open a .mp3, .wav. whatever with it?? Like, open the program and have it automatically play the file.

View Article

VS 2010 Reading XML in loop

Happy New Year Everyone. Hope you all had a good christmas and New Year and not to bad hangovers presently :-) Was hoping for a bit of advice with reading XML documents. I normally only have to read...

View Article

Use DirextX to draw on another form

Based on a question I asked earlier, I did some work an managed to draw a line on my form using DirectX. This is the code if anyone is interested: Code: Imports Microsoft.DirectX Imports...

View Article


VS 2008 An attempt was made to load a program with an incorrect format

Hi I really could do with some help here as I am going absolutely round in circles trying to solve it. I have two computers, one PC running VS2008 that I use to develop my apps on and another without...

View Article


VS2010 Mschart - how to determine visible points when zoomed?

I've got a databound chart thats all nice and zoomy etc and I've figured out how to get the index of the point nearest the cursor (going to use that to try and select the datarow the data came from)....

View Article

ReportViewer - Nbr of Pages on website is different than Nbr of Pages when...

Hello All, I am trying to get the number of pages on the web page to be the same as when you are printing. Is there anyone that can help me with this? Thanks in advance!! Eddi Rae

View Article

[RESOLVED] Capture Netstat output

Hi I use this code below that can capture dos outputs. Code:     Private Function CaptureDos(ByVal Filename As String, Optional ByVal Parms As String = vbNullString) As String         Dim Exec As New...

View Article

Printing from Data Grid View on Form 1 and Textbox on form 2

Fist off, I am new to coding so please no negativity. I have attempted to build an app for a shopping list. I think i have most of it complete but i have a couple of issues. Mainly Printing. Right now...

View Article


Multiple BackgroundWorkers - What is the best approach

I am trying to write an app that uses different analysis tools depending on problem. I wanted process feedback, so I decided to embed each tool in a separate Background_Worker. I currently have 2...

View Article

VS 2005 What type of application i need to develop for this situation.

Hi. Its my first to be confronted with a project in hand. The end user demands that i need an application which is installed on a single PC and can be access everywhere in the network, local or wide...

View Article


Converting image to base64 for upload to PHP API? (Need Code Checked)

I'm working on a project to convert an image to a base64 string that can then be sent to a PHP API. However the problem I'm having right now is I'm getting an error "invalid base64 byte sequence". So...

View Article

Currenncy Format

I have a textbox that is formatted for currency and this is how it shows Code:     Private Sub txtPrice_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles...

View Article


Mouse Hook. Good or bad idea?

My goal is to record the number of times a user clicks (left or right) while playing a particular 3D game (full screen). I have been able to achieve this by hooking both left and right click using this...

View Article

Get domain name from IP Address

Hello, I am making a net stat app at the moment I am using the net TcpConnectionInformation to get active connections that lists the IP address and ports is there a way I can get the domain name from...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Problem with auto click OK buttons on error messages

A part of my application deletes some folders on a particular directory. Code:                           Try                                 My.Computer.FileSystem.DeleteDirectory(subdirDest, _...

View Article
Browsing all 27372 articles
Browse latest View live


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