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

Creating Lists from a Dictionary

Hi, I’ve just started using Visual Basic 2010 so I hope I am posting on the correct forum. I’ve created a dictionary with four key value pairs. I need to use a read only property List to create a list...

View Article


Using DLL References

Hi All, I've had to add a reference from a DLL into my project which has left me needing to have Interop.GPMGMTLib.dll in the same directory as my application every time I'm wanting to use certain...

View Article


Image may be NSFW.
Clik here to view.

Last stage of a 3 years project

Basically about 3 years ago I started with programming and to learn faster the basics I started a simple program, 3 years later I finish it, most of it, but there is a problem that I just can't get...

View Article

VS 2010 Using a DataGridViewComboBoxColumn

Hi, I have a datagridview with a number of columns that are bound when I set the datasource to my datatable. One of the columns I create in the datagridview is a datagridviewcomboboxcolumn. As I...

View Article

VS 2012 For Each, If statements, and WebBrowser manipulation problem

Right, I already had a topic relating to this but it never went anywhere, so i am hoping some of you will help me with this as i explain step by step what i am trying to do. Now since i am having...

View Article


VS 2008 msgbox

I have a situation where I am reading through a file line at a time, and based on certain criteria the program goes to look up in a different file some more information based on the original file and...

View Article

Backgroundworker for methods e.g. retrieve folder recursively

Hi, Is it possible to use backgroundworker for method instead of controls? Somehow this statement will take a long time to execute > Directory.GetFiles("C:\", "*", SearchOption.AllDirectories Code:...

View Article

VS 2010 Auto Inject string

Hey guys I'm trying to automatically inject password at windows logon screen by using a thumb drive. I tried but for some reason the string wasn't being inserted into the field. All help appreciated.

View Article


VS 2010 HTTPS Post with P12 Certificate

I am trying to post over SSL with a certificate using the below code, but i get the error "The remote server returned an error: (403) Forbidden." When i check my web server log, i see the error "Client...

View Article


VS 2010 Checkbox value not binding unless I activate another control after...

I have a checkbox that is bound to a dataview. When I change the value of the checkbox and click a button, that runs through dataview.endedit, then the .update, it's changes are not saved. I can get...

View Article

Last row in DataGridView not showing?

I have a DataGridView in which 1 column is editable allowing a User to enter decimal data. The problem I'm having is that on the last row when data is entered and the Enter/Return Key is pressed, the...

View Article

VS 2010 Assembly Embed in VB.Net

Hey, I am using this function to embed assembly into my application. It works perfect in my another Application. It doesnt have spaces in application name.. but my new application have a space in...

View Article

vs 2010 vb adding a date function to a dataset column expression

Trying to add a date function to a dataset table column expression but 'Property Value not Valid' error results. I want to have a calculated column in a dataset that gets the current date then use this...

View Article


Where/What is this "Global" stuff and how do I recreate it for another form.

Below is a code snippet that exists in my VB2010 program. I accessed it using the search function and the word "holding". It found the word near the bottom of the snippet. It (the strange place that I...

View Article

Can I return a bitmap or is it a copy?

I have a class where a member is a Bitmap. When I create the object, the constructor requires me to load the Bitmap. I created a ReadOnly Property that returns this Bitmap, like this... Code:...

View Article


Is there a way to make sure the VB net application is completely shut down?

Hi there everyone. I am migrating a VB6 prog to Vbnet, and I am looking for a way so when I press the exit button on the form, it will unload the form, and all other instances of the .exe file if there...

View Article

IS there a way to make a picturebox array?

Hi there! I am migrating an old VB prog to vb net, and I used picturebox arrays in the old one. I foundthe button to make a picturebox, but is there a place to make an array like you know when you take...

View Article


VS 2010 Sorting Excel sheets in alphabetical order

Hi guys, Basically I'd like to arrange Excel sheets in alphabetical order using vb.net. In this code: vb.net Code: Dim xlApp As Object = CreateObject("Excel.Application")        Dim xlBook As Object =...

View Article

How to copy MMPlayer image to picturebox

I would like to find a way to copy a single frame from mmplayer video image to picturebox. Thank you all

View Article

Need recommendation for GUI testing tools.

:wave: Has anybody had any experience with automating the testing of the GUI of a windows forms app? Our customer is envisioning a scenario where they can put together several dozen scenarios and have...

View Article
Browsing all 27569 articles
Browse latest View live


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