confusing about the recno and queue in berkeley db

526 byte By suchuhui80 at 2007-11-20 8:38:22
berkeleyDb provide four access method to database : b+tree hash recno quque . the first and the second one is quite easy to comprehen ,but the thirth and fourth one is not that easy as sleepcat doesn't offer sufficient information for that . Does recno just has the extra feature of supporting l...

executing sp_databases from c#

1648 byte By Anti-Rich at 2007-11-20 8:39:28
hi all, [EDIT] I am using sql server 2005 i am having trouble executing the sp_databases stored procedure from my app... i am creating an sqlcommand and assigning the relevant value to their properties... one thing i have noticed is that if i use integrated security=true in the connectionstring it...

serialization in vb.net

252 byte By jhoanofarch at 2007-11-20 8:39:41
im using serialization in vb.net class. is there a way not to include properties with empty string during serialization? I dont want those empty properties on the xml file but it there is value on it it should be included.<br/>Thanks in advance!!!

Shell script

263 byte By deeps978 at 2007-11-20 8:39:44
Hi All,<br/>I need to write a shell script for directory polling. I have a dir path where i will get some files, i need to write a script to poll this dir and process the files recvd in the dir.<br/>Can somebody help on this?<br/>Thanks,<br/>Deepti

Please, Help to choose smart phone.

257 byte By Verka.Serduchka at 2007-11-20 8:40:08
I want to start writing program for Compact Framework. <br/>To test my program I have to use some device. <br/>Please help me to choose one.<br/>And please suggest, do I need to have device with Windows Mobile 6 or I will be satisfied with Windows Mobile 5?

using Cursors within a sp

1709 byte By msmouse at 2007-11-20 8:40:34
I need to use a cursor (I think) to get the next 'EventDateTime' and include it as a field called timeout. I can do this using Crystal Reports but that adds an additional step. Here is the code I use to create the procedure. Can someone point me in the right direction?When pulling the n...

MS Access - trying to set a variable from a table value

562 byte By leon_prenter at 2007-11-20 8:41:14
I'm working in Access trying to set a variable based on a value on a table. For some reason my code is giving a runtime error. Can anyone help? Dim SQLString As String Dim db As Database Dim Query As QueryDef Dim MachineName As String Dim Category As String Dim FileName As S...

Browser Issue

836 byte By amitg at 2007-11-20 8:41:41
HiI developed an application that is working fine in IE but showing strange behavior in Firefox/Safari.The issue is reproduced by following below mentioned steps:1. Open the browser and open application.2. Login into the application by entering userid and password.3. Open another blank browser windo...

mass emails through php...

530 byte By gilly914 at 2007-11-20 8:42:42
I would like to send out an email (newsletter) from the server that my site is on, to many users...I was told that the server stops after a certain amount of emails/time that it spends sending email...How do i go about sending batches of mail at a time, so that I can send out a very long mailing lis...

? Validation and UNICODE Problems

