Type 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 ArticleCan VB.net executable run on Ubuntu?
Is it possible to develop using Visual Studio and get the executable to run on Linux Ubuntu? I understand there is a Mono project and a Wine project for doing this but don't know how well it works....
View ArticleTransfer radio button state to another form
On a form, frmB, I have ten pairs of radio buttons, rbtB1 rbtB2...rbtB20, and each pair is in a panel, pnlB1 pnlB2...pnlB10 and the whole lot is in a group panel, grpB1. On another form, frmA, I have a...
View ArticleVS 2010 set input focus to a particular cell in datagridview
Dear All, Hope you are doing fine. Just need some help from you. I want to input focus to a cell when the first row is added. below is the code I am using. But it is not working. Please advise. Code:...
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 Article