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

Swap Array Dimensions

Hi Is it possible to swap Array Dimensions easily lets say i have Array(10,20) can i make it Array(20,10) preserving the data

View Article


VS 2012 Shell Context Menu - How to exclude or handle shortcut (.lnk) files?

Hi, I have added application shortcut to windows context menu in HKEY_CLASSESS_ROOT\*\shell for all files types with this sample value: "C:\myvbapp.exe" "%1" On myvbapp form load coding (as shown...

View Article


VS 2010 Same static variable inside two sub procedures

I created a static variable like this: Static counter as integer. How can I share it between two sub procedures? And if this is not possible, what would be the alternative solution? Thank you.

View Article

VS 2013 Manipulating execution of cutom events

Hey guys. Is it possible to manipulate the order of execution from the "Raise Event" function of Custom events? It could be done by adding each "handler" to a collection and executing them...

View Article

Image may be NSFW.
Clik here to view.

VS 2012 Unwanted border around cells in TableLayoutPanel

My TableLayoutPanel has cells that are 32 pixels square. Each cell contains a PictureBox that has a 32 pixel square image in it. Unfortunately at runtime there is a white border around every image that...

View Article


VS 2010 Find out which array contains another array

Hello there Im not a professional programmer, I had some .net classes in school, and most of the time when I get stuck, I can help myself with googling stuff, however this time im stuck. I have an...

View Article

Rewriting Textfile with WriteAllLines method

I am working on assignment in which I have two listboxs. One listbox is populated with the contents of a textfile, and the other has a blank textfile associated with it. There are two buttons to move...

View Article

VS 2008 Crystal Report formating fields HELPPPP HELPPPPPP

I send the data from datagridview to crystal report the data there don apera like in the dgv with two decimals example 456.22 but apears 456.224556 i try by format the field to number seting the...

View Article


Help Profanity Checker for a Text Box

Hi all.. How to check a TextBox in vb if it contains profanity. For example : If Textbox2 = "xxbadxx" and i have a list of profanity words in a text file called (lists) and "bad" is apart of that list...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 ATTENTION all PRO programmers: How to retrive text string from a PDF...

I would like to use Visual Basic to search and extract text within a pdf file and print both the extracted text and main pdf file located in an external drive. (same folder). Example:...

View Article

VS 2010 Elasped Time

Hi , im new at this. I am making a program which records the amount of time elapsed. Lets say , you click a button , and it begins to count . The time format I have is in ddhhmm. The program will use...

View Article

VS 2008 What is my ip? Problem

First of all, I apologize for the poor English teaching ability! But it would be a problem we want to create a program that able to carry e-mail address to send the IP address! But so far what I have...

View Article

Compiled program not working, strange behavior.

Hi i finished coding a small app which just reads a file and re-formats it, its working fine when i use it from the VS IDE, and it did run fine when i compiled it at first, but then it would get to a...

View Article


VS 2010 problem with OLEDB connection

In VB 6.0 and Visual Basic 2008 n OS windows XP, I was connecting my oracle 10g database as follows: Public OraSes, OraDb As Object OraSes = CreateObject("OracleInprocServer.Xorasession") OraDb =...

View Article

VS 2012 ListView Control Help

Hello, So in one of the case statements i have im populating the first two colums of listview control, Now in the another case statement i want to match a string in sub items of column 1 if that string...

View Article


Can't send the connection (vb.net reports)

Hi, I made some reports that have parameters. When I was doing them, I created a connection to a server (nwsrv) so that I could design the reports. Now, when I try to call some of the reports (from my...

View Article

VS 2010 Language choose in my app

hi I've come up with this method, just need some help... Code: #Region "Localization"     Sub LoadLang(ByVal LangFile As String) ' This sub will load the language file.         Try             If...

View Article


[RESOLVED] Problem Loading ComboBoxes in VB 2010 Express

I have a Windows Form with 30 ComboBoxes. I want the List Items to be: D, W, M and O for the first 20 comboboxes. I want the List Items to be Y and N for the last 10 comboboxes. The field Name of first...

View Article

[RESOLVED] How to prevent cell from advancing to next row in DGV

I have a DataGridView that requires numeric input or just pressing the enter key with no value for 1 Column. I need to validate the input and am trying to use the CellValidating Event but having issues...

View Article

VB 2010 Login System with Database Error

So I am not using sql as this is just a small class project for my own personal knowledge. However, I looked at an example earlier and found that it worked. I can't find that example anymore and I...

View Article
Browsing all 27554 articles
Browse latest View live


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