Jump to content
Xtreme .Net Talk

anand

Avatar/Signature
  • Posts

    78
  • Joined

  • Last visited

Everything posted by anand

  1. Hi Friends, I am new to CrystalEnterprise. I want to retrieve all the information (Folders, Users,Reports,Report Parameter info etc) from Crystal Enterprise using the ASP.NET application. Please help me how to connect to Crystal Enterprise through .NET application.. Thanks Satya Gummadi009@yahoo.com
  2. Hi Friends How are u doing??i am getting an errror while using the csc.exe file at command prompt.. its guving the error msg like Fatal error missing cscompui.dll....pls give me a idea where can i downloded that file..is there any other solution to run compile C# files in my system??pls give me a idea....... Thank you Satya gummadi009@yahoo.com
  3. Dear Nersus Nice to hear from you..can u pls tel lme how to compile my files at command prompt..i didnt get the VBC also..when i am using VBC i am getting the error in DOS..pls giveme a sample code to write vb.net file in notepad and pls tell me how to compile that...... Thank you Satya
  4. Yes I want the .NET IDE to develop my vb.net and asp.net applications..pls let me know how to get that IDE... Thanks satya
  5. Hi Friend I dont have any CD's ..i am downloading from the microsoft website...i downloaded the Microssoft Framework SDK1.1 from that site..after that installed that into my system..but i got only documentation..pls give me a idea how to get the development tools.... Thanks Satya
  6. Dear Friends How are u doing?i am trying to download the .net framework SDK1.1 from the microsoft website..after downloading that i installed that in my system..but i got only documentation..pls let me know if you have idea abt to installing the SDK...... Thank you Babu Gummadi gummadi009@yahoo.com gummadilli@hotmail.com
  7. HI Friends I want small help..can anybody have idea abt Validation expresssion for Date control..pls let me know....pls send me the regular expressions for validate First name,EMail,Phone number,Zip code.... Thank you Satya
  8. hi loyal Can u please tell me how to register my componnet to GAC... pls telll me what steps i have to follow to do that... Thank you Satya
  9. Hi Pls give me a idea abt hideen values in asp.net... i am doing like this in page1.aspx <form id="Form1" method="post" runat="server" action="page2.aspx"> <asp:button id="Button1" style="Z-INDEX: 101; LEFT: 320px; POSITION: absolute; TOP: 168px" runat="server" Text="Button"></asp:button><asp:hyperlink id="HyperLink1" style="Z-INDEX: 102; LEFT: 224px; POSITION: absolute; TOP: 240px" runat="server" NavigateUrl="page2.aspx?ID=1234">HyperLink</asp:hyperlink> <input type="hidden" name="hid1" id="hid1" value="777" runat="server"> <input type="hidden" name="hid2" id="hid2" value="888" runat="server"> </form> i am passing two hideen values i am going to retrieve those in page2.aspx..but i am not Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Response.Write(Request.Form("hid1")) Response.Write(Request.Form("hid2")) Response.Write("event") End Sub but i am not getting the values..pls give me the correct code.. Thanks satya
  10. Hi friends i have a small doubt..pls help me i have a function which returns applicationID..i want to pass that ApplicationID to all of my web pages.. my function ----------- <script language=vb runat="server"> public function getID() dim Idval Idval=Request.querystring("id") getId=Idval end function </script> in my webpage(applInformsec1.aspx) i am writing the code like this <tr align=center width="200"> <td><A href="appstatus1.aspx?ID=" &<%=GetId%> runat="server"><b >Applicantion Status of Appliant <%=getId%></B></A></TD></TR> <TR align=center width="200"> <td><A href="testHistory1.aspx?ID=" &<%=GetId%> runat="server"><b>Test History of Applicant <%=getId%></B></A></TD></TR> I am getting the error server tag not scripted well..pls give me a idea how can i pass values with hyperlink..and give me a idea abt Hidden variables also.. Thank you satya
  11. Hi Brijesh Can u pls tell me why u got that error and whats the solution for that?? Thanks Satya gummadi009@yahoo.com
  12. Can u pls tell me how to write a Connection string for truested connectionn.bcz i am getting the errror login failed for the user sa...not asscociated with truested connection....pls let me know how to write a connection string for truested connection... Thanks Anand
  13. Hi when i boot the system i am getting the error STOP error..and after that i am getting the dialog window "mpagent.exe not found" or access denied...and no exe files are working in my system.and SQL server also not working..pls give me a idea what is the problem and how to solve this....... lot of thanks Satya
  14. Hi Friends Something happend to my system...no exe fiels are working...pls let me know how to solve this problem.... Thanks satya
  15. Hi Sunil I am not getting ur problem actually...u said u are using the server name as Localhost...and when u are going to instal ur application in ur client system which have another server name(instance of sql server) u should have to give the server name of the sql server in that client machine and u should have to give the username abd password according to the sql s erver authendication in client machine...i think this will help u ..if not i am sorry.......... Satya gummadi009@yahoo.com
  16. Hi friends I am new to .net..i am generating a PDF report in vb.net using export options ..i created a crystal report and i am exporting that to pdf...my doubt is i dont know how to put tables,charts and lines where ever i want in PDF report..can anyone help me how to do that...... Thank you Satya
  17. Hi Tim Still i am getting the same error..i took only 2 cols in spread sheet both are integer type and i created a table with 2 cols in sql server ..both cols are integer type...when i write the script its giving the same error..DTS Source..vb script runtime error..can u pls send me a small sample code of active script...lot of thanks for your time.... Satya
  18. Hi divil Sorry to say that still the assembly is not listed in the cache..is there any way to list my dll in GAC...pls let me know... lot of thanks for your time.. Anand
  19. Hi devil Lot of thanks for ur time..... now its not giving any error.. when i add the assembly using gacutil its displaying assembly added to cache.... but the problem is its not dispaying my assembly name in the assembly list........ my code in assembly info.vb file is <Assembly: AssemblyTitle("gummadi assembly1")> <Assembly: AssemblyDescription("component1 assembly")> <Assembly: AssemblyCompany("GST")> <Assembly: AssemblyProduct("")> <Assembly: AssemblyCopyright("GST rights")> <Assembly: AssemblyTrademark("Global")> <Assembly: CLSCompliant(True)> <Assembly: AssemblyKeyFile("c:\inetpub\wwwroot\appl3\comp1.snk")> can u pls tell me whats my mistake....pls give me a idea what more i have to do to display my assembly in GAC... i use the lines c:\anand\appl1\appl3>vbc component1.vb /t:library /r:system.dll /r:system.data.dll /keyfile:comp1.sn c:\anand\appl1\appl3>gacutil/i component1.dll pls let me know my mistake Thanks Anand
  20. Hi friends I am learning DTS now...I am trying to transfer the data from excel to sql server using DTS...i am getting an error..type mismatch DTSSource my code in active script is Function Main() thesno=DTSSource("sno") if thesno >1 then DTSDestination("sno")=thesno else DTSDestination("sno")=thesno+10 end if Main = DTSTaskExecResult_Success End Function i have a column "sno" in both excel sheet and in my sql table (stud) can u pls tell me whats my mistake..pls give me a idea how to write DTS Active script.. lot of thanks Satya
  21. hi devil i am creating a dll like this.. c:\anand\appl1\appl3>vbc component1.vb /t:library /r:system.dll /r:system.data.dll its created a component1.dll... and i created a string name to that like this c:\anand\appl1\appl3>sn -k /keypair:comp1.snk its created a comp1.snk ..i added that file to my application ... and i modified the assemblyinfo.vb file now i am trying to register the dll to GAC..at this point i am getting error c:\anand\appl1\appl3>gacutil/i component1.dll the error is: failure to attempt to add assembly to cache: attemt to add a assembly without a strong name... can u pls tell me what are the correct steps i have to follow.... lot of thanks for ur time Satya
  22. Hi devil I created the strong name like that... its createing the strong name file...comp1.snk... when iam trying to add my dll in GAC its giving the error... can u pls tell me the exact step i have to follow after getting the strong name... i got the snk file like this c:\anand\appl1\appl3>sn - k /keyfile:comp1.snk now i got the snk file for my component1.dll i added that .snk file to my application and i write the line in assembly info file <assembly:assemblykeyfile("c:\anand\appl1\appl3\comp1.snk")> and i build the application again....its not giving any error.. can u pls tell me what i have to do now... Thank you Satya
  23. Hi Kunal How are u doing??i have a small problem..pls help me..bcz almost i wasted a oneday time for this...still i am getting an error .. pls give me a idea what apeps i have to follow to register my dll in GAC..... i am getting the error failure to attemp;attempt to register a assembly without string name but i craeetd a strong name to my assembly...still its giving the above error... pls give me a idea what steps i have to follow to register my dll in GAC... assume that my application path is c:\anand\appl1\appl3 pls let me know whats my mistake..i am doing like this i craeted a component(componnet1.vb) and the code in that component is Public Class Component1 Inherits System.ComponentModel.Component #Region " Component Designer generated code " Public Sub New(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 Public Function func1() As String func1 = "this is func" End Function End Class and the code in form is(form.vb) Imports System.Runtime.InteropServices Imports System.Data Imports System.Data.OleDb Imports System Imports System.Reflection '<Assembly: AssemblyKeyFileAttribute("c:\anand\appl1\appl3\comp1.snk")> Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form 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 Windows Form Designer Private components As System.ComponentModel.IContainer 'NOTE: The following procedure is required by the Windows Form Designer 'It can be modified using the Windows Form Designer. 'Do not modify it using the code editor. <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent() ' 'Form1 ' Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13) Me.ClientSize = New System.Drawing.Size(292, 273) Me.Name = "Form1" Me.Text = "Form1" End Sub #End Region Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim obj1 As New Component1() MessageBox.Show(obj1.func1) End Sub End Class after that i created a component1.dll file c:\anand\appl1\appl3>vbc component1.vb /t:library /r:system.dll /r:system.data.dll now i have a dll component1.dll and i created a strong name to that c:\anand\appl1\appl3>sn -k comp1.snk and i add that comp1.snk to my application and i write the line of code <assembly: assemblykeyfile("comp1.snk")> and built the application again now i am doing like this c:\anand\appl1\appl3>gacutil/i component1.dll now i am getting the error failure to attempt;attempt to add an assembly without strong name... pls let me know my mistake and let me know what steps i have to follow .... Lot of thanks Anand
  24. hi divil already i ceated a strong name to my assembly...i want to register that in global assembly cache...pls give me a idea how to do that... Thank you Satya
  25. Hi Divil I Have a small doubt now.. i created a .dll for a component and i created a strong name for that(comp1.snk) and i add that .snk file to my application ..and i write the line <assembly:assemblykeyfile("comp1.snk")> i biuld my application..it didnt give any error.............. but when i am trying to add that .dll into global assembly cache its giving the error C:\ANAND\DLLS>gacutil /i comp1.dll Microsoft ® .NET Global Assembly Cache Utility. Version 1.0.3705.0 Copyright © Microsoft Corporation 1998-2001. All rights reserved. Failure adding assembly to the cache: Attempt to install an assembly without a strong name pls give me a idea how to add my dll to GAC... Thank you satya
×
×
  • Create New...