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

Click 'Like' on a Facebook post via code?

I have a program I've been working on for the last few weeks, and I need to add a new function to it - Is there any way to click the 'Like button' on a Facebook post when the main post link is clicked...

View Article


VS 2010 Shared Function

In my module, I have this code.. Code:         Public Shared Function GetNumber() As Integer             Dim num As Integer= 0             num = TestDalc.GetNumber(Me)             Return num...

View Article


Saving a PDF in SQL 2008

Here is my issue: The user fills out a form in VB.NET. Once this form is complete, a pdf is generated. I brought the PDF to focus due the fact the signatures blocks need to be filled by different...

View Article

Edit a csv file and save a copy using vb?

Hi there, I was wondering if someone could help me get this task done. I'm kind of struggling a bit and to be honest I'm still reading books to try and sharpen up my vb skills. I have a original.csv...

View Article

VS 2010 Concverting Console program to Form Program

I have a console program listed below that is working perfectly, taking in 2 different sets of data over ethernet and continually updating and displaying the data stream. The problem is, in my main...

View Article


WebBrowser1.navigate causes a file download dialog, I want it to load in the...

Hello, firstly I am self taught so there may be errors :) Ok so basically I have an application (using visual studio express 2012, windows forms) The application has a webbrowser control which when the...

View Article

GCHandle to Convert Bitmap to IntPtr

I need help doing this. I have some source code to do so but I'm lost on 1 part of it. Look below..."Whatever" would be the bitmap but I'm lost on the "Some API Call" part. What API call would I need...

View Article

VS 2010 Is there a way to kill EXCEL.exe process which is running in background?

Hi, I'm having a problem in one of the program tool that i'm using. This tool actually encrypts excel workbook to user-defined format and it will have to open the workbook to perform the encryption....

View Article


VS 2010 Testing a file

I am creating a file system and I am currently working on adding a new user. I have the basic portion set up, however, I need to test to verify the user does not already exist prior to adding the user...

View Article


VS 2010 Listview usage

Ok, so I am still learning list views. There are a few thing I have going on here. There are 3 columns to my list view (The listview is called league. The 3 columns are position, player and points)...

View Article

Issues installing vb.net 2010 -or- 2012 Desktop

I've been trying to install vb.net 2010 -or- 2012 desktop for days now and nothing seems to work for me. My computer was recently upgraded to Windows 7 SP1. When trying to download: vb.net2010...

View Article

Image may be NSFW.
Clik here to view.

[RESOLVED] Why am I getting this error?

Attachment 98455 Code:     Private Sub createfile()         Dim oFile As System.IO.File         Dim oWrite As System.IO.StreamWriter         Dim oRead As System.IO.StreamReader         fileName =...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Problem with the Login that i made please help

Read what typed (red text) inside the code.... so please help me with the code i dont know what i did worng its not telling me that there is a warning or error.. Code... ======== Code: Public Class...

View Article


FTP Upload error " Invalid URI: The format of the URI could not be determined. "

Hey everyone I've been trying to get my ftp upload code to work for days now. I have created a vb.net application on my laptop (the client) but I'm also running the laptop as though it were a server...

View Article

custom control in form click event not firing

Hi All, I have a custom user control which has an image and a button on it. this works as expected. however when I put it on a form, then double click it and select click event, it never fires. is this...

View Article


VS 2010 [RESOLVED] Problem with closing form

Hi everyone, I got a simple problem but it's getting the best of me. I use this to show the Reports form, From the Projects form. Code: Public Reports As Reports Code: Private Sub Button4_Click(sender...

View Article

VS 2008 CheckedListBox1.SelectedIndex

ListBox1.SelectedIndex = i operation works but I get an error with CheckedListBox1.SelectedIndex = i

View Article


Image may be NSFW.
Clik here to view.

Stuck with Payroll system! Syntax error :(

Hi guys, Firstly sorry if I've posted in the wrong section etc. I'm Very new to VB and this is my first project for my college course. My plan is to make a very simple payroll system that's linked to a...

View Article

VS 2008 printing problem

PrintDocument1.Print() PrintDocument1.Dispose() I have these two lines withing a sub to print a document; part of the process is that a picture is created, which happens just fine, and then the page...

View Article

VB.NET connectiing to SQL 2008- SQLException was unhandled

Here is my issue: This is my error. SQLException was unhandled. Below is the code. I know the info is right for SQL. Any thoughts: Code: Dim Conn As SqlConnection = New SqlConnection("Data source=MY...

View Article
Browsing all 27092 articles
Browse latest View live


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