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

list (of ) how to change a item

hi on the form load I make a list of t By the start of the program I don't give value for the ontlenerid Is it possible that I change the value of the ontlenerid of lijstboeken(0) for example when I...

View Article


[RESOLVED] Open Outlook folder in new window

I found the code to locate and open the containing folder of an email in Outlook. (from http://www.vboffice.net/sample.html?...5&cmd=showitem) Public Sub GetItemsFolderPath() Dim obj As Object Dim...

View Article


VS 2012 [RESOLVED] Need help with WCF error: maximum message size quota......

Okay, I'm writing my first WCF server application, and it's working except for this. When the service tries to return more than a hundred or so rows, I get the following error. The maximum message size...

View Article

Change Wallpaper on FORM via DropDown

Good Day, I would like to ask some Help regarding on Changing of Wallpaper on a Form using DrowDown Box. Is it possible that even its have no button it will change instantly is the user choose on that...

View Article

VS 2010 how can add a column's value to use in an expression of another...

hi i use 3 datatable in my form named DT1 , DT2 and DT3 than each datatable has one column named "Value1" , "Value2" and "Value3" i want to use values of columns from DT2 and DT3 to use in expression...

View Article


VS 2010 how to ensure only duplicate values in an array

Hi guys, I have to select some values and I need to ensure that they are all the same. If one number that has been entered is different from others, it should throw out an error. Any idea how can i...

View Article

VS 2012 Removing "For Each" Statements Help

Hey people, I have no real knowledge in programming however I am trying to learn... I am trying to integrate the following code from a project I found online. The code is used to detect multiple cd...

View Article

Option strict disallows late binding xDocument

Cant work this out for the life of me. Not got VS here but if i declare I as xmlNode its option strict disallows conversion from object to xmlnode. I understand the errors just cant work them out....

View Article


VB.Net 2012 using VB6 dll for printing opinions.

Hi All I have a POS system written in VB6 that is installed at quite a few clients, recently I decided to re-write the application in VB.NET 2012. The re-write is going well except for printing to...

View Article


[RESOLVED] Issue with MouseLeave event

I'm wanting to create an effect where the user knows when they're hovering over a picturebox, but I don't want to use the MouseHover event because with the Hover event you have to wait a bit of time...

View Article

Image may be NSFW.
Clik here to view.

VS 2012 Loop then insert into rich text

Okay. So this is my application so far. the user inputs coupon information (on the main screen) and it prints out a formatted template a retail system could read (bottom screen). After the first 3...

View Article

listbox integer increment HELP PLEASE

I'm writing a program that will list a table in the list box for example Time quantity passed failed comment ___________________________________________________________________________ 7:00-8:00 25 23...

View Article

Add to rich text box

Okay lets say a a richtextbox is filled with information a user inputted through multiple textboxes. I want to code a button, that once clicked opens up a inputbox. I want the information recorded in...

View Article


how to set font size and style for all controls in a from using some code

i have a number of labels and radio buttons in my form. i wish to set the same font style and size for all the controls using some code. How can i do it?

View Article

Is it considered 'bad form' to use Try-Catch in a Finally Block?

I am creating a mail merge, and wish to release the object once I am done with it. Code: Dim oWord As New Word.Application         Dim oDoc As Word.Document         Try             oDoc =...

View Article


Detect ActiveSync status

I use this code in VB6 Code: Private Declare Function CeGetDeviceId Lib "ceutil" () As Long Public Function getActivesyncStatus() Select Case CeGetDeviceId() Case 0 lblActivesyncStatus.Caption = "...

View Article

Unable to cast object of type 'System.Int32' to type 'System.Data.DataRowView'

Under ComboBox1_SelectedIndexChanged, I encounter this error message Quote: Unable to cast object of type 'System.Int32' to type 'System.Data.DataRowView'. with this code Code:...

View Article


Detected model or device ID

Im currently developing a desktop application for a mobile computer (WinCE 6.0) im almost done with it, but a have this idea about the security. My desktop application can detect if the device is...

View Article

StreamWriter and Strings

I have the code below and I need to write the data returned from the 'Test' to a text folder, Results.txt. The code runs and create a file but the file only consists of System.String[] I am sure it is...

View Article

[RESOLVED] taking values away from each other

hi i read in values from an excel spread sheet like this Code:         oRng = oWSSheet.Cells.Find("CASH (12000000)", , _               Excel.XlFindLookIn.xlValues, Excel.XlLookAt.xlPart, _...

View Article
Browsing all 27329 articles
Browse latest View live


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