
anand
Avatar/Signature-
Posts
78 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Articles
Resources
Downloads
Gallery
Everything posted by anand
-
Hi divil Lot of thanks .....its working fine now...it creates a .dll now for component..... lot of thanks for ur time Satya...
-
Inherits System.ComponentModel.Component ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\anand\appl1\appl1\Component1.vb(15) : error BC30002: Type 'System.ComponentMo del.IContainer' is not defined. Public Sub New(ByVal Container As System.ComponentModel.IContainer) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\anand\appl1\appl1\Component1.vb(33) : error BC30284: sub 'Dispose' cannot be declared 'Overrides' because it does not override a sub in a base class. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) ~~~~~~~ c:\anand\appl1\appl1\Component1.vb(43) : error BC30002: Type 'System.ComponentMo del.IContainer' is not defined. Private components As System.ComponentModel.IContainer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c:\anand\appl1\appl1\Component1.vb(49) : error BC30002: Type 'System.ComponentMo del.Container' is not defined. components = New System.ComponentModel.Container() ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C:\ANAND\APPL1\APPL1>
-
How to generate a PDF report using xsl??
anand replied to anand's topic in Database / XML / Reporting
Lot of thanks Can u pls give me a idea how to use Active PDF with .net... pls send me a sample code which uses active PDF... Thank you Anand -
How to generate a PDF report using xsl??
anand replied to anand's topic in Database / XML / Reporting
thank you for ur help..u mean can i use cryatsl reports viewer to export crystal report to PDF report??..i already worked on that ..i created PDF reports using crystal reports in .net environment...but i want to generate PDF reports in a web application with my own styles.....atleast pls give me a idea how to use XML /XSLT to generate PDF reports in asp.net..... Thank you for ur time... Satya -
How to generate a PDF report using xsl??
anand replied to anand's topic in Database / XML / Reporting
Hi pls give me a idea abt xsl-fo..whst steps i have to follow to geneate PDF reports with xsl-fo....... pls give me a idea how to use xsl-fo..... Thank you satya -
Hi friends pls give me a idea how to create a PDF report from xml/xsl?? i want to create a pdf report which will display data from webpage(.aspx)..or from database....pls give me a idea how to do that?? Thank you satya
-
Hi devil I remove that line still i am getting the same error....pls tell me can i create a dll for component...whats the diff between class and component in .net.....why its giving an error while creating the dll for component... i am creating the dll like this c:\anand\appl1\appl1>vbc /t:library c:\anand\appl1\appl1\component1.vb pls give me idea what to do... Thank you Anand
-
Hi friends i am getting an error while creating the .dll for a component in vb.net.... the error is Inherits System.ComponentModel.icontainer is not defined... my code is: Imports System Imports System.Data Imports System.ComponentModel.Component Public Class Component1 Inherits System.ComponentModel.Component Public Function func() As String func = "func from component1" End Function #Region " Component Designer generated code " Public Sub New(ByVal Container As System.ComponentModel.IContainer) MyClass.New() 'Required for Windows.Forms Class Composition Designer support Container.Add(Me) End Sub Public Sub New() MyBase.New() 'This call is required by the Component Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Component overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean) If disposing Then If Not (components Is Nothing) Then components.Dispose() End If End If MyBase.Dispose(disposing) End Sub 'Required by the Component Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Component Designer 'It can be modified using the Component Designer. 'Do not modify it using the code editor. <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() components = New System.ComponentModel.Container() End Sub #End Region End Class pls give me a idea whats my mistake and let me know how to craete a .dll for component..... Thank you Satya
-
Hey divil lot of thanks i have that file in the same path in system also..when i searched for that its not showing that ..i dont know why its... now i created a dll using vbc.exe Thanks again satya
-
Hi friends i want to create a .dll file from vb.net..unfortunately i dont have vbc.exe or csc.exe files in my system..pls give me a idea how to create a .dll file and where can i get those vbc.exe file .... Thanks Satya
-
hi friends ...i have a small doubt in asp.net..if u have idea pls give me a idea..i have a datagird in my webpage...in that grid the first column is hyperlink column..when i click a link in that column i have to redirected to that perticular page according to the link name.....pls give me a idea how to do that..... the exact req is i have a grid with 2 columns schoolname year --------------------- lpark school 2002 bloominton 2003 chg public sch 2003 assume that the school names are links to pages lpark.aspx ..... when i click that lparh school in that grid i have to redirect to lpark.aspx...same as to all the rows in that column pls give me a idea how to do that Thanks again satya
-
Automation server Can't create object??
anand replied to anand's topic in Interoperation / Office Integration
hey same problem...i used excel object today ..after that i am getting this problem...i worked on DTS upto now..now my .net is not working properly...pls give me a idea whats the problem... Thanks satya -
Automation server Can't create object??
anand replied to anand's topic in Interoperation / Office Integration
NO .....i am trying to add a windows form to windows solution ....its giving the error automation server cant create component?? pls give me a idea whats the problem... Thanks Satya -
Hi Friends i am getting an error while creating an component or while adding a webform to c# application...pls give me a idea whats the problem in my system....when i am going to add a webform or component to my C# application its displaying an message box with the message " Automation server can't create object" or " Automation server can't create webform"..pls let me know whats my mistake to creating a C# application....... Thank you Satya
-
Hi Daspoo Can u pls tell me how to create a Crystal report from XML file....pls send a small example ..or tell me what steps i have to follow to generate report from XML file in .Net.............. Thank you Anand
-
Hi robby Thank you for ur time...its working fine now... just u add the set key word thank you Anand
-
Hi i am getting the following error Error Type: ADODB.Command (0x800A0BB9) Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. /anand/sqlcon2.asp, line 14 my code is <html> <body bgcolor="lightyellow"> <% Dim conn,cmd dim rs1 set rs1=server.createobject("adodb.recordset") Set conn = Server.CreateObject("ADODB.Connection") set cmd=server.createobject("adodb.command") conn.Open "DSN=AnandDSN;uid=sa;password=;" cmd.activeconnection=conn cmd.commandtext="proc1" cmd.commandtype=adCmdStoredProc rs1=cmd.execute() %> </body> </html> procedure code is ---------------------- create procedure proc1 as begin select * from test end here it returns 3 rows pls tell me whats my mistake and whats the correct code.... pls giveme idea ..its very urgent to me... Thank you Satya
-
Hi I gave that connecction string now its giving the error Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E37) Invalid object name 'test1'. /anand/sqlcon.asp, line 15 rs1.open "select * from test1",con1 but there is a test1 table in my pubs database......pls tell me whats my mistake... Thank you Satya
-
Hi Tim Thnak you for your help...but i am getting the following error now...i used the same code what u send......i am getting the error Server Error in '/anand/style1' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] style1.WebForm2.Button2_Click(Object sender, EventArgs e) System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0
-
Pls give me a idea how to use stored procedure in .net... whats the wrong in my code.................. Dim con1 As OleDbConnection Dim cmd1 As OleDbCommand Dim ds1 As New DataSet() Dim str1 As String str1 = "Provider=SQLOLEDB;Data Source=WIN2000\SQLANA;Initial Catalog=pubs;Integrated Security=SSIP" cmd1.CommandText = "proc2" con1 = New OleDbConnection(str1) cmd1 = New OleDbCommand("Proc2", con1) cmd1.CommandType = CommandType.StoredProcedure con1.Open() pls give me a idea soon.... Thank you Satya
-
Hi its ok now its not giving error in connection string its giving the error in line set rs1=server.createobject("adodb.recordset") i am writing the following code <% dim con1,cmd1,rs1 set con1=server.createobject("adodb.connection") Dim constr1 constr1="Provider=sqloledb;Data Source=WIN2000\SQLANA;Initial Catalog=pubs;User Id=sa;Password=sa" con1.open(constr1) set rs1=server.createobject("ADODB.recordset") rs1.open "select * from test",con1 reposne.write("connection opened") %> its giving the error invalid object :test but i have table (test) in the pubs database..pls let me know whats my mistake... Thanks Satya
-
Hi I dont know which userid and password i have to use to access the database....bcz i am confused with both windows authendication and sql server authendication...pls give me a idea abt those ...and my windows login is user id:Administrator password:sss ...so pls give me a idea how to write connection string now...... Thanks Satya
-
Hi I am always getting some errors to connect to the sql server...pls give me a idea whats the correct syntax of connection string i am getting the error Error Type: Microsoft OLE DB Provider for SQL Server (0x80040E4D) Login failed for user 'WIN2000\IUSR_WIN'. /anand/sqlcon.asp, line 11 i am using the connection string con1.connectionstring="Provider=SQLOLEDB;Data Source=WIN2000\ANASQL;Initial Catalog=pubs;Integrated Security=SSPI" pls give me a idea what mistake i did... Thanks Satya
-
Hi I am getting the following error(in line 126) while exporting to html Server Error in '/anand/pdfreport2' Application. -------------------------------------------------------------------------------- Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 124: Line 125: rpt.ExportOptions.DestinationOptions = dopt Line 126: rpt.Export() Line 127: End Sub Line 128: Source File: C:\anand\pdfreport2\WebForm1.aspx.vb Line: 126 Stack Trace: [NullReferenceException: Object reference not set to an instance of an object.] CrystalDecisions.Shared.HTMLFormatOptions.get_HTMLEnableSeparatedPages() CrystalDecisions.CrystalReports.Engine.�V..ctor(FormatEngine formatEngine, ExportRequestContext requestContext) CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext) CrystalDecisions.CrystalReports.Engine.FormatEngine.Export() CrystalDecisions.CrystalReports.Engine.ReportDocument.Export() pdfreport2.WebForm1.Button3_Click(Object sender, EventArgs e) in C:\anand\pdfreport2\WebForm1.aspx.vb:126 System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() -------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.0.3705.0; ASP.NET Version:1.0.3705.0 my code is Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim rpt As New CrystalReport1() Dim dopt As New CrystalDecisions.Shared.DiskFileDestinationOptions() rpt.ExportOptions.ExportDestinationType = CrystalDecisions.[shared].ExportDestinationType.DiskFile rpt.ExportOptions.ExportFormatType = CrystalDecisions.[shared].ExportFormatType.HTML40 'its working properly 'dopt.DiskFileName = "c:\studrpt.doc" 'its giving error dopt.DiskFileName = "c:\studrpt1.html" 'its working properly 'dopt.DiskFileName = "c:\studrpt.rtf" 'its working properly ' dopt.DiskFileName = "c:\studrpt.pdf" rpt.ExportOptions.DestinationOptions = dopt rpt.Export() End Sub pls let me know whats my mistake... Thanks Anand
-
Hi Friends I am new to asp.net...i am learing that now..i have a small doubt..i have an .aspx page..i want to pass perameters to crystal report....pls give me a small example how to do that? i mean according to the input perameter from .aspx page the crystal report output should have to change...pls give me a idea how to do that?? Thank you Satya gummadi009@yahoo.com