Click here to Skip to main content
16,008,954 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Use WebBrowser control in VB6 to open an Office document on Win7 Pin
JR21230-Dec-11 11:47
JR21230-Dec-11 11:47 
GeneralRe: Use WebBrowser control in VB6 to open an Office document on Win7 Pin
Nitin Varshneya3-Jan-12 0:53
Nitin Varshneya3-Jan-12 0:53 
QuestionVB6.0 Pin
spuritha28-Dec-11 18:00
spuritha28-Dec-11 18:00 
AnswerRe: VB6.0 Pin
thatraja28-Dec-11 18:26
professionalthatraja28-Dec-11 18:26 
AnswerRe: VB6.0 Pin
Rajesh Anuhya29-Dec-11 15:56
professionalRajesh Anuhya29-Dec-11 15:56 
AnswerRe: VB6.0 Pin
Shameel30-Dec-11 8:48
professionalShameel30-Dec-11 8:48 
AnswerRe: VB6.0 Pin
fatCatBristol5-Jan-12 4:24
fatCatBristol5-Jan-12 4:24 
Question.exe can run more than once, how to... Pin
Framework .l.27-Dec-11 20:38
Framework .l.27-Dec-11 20:38 
AnswerRe: .exe can run more than once, how to... Pin
Richard MacCutchan27-Dec-11 21:55
mveRichard MacCutchan27-Dec-11 21:55 
QuestionRe: .exe can run more than once, how to... Pin
Framework .l.27-Dec-11 22:06
Framework .l.27-Dec-11 22:06 
AnswerRe: .exe can run more than once, how to... Pin
Richard MacCutchan27-Dec-11 22:44
mveRichard MacCutchan27-Dec-11 22:44 
AnswerRe: .exe can run more than once, how to... Pin
Shameel27-Dec-11 22:16
professionalShameel27-Dec-11 22:16 
AnswerRe: .exe can run more than once, how to... Pin
thatraja27-Dec-11 22:20
professionalthatraja27-Dec-11 22:20 
GeneralRe: .exe can run more than once, how to... Pin
Framework .l.27-Dec-11 23:07
Framework .l.27-Dec-11 23:07 
QuestionProgress of Linq.Table loading Pin
Sonhospa27-Dec-11 13:39
Sonhospa27-Dec-11 13:39 
AnswerRe: Progress of Linq.Table loading Pin
Eddy Vluggen30-Dec-11 9:17
professionalEddy Vluggen30-Dec-11 9:17 
GeneralRe: Progress of Linq.Table loading Pin
Luc Pattyn30-Dec-11 10:53
sitebuilderLuc Pattyn30-Dec-11 10:53 
GeneralRe: Progress of Linq.Table loading Pin
Eddy Vluggen30-Dec-11 11:00
professionalEddy Vluggen30-Dec-11 11:00 
GeneralRe: Progress of Linq.Table loading Pin
Sonhospa31-Dec-11 10:54
Sonhospa31-Dec-11 10:54 
AnswerRe: Progress of Linq.Table loading Pin
Eddy Vluggen31-Dec-11 11:28
professionalEddy Vluggen31-Dec-11 11:28 
Questionhow to find a winform by name in VS project? Pin
sanyexian26-Dec-11 14:25
sanyexian26-Dec-11 14:25 
AnswerRe: how to find a winform by name in VS project? Pin
Luc Pattyn26-Dec-11 14:37
sitebuilderLuc Pattyn26-Dec-11 14:37 
QuestionUpdate Child Nodes in Vb.net Pin
εїзεїзεїз25-Dec-11 19:28
εїзεїзεїз25-Dec-11 19:28 
AnswerRe: Update Child Nodes in Vb.net Pin
RobCroll27-Dec-11 15:44
RobCroll27-Dec-11 15:44 
QuestionError while convert C# to VB Pin
Member 829391525-Dec-11 5:30
Member 829391525-Dec-11 5:30 
what is the error in the bleow: 'Public Event OnFilterAdded()' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event.
Imports System 
Imports System.Collections 
Imports System.Configuration 
Imports System.Data 
Imports System.Web 
Imports System.Web.Security 
Imports System.Web.UI 
Imports System.Web.UI.HtmlControls 
Imports System.Web.UI.WebControls 
Imports System.Web.UI.WebControls.WebParts 
Imports Tawammar.CustomControls 
Partial Class Filter 
Inherits System.Web.UI.Page 
Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) 
DataFilter2.DataSource = SqlDataSource2 
DataFilter2.DataColumns = GridView1.Columns 
DataFilter2.FilterSessionID = "Default.aspx" 
DataFilter2.OnFilterAdded += (DataFilter2.OnFilterAdded + New 
DataFilter.RefreshDataGridView(DataFilter2_OnFilterAdded)) 
End Sub 
Protected Overrides Sub OnLoadComplete(ByVal e As EventArgs) 
If Not Page.IsPostBack Then 
DataFilter2.BeginFilter() 
DataFilter2.AddNewFilter("Emp_ID", "Emp_Name", "Dav") 
End If 
End Sub 

Private Sub DataFilter2_OnFilterAdded() 
Try 
DataFilter2.FilterSessionID = "Default.aspx" 
DataFilter2.FilterDataSource() 
GridView1.DataBind() 
Catch e As Exception 

End Try 
End Sub


i know the erorr in
DataFilter2.OnFilterAdded += new DataFilter.RefreshDataGridView(DataFilter2_OnFilterAdded);

I have to use AddHandler statement but i dont know how i sepnt two days but Unfortunately I still new in VB programming

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.