990 byte By Synetech at 2007-11-20 8:42:46
Hi, Im working on a little AJAX app using a PHP script but am having two problems with it:(1) My XHTML file wont validate because of this part:XMLHttp.send( "action=view" +(form.title.value == "" ? "" : "&title=" +form.title.value) +(form.artist.value == "" ? "" : "&artist="+form.artist.value) +(fo...

Only 1 row returned?

1343 byte By C19H28O2 at 2007-11-20 8:42:51
HiI have a question regarding my code below1. I know I have 7 rows in the authors table but only 1 is being display... (refers to the for($i=0; $i < $num_rows; $i++) {... line)Thanks<table id="books" class="soft" cellspacing="0"> <?php include("connection.php"); $sql = "SELECT * F...

SQL 2005 Vista - permissions errors

1360 byte By WesTurrant at 2007-11-20 8:43:16
I just installed C# Express on my Vista machine, and it included SQL 2005 Express. I installed that as well and downloaded the SQL SP2, and all the other SQL updates available. No matter what I do I can't access SQL Server. Every time I try to create a database or do anything inside Management...

SQL Table

355 byte By shers at 2007-11-20 8:43:24
Hi,I'm creating an application that has SQL database linked to it. This is my first app that uses SQL. So a bit confused about the table structure. It goes like this.No. | Name | Phase | Start Date | End Date | Hrs | CompletedBut one No.has 7 phases. So how do I go about creating the table? Ple...

Harddisk Serial No

287 byte By shail2k4 at 2007-11-20 8:43:50
Hi,<br/>I want to get the hard disk serial number given by the manufacturer. The unique serial number, not the volume serial number. I am working on the windows platform.<br/>Source code will be of great help.<br/>Thanx for any kind of help.<br/>Regards,<br/>Shail2k4

ODBC: Object ua_customer_valuedb.ref_summary_outputs does not exist

763 byte By C19H28O2 at 2007-11-20 8:43:58
I have changed my code to connect to an odbc database. The database returns its own errors for example if I doesn't recognise the sql it it will display "Warning: odbc_exec() [function.odbc-exec ( http://127.0.0.1/php/function.odbc-exec)]: SQL error: [NCR][ODBC Teradata Driver][Teradata Databa...

Access Formula

908 byte By redboan at 2007-11-20 8:44:07
I am trying to create an access formula in which the query will evaluate the the values in two fields and then display the results in a third field (All of the fields are in the same table).The overall effect that I am trying to get is: I have many tables with the same fields as above, and I would...

JavaScript animation... Its being a pain

2602 byte By 7Priest7 at 2007-11-20 8:44:36
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"" http://www.w3.org/TR/html4/loose.dtd"><html><head><script language="javascript" type="text/javascript">function smash(){ document.getElementById("foot").style.visibility = visible var startX=parseInt(document....

SetInterval called function crashes

1747 byte By bsaucer at 2007-11-20 8:45:09
I have an web app with some javascript functions. When you click a button it starts two "SetInterval" timers going, each calling a separate function. It calls one function first, and then it crashes. I get this error while debugging the page with VB.Net:"Microsoft Javascript Error. Object Expected [...

Offshore Mobile Game Development, Offshore Mobile Application Development

383 byte By mobiletao at 2007-11-20 8:45:36
MobileTao provides Mobile Game Development,Mobile Application Development,and Mobile Localization services with all platforms.We also do mobile application porting between various mobile platforms and handsets. We develop games and applications on J2ME, Brew, Symbian and Windows Mobile operating pla...

Need help on SHAPE command

1349 byte By tttaff at 2007-11-20 8:46:23
I'm trying to use the SHAPE command create a hierarchical recordset for a report in VB6. I'm using the Data Report Designer in VB and an Access database. This is a report of all client activity for a specified date range. I have a parent Client table with two child tables, FoodService and...

sending code to a printer from stored procedure

239 byte By bjswift at 2007-11-20 8:46:40
Is there a way to send a printer (zebra printer) some custom code (from a text file) using SQL server or even better, a stored procedure inside SQL server?<br/>Possibly some DOS or Shell command line?<br/>Thanks,<br/>Brandon

Where can I download SQL Server 2000 and Oracle Database for Linux

154 byte By Modi at 2007-11-20 8:47:21
Hello :)<br/>Can anyone give me some link(s) where I can download these packages? I Couldn't find them in Internet.<br/>Thanks In Advance.

Another MYSQL efficiency delima

898 byte By SRD at 2007-11-20 8:48:08
Okay, so I am trying to figure out which index I should use to make MYSQL queries the most efficient. I have a table of members, and those members become friends by sending requests. I have a table of requests that stores the id's of both members and their usernames when a request is made. I...

How to send Mail[urgent!]

130 byte By luv2hack at 2007-11-20 8:48:14
There is a contact form which will sent output as MS Excel file as e-mail attachment to admin and a copy in PDF format to customer

Show error next to form field

467 byte By kimoo at 2007-11-20 8:48:26
Hello,I got a form in a PHP file, and i got a few questions to ask1. i have written my validation code in a *.js file. How can i call it in my PHP page?2. how can i make my validation code show the error (if any) next to the form field? is this done using <div> tag? if so then how?3. Can i ca...

Could MySQL in wondows system database check and repair (myisamchk)

160 byte By cchmark at 2007-11-20 8:48:43
Could MySQL in wondows system database check and repair (myisamchk) executed in background or after fixed interval to avoid databsae's breakdown, thanks !

write

469 byte By pdunning at 2007-11-20 8:49:38
I'm writing in assembly for x86 on linux and I'm trying to get my program to print to the console without having to print a newline. If I write a line to the standard output it won't display until there is a newline character (this happens in C too). does any one know how I can print...

Weird PHP/MySql problem, php sessions

3759 byte By bobo at 2007-11-20 8:51:22
HelloI made an application that give an admin person the tools required to add, delete, or edit entries in 3 MySql tables through a browser. Think of it as a mini phpmyadmin. Everything works well execpt when you update the user table. I use the exact same php code to update the other 2 tables, only...

Problem With Validation

5004 byte By 7Priest7 at 2007-11-20 8:52:04
if(FormN.phone.value!=/^\(?\d{3}[\)-]?\s?\d{3}[\s-]?\d{4}$/) {alert("Phone # is Formed Incorrectly!!!"); hold=false;}It is supposed to look for a phone number in the following formsnnn-nnn-nnnn(nnn) nnn-nnnnnnn nnn nnnnI believe the above is wrong but heres the full code<html><head><t...

[RESOLVED] error occured when executing a SP with param of xml which has chinese

265 byte By suchuhui80 at 2007-11-20 8:52:12
the given error message is :<br/>XML "<Info><Account>Monkey</Account><Name>" emerges xml analysis error <br/>and the xml is :<br/><Info><Account>Monkey</Account><Name>功</Name></Info>

MySQL Remote Connection

430 byte By piyushnewe at 2007-11-20 8:52:26
Hi Gurus,I am facing some problem in Remote Connection of MySQL Server. I have 2 windows machines (XP) out of those one is Server and another is Client. When I am trying to connect (using telnet PCDP-Serv 3306) to the Server from Client I am getting Error "Could not open connection to the host, on...

Failing to Apply attributes

1271 byte By 7Priest7 at 2007-11-20 8:53:37
<script type="text/javascript">var handImage=new Array("across.gif","down.gif")var IE = document.attachEvent ? true:false;var DOM = document.addEventListener ? true: false;var currentX=0,currentY=0;var currentCell,currentColor="white",across=true,keyNum;function init() { var currentCell=docum...

PHP Echo: How to view/call data from separate file into echo

673 byte By xdefconx at 2007-11-20 8:53:49
Hye all,I would like to ask about echo "<--statement==>";Ok my senario let say like this i got a file name as datax01.php & script.phpLet say on script.php i got a code to use echo. So how from echo i can recall datax01.php to view on that script?My theory is to use $ let say script like this&...

Server requirement for Ajax Comet

493 byte By ask4help at 2007-11-20 8:54:10
Hi there,Anyone here has experience in Ajax Comet? If I'm gonna setup a system for live streaming using ajax comet technology. The number of users concurrently using the system will be around 200-300 users, and the amount of data pushed from server to client is a string with maximum 50 chars le...

Closing a popup from the parent window

243 byte By cmptrnerd9 at 2007-11-20 8:54:57
I have window A...which opens up a popup (window B). Once I execute some vb.net code, I want window B to automatically close. Is there any code I can use to do that from window A? Javascript or VBScript would work.<br/>Thanks,<br/>Michael

Read XML and and element if missing

1615 byte By catlook at 2007-11-20 8:55:18
My xml layout has changed since going into production. So, i need to read the file and, if the Facility element is missing, add it in.Old xml:<SrvConfig><HostAddress>dev123.home.com</HostAddress><WhsNumber>03</WhsNumber><SrvPath>/appl/03/wt4090/</SrvPath><...

MYSQL - Multiple fields

691 byte By SRD at 2007-11-20 8:55:52
I have a question about storing a lot of information for my users. I want to add more details to member profiles, but I don't know if it is good design to have so many columns. Each member has 6 items that each have around 8 different stats. So that's roughly 50 different pieces of data...

Top 10 reasons to choose PHP

90 byte By RajaCode at 2007-11-20 8:55:56
Why choose PHP over any other language? Give your top 10 reasons please.<br/>Thanks.

SQL (Oracle) queries and returning duplicate rows

1032 byte By baldman at 2007-11-20 8:56:45
I am new to the whole sql/oracle stuff. I am trying to write a query that returns me every row that matches.What I have is three tables:POCINFO is the names, CIRCINFO is the places and CIRCINFOPOC is what joins the names and places.The query is:select poc.POCID, poc.name, poc.phone, cipoc.CIRCINFOPO...

div tags height 100%

1132 byte By SRD at 2007-11-20 8:57:01
Okay, so I am in the process of switching my site's layout over from tables to div tags and I've run into a problem. I want the pages of my site to always stretch to 100% of the browser's height, and overflow past that if necessary. For some reason, when I set the div height to 100%...

how to split Columm

1021 byte By hussein2000 at 2007-11-20 8:57:04
hi alli have a problem with this query to retrive the value of one column into two for examplei have this queryselect CustomerName , Amount, Voucher_Type from customers;resultCustomerName Amount Voucher_TypeA 200...

Can anyone explain this please

688 byte By kimoo at 2007-11-20 8:57:31
Hello,function noNumbers(e){var keynumvar keycharvar numcheckif(window.event) // IE{keynum = e.keyCode}else if(e.which) // Netscape/Firefox/Opera{keynum = e.which}keychar = String.fromCharCode(keynum)numcheck = /\d/return !numcheck.test(keychar)}</script>i can understand the whole code except...

End a screensaver

194 byte By Slider7 at 2007-11-20 8:57:41
I have an application in which I need to end a screensaver(.scr) before it's invoked.<br/>Will TerminateProcess or KillProcess work?<br/>Hope everyone has a great 4th.<br/>Thanks.

The best PHP book

36 byte By RajaCode at 2007-11-20 8:57:58
What is the best PHP book available?

Open page in a frame with onClick event

553 byte By Invader Zim at 2007-11-20 8:58:07
I want to open a HTML page in a frame when the onClick event occurs.Background : This is for a form , first some validation on the form is done with a javascript function validateForm() , this is fine , but after all validation is done , the user must be able to click on 'n <Next> button...

File Extension in VBScript

441 byte By JediKnight at 2007-11-20 8:58:13
Hello,Can anyone help me out please.I have copied 300 files from an IBM mainframe to my PC using FTP and I now have all the files in a folder on my PC. However, none of the files has an extension. Example, the first file in my folder is called PROD.TEST.MVS(AAAAA), the second is called PROD.TEST.MVS...

SQL select condition Either A or B but not both

887 byte By Raghavendra Prabhu at 2007-11-20 8:58:34
Hi ,Plz help me. my SQL select is SQL = select * from Employee where (design= 'SE' and dt = 20070702) or (design= 'SE' and = 20070629) If select * from Employee where (design= 'SE' and dt = 20070702) = A gives rows >0 then below condition should be ignoredselect * fr...

Javascript

457 byte By Ruchita.D at 2007-11-20 8:58:49
Hello Everybody, I am working in C#,asp.net and i dont know anything about javascriptWould anyone please help me? What i want is that whenever a user double clicks a textbox its readonly property should be set to false and the focus should be on that textbox. and on the lostf...

Delete duplicate Records

68 byte By maverick786us at 2007-11-20 8:59:28
What query should I write to delete duplicate records from a table??

From <Select> to Textbox

792 byte By kimoo at 2007-11-20 8:59:48
Hello,I got the following html<select id="P_City" tabindex="9" onSelect="JCopyField()" > <option value="1">Boston</option> <option value="2">Ithaca</option> <option value="3">New York</option></select> <input name="" type="text" id="E_Cit...