VS 2008 Logging in usin WebBrowser, Object reference not set to an instance...
Hi, i am making a log-in program for my website running phpBB3 and style called "0mega" So, i have this code: Code: WebBrowser1.Navigate("http://www.mywebsite.com/ucp.php?mode=login")...
View ArticleVS 2010 Threadpooling, async writing, batch processing.
Hello everyone, I need a little help as I have been away from the VB.net programming world for a few years. Project Scope: When an email arrives in outlook from a specific email address, save any...
View ArticleIdle time, then... VBScript
I am a new system administrator and for one of my servers I am trying to make a script to run in the background. If idle time goes over 2 minutes, without the mouse moving or keystrokes the webpage...
View ArticleHow to Delete a record from a SQL Server Database in VB 2010
Using a SQL Server 2008 Express database and VB 2010 Express and Windows Forms. Coming from VB5. After finding a record or moving to a record in my Managers Table, I want to delete the record displayed...
View ArticleVS 2010 Adding Row in DataGrid
I tried to add row in a datagrid. Below is the code Code: Dim r As DataRow r = Tbl.NewRow() r("ITEM") = "Section 4(a)" Tbl.Rows.Add(r) The error message told that "Input string was not in a correct...
View ArticleType only numbers in a DGV column
Hello, I have a question about how to limit the keyboard entry in a datagridview cell from a certain column. I have found many answers but all are a bit complicated so I wonder if there is a simpler...
View ArticleVS 2010 [RESOLVED] Using webProxy Slow
Hey Guys, What i'm doing here is implementing proxy support in one of my applications: Code: '// PROXY SUPPORT If (formProxies.listBoxProxies.Items.Count > 0) Then '//...
View ArticleVS 2012 Change MaximizeBox Icon
Hi Guys! I have this code: Code: Private Sub ChildForm(sender As Object, e As EventArgs) Handles Me.Resize If Me.WindowState = FormWindowState.Maximized Then Me.WindowState =...
View ArticleHelp: Titlebar MouseDown/MouseUp events on programmatically created forms
The below code to detect MouseDown and MouseUp events works great for regular forms, but I would like to have it work for forms created programmatically at runtime. Could someone tweak it? :) Code:...
View ArticlePerformance issue
I'm working on OSK program, i have created a custom Button inherited from System.Windows.Forms.Button, now i want to implement key repeater, that is when the button pressed by the mouse left button for...
View Article[2010] How to get printer status
Hi all, I want to get the printer status notification. For example when printer runs low on toner or its jammed or some other problem that shows on the display. I use this example of Wade Brooks, which...
View ArticleVS 2010 Lambda Expression, Locking, Queuing
I am trying to read in a log file based on changes made to the file. I have a filesystemWatcher looking at the directory for changes, upon changes I run a procedure that checks if the log file was...
View Article[RESOLVED] Help understanding timer synchronizing object
Folks, Im reading through MSDN on threading and timers. Looking at the System.Timers.Timer it has a synchronizationObject and says "Gets or sets the object used to marshal event-handler calls that are...
View ArticleVS 2010 Simulate Mobile Preview
I have an application in which I would like to show the user approximately what a web page that they created might look like on a particular mobile device. For example, the iPhone5 has a 3" x 2.5"...
View ArticleVS 2012 How to find/move icons on desktop.
I'm writing an app for my own use, and I need to be able to detect if the app's icon is on the desktop. If it is, then I want to move it to a specific location on the desktop. I realize I'm probably...
View ArticleVS 2010 Error trying to add record to Access 2003 Database with DataAdapter
My program reads the values in the table to a bound combobox. The user can either select from the combobox, in which case the "Update" button is enabled or freetype in the combobox, in which case, the...
View Article[RESOLVED] Forms versus WPF
I have a text-editor, multi-language-type program that I am re-writing, it uses forms, VB2010 windows 7, and I am wondering if it would be worth it to convert the forms to WPF using Expression Blender...
View ArticleVS 2005 vb6 up to vb.net - confused !
I really need some guidance regarding vb.net (2005, 2008 etc . I am anxious to build an application in vb.net that will run as a client-server setup utilising ado.net with sql server- a typical example...
View Articlelist, force refresh of an item DrawItem
i have a list that i am manually drawing. how do i force the redraw of a particular item without issuing a lst.refresh command which redraws everything Private Sub lst_DrawItem(ByVal sender As Object,...
View ArticleCombobox Item from SQL Database
Hi Guys! I imported my sql database to my project. Don't laugh, it is a very new thing for me. I carried my data to my form in detail view and it automaticly created every field for me. (Which was...
View Article