How can i edit(extend) existing XML file using XMLlite

1211 byte By dijesh.kunimal at 2007-11-20 10:53:54
Hello,I want new to XML.I want to edit an existing .xml file at run time.In my vc++ console application i have used 'XMLlite' to write/read the xml report.Now i want to extend the information in specific root ...Like Original:-<DIJESH> <Book> <Date>Toda...

number of clock cycles in assembler

1090 byte By chrispetitchris at 2007-11-20 10:53:58
Hello, I need to get a (rough) estimation of the number of clock cycles for a program I wrote. The program is mainly composed of XOR and 1 bit-leftshift on 1024 bits words.Here is the code in C:--------------------#define UL unsigned longtypedef UL BIGINT[32]; // a[0] is the less significant word (...

select dates between 2007-01-01 and 2007-01-09

235 byte By d00_ape at 2007-11-20 10:54:06
I want to list dates with a simple select-statement like this.<br/>2007-01-01<br/>2007-01-02<br/>2007-01-03<br/>2007-01-04<br/>2007-01-05<br/>2007-01-06<br/>2007-01-07<br/>2007-01-08<br/>2007-01-09<br/>Any tip how to do that?

Script for IE menu command

750 byte By cilu at 2007-11-20 10:54:07
I want to add a command to the IE menu when text is selected. Well, this part is not hard, as it is described in MSDN ( http://msdn2.microsoft.com/en-us/library/aa753589.aspx). The part that I have problems with is writing a script to be executed when the command is executed.Set the default value of...

Interesting question on Select - Oracle DB

630 byte By bashish at 2007-11-20 10:54:10
Hi All,I have two tables as belowTable A (id number, data varchar2(100))id data1 1,2,3,42 4,2,7,45 8,5,9,2Table B (id number, name varchar2(100))id name1 xyz2 pqr3 fgrue4 fhueNow what I want, single select statement should return name(s) from table B, if I know id o...

To Get the Scroll Height

889 byte By veeresh@MS at 2007-11-20 10:54:11
Hi,In aspx pagei wrote one function in javasript to show the scrolling heightfunction scrollingDetector(){if (navigator.appName == "Microsoft Internet Explorer"){alert("You've scrolled to " + document.body.scrollTop + " pixels.");}else{alert ("You've scrolled to " + window.pageYOffset + "...

Dumb newbie question about LEA instruction

636 byte By bullman at 2007-11-20 10:54:18
I'm looking at some Visual C++ generated code (trying to work out why WinDbg won't display member variables properly). In the code I see - lea ecx,DWORD PTR[edi+12]Could somebody explain what this does? I know I could plough through the Intel Assembler manual, but I was hoping for a qu...

Display Inline - List style menu bar

1475 byte By Nibinaear at 2007-11-20 10:54:34
Hi again. I'm trying to produce a menu bar using inline html lists (ul, li tags) as detailed here on Sitepoint: http://www.sitepoint.com/article/navigation-using-css/2I've got the following css:#menu{ margin:2% 0% 2% 2%; width:63%; float:left; clear:none; height:80px; }#menu ul{list-s...

Debugging XSL?

431 byte By cmptrnerd9 at 2007-11-20 10:54:35
I am new to the world of XML and XSL. I am having an issue where the XSL sheet is showing "ghost" data on the page. I have tried traditional debugging methods (like putting hard coded statements where the ghost data is appearing) and it has not helped.Are there any other methods to debug XSL? I am u...

innerHTML in head

193 byte By Kovo88 at 2007-11-20 10:54:41
can I do this validly?<br/><script...><br/>var headtag = document.getElementsByTagName(head);<br/>headtag.innerHTML += '<style>...</style>';<br/></script>

ajax:AutoCompleteExtender

292 byte By GMV at 2007-11-20 10:54:47
Hi all!<br/>May be someone can help me ...<br/>I use ajax:AutoCompleteExtender to get users from DB. How can I pass userid (of course it should be hidden in textbox) along with user name from service method, so when I select some particular user I can get his userid.<br/>Thank you!

[RESOLVED] window.open is not working since AJAX

1012 byte By ninhovid at 2007-11-20 10:54:53
hi...i had an aspx file, which included this code behind:Response.Write("<script type=\'text/javascript\'>" + "window.open(\'selCols.aspx?bd=" + vidBaseDatos + "&vista=" + vidVista + "\', \'VentanaEmergente\', " + "\'width=800, height=600, scrollbars=yes, res...

XUL and JavaScript question

287 byte By cespinoza1979 at 2007-11-20 10:54:56
Hi. I'm writing an extension for Mozilla Firefox, I want it to show the URL that is lodaded. The problem is that when I use this property<br/>window.location.href<br/>it shows "chrome://browser/content/browser.xul"<br/>How can I access the URL that is loaded? thanks!

MIPS printing integer problem

508 byte By -EquinoX- at 2007-11-20 10:55:33
Okay so say I have an array which is like this:.datavalues: .half -17 .half 16 .half 153and I want to print it as-1716153How do I do this?? If it is stored in a 4 byte of integer then it would be very easy to do, but not it's stored as a 2-byte integer. In a 4 -byte integer I ju...

Newbie question on XUL and JavaScript

432 byte By cespinoza1979 at 2007-11-20 10:55:38
How do I detect when the URL changes? I need to put it as a label in a navigation toolbar button. I've tried this codecontent.document.addEventListener("load", nuevaPagina(), false); function nuevaPagina(){ var boton2 = null; var boton2 = document.getElementById("myextension-button2"); boton...

High level compiler

937 byte By psspda at 2007-11-20 10:56:07
I come from Palm development using C/C++. Now I am looking for porting my applications to Pocket PC.From the lessons learned in developing with C/C++, specially when your application is not a best seller, and you honestly want to have some money for your work, I am searching for a development tool t...

[RESOLVED] duplicate element?(DHTML)

2484 byte By Mitsukai at 2007-11-20 10:56:20
hi i have one div-element which serves as layout for spawning more.I have tried cloneNode in many ways but it just doesn't work.Even in examples on the internet they don't work as expected for firefox and ie.I have no idea what other way to duplicate dynamically (writing to innerhtml seems...

perl - client - server problem

4481 byte By wavenator at 2007-11-20 10:56:24
i've built a program that makes a connection between 2 computersa client-server progi have a problemthe client doesn't send the message until the socket get closed\those are the codes :client.pl#!perl -wuse strict;use IO::Socket;use Win32::GUI;my $so;my $main = Win32::GUI::DialogBox->ne...

SQL SERVER CE/Mobile

128 byte By yoyosh at 2007-11-20 10:56:56
Could you recommend me a server that would do fine against Pocket2002 and .net framework 1.1 ?<br/> <br/> <br/>Thanks in advance

<country>INDIA</country>Country Name : How i create a element like t

402 byte By aniljayanti at 2007-11-20 10:57:16
Showing the country name with in the tags of "COUNTRY" and also have to show the Field Description so that user can understand easily. sometimes have to show <country>INDIA</country> Country Name <ID>12345</ID> Record Number.<TOTAL>6789</TOTAL> Total No. of . Cas...

Extracting a specific string from an XML file

1197 byte By ahammad at 2007-11-20 10:57:30
Hello,I have an XML file that I need to extract data from. The file has multiple lines, one of which contains the following tag:<Owner> owner's name goes here </Owner>I need to be able to extract the owner's name from the XML file. I have never programmed Perl before, but I hav...

Regex Problems

1561 byte By King Zarathu at 2007-11-20 10:57:32
function checkName($name) { /** * This function checks to make sure there * are no invalid characters in the given name. * Furthermore, it checks the length to make *...

Determine service provider by msisdn

566 byte By crose1 at 2007-11-20 10:57:38
Hi, in my program, I have a msisdn and I need to determine the carrier for which it belongs.I am focused on the north america market.For example, if the user's msisdn is 303 910 7143, I need to determine that the carrier supporting this number is Verizon.Does anyone have experience in this area...

[RESOLVED] Converting hex to string and vice versa

177 byte By taboonch at 2007-11-20 10:58:51
How do I convert a string to hex format? I'm thinking that I should use the ascii but I don't know how to read each character from a string entered. I'm so stuck.

MS SQL Server 2000/2005 removing logins and roles

3358 byte By ScapinVS at 2007-11-20 10:58:56
Hi there,I try to remove logins and users and finally drop a database using the following script:use master /* database in use cannot be dropped */goif convert(int, convert(char(1), SERVERPROPERTY('ProductVersion'))) > 8 begin select 'SQL Server 2005' IF EXISTS (SELECT * FRO...

auto-merging 2 mp3 files?

346 byte By Buy at 2007-11-20 10:58:59
hi, i need help with merging two mp3 files into one, so that it sounds like the two originals playing simultaneously. i'm wondering if there's any php solution, and if not then maybe some other solution? but it needs to be automated to work at the click of a button after uploading the two...

innerHTML and CDATA

963 byte By venAdder at 2007-11-20 10:59:28
Hi,I am using ajax to update HTML of a div . THe ajax call returns a xml structure like:<response> <reponse-html><![CDATA[$HTML]]</response-html></response>Where $HTML is the html that i need to set for the div.On the javascript side I do: var elHtml = xmlRoot.getE...

ESE - is there any more convenient way to use it?

522 byte By infrared at 2007-11-20 10:59:46
Hello,I'm new with ESE API.I have this attached sample program that I downloaded from somewhere.It seems quite complicated to do even simple things like searching with more than one condition (i.e select * from TABLE where COL1='bla' and COL2 like '123%').Can you direct me t...

Paging and Sorting

1693 byte By maverick786us at 2007-11-20 11:00:15
I am using this procedure to extract records from a tableALTER PROC [dbo].[dbWBS_usp_DisplayCertificatesDetails]( @PageNum BIGINT=1, @PageSize BIGINT=10, @OrderBy VARCHAR(50)='Certificate_Id', @TotalRowsNum BIGINT=0 OUTPUT ) AS BEGIN -- SET NOCOUNT ON added to prevent extra...

creating spreadsheetML using xsl

984 byte By anu1 at 2007-11-20 11:00:22
Hi,My code involves dynamic creation of rows and columns.The sheet that is to be developed is partly static and partly dynamic.How do I incorporate the dynamic aspect without affecting the static portion.example:My worksheet actually has static as well as dynamic portion.Depending on the user differ...

assembly

76 byte By tirror69 at 2007-11-20 11:00:29
need help...what codes should i be use if i want to input and output number?

left shift problem

330 byte By rag84dec at 2007-11-20 11:00:30
Hi,I need to shift 32 bits in perl.Like $t=0xe1;$r=$t<<32;but it is not working since scalar can hold 32 bits ...can u tell me how to make it work?i want to send this to postmessage($hnd,$msg,0,$r);$r should contain yx position...x-32 bit y 32-bitshow to do??...

Regular Expressions...

988 byte By gilly914 at 2007-11-20 11:00:32
I need some help with regex's...I'm trying to make a PHP application that will recieve a small html text in a textarea, and will seperate all the html tags from the content between the html tags?To make my point clearer, here's an example :if my input text is :<font style="font-wei...

populating Drop down with items frmo server.

556 byte By xs2ahmed at 2007-11-20 11:00:35
I want to fill a drop down/combo with list of items, when a user clicks a button,I am calling my php page using http request of AJX and then fill up the combousing combo.blala.innerHtml= "code to fill combo"I want to know whats the best approach to generate code, should I genreate complete html at s...

TAK(x,y,z)

1788 byte By GirlDani2005 at 2007-11-20 11:00:50
Hey I am currently working on the Recursive Takeuchi function with three parameters in Protected mode. I am not sure I am working in the correct direction. Could some one please give me some guidance?the code I have so far:title Lab2.asm ;Recursive Takeuchi function with three parameters; By: [Dani...

Monitor progress with a progress bar

1502 byte By steve1_rm at 2007-11-20 11:01:00
HelloVS 2005 CF 2.0 WM5I have created an application that scynchronizes the central database by sending changes to a web service.This normally takes 5 to 10 seconds and the customer wants to have some kind of progress bar to show that something is happening. This is some code that would explain what...

CanSat code..

445 byte By rehanvivek at 2007-11-20 11:01:13
Hi, I am a new user here and I dont know whether this is the right forum to this ask questions regarding CanSat. Anyway I need to acquire a code for the CanSat. My kit is the Japanese version which has the H8/3069 Microcontroller. I need to find the code for the accelerometer in order for me to inse...

Postmessage Problem...64 bits problem

595 byte By rag84dec at 2007-11-20 11:01:36
Hi, i am using win32::guitest package since 2 weeks...but one problem i am finding is putting the values in the PostMessage();it takes 8 bytes as the last parameter.How to send it as the 8 bytes in perl?? 8 bytes are like this ...lower 4 bytes for the x coordinate and upper 4 bytes for the y coordin...

HELP: assembly & C linking woes....

879 byte By andrewwan1980 at 2007-11-20 11:02:03
I am having problems linking an assembly object with my C object files. Am getting:Linker Warning: DOSSEG directive ignored in module asm.asmLinker Error: Undefined symbol _ASMClsV in module main.cLinker Error: Undefined symbol VADDR in module asm.asmIn my asm.asm file I've got:DOSSEG.MODEL hug...

Get Current Directory Compact Framework

327 byte By dunff2k at 2007-11-20 11:02:07
Hey guysI'm writing an application in C# on the .NET Compact Framework and I need a way to find the current working directory. In the full framework I know it's Directory.GetCurrentDirectory()But that doesn't exist in the compact framework, any ideas?thanksPaul...

onReadyStatechange not being called

1646 byte By xs2ahmed at 2007-11-20 11:02:23
I am usinng the following code to send an email The code works fine in IE but in Mozilla the function readyStateChanged doesnt get a call back, therefore the user doesnt get the message box saying that his message is sent..I placed an alert as a first line in that function, It gets called properly i...

new,delete and function.

962 byte By Rooting at 2007-11-20 11:02:46
hi friends.if i have in the same page to call different variables and differentfunction, how can i do??..so, i have a function in a file called function.php,and i'd like to call the function in it more of 1 time in the same php file..<p style="color: #1F86DE; font-size: 15px; padding-bottom:...

SSIS WebServiceTask simple type cast problem

543 byte By trenches at 2007-11-20 11:03:01
I have a SQL task that fetches some data from sql server 2005 which is then fed to a foreach loop to iterate through the recordset and call a webmethod for each record. The method parameters are extracted from fields in the recordset and one of the parameter types happen to be a simple enumeration...

Oracle version information

228 byte By Jokhan at 2007-11-20 11:03:23
Hi,<br/>I want to extract oracle version information installed on my host programmatically ( using c++).<br/>Kindly give me the idea, how can get the Oracle version information on windows.<br/>Regards,<br/>Jokhan

javascript and php

140 byte By ayumi at 2007-11-20 11:03:34
hi, how can i send a confirmation dialog of javascript in php and get the respond of ok or cancel from the dialog??<br/>thanks alot ...

Packing and unpacking problem

331 byte By rag84dec at 2007-11-20 11:03:42
Hi,I want to get output as 0x23400000345...in the below examplehow to get??..i tried out the following but unable to get the anser ...please help...$r=0x234;$t=0x345;$y=pack('L L',$t,$r);$x1=unpack('L!',pack('P',$y));printf("\nThe value is $x1");...

mcr command?

73 byte By ideru at 2007-11-20 11:03:45
Does anybody knows the definition or description for this command?<br/>:o

ASP.Net or PHP

375 byte By NoviceProgrammer at 2007-11-20 11:04:09
Hi...Im trying to choose which will i study for Web Programming either ASP .Net or PHP. Im currently studying the VB 2005 .Net 2.0 Framework and i would like to ask if the ASP .Net 2.0 coding style/syntax/etc. is almost the same with VB 2005 and if it is powerful enough for online gaming.Any Suggest...

Very advanced query, checking for existing combinations...

1201 byte By bjswift at 2007-11-20 11:04:19
I am trying to write a procedure which returns a simple boolean, 1 if an item exists in our database with the same combination of values as what the user defines from the UI.The tables are structured such as:itemNo, Property, ValueSo you can have a table that looks like this:001, a, 1001, b, 2001, c...

run a .exe file in the gadget html

345 byte By hkullana at 2007-11-20 11:04:34
hi,i want to do a simple vista gadget. In the gadget i want 2 buttons. when the user clicks one of the button an "thefile.exe" should run. When the user clicks the other button "thefile.exe" should close. How can i do that?(these are pure html commands) The main question is how can i run an .exe in...