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

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

[RESOLVED] how to set font size and style for all controls in a from using...

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


VS 2010 Request for comments on my class which inherits the Tcplistener class

I know this needs more work but any comments on what I need to add, to change, to improve would be helpful. I know the error handling has to be improved drastically. Code: Imports System.Net Imports...

View Article

VS 2010 String to Double Error

Hi Guys, I am probably doing something stupid here lol im trrying to update a label.txt with an integer, everytime we loop we update the label by + 1 Code:                     Dim number As Integer...

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

VS 2010 AES Encryption

Hi Guys, I am building myself a library to use whenever I need to do encryption I have various things in it such as AES, 3DES and RSA Encryption types as well as Being able to has passwords. When it...

View Article
Browsing all 27384 articles
Browse latest View live


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