Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

Ankit Aneja

@Ankit Aneja
About
Posts
107
Topics
46
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • crystal reports print records as pdf
    A Ankit Aneja

    Hi, In my web project crystal reports in built print option was used and on print a new web window gets opened in which All or Pages option is selected If pages option selected values in From and To text box can be entered I want to get these values to enter in to my database but could not find any event for crystal reports inbuilt print button.if there is any please suggest So i decided to go with my own print button which will open a new window from where i will select ALL or Pages and if Pages is selected values in From and To textbox that is from which page to which page i want my records in pdf I used solution 1 from below url http://www.codeproject.com/Questions/55975/Convert-rpt-in-to-pdf-xls-file.aspx to convert my report in to PDF on click of ok button in popup window this converts all the records which are opened in report(.rpt) i want to convert only few records like 4th to 8th only Please suggest. Regards Ankit

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    ASP.NET database com

  • migrating vs2008 web app in vs2010 crystal reports issue
    A Ankit Aneja

    Hi All, I have web application in vs2008(.net framework 3.5) which uses crystal reports I have to convert it in to vs2010 I just opened the application to vs2010 solution and visual studio itself migrated the application everything runs fine except crystal reports. Reports are opening but images are not visible like for printer or next or back button red "x" is visible i installed sap crystal reports for vs2010 and tried to refer new dll's but code is still referring old dll's of crystal report. Steps followed right clicked and removed old reference dll again right clicked-> add referece and added new crystal reports dll but it is still refering old ver10 dll's instead of ver13 Do we also need to do something else.Please advise.

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    ASP.NET csharp dotnet visual-studio help

  • error while converting string xml to xml using xelement
    A Ankit Aneja

    yes below is my code For Each row In dsGetBVItemDetails.Tables(0).Rows strxmlString += _ "<ItemDetails>" & _ "<Item code=" + dsGetBVItemDetails.Tables (0).Rows(i)(0).ToString() + ">" & _ "<Description>" + dsGetBVItemDetails.Tables(0).Rows(i)(1).ToString() + "</Description>" & _ "</Item>" & _ "<ItemQty>" + dsGetBVItemDetails.Tables (0).Rows(i)(2).ToString() + "</ItemQty>" & _ "<Message>" + dsGetBVItemDetails.Tables (0).Rows(i)(3).ToString() + "</Message>" & _ "</ItemDetails>" i = i + 1 Next

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    Visual Basic xml database help

  • error while converting string xml to xml using xelement
    A Ankit Aneja

    Hi All I am making a string from dataset and then converting to xml.while converting its giving me error unexpected symbol "=" at location

    For Each row In dsGetBVItemDetails.Tables(0).Rows
    strxmlString += _
    "<ItemDetails>" & _
    "<Item code=" + dsGetBVItemDetails.Tables
    (0).Rows(i)(0).ToString() + ">" &
    _
    "<Description>" +
    dsGetBVItemDetails.Tables(0).Rows(i)(1).ToString() + "</Description>" & _
    "</Item>" & _
    "<ItemQty>" + dsGetBVItemDetails.Tables
    (0).Rows(i)(2).ToString() + "</ItemQty>" & _
    "<Message>" + dsGetBVItemDetails.Tables
    (0).Rows(i)(3).ToString() + "</Message>" & _
    "</ItemDetails>"
    i = i + 1
    Next

    It is giving error while converting only when adding attribute "code" in element Item pls suggest and then converting like this

    XFinalXML = XElement.Parse(strxmlString.ToString())

                   xmlResponse = XElement.Parse(XFinalXML.ToString())
                   xmlResponseDoc = New XDocument(xmlResponse)
                   schemaResponse.Add(Constants.TARGETNAMESPACE, AppDomain
    

    .CurrentDomain.BaseDirectory & "Schema\" & Constants.GetBVItemsResponse)
    nsResponse = xmlResponseDoc.Root.Name.NamespaceName

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    Visual Basic xml database help

  • object expected
    A Ankit Aneja

    problem was due to db connection now login is getting successful but i am getting error on below left corner of ie8 on double clicking it it is saying object requested and impact is when clicking menu it is not generating sub menu somew js or some configuration prob need more suggestions thanks a lot in advance

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    JavaScript java sysadmin windows-admin tools help

  • object expected
    A Ankit Aneja

    set Obj = server.CreateObject("prjCLP.clsCLPUtility") but i had already registered this dll

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    JavaScript java sysadmin windows-admin tools help

  • object expected
    A Ankit Aneja

    if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") strSql = "Select user_mast.*, usergroup_mast.group_name, usergroup_mast.allow_add, usergroup_mast.allow_edit, allow_delete " & _ "from USER_MAST, usergroup_mast " & _ "where user_mast.USER_CODE='" & strLogin & "' and " & _ "user_mast.USER_PWD='" & strPassword & "' and " & _ "usergroup_mast.user_group =* user_mast.user_group " dim Obj set Obj = server.CreateObject("prjCLP.clsCLPUtility") Set rsLogin = Obj.runSqlReturnRs(strSql) where prjCLP.clsCLPUtility is dll that i have registered

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    JavaScript java sysadmin windows-admin tools help

  • object expected
    A Ankit Aneja

    dim rsLogin,strErrMsg if len(Request.Form("cmdLoginSubmit"))>0 then strLogin = trim(Request("strLogin")) strPassword = trim(Request("strPassword")) set rsLogin = Server.CreateObject("ADODB.Recordset") error on webpage is Microsoft VBScript runtime error '800a01a8' Object required: 'rsLogin' /Clp/Login.asp, line 135

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    JavaScript java sysadmin windows-admin tools help

  • object expected
    A Ankit Aneja

    Hi All One ASP application is deployed on windows server 2003 sp2 and running fine but when I deployed the copy of it on other server ie windows server 2003r2 it is givng error object expected some dll's are to be registered which i registered default page gets displayed but when trying to login after login menu doesn't get displayed which are created through some java script functions which are written in .inc file Pls give some suggestions to resolve

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    JavaScript java sysadmin windows-admin tools help

  • reffering C#.net proj dll(2.0) in to new vb.net proj made in 1.1 using vs studio2003 [modified]
    A Ankit Aneja

    HI ALL, I am trying to use a dll made in C#.net(using framework 2.0) in to vb.net proj in framework 1.1 visual studio 2003 WHen I am trying to do add reference i am getting below error "ADd reference to dll could not be added.This is not a valid assembly or COM component.ONly assemblies with extension 'dll' and COM components can be referenced.Please make sure that file is accessible,and that is valid assembly or COM component. BUt when trying to add reference it in vs2005 proj in C#.net its successfully added. ANy help will be greatly appreciated.

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    modified on Tuesday, July 20, 2010 9:34 AM

    C# csharp visual-studio help com

  • datatype [modified]
    A Ankit Aneja

    Hi All, I am selecting weight Select instanceid2400,CAST(weight as real) as GrossWeight from tblcargo where instanceid2400='#AGE019000016' and result is 3289.154 but when I am reading it in vb.net as Dim GrossWeight as Single GrossWeight = .GetFloat("GrossWeight") it is changing value to 3289.1 and when i am using Dim GrossWeight as Double GrossWeight = .GetFloat("GrossWeight") it is putting unwanted values at end 3289.15405273438 how can we show same value (3289.154) whatever is selected

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    modified on Friday, May 15, 2009 9:36 AM

    Visual Basic csharp

  • [Message Deleted]
    A Ankit Aneja

    Deleted and postedin VB forum

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    C#

  • [Message Deleted]
    A Ankit Aneja

    [Message Deleted]

    C#

  • datatype conversion problem when fetching fromn database
    A Ankit Aneja

    just closed my editor and opened again it wrks something strange i din't get Thanks a lot

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    Visual Basic database help

  • datatype conversion problem when fetching fromn database
    A Ankit Aneja

    Hi all, i am fetching float value from SQL select instanceid2400,CAST(weight as float) as GrossWeight from ..... but when i am reading it Private Sub Fetch(ByVal dr As SafeDataReader) 'Load object data from the Database With dr _GrossWeight = .GetDouble("GrossWeight") where _GrossWeight has also datatype as double it's not working fine similarly when i change my query to select instanceid2400,CAST(weight as int) as GrossWeight from ..... _GrossWeight = .Getint32("GrossWeight") it works fine what can be the solution

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    Visual Basic database help

  • [Message Deleted]
    A Ankit Aneja

    [Message Deleted]

    C#

  • Plz solve the prob its very urgent
    A Ankit Aneja

    Hmmm Homework, atleast start trying yourself we can help you in some particular thing you are not able to do

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    C# csharp database sql-server sysadmin help

  • Listbox control
    A Ankit Aneja

    it's not showing "SelectedIndexCollection" after System.Windows.Forms.ListBox. i am using .net1.1

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    C#

  • Listbox control
    A Ankit Aneja

    I have to go through certain items and perform action on them dependinng upon wether they are selected or not selected i am performing action in both cases

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    C#

  • QuickFix protocol
    A Ankit Aneja

    http://www.codeproject.com/script/comments/forums.asp?forumid=1649&mode=all&userid=1392017&select=2073234&df=100&fr=12643.5#xx2073234xx[^] this may help

    Ankit Aneja "Nothing is impossible. The word itself says - I M possible"

    C# csharp algorithms
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups