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

Image may be NSFW.
Clik here to view.

How to save an Excel Workbook as Macro Enabled Workbook

Hello, I have found a block of code that saves an Excel file when I click on a button on the form. Here is the code: Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As...

View Article


Reading from xml or csv, listbox1 selection populating listbox2 or dgv

Hello all. I'm having some issues deciding on how to setup my project so I can actually begin working on it. Basically what I want to do is create a program that loads in specific data to a listbox...

View Article


Image may be NSFW.
Clik here to view.

[RESOLVED] Child Form Problem

I'm new to VB2010 but have some experience with VB6. Some things are very different but I've managed to create a MDI Parent and a child. The child has no border or control box with a graphic for the...

View Article

ToolTip display with multiple forms

Hello, I have 2 forms and I try to display a tooltip on the picturebox control on the form2. In my main form (form1), I have a button Code: Private Sub Form1_Load(sender As Object, e As EventArgs)...

View Article

VS 2010 Webbrowser resize within code

Okay, very "Newb" question I think. But for some reason I cannot re-size my webbrowser by simply WebBrowser1.Size.Width = 10 When this totally works Me.Size.Width = 600 Any help??

View Article


VS 2010 WebBrowser to visit each link in listbox

4what the title says, i've got: Code: For Each strLink In Links.Items             WB.Navigate(strLink.ToString())         Next -that dont work, any1 help? thx

View Article

Image may be NSFW.
Clik here to view.

VS 2010 Help me to read richtextbox ?

Hello! am triying to read richtextbox in VB.net ? Soo i want to read line by line and not like this : am triying with this: Code:...

View Article

How to stop a thread that is speaking a given text string

Hello all, I have a form that is displaying a message box and at the same time started a new thread that speaks the same message. What I want to achieve is to stop the thread speaking the message as...

View Article


need help with an error

im making a matching game were when you click 1 icon and then another of the same type the 2 icons stay in but whenever I run the program I get a error code im really new to this so probably wont...

View Article


System.Management EventWatcher, best practices?

Hi I'm playing around with this class a little and it seems that while waiting for an event to happen it well waits, freezing the thread until the event is fired. is this normal behaviour and if so...

View Article

show image from ultrasound

hi, there my problem is how to review image from ultrasound on time by picture box and then capture and save picture can anyone help me?!?!? thank you

View Article

VS 2008 which value triggered the event in a case statement

Please help a newbie :confused: I have a case statement with multiple triggers and I need to know which value is the case statement handling The code inside the statement runs Select Case Values(0)...

View Article

Pass/receive string ByRef to a boolean function, possible?

HI. I cannot find the answer to this anywhere on the internet. I have a function that accepts a string value possibly "" as Boolean I know what I wanna do but I just can't seen to figure out how to...

View Article


VS 2012 Threading and OutOfMemory Exception?

Hello, I'd consider myself new to threading and I fear I am giving my GarbageCollector too much work :p I have a list (currently ~10 items). When the user pushes the Start button, it needs to call the...

View Article

read registery key to see startup programs

hi i am making a program and 1 of the featers is to see what programs are starting up with windows the program can now read all programs in the startup map but not all programs that start with windows...

View Article


Image may be NSFW.
Clik here to view.

VS 2010 [RESOLVED] How can I "Float" a listview column header to the right?

I have a listview box that contains 2 column headers "File Name" & "File Type". I have my form set to allow you to grow and shrink to the right. The listview grows and shrinks with it to the right....

View Article

[RESOLVED] Adding items to structure....Two Lists Enumerable.Range

Hi. I have two lists that i want to combine items. So each index from each lists matches the two structure items. Example Day = 0 index Week = 0 index cant quite get it. Code: Private Function Items()...

View Article


Logic Help with iteration through arrays.

Hey, I am breaking my head here because this seems very easy but I cant seem to figure it out. I have an array (100,3) Which follows something like this Code: {Bob},{Glass},{Var} {Bob},{Water},{Var}...

View Article

Open Text File Twice

I'm a newbie to VB.net and am converting my VB6 application over..... don't be too harsh on my coding. I'm wanting to open a text file and count the records. Then open it again and load a rectangular...

View Article

VS 2010 MQ Connection Drops out - No Retry

I currently have the code below that connects to a Message Queue, when a message is received, it triggers the handler event. All this works really great. There is however one problem. This is when the...

View Article
Browsing all 27514 articles
Browse latest View live


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