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

VS 2012 Open Text Files Without Permission

How To Open Text Files Without Permission: [Working 2013] Imports System.IO Public Class Form1 Public Sub opentext(ByVal txt As String) Try Dim sr As StreamReader = New StreamReader(txt) r1.Text =...

View Article


VS 2012 Open Text Files Without Permission

How To Open Text Files Without Permission: [Working 2013] Code: Imports System.IO Public Class Form1     Public Sub opentext(ByVal txt As String)         Try             Dim sr As StreamReader = New...

View Article


VS 2010 display same form multiple times on the screen

Hi folks. I have a credit card sized form that is currently displaying in the centre of the screen. I also want to display the same form at the edges of the screen by docking. So the form will be...

View Article

VS 2010 License Exam Help

im getting a error in my code saying Result is not declared or its private Dim strGrades() As String = {"B", "D", "A", "A", "C", "A", "B", "A", "C", "D", "B", "C", "D", "A", "D", "C", "C", "B", "D",...

View Article

Need encryption without using System.security.cryptography

So, I have a program that encrypts the users password, then unencrypts it when used. I used Poly RC4 but anti viruses seem to think it is a virus -_-. Does anyone know a good way to securely encrypt a...

View Article


VS 2012 Menu Search option

I have a menu in an application that has a lot of content, is there such a thing to have a search box that can locate a word in the menu, e.g. If I was looking for billing and typed in bill, it would...

View Article

VS 2010 problem in work with datagridviewcolumns class

hi friends i create a new class that inherits datagridview . my main purpose is to add a new property to all columns of this new datagridview . my professor want that i do this in the form below . i...

View Article

VS 2012 [RESOLVED] Form Objects removed?

OK, I got a huge problem. I was adding some controls to a project of mine and I think I accidentally clicked 'Exclude from Project' on the folder that contained those custom user controls. From there,...

View Article


Generating Reports

Hello Guys, Im a beginner into Programming and im learning on my own, So i have a few doubts. Im creating a small application that calculates the scores in a Snooker Match, All the calculation part is...

View Article


How to use Getpixel

I have a program where i use getpixel to see what color a specific point is, and if it's the correct color a messagebox will pop up. For some reason, when i watch the program, every time it checks, the...

View Article

VS 2012 [RESOLVED] Migrated and now can't see any form controls when in...

Hello: recently migrated from 2005 to 2012. My application seems to be working well; however, when I click on any of the forms to view them in design mode, there's nothing but a blank form there. when...

View Article

Dublex Printing Excel Worksheets from VB.Net

Hi All, I am developing an excel automation application. I have almost completed it but I have a major problem at hand. After collecting some data and combining it with databases I can fill in excel...

View Article

How do I edit a item in a listbox by selecting it then pressing a button?

Exactly what the title says, thanks.

View Article


Default bitmaps

I'm trying to find some bitmaps that come with visual studios, like the icons in System.Drawing.SystemIcons, but I cannot find any. I've tried googling and it comes up with a path in C:\Program...

View Article

VS 2008 Very strange ! My Label suddenly loses its text !

This is something very strange ! I have a form with various controls on it . At some point I added a label on the form with some text . I run my program and I found out that the label was not on the...

View Article


Can't get code to enable all controls on a form to work in VB 2010 Express

I am using the following code which does not work. What is wrong? My Code Code: Dim Ctl As Control   For Each Ctl In Me.Controls         Ctl.Enabled = True  Next Ctl

View Article

Commands executing in wrong order?

For the below code, the program starts copying file in the CopyFiles() Function before it does Label11.Visible = True or Button1.Enabled = False. Anyone know why? I did try putting in a...

View Article


VS 2010 Help please! Stuck on .ini files

Hello there. Basically i have been coding a program and i've got to a part where now i need to have a windows form that has 11 text boxes, each text box reading a corresponding line from a config.ini...

View Article

VS 2010 Progress bar for a web browser

Second post for the win ^_^ Hello all! I have a web browser in Visual Basic 2010 Express, and I have tried numerous codes trying to get it to work with my web browser. The web browser i'm using is...

View Article

VB2010: Calling another sub procedure

Hi guys! The code below actually works but I have a question about if there's another possible way to do this. Code: Imports System.Data.SqlClient Imports Microsoft.Office.Interop Public Class clsPrint...

View Article
Browsing all 27027 articles
Browse latest View live


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