User Profile

Collapse

Profile Sidebar

Collapse
deepakpb
deepakpb
Last Activity: Sep 23 '06, 07:49 AM
Joined: Sep 23 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • deepakpb
    replied to Static Friend Function
    in C
    No we cant make the friend function as static, bcoz Static member function can used only the static data member and friend function can use the private data member not the static data members. The static data member is having global scope but visible only within the class.
    See more | Go to post

    Leave a comment:


  • deepakpb
    replied to Add New Line to String
    [USE THE BELOW CODE

    "TextArea" = _
    & "FullName: " & txtFirstName.Te xt & " " & txtLastName.Tex t _
    & VBNEWLINE & " Course: " & strCourse _
    & VBNEWLINE & " Expiry: " & ddlExpireDay.Se lectedValue & " " ddlExpMon.Selec tedValue
    & VBNEWLINE & " Heard About: " & ddlHeardAbout.S...
    See more | Go to post

    Leave a comment:


  • deepakpb
    replied to Need Chart Example Program
    add a MSChart control in ur application by
    project->components->microsoft chart control
    put a char in the form and
    here i changed the name of chart control to cht and i use the able


    With cht
    .RowCount = 0
    .ColumnCount = 0

    If cmbName.ListInd ex = -1 Then
    sql = "Select Code,StockQty,( PrPrice * StockQty) As val from MstItem Where stockqty > 0 and void...
    See more | Go to post

    Leave a comment:


  • deepakpb
    replied to Data Reports
    you have to write the code in the form from where u want to take the printouts first write the query in the command object SQL Statments(using any value of param1 and param2) and then make a report. now while calling that report befor that u have to write the following command
    Dataenvironment name is Dtenv1
    u r using the first command
    then
    Dtenv1.Commands (1).CommandType = adCmdText
    sql="select empid,empname...
    See more | Go to post

    Leave a comment:


  • deepakpb
    replied to VB6 Report problem, need help
    u can use the foloowing code before the print command of datareport
    DataEnvironment 1.rsCommand1.Op en
    DataEnvironment 1.rsCommand1.Re query
    DataEnvironment 1.rsCommand1.Cl ose

    if ur command is command1 then u have to use rscommand1
    if the above will not work then
    open the table from which u r taking printout and make use requery command and then close it using record set
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...