Click here to Skip to main content
15,889,403 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Update BrowserFlags and EditFlags value in Window7 registry Pin
Nitin Varshneya3-Jan-12 0:51
Nitin Varshneya3-Jan-12 0:51 
GeneralRe: Update BrowserFlags and EditFlags value in Window7 registry Pin
Dave Kreskowiak3-Jan-12 9:36
mveDave Kreskowiak3-Jan-12 9:36 
QuestionUse WebBrowser control in VB6 to open an Office document on Win7 Pin
Nitin Varshneya29-Dec-11 3:41
Nitin Varshneya29-Dec-11 3:41 
AnswerRe: Use WebBrowser control in VB6 to open an Office document on Win7 Pin
Dave Kreskowiak29-Dec-11 4:06
mveDave Kreskowiak29-Dec-11 4:06 
GeneralRe: Use WebBrowser control in VB6 to open an Office document on Win7 Pin
Nitin Varshneya30-Dec-11 2:24
Nitin Varshneya30-Dec-11 2:24 
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 
SIR,

I'm Sireesha. i want a report birthday of members by month wise , year wise .

VB
Dim con As New ADODB.Connection
    Dim rs1 As New ADODB.Recordset
    Dim rs As New ADODB.Recordset
    Dim MonthSql
    Dim mon1 As String
    Dim month1 As String
    con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Program Files\Microsoft Visual Studio\VB98\FBMDetails.mdb;Persist Security Info=False"
    MonthSql = "select dob,md from fdetails"
    mon1 = InputBox("enter month", "month")
    Set rs = con.Execute(MonthSql)
    rs.MoveFirst
    While Not rs.EOF
        month1 = Month(rs.Fields("dob"))
        drMwr.Sections(1).Controls(5).Caption = mon
       If month1 = mon1 Then
          Dim monthsql1
          monthsql1 = "select name,dob,md,phone,email from fdetails where month1 =  ' " + mon1 + "'  "
          MsgBox (monthsql1)
          rs1.Open monthsql1, con
           Set rs1 = con.Execute(monthsql1)
          Set drMwr.DataSource = rs1
           drMwr.Show
       End If
     rs.MoveNext
    Wend



i got an error:u> no value given for one or more required parameters in the statement rs1.Open monthsql1, con what to do sir how to solve this
Sireesha

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 

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.