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

VS 2012 Deleting temp files

I have a software to watch videos but I want to delete the videos from the temp files. How can I delete this files? Please this is my first time with this kind of problem, if you have some code to do...

View Article


Code in a button and in toolbar

I used code below in a button to get all checkbox value and then assign to a arraylist. It works fine. But, once copied it to a tollbar, arraylist only store first value. Is my code wrong? Dim aList As...

View Article


Re-Initializing Form Control

Hi Guys, I have a custom control on a form within a FlowLayoutPanel and am having trouble re-initializing it. The control is already on the form, and what I'm trying to do is re-initialize it like...

View Article

VS 2010 Tab index through many different controls not working

I have a form with many controls that are grouped in group boxes and panels. For example, a group box that contains panels that contain text boxes. The first group box contains text boxes and, during...

View Article

Programs/Application ideas

Hey, iv recently learned VB, and iv gotten bored of making small pointless applications... So if anyone got any ideas for an application they would like me to make for them, or would find of any use,...

View Article


change BuffredDouble by code without use Me...

Hi I try to create new Form with DoubleBuffered by code, but the DoubleBuffered is Protected property. How i can change value of that property Thanks....... Code:     Private Sub Button1_Click(ByVal...

View Article

Validate an XML file against XSD

Hi! I'm new to Xml. In my VS project (vb.net framework 4)I have added an xsd schemas like Music.xsd in a folder name kalled 'Schemas'. I get xml string as innparameter in a function. I want to validate...

View Article

VS 2010 textbox numeric value issue

Hi , i have used this code in textbox_keypress event and it's works fine Code:         Dim tb As TextBox = sender         If Not Char.IsDigit(e.KeyChar) Then e.Handled = True         If e.KeyChar =...

View Article


Monitoring the state of a running managed application.

Simple question. Does anyone know of any free software/VS addon that can monitor the state of a running managed application ? In particular, I'd like to see things like all currently allocated objects...

View Article


Scraping a site

Hi Guys I am really stuck with this one. I am trying to enter values into the boxes of this site then hit the ok button. Not sure why my code below doesnt work though. Any ideas?...

View Article

Images in Datagridview Combo Box

Hey, I recently found out how to add images to a images to a combo box with the help of this page -> http://social.msdn.microsoft.com/For...ge-in-combobox But I was wondering how would I go about...

View Article

GridView Footer

I have a gridview (GV) that has a footer row. The GV only loads once on the page load event and it's read only. I have computed my value and want to place it in the footer via this code in the GV...

View Article

[VB2010] - can i hide some properties or events?

i'm creating a control. but i have some properties that i don't wan't, can i hide them? sample: the AutoSizeMode property don't do anything. i override the AutoSize for have the autosize correct;)

View Article


VS 2012 [RESOLVED] WeekdayName -> Date.DayOfWeek vs Weekday() different

Dt = 7/16/2013 Tuesday.... Dim DN As String = WeekdayName(Weekday(dT)) DN = Tuesday Dim DN As String = WeekdayName(dT.DayOfWeek) DN=Monday Any clue why?

View Article

VS 2012 Control in FlowLayout Won't Update Binding

Hi Guys, I have a custom control that I add to a flowlayout panel on a form: Code:     Dim newIntake1 As New NewIntake     Private Sub Button1_Click(sender As Object, e As EventArgs)...

View Article


Screen Location

Hi, I'm trying to find out the best practice for screen location of a form. I'm currently using "Form1.Location = New Point(500, 100)" Which works fine but the issue i'm finding is that depending on...

View Article

VS 2010 HTML Agility Pack finding tag and inner text

Hey all i have the following html that i need to get text from: Code: <place.tag theBID="Example of text here and there" percentage="512.6">     <... other html tags here ...>...

View Article


VS 2012 Loading VB.NET Custom Themes in Visual Studio 2012

Hi there, I'm using MSVS 2012 and I couldn't load any of the themes that I've downloaded. I followed like 10 tutorials (where all of them make more or less the same thing): 1 - Create VB Windows Forms...

View Article

VS 2010 How to access class properties through an interface?

Hi! I have two classes A and B. B inherits from A. A has a protected property P that is of type IMyInterface. At runtime it is set to an object of type C that also implements the interface. Now from B...

View Article

How to verify Digital Signature validity of a File by CAPICOM

Greetings, I am using CAPICOM.dll in vb.net 2010 to check the validity of any digitally signed file's signature. Following are the codes i'm using : Code:         Dim signed As New CAPICOM.SignedCode...

View Article
Browsing all 27159 articles
Browse latest View live


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