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

VS 2012 Opening 1 form and closing another

Code: Private Sub btnOKfrmTieSelection_Click(sender As Object, e As EventArgs) Handles btnOKfrmTieSelection.Click         frmTieDataInput.Show()         Me.Close()     End Sub I would like to close...

View Article


need help with printing with out preview dialogue ??

hello every one :wave: i'm using vb.net2008 and the RDLC reports and MS access i have made my DB application and every thing was awesome . now i need for method to get rid of the print preview...

View Article


VS 2010 Caption From Mouse Click

Ok, so currently I can get the caption of a window from the mouse position, but how can I get it from just a mouse click? Code: Imports System.Runtime.InteropServices Public Class Form1     Public...

View Article

Trying to help my girlfriend with VB

Guys, here is the deal. Trying to help a girl with practice, but something did not master. Master could not, even though he had promised. Help out, please. 1. To develop the project, the form and enter...

View Article

Image may be NSFW.
Clik here to view.

Need help tweaking resizable custom form code.

Hello everyone, Wanted my third post to be for the CodeBank, but this minor problem is bugging me. I need help tweaking this code which I use to resize a bordeless form. The code for resizing creates a...

View Article


Why is this a Circular Dependency

I have three projects in my solution. Lets say one is called "WindowsApplication1", and one is called "Messenger" and the third "ClassProject". I need WindowsApplication1 to be able to use methods from...

View Article

Basic XOR help

Hey, I have 2 binary strings e.g. "0101001" and "11100" They are different lengths and can change Sometimes, when I try and XOR them, I get non-binary numbers e.g. 9 and 8 in the answer Why does this...

View Article

VS 2008 Controlling Internet explorer from VB.net

I'm using VB.net to fill out internet explorer forms. After the form is filled out I have to click on the "Search" button. Code: <td  align="left" width="113px"> <input type="button"...

View Article


Image may be NSFW.
Clik here to view.

Filling out a web form and submit it

I am using the live http header plugin to get the data to be filled and the site to be browsed, my problem is the program is able to browse the web form but it only stops there it won't fill up the...

View Article


timezone and time display

Not sure if this is the right section to post this, but I am using Visual Basic 2010 Express, with .Net (Pretty sure the language is Java by default for Application Forms) - Im new to the forums... And...

View Article

VS 2012 MD5 Hash of an Object

Is it possible to get an MD5 Hash of an Object. Here is my code: Code:     Public Function MD5CalcObject(ByVal ObjectToCheck As Object) As String         Try             Using md5 As New...

View Article

Binding Xml File to List Of Object?

Hi VbForums. I will keep my question short and am hoping for quick answer if I'm lucky. If the title doesn't explain the question sufficiently, I will elaborate... I have a List object which contains...

View Article

VS 2012 SSML with TTS

I have just installed Windows 8.1 and am using VS2013 Preview edition. For some reason, my SSML code for TTS is not working correctly. Here is the SSML code: Code: This is an SSML example of using a...

View Article


Image may be NSFW.
Clik here to view.

SSRS: Adding a column also adds a 'phantom' header?

Can anyone of the SSRS experts here what setting should I change so that column I encircled should be removed? Attached Images  

View Article

Image may be NSFW.
Clik here to view.

use a object in another form as form start position

Basically i have a mini form of 256, 244 that i whish to open just under a button on my form like a drop down panel this is a preview how would i go about this i thought maybe a custom class somehow or...

View Article


Adding items of a listview to a collection

I was wondering if anyone knew how to add items to a collection that represents items in a listview? If this helps, its the code that im using to add an item to the listview j = 0 While j < i Dim...

View Article

VS 2010 Do a search in in vb.net for excel file

I do have the following code, it works, but I need to search for a server name, so if I have about 50 names start with M it goes true them one by one, how can I search that I can put more characters in...

View Article


VS 2010 Defaultvalue for usercontrol custom color property (@design- & runtime)

Hi, I created a usercontrol that has a custom property "XColor" (color type), which I want to set to "Color.Yellow" (RGB 255,255,0) as default, both at designtime and runtime. I googled around, to find...

View Article

VS 2008 WebBrowser Problem

Hi There, I am trying to make a program were you ask it a question and it gives you the answer in a webbrowser on the same form page, here is the coding: Public Class Form1 Private Sub...

View Article

Reading CSV using oledb. Getting a limit on the column/text length of 255 chars.

I'm reading a CSV file using OLEDB. All works fine but if any columns in the CSV contain more than 255 characters they get trimmed off. So I can only read max 255 chars from any column. I'm just...

View Article
Browsing all 27186 articles
Browse latest View live