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

VS 2010 Disable adobe reader plugin in Webbrowser

Hi all, I am currently trying to program a web scrapping program, which should be working fine if I searched using internet explorer or chrome - since the results would appear as text (html). However,...

View Article


Show program above all Windows 8 apps

I made a program like On Screen Keyboard, all is ok except that, its window shown only when select Desktop from Windows 8 start menu, how can i make it shown above all Windows 8 apps e.g. Messaging,...

View Article


[RESOLVED] What does 'No Source Available' mean ?

I'm trying to debug a project which has gone sick on me... Probably due to some 'weeding' in the Registry Patch. When I run the project all seems to work except that the texts in several TextBoxes...

View Article

VS 2010 Data saving error

Hi I am using vb.net with sql server 2010, i am trying to save a single record in my table, pl see code Dim sqlStr As String = "SELECT * From TblLostSale where 1=2" Dim conn As New...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Backcolor with disable fields

Hi every one, Have a look on image, all fields are disabled but some fields are with white background and some are with grey background. Help me out to make all fields with white background when...

View Article


Embedded Crystal Report Files

I added some Crystal Reports files into bin\debug (default compile folder), using code System.Windows.Forms.Application.StartupPath to load them and run it to create a exe file. I copied this exe file...

View Article

VS 2010 Read VBA binary file

Hi, I've been working with some ERP software that allows me to develop VBA to interact with it, although I'm not able to read/write the binary file that it uses. Did anyone ever try to read VBA...

View Article

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

trimming a text file

I have text file which looks the following:- Code: 1 0 2 0 3 0 4 0 5 0 6 0 7 0 8 0 9 0 10 0 11 0 How can I get all the values into a string like this :- Code: 1 2 3 4 5 6 7 8 9 10 11

View Article

[VB2010] FlashWindowEx don't works...

In the NativeMethods. vb class: Code:     Friend Declare Function FlashWindowEx Lib "User32" (ByVal fwInfo As FLASHWINFO) As Boolean In a Module: Code:     Public Structure FLASHWINFO         Public...

View Article
Browsing all 27472 articles
Browse latest View live


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