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
S

Stephen Lintott

@Stephen Lintott
About
Posts
97
Topics
37
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Xml beans problem
    S Stephen Lintott

    Hi I am generating xml beans for a project at work and I get the following error when I try to run the generated code. Caused by: java.lang.ClassNotFoundException: schemaorg_apache_xmlbeans.system.s7EDC8529CB4E8F6B440E5C8C61A4B41C.TypeSystemHolder at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(XmlBeans.java:769) Can someone please help me with this... Thanks Stephen

    Stephen Lintott Bsc IT (RAU)

    Java help csharp c++ java apache

  • tools.jar
    S Stephen Lintott

    Thanks Nagy... The only thing is I'm not working with struts. These are webservices that allow the user to access control objects written by our company. All and all we have 11 projects ie 11 build.xml files for ears. 5 of them complile and 6 of them fail with the above error when they are run via a bash script that I wrote. I thought of it after the first post but does anyone know if weblogic replaces the tools.jar file when compiling. Maby named it something else. I'm not even sure if you are allowed to do that. Anyway. if anybody can help I would hold it in very high regard... Cheers Stephen

    Stephen Lintott Bsc IT (RAU)

    Java tools help java oracle com

  • tools.jar
    S Stephen Lintott

    Hi all. I am creating an ant script for a JEE project and when compiling the webservices of that project I get the following error java.lang.IncompatibleClassChangeError: Class com.sun.tools.javadoc.ClassDocImpl does not implement the requested interface com.sun.javadoc.Type I decompiled the code of tools.jar and found that the interface is implemented but can't find out how to get rid of this error. Has anyone seen it before. I am working on oracle workshop with java 6 and I'm out of ideas about this. If anybody can help I would hold it in heig regard. Cheers Stephen

    Stephen Lintott Bsc IT (RAU)

    Java tools help java oracle com

  • TreeView
    S Stephen Lintott

    I figured it out. In the aspx page in the treeview component you have to set the following.

    AutoPostBackOnNodeExpand ="true "

    Stephen Lintott Bsc IT (RAU)

    ASP.NET design question

  • TreeView
    S Stephen Lintott

    Hi all. I am working on a page with a treeview on that state needs to be saved on postback(Meta Refresh). Now I've got the following code to create a cookie if a node is expanded

    Protected Sub tvSideNav_NodeExpanded(ByVal sender As Object, ByVal e As ComponentArt.Web.UI.TreeViewNodeEventArgs) Handles tvSideNav.NodeExpanded
    Try
    Dim i As Integer
    For i = 0 To Request.Cookies.Count - 1
    Request.Cookies.Remove(i)
    Next

            Dim UserCookie As HttpCookie = New HttpCookie("UserCookie")
            UserCookie.Name = "Details"
            UserCookie.Values.Add("node", tvSideNav.SelectedNode.GetCurrentIndex.ToString)
            Response.Cookies.Add(UserCookie)
        Catch ex As Exception
        End Try
    End Sub
    

    but this code doesn't seem to fire when a node is expanded. Can someone tell me why this is?

    Stephen Lintott Bsc IT (RAU)

    ASP.NET design question

  • AJAX
    S Stephen Lintott

    Yip. Here is waht happens. The treeview builds fine the first time when the page is loaded. Then when the timer fires the treeview dissapears. Same code is used for both the Page_Load event and the Tick event. My logic tells me that it is not the code it is something else

    Stephen Lintott Bsc IT (RAU)

    ASP.NET help

  • AJAX
    S Stephen Lintott

    Just fininshed testing between 10 other things and its still breaking the same way as in ie. Nothing comes up in the error console so I have no idea where to go from here.

    Stephen Lintott Bsc IT (RAU)

    ASP.NET help

  • AJAX
    S Stephen Lintott

    Going on lunch now. But will test in firefox after. Are you thinking that this is a ie problem?

    Stephen Lintott Bsc IT (RAU)

    ASP.NET help

  • AJAX
    S Stephen Lintott

    Hi all. ajax is giving me heart burn again and I was wondering if somebody could help. I've got a treeview in an updatepanel conected to a timer. This is supposed to rebuild the treeview every minute or so. All good sofar right... Wrong The treeview does not show up after the rebuild. Can someone tell me why this is happening.

    Stephen Lintott Bsc IT (RAU)

    ASP.NET help

  • IIS not working
    S Stephen Lintott

    Thanks for the quick reply. I did that but still no luck

    Stephen Lintott Bsc IT (RAU)

    .NET (Core and Framework)

  • IIS not working
    S Stephen Lintott

    I checked the tab again and a person can not edit the configuration on it. Don't know if this makes a differance

    Stephen Lintott Bsc IT (RAU)

    .NET (Core and Framework)

  • IIS not working
    S Stephen Lintott

    Hi all. I have this problem that I hope somebody can help me with. I am working on a windows 2003 64 bit system and at first the ASP.NET tab wouldn't show in iis. I got this sorted out with a bit of Registery magic but now none of my ASP.NET websites will run in iis. I unregistered and reregistered the framework but that did not help. Does anybody have any ideas what else I can do. Thanks in advance Stephen

    Stephen Lintott Bsc IT (RAU)

    .NET (Core and Framework)

  • External Images
    S Stephen Lintott

    Hi all... I'm working on a report (Reporting Services) with an external image. The problem is it's not showing up. I'm passing the image through as a base64 string to the report and converting it back to bytes using the Convert.FromBase64String function. The code is as follows

    Dim location As String = Configuration.ConfigurationSettings.AppSettings("location")
    Dim reader1 As New System.IO.StreamReader(location)
    Dim base64 As String
    Dim BinRead As New BinaryReader(reader1.BaseStream)
    Dim file1 As New FileInfo(location)
    base64 = Convert.ToBase64String(BinRead.ReadBytes(CType(file1.Length, Integer)))
    Dim param As New Microsoft.Reporting.WinForms.ReportParameter("Image", base64, False)
    Dim al As New List(Of Microsoft.Reporting.WinForms.ReportParameter)
    al.Add(param) ReportViewer1.LocalReport.EnableExternalImages = True ReportViewer1.LocalReport.SetParameters(al) ReportViewer1.RefreshReport()
    .
    .
    .

    Please ignore the BinReader / Reader bit. I havn't fixed that up yet. If someone can please tell me why this thing is not showing an image. I would be very greatful.

    Stephen Lintott Bsc IT (RAU)

    Visual Basic csharp winforms help workspace

  • Paths in Crystal
    S Stephen Lintott

    Hi all... I've got a problem with a crystal report app (Delphi) and I need Help. I got the following code to work on two machines but it keeps failing on the client server. Can someone tell me why. PS The client server works with a XBase driver the two Machines I got it to work on runs a foxpro driver. That is the only thing I can pick up thats different...

    dtmVision.crGeneric.Tables.ItemIndex :=0; dtmVision.crGeneric.Tables.Item.Name :='System.dbf'; dtmVision.crGeneric.Tables.ItemIndex :=0; dtmVision.crGeneric.Tables.Item.Path :=sDBPathForVision; dtmVision.crGeneric.Tables.ItemIndex:=1; dtmVision.crGeneric.Tables.Item.Name:='Customer.dbf'; dtmVision.crGeneric.Tables.ItemIndex :=1; dtmVision.crGeneric.Tables.Item.Path :=sDBPathForVision; dtmVision.crGeneric.Tables.ItemIndex := 2; dtmVision.crGeneric.Tables.Item.Name :=sFnTempTRans; dtmVision.crGeneric.Tables.ItemIndex :=2; dtmVision.crGeneric.Tables.Item.Path :=ExtractFilePath(sFnTempTRans);

    crGeneric is of type TCrpe

    Stephen Lintott Bsc IT (RAU)

    Delphi help delphi sysadmin sales

  • Paths in Crystal...
    S Stephen Lintott

    Sorry wrong form ignore this post please

    Stephen Lintott Bsc IT (RAU)

    C# help delphi sysadmin sales

  • Paths in Crystal...
    S Stephen Lintott

    Hi all... I've got a problem with a crystal report app (Delphi) and I need Help. I got the following code to work on two machines but it keeps failing on the client server. Can someone tell me why. PS The client server works with a XBase driver the two Machines I got it to work on runs a foxpro driver. That is the only thing I can pick up thats different...

      dtmVision.crGeneric.Tables.ItemIndex :=0;
      dtmVision.crGeneric.Tables.Item.Name :='System.dbf';
      dtmVision.crGeneric.Tables.ItemIndex :=0;
      dtmVision.crGeneric.Tables.Item.Path :=sDBPathForVision;
      dtmVision.crGeneric.Tables.ItemIndex:=1;
      dtmVision.crGeneric.Tables.Item.Name:='Customer.dbf';
      dtmVision.crGeneric.Tables.ItemIndex :=1;
      dtmVision.crGeneric.Tables.Item.Path :=sDBPathForVision;
      dtmVision.crGeneric.Tables.ItemIndex := 2;
      dtmVision.crGeneric.Tables.Item.Name :=sFnTempTRans;
      dtmVision.crGeneric.Tables.ItemIndex :=2;
      dtmVision.crGeneric.Tables.Item.Path :=ExtractFilePath(sFnTempTRans);
    

    crGeneric is of type TCrpe

    Stephen Lintott Bsc IT (RAU)

    C# help delphi sysadmin sales

  • Reporting and external images
    S Stephen Lintott

    Hi all... I'm working on a report (Reporting Services) with an external image. The problem is it's not showing up. I'm passing the image through as a base64 string to the report and converting it back to bytes using the Convert.FromBase64String function. The code is as follows

    Dim location As String = Configuration.ConfigurationSettings.AppSettings("location")
    Dim reader1 As New System.IO.StreamReader(location)
    Dim base64 As String
    Dim BinRead As New BinaryReader(reader1.BaseStream)
    Dim file1 As New FileInfo(location)
    base64 = Convert.ToBase64String(BinRead.ReadBytes(CType(file1.Length, Integer)))
    Dim param As New Microsoft.Reporting.WinForms.ReportParameter("Image", base64, False)
    Dim al As New List(Of Microsoft.Reporting.WinForms.ReportParameter)
    al.Add(param)
    ReportViewer1.LocalReport.EnableExternalImages = True
    ReportViewer1.LocalReport.SetParameters(al)
    ReportViewer1.RefreshReport()
    .
    .
    .

    Please ignore the BinReader / Reader bit. I havn't fixed that up yet. If someone can please tell me why this thing is not showing an image. I would be very greatful.

    Stephen Lintott Bsc IT (RAU)

    Visual Basic csharp winforms help workspace

  • Page Layout...
    S Stephen Lintott

    I went through it but I need something that Interfaces with Crystal, some or other property that you set in code that sets the orientation to landscape... That stuff tells you how to rotate fonts and although very interesting not very helpfull

    Stephen Lintott Bsc IT (RAU)

    Delphi delphi tutorial question

  • Page Layout...
    S Stephen Lintott

    Thanks man. Every bit helps

    Stephen Lintott Bsc IT (RAU)

    Delphi delphi tutorial question

  • Reports
    S Stephen Lintott

    Thats what I ment thanks

    Stephen Lintott Bsc IT (RAU)

    Visual Basic tutorial
  • Login

  • Don't have an account? Register

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