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

VS 2012 What does this function do?

I got stucked in one of this hw problem Function XYZ(ByVal strIn as String) As Boolean Dim bRet as Boolean = False Dim intLength as Integer Const conSPACE As String = " " ' IntLength = strIn.Length Do...

View Article


WHich is correct?

So I have a ParentForm with a SecondForm which will be the MDI child form loaded programmatically many times as a new instance. That form will be loaded with data from a SQL search. The data is on a...

View Article


VS 2013 [RESOLVED] Sub refuses to cooperate.

First things first, I have a ObjectList (List of string) ObecjtList(1) = Window ObjectList(2) = Curtains The following quote is inside a RichTextBox. I have the option in a ContextMenu to "Format" the...

View Article

Checking if Winzip is password protected

Hi guys, Is there any way to identify whether a Winzip file is password protected using VB?

View Article

VS 2012 Copy Excel in a workbook

Hi all, I have a problem about Excel in VB.NET. I using copy method to Copy and Insert a sheet in workbook. But it's work. I using : WorkSheets(1).Copy(Before:= WorkSheet(2), After:= WorkSheet(3)) It...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 Add multiple objects into form within a class

Im not sure if the title is right, but i'll try to explain. First of all, is it even possible to add multiple items (a progressbar, 2 buttons and 4 labels.)? If yes, then here's the result what i want...

View Article

Image may be NSFW.
Clik here to view.

Button Click works for everything except this:

For some reason I cant click this button: Code: Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click         Dim theButton As HtmlElement         Try             ' Link the...

View Article

VS 2013 Enhancing Sentence Case.

Hey folks shmee again. I have this code in my program. It does it's best to convert a string to sentence case. vb Code: Public Sub Conv(ByVal rtb As RichTextBox)        'convert Text to Sentence Case...

View Article


Image may be NSFW.
Clik here to view.

VS 2012 [RESOLVED] Trouble with filter and datagridview

Hello: I'm working on a windows form that has a datagridview and a filter above it. When the page first loads, the filter is set to 'UNASSIGNED'. It's possible that at times, there could be no records...

View Article


Image may be NSFW.
Clik here to view.

Which is the best way of setting Label printing parameters?

I swear, creating and printing custom labels (not standard label format) report using Crystal Reports is a real nightmare. My question is basically this. What is the preferred method of setting a...

View Article

VS 2010 Capture webcam image with Silverlight and save as image to SQL Server

I need to be able to capture an image using Silverlight and webcam in my ASP.net application and then save the image to a sqlserver database. I have found sample code that will allow me to click a...

View Article

Lightwave in .NET

I have numerous models that I built in lightwave (trees, signs, etc) that I would like to use in my 'application'. That target platform for my app is Windows Phone 8. I'm using Visual Studio 2012, but...

View Article

VS 2012 How to change themes/skins of controls programmatically?

Hello again everyone, long time no post. Is there a way you can change between themes on VB.Net? I planned something for my application, where the user should have the ability to change from the...

View Article


VS 2013 list event log sources

Can anyone help me figure out how to list all sources of a given event log from a system? I've got how to list all the event logs on a given system, but i'm stumped on how to then list all sources...

View Article

VS 2013 How to tidy up an untidy form layout

Hello When I debug my .NET Web site (a 'new user registration' form) in Visual Studio, I get: Validation Complete ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== so I...

View Article


VS 2010 Creating a new variable of a type based on an unknown variable type

Can I create a new variable of a type of a variable that I don't know the type of until runtime? e.g. vb.net Code: Class BaseClass   Sub DoSomething()    ' I want to create variable that is of the same...

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Click Event vs Load Event

Hello all, I am making a database driven restaurant menu application as practice and I am using a global variable as a simple counter so the Payment Menu form knows when to add a $10.00 fee if the user...

View Article


VS 2012 VB 2012 - Position of toolstrip textbox to load dialog form...

Can you get a position text box that is in a toolstrip and load a small for below it to act as a drop downbox? Code: Private _owningControl As Control Public Sub New() ' This call is required by the...

View Article

Image may be NSFW.
Clik here to view.

¿Creating dynamic controls from a SQL Table?

Hi there! The noobest noob in vb.net strikes back. I have created a form which reads from several SQL Server tables. One of them holds some different document types which are used in the application:...

View Article

Image may be NSFW.
Clik here to view.

Custom Control Question...

I've been trying to create a custom controls and I was just wandering how can I set it NOT to pop up at the form designer and instead, appears at the bottom control list just like where timer,...

View Article
Browsing all 27517 articles
Browse latest View live


Latest Images