VS 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 ArticleVS 2008 Help with For Each Email Sending
I need some help please. I am trying to write code to send emails from a .txt file. The problem I am having is sending an email when there is an invalid formatted emailaddress string. it appears from...
View ArticleVisual basic mysql connection time out problem
Hi there pro vb. users.. I am creating a soft through windows forms which is connected to a mysql server. I am not at home to show you the part of my problematic code but at least I can try to explain...
View ArticleVS 2010 How to check the owner of the form
I have three form purchase,sales and products. products form is an multipurpose form which is used by both purchase and sales. Now depending on the Owner of the products, it acts accordingly. To do so...
View ArticleVS 2008 Next item in Listbox appear to Label
Hi~ In order to get the next item in Listbox to be appear to Label(after first item finish to appear), any one can suggest me the correction of this code. Code: Dim x As String For i As Integer = 0 To...
View ArticleVS 2010 how to select required text in rtx
hi i have a rich text box and want to select the data that is coming form a serial port i want to select it and then save it into a separate variable for further use here is data sample that come from...
View ArticleVS 2010 Download prerequisites
Hello to all, where can I find to download this prerequisites. I what to put them on CD, where is application that I put, so you can install them form CD and not internet. I have search the Microsoft...
View Article