Quantcast
Browsing all 27046 articles
Browse latest View live

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 Article


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 Article


VS 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 Article

Help: 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 Article

Performance 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


VS 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] VS 2012 Express: Delete *.tmp *.bak *.log *.dwl* From a Novell...

We have a process around here which at the end of each week ends up with a lot of trash files. The folders which these files are in are highly restricted due to our ISO 9001 compliance requirements. I...

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 Article


VS 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


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 Article

VS 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 Article

VS 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 Article

VS 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 Article

VS 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 Article


list, 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 Article

Combobox 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


VS 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 Article

Visual 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 Article

VS 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 Article
Browsing all 27046 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>