Try With Excel
Apparently I don't understand the Try/Catch As Exception as much as I thought I did. I work with Excel files a lot and making sure that Excel gets shutdown when the code is through is important. What...
View ArticleCustomizing a Radio Button
Hi if I change the appearance property of a radio button(option button) to Button it allows me to change the standard icon to a square. does anyone have a layout/guide to help configuring this control....
View Articlelist (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 ArticleVS 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 ArticleChange 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 ArticleVS 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 ArticleVS 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 ArticleVS 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 ArticleOption 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 ArticleVB.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 ArticleVS 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 Articlelistbox 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 ArticleAdd 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 ArticleDetect 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 ArticleUnable 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 ArticleDetected 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 ArticleStreamWriter 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