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

VS 2010 Multiple Style Changes On A Html Element

Hi. I have 1 webbrowser and 2 buttons on my form. After the site gets loaded, I press on a section of the site itself, click the first button to change the style of the html element (works well) and...

View Article


Multiple TcpClient connection tips

Hi Folks Im working with my first VB.Net application (I've done some VB6 long time ago), and also my first to use TcpClient. I have the basics down OK so far, but now I need to scale up and have lots...

View Article


Continue to a text file

Hi guys! Let's say I have a form with Textbox1 "Name", Textbox2 "Surname" and Textbox3 "Company". And I have this code for Button1: Code: Private Sub Button1_Click(sender As Object, e As EventArgs)...

View Article

VS 2010 [RESOLVED] Make all forms the same.

Hi, I am making a program and have got to the stage where I want all the forms to have the same background, same fonts etc etc and I was just wondering whether anyone has a piece of code which can do...

View Article

VB.net 2008 and excel pivot tables....

I am trying to add additional cols of data to a pivottable. If I record a macro, I get the following line of code. Code: .PivotTables("LYpd1").AddDataField(.PivotTables("LYpd1").PivotFields("Avg Last...

View Article


Auto-complete information from text file

Hi guys! What I need is a very complex thing for me and I aö searching ideas about this. The thing is, I have a database (a simple text file) created by myself which is keeping a log as "Mark Twain,...

View Article

VS 2010 Search for a string in a text file and perform an action

I have a txt file with the following contents: Code: [config1] name = test1 settings = settings1 host = sample.com [config2] name = test2 settings = settings2 host = sample2.com [config3] name = test3...

View Article

What version of Visual basic to Learn first in dot net?

I have been in VB6 for the past 2 to 3 years. Now I would like to switch to .net part of it. Can any one suggest what to take first whether Visual basic 2008 or any higher version. I want to learn...

View Article


Accessing and renaming a textBlock inside a Datagrid columnHeader

I was using the VisualTreeHelper trying to locate a textBlock inside the datagrid columnHeaders. I have just learnt that : "The Header object of the DataGridColumn is actually the visible header of...

View Article


VS 2010 Help for Console App in VB 2010 (I have code)

I need help with creating multiple commands without it closing. Code: Code: Module Module1     Dim Com As String     Sub Main()         Console.WriteLine("Welcome to MiniDOS. A text-based operating...

View Article

VS 2012 FTP: upload/download all .txt & .jpg

Hi, i can't figure out how to upload and download all the .txt and .jpg files I've tried this code: Code:         Dim request As System.Net.FtpWebRequest = DirectCast(System.Net.WebRequest.Create(host...

View Article

VS 2012 Copy Paste/change data issue

so this is a weird one.. I read data from one excel spreadsheeet and convert it into something different in another spread sheet. Here was "I thought" the easiest solution.....change the clipboard...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Date Saving Error

Hi there, I am saving a record using olddb in sql server, on saving it gives an error, actually its a date format error. Please have a look on images. This is my SQL Table This is my Vb.net maskedit...

View Article


out of Memory Error

I have a pretty single code and my if then function is causing an out of memory error Sub Macro16() ' ' Macro16 Macro ' Dim ProjName As String For x = 1 To 51 Sheets("sheet10").Activate If cells.Value...

View Article

VS 2012 Version terminology

I have developed some software that I would like to release to the public. What is the official terminology of a first release? I am releasing this version for people to try the software and to ask for...

View Article


Help: Crystal Report Viewer and .net

Hello all, I started another thread in the reporting section regarding Crystal Reports and Blobs however I'm starting to think my issue is not with Crystal but more so with the report viewer because in...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 [RESOLVED] Webbrowser getting Script Error

How can I catch an error that my webbrowser keeps getting, and then force a click on the dialog that comes up? Attached Images  

View Article


VS 2012 sha256, username, salt, password

i have a web site that registers a account using this info. I'd like the make my program in vb.net also make it the same way but i cant seem to do it. $salt =...

View Article

VS 2012 [RESOLVED] Why is VB so hard to comprehend?!?!

Ok so I've been reading tons of information online about VB.net and I have a book (WROX - Beginning Visual Basic 2012) that I've been reading through and doing the exercises and trying repeatedly to...

View Article

VS 2008 closing my application out

I have three different forms, the main one, and two that are called from it. Each one has the opportunity to have a few different programs open such as notepad or excel, so here is what I did. In each...

View Article
Browsing all 27355 articles
Browse latest View live


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