Search Result

Collapse
26 results in 0.0045 seconds.
Keywords
Members
Tags
object
  •  

  • Serialization adds some wierd characters "d3p1:" to return string

    A third party web service method returns an object which we try to serialize into a string. When I use the following method to serialize the object, I see some text "d3p1:", "d4p1" prefixed with each tag and attribute. What is this and why does it add these characters?

    Code:
    public static string SerializeObject(Object pObject)
    {
      MemoryStream memoryStream = new MemoryStream();
      XmlSerializer xs
    ...
    See more | Go to post

  • FlashObject is not defined Error from Firebug

    FlashObject is not defined
    [Break on this error] var fo2 = new FlashObject(".. .ewer", "846", "20", "9", "#ffffff");


    the script is :
    <script type="text/javascript">
    501$(document). ready(function( ){
    502 var fo2 = new FlashObject("/img/bars.swf", "viewer", "846", "20", "9", "#ff...
    See more | Go to post

  • mygce
    started a topic convert html object to string

    convert html object to string

    I wonder how can I convert my html object to string.

    I used something like this (using mootools) but it doesn't work.
    Code:
    $('formName').toQueryString()
    I tried to alert() this but no result.

    Any idea?
    See more | Go to post
    Last edited by gits; Jan 13 '11, 01:34 PM. Reason: added code tags

  • X Enterprises
    started a topic What is wrong with this conditional?

    What is wrong with this conditional?

    I'm working on a Chrome extension an I've hit a wall.

    Code:
    function isInQueue(id) {
    	chrome.extension.sendRequest({getQueueItems: 1}, function(response) {
    		var items = response.items;
    		if (items) {
    			for (var i = 0; i < items.length; i++) {
    				if ((items[i].id == id) == true) return true;
    			}
    			return false;
    		} else { return false; }
    	});
    }
    The...
    See more | Go to post

  • Object expected, Code: 0 in I.E. but not Firefox

    Please help, I'm getting this error, Object expected, Code: 0 in Internet Explorer (not in Firefox, though). Here is the link:

    http://www.uatparts.co m/miva/merchant.mvc?Sc reen=PROD&Store _Code=uatparts& Product_Code=UA T-9931&Category_C ode=

    I'm worried that my customers might shy away and not buy from me when they see this error. What do I need to do in order to stop this error from appearing? Here is the entire...
    See more | Go to post

  • yusuf ali bozki
    started a topic Php class question..?
    in PHP

    Php class question..?

    i want My database in all link_id data print screen. my database link_id's 10,22,30,40,45

    Code:
    <?php 
    class VeriCek{
        public $dbhost = 'localhost';
        public $dbuser = 'root';
        public $dbpass = '1';
        public $dbname = 'linkekle';
        public function BaglanDB(){
        if( $link ){
            return $link;
        }
            
        $link = mysql_connect( $this->dbhost,
    ...
    See more | Go to post

  • BOB9440
    started a topic How to add pitures to msaccess 2.o report

    How to add pitures to msaccess 2.o report

    I am still using ms access 2.0 for an old Very large application. cost in time and money to convert is prohibitive.

    Project is to print a weekly report showing name address, a little data and picture of new clinic patients.

    Patients pictures are stored in f:\frontpix\xxx xxf.bmp
    We have a form with a button that when pressed has code
    c_id = me!patid which is the individual patient id on the from.
    Me!BUT_PIX.PICT URE...
    See more | Go to post

  • Fuugie
    started a topic How do i Clone an object?

    How do i Clone an object?

    I am having trouble trying to clone a tree i made. Any suggestions?

    My Input:
    Code:
    from cs1graphics import *
    
    paper = Canvas(300, 200, 'skyBlue', 'My Forest')
    
    grass = Rectangle(300, 80, Point(150,160))
    grass.setFillColor('green')
    grass.setBorderColor('green')
    grass.setDepth(75)                
    paper.add(grass)
    
    tree1 = ('tree', 'tree_bottom', 'tree_base')
    ...
    See more | Go to post

  • I keep receiving an error message in access

    after loading a table in csv format I get a pop up box saying "object variable or with block variable not set", why is this happening, and is my table loading correctly?
    I would appreciate any help I can get.
    thank you in advance,
    Julie
    I am using Access 2007
    See more | Go to post

  • aktar
    started a topic Locating an object
    in PHP

    Locating an object

    Hi everybody,

    I would like to find out the location in the array where I have store an object.

    I have the following code as example:

    Code:
    <?php
    
    	class test{
    		
    		public static $object_store	=	array();
    		
    		public function start_object($class_name){
    			
    			self::$object_store[$class_name]	=	new $class_name;
    			return self::$object_store[$class_name];
    ...
    See more | Go to post

  • HTML and CSS for Curl applets embedded in object elements

    Over at developers.curl .com I have a blog post on an IE8 quirk which I hit while standardizing the html at my aule-browser.com website.

    When I moved the height and width parameters from the object tag and into a CSS style for objects, the size of my embedded applet immediately collapsed to the upper-left corner in IE8.

    It took some effort to discover that the order of the parameters was upsetting IE: in a moment of desperation...
    See more | Go to post

  • phpuser123
    started a topic What is wrong with my java codes?
    in Java

    What is wrong with my java codes?

    I just happened to read abt vectors in java..For some practice,I implemented this small script where I Store objects in a vector..Then,I want to invoke the methods of the corresponding objects.My problem is that in this line

    System.out.prin tln(vc.elementA t(i).test3());

    the test3() method of my object is being underlined..I know I am retrieving an abject from vc.elementAt(i) ,then why is the method test3() being underlined??...
    See more | Go to post

  • mattb123
    started a topic How to dynamically set type

    How to dynamically set type

    I'm populating object properties from a datatable and sometimes I will need to cast to a type that will not be known until runtime. I tried the following:

    Code:
                foreach (DataRow r in dtIT.Rows)
                    {
                        foreach (PropertyInfo p in t.GetProperties())
                        {
                            Type pType = p.GetType();
    
                            //assign any matching
    ...
    See more | Go to post
    Last edited by Niheel; May 21 '10, 02:00 AM. Reason: removed non relevant details

  • mattb123
    started a topic Reflection, objects, and comparing types

    Reflection, objects, and comparing types

    Hi, I'm a vb.net developer getting the hang of c# and I've gotten stuck on trying to compare types. In the following block, I'm populating an object from a DataTable. The table's data types aren't always the right type so as I loop through I want to compare types and optionally try to convert to make the data match the object property types.

    Code:
                Type t = _Item.GetType();
    
                foreach (DataRow r
    ...
    See more | Go to post

  • newbguy7040
    started a topic Time and Date will not show up!

    Time and Date will not show up!

    I made a clock on my HTML document, and tried to make it show the current date. After I loaded the page, it worked fine.

    However, after typing more code and testing things completely separate from the time and date, when I loaded the page awhile later, the time and date didn't show up. I never even touched the functions to display the time and date, yet they wouldn't show up on my document! I need to know why they wouldn't show up....
    See more | Go to post
Working...