No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Just put the following code in your form closing event (for vb.net (VS2008). For more detail [url]http://developerskb.blogspot.com[/url] [code] Private Sub frmMain_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing If frmOrdDet.Visible = True Then MsgBox("Costing detail input form is in active! Close it before exit", MsgBoxStyle.Information) frmOrdDet.Focus() e.Cancel = …
if you are using VB2005 OR VB2008 simply use this valitation code into your textbox change event. original source ([url]http://developerskb.blogspot.com/2008/09/how-to-create-numeric-textbox-in-vbnet.html[/url]) [code] If Not IsNumeric(Me.TxtBox1.Text) Then MsgBox("Please enter numeric value only", MsgBoxStyle.Information) Me.TxtBox1.Text = 0 End If [/code]
I think this simple method will do more work.. source [url]http://developerskb.blogspot.com[/url] [code] Public Class Form1 Dim strtempchar As String Public Function cryption(ByVal text As String) Dim i As Integer For i = 1 To Len(text) If Asc(Mid$(text, i, 1)) < 128 Then strtempchar = CType(Asc(Mid$(text, i, 1)) + 128, String) …
HOPE THIS GUIDE WILL HELP YOU MORE [url]http://developerskb.blogspot.com/2008/07/how-to-use-openfiledialog-for-uploading.html[/url]
The End.
arbalu