for what u want to use dclick?? and answer to ur secon qustion is after sving the record first call datasetname.clear() and then again call dataadapter.fill(datasetname,"tablename") this will do your work never stop from trying
User 2192404
Posts
-
PLEASE HELP ME -
VS.NET 2005in vb.net when we create a new form the code lookes like Public Class frmlogin Inherits Inherits System.Windows.Forms.Form but in vb.net 2005 it doesn't work can anyone tell how to do this .i have a clss that turn form to round shape and i want to inherits that form instend of windows.forms.form never stop from trying
-
Infinite loop - Resizing Formlook the problem is u r using the function PreviewFotoChkBx_CheckedChanged which handels the checkbox checked property.and in it the if condition you r changeing the property againg so function calles it self again and ur programe goes in infinite loop. insted of using checked property(handling checkedchanged)use click then it will work fine.best of luck:) GET BACK 2 ME
-
automatically Run an Sql statementwhat do u think abt triggers.HUH!u can write triggers that will execute it on 1st of every month. get back to me
-
VB.net and barcodei m making an application for a medical shop i wan't to intigate with barcode reader.can any one help me out. get back 2 me
-
Load video in form'first of all you have to import a called QuartzTypeLib 'declear globle variables Dim bAudio As IBasicAudio Dim bvideo As IBasicVideo Dim mEvent As IMediaEvent Dim vdoWindow As IVideoWindow Dim mCtrl As IMediaControl Dim mpos As IMediaPosition Public Const WS_VISIBLE = &H10000000 'call remove media to remove oldloded media ******************************************************** Public Sub RemoveMedia() Try DisableCtrl() If Not mCtrl Is Nothing Then mCtrl.Stop() End If If Not vdoWindow Is Nothing Then 'vdoWindow.Owner = Nothing End If If Not bAudio Is Nothing Then bAudio = Nothing End If If Not bvideo Is Nothing Then bvideo = Nothing End If If Not mCtrl Is Nothing Then mCtrl = Nothing End If If Not vdoWindow Is Nothing Then vdoWindow = Nothing End If If Not mpos Is Nothing Then mpos = Nothing End If Catch ex As Exception MsgBox(ex.Message) End Try End Sub ********************************************************* call loadMedia to load new media file to be plaed prove file name and path as string in the function ********************************************************** Public Sub LoadMedia(ByVal data As String) On Error GoTo OpenFileError mCtrl = New FilgraphManager Call mCtrl.RenderFile(data) bAudio = mCtrl bAudio.Volume = 0 'Loudest bAudio.Balance = 0 'Centered bvideo = mCtrl vdoWindow = mCtrl vdoWindow.WindowStyle = WS_VISIBLE 'WS_VISIBLE = &H10000000 vdoWindow.Top = 0 vdoWindow.Left = 0 vdoWindow.Width = mainWindow.Width vdoWindow.Height = mainWindow.Height vdoWindow.Owner = mainWindow.Handle.ToInt64 mEvent = mCtrl mpos = mCtrl mpos.Rate = 1 'Normal forward playback speed Me.panMedia.Text = "File Loaded" PosBar.Maximum = mpos.Duration EnableCtrl() SetTotalTime() Exit Sub OpenFileError: Err.Clear() Resume Next End Sub ******************************************************** user myCtrl.Play(),myCtrl.Stop(),myCtrl.Pause() to play stop and pause.and take only picture box as the window t
-
resolution handling for asp.net applicationsuse tables and put ur controls in that table never stop from trying