Unable to Create Hook - SendKeys.Send Widnows 7
Hey, I have a Framework 1.1 Application that needs to be run in Windows 7. The application uses quiet a few SendKeys.Send, which causes the following error to occur ************** Exception Text...
View ArticleVS 2010 [RESOLVED] msgbox just keeps repeating
When I go to debug my ap the message box just keeps repeating itself. I have it when the progress bar is complete it has a pop up message box. Here is the code. Code: If ProgressBar1.Value = 100 Then...
View ArticleSize and Size on disk problems.
Hi guys, I need a bit of help on finding out how to calculate file/folder sizes :) Code: Dim fileSize As Long = 0 'Dim drInfo As New DirectoryInfo("C:\some\random\folder") Dim...
View ArticleShowing live previews of apps; Aero Peek (?)
Is there any way to show the live previews of programs running like the taskbar does? I'm not even quite sure if it's Aero Peek. And if it's not I have no clue how it's called. Any ideas would be...
View Articleadding a minus sign to a copied figure in excel
Hi i copy figure from one excel files like this Code: oRng = oWSSheet.Cells.Find("OVERDRAFT EXPENSE (43979000)", , _ Excel.XlFindLookIn.xlValues, Excel.XlLookAt.xlPart, _ Excel.XlSearchOrder.xlByRows,...
View ArticleVS 2008 add numbers in textboxes
Hi how do I add numbers from two different textboxes, and then show the result into one of them? I tried this, but it won't work Quote: Dim add_box As String add_box = txt_box.Text Dim derv_total As...
View ArticleVS 2010 Public Property help
I need some help figuring out how to use properties: I have this property in a class: Code: Public Class ErvID Private BidID As String Public Property ErvID() As String Get...
View ArticleVS 2010 Datagridview: How to delete row if a cell in a column contains x
After almost 2 days of searching the world wide web, I still didn't found the solution. I have a database (.mdb) of a list of sheet metal (from an automatic store) at work. Now I have imported this...
View ArticleVS 2008 Printer Name
I'm trying to open a dialog box, select a printer and use that printer to print multiple addresses. The code below will open a dialog box every time when it is ready to print. I want to open the dialog...
View ArticleVS 2012 Remove decimal place (not saving variable as int)
So I have an input box and a user would enter an amount. Lets say a user enters 999.99, I want the variable to save as 99999. Basically I want to save exactly what the user enters without the decimal...
View ArticleHow to resize all controls when MDI Child Form is maximized in vb 2010 Express
Using VB 2010 Express. And after much unsucessful research. I have set the anchor property to "none" on all the controls on my MDI child form so that the controls are centered in the MDI form when the...
View Articlehow to control form size at design time and at run time
1)i am developing a multiple choice quiz application. i need a single form to display around 30 questions ..but i can insert only around seven groupboxes( each groupbox contains a question and three...
View ArticleVS 2010 [RESOLVED] Treeview fullpath questions
Ok I am very new with .net and just coding in general. I have a treeview item, with child nodes and what not. When I select a node at the end of the treeview then click a button it will do this....
View ArticleLink to Excel File Causes it to Become Locked R/O
I recently built a VB.NET project which reads some data from text files and then populates an Excel spreadsheet. In this sheet there are some formulas which I use to build some bar charts. The boss...
View ArticleVS 2012 Displaying null date in DataGrid
Okay, I've got a DataGrid that is displaying data from our database, except when it runs across a NULL datetime value in the database it displays it as "1/1/0001 12:00:00 AM". I'd MUCH rather have it...
View ArticleTry 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 ArticleOpen 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 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 Article