How do I connect multiple COM ports

1119 byte By pandiarajan4dotnet at 2007-11-20 9:35:23
Hi,I am using Windows XP service pack 2.I want to connect multiple COM port at a time. Each COM port should be able to connect different instances of hyperterminal at a time. When I am using Gigabyte dongle, I can connect multiple mobiles this way. Now Gigabyte dongle is not available in India. What...

vbs access autoincrement

339 byte By blubb at 2007-11-20 9:35:40
hello,at first, sorry for my bad english. does somebody now how to create a autoincrement field in access.Set objColumn = CreateObject("ADOX.Column")objColumn.Name = "Hallo"objColumn.Type = 2objColumn.Properties("Autoincrement") = Trueit doesn't work like thisthx blubb...

Wscript.Shell causing Problem

438 byte By sobiaruby at 2007-11-20 9:35:43
I am using wscript.shell in ASP and executing cscript command to run a vbscript. At command prompt it works fine but when I want to access it using ASP and display output using ReadAll method, it didn't display the desired output just displayed "Microsoft (R) Script Host version 5.6 outputCopy...

[PHP-ASP] Retrieving client OS language

1416 byte By GordonFreeman at 2007-11-20 9:36:20
I have to write a web page that determines the client OS language and then redirects the browser to the appropriate page (possibly in the same language).Suppose the client browsers run on Windows NT/XP/2000/2003Using client-side scripting, i can do it in this way:<html><body><script l...

SQL confused on foreign key/references/constraints, newb question.

3677 byte By voidflux at 2007-11-20 9:36:44
Hello everyone, I'm confused on this part of the SQL code of the connects table below: CONSTRAINT `connects_entity_fk1` FOREIGN KEY (`aEndEntityId`) REFERENCES `entity` (`entityId`) ON DELETE CASCADE, CONSTRAINT `connects_entity_fk2` FOREIGN KEY (`zEndEntityId`) REFERENCES `entity` (`entityI...

getting autonumber from record access

445 byte By keithl at 2007-11-20 9:36:57
Hi,I'm using access (jet4) in a cs windows app. I create a record whose only unique field is the autonumber PK.Whats the best way to get the autonumber for the record that has just been written?I could search for a record matching all the fields of the record I had just entered, but it is possi...

Oracle 10g Object Dependencies

1337 byte By buckey at 2007-11-20 9:37:43
I have been charged with the task of refreshing database. I want to pull text for objects from the database, but haveing trouble building a script that will do just that.The db i am refreshing is the development instance and will basically copy the production environment and reapply all the script...

Need download for SQL SERVER Bug #: 1123 (SQL Hotfix)

605 byte By sm_ch at 2007-11-20 9:37:51
Article ID : 923563 Last Review : June 19, 2007 Revision : 1.1 FIX: Error message when you configure an immediate updating transactional replication in SQL Server 2000: "Implicit conversion from datatype 'text' to 'nvarchar' is not allowed"CAUSEThis problem occurs when the synchr...

? Mirror Management Pattern

471 byte By Synetech at 2007-11-20 9:38:19
Hi,I have a site that will normally be hosted from a specific machine. However, the machine will not always be available and in those times, I want the site to be hosted from another server.What I am looking for is some sort of system that will detect whether the primary server is online, and if so...

Comet - cant get rid of browser loading bars

1333 byte By freefallohio at 2007-11-20 9:38:27
I have a standard page implementing the Comet concept which contains a hidden iframe with src set to a Perl event listener script. The script listens for events dispatched by a custom event server and relays these events in script tags. This setup eliminates the need to poll the server with AJAX a...

Read String From Keyboard

422 byte By toxicboy at 2007-11-20 9:39:20
is there a way to read a string from a keyboard? based from what i have researched, what's possible is only per character!basically, what i want to do is read a string from a keyboard, and send that string to com1. and from com1, com2 will read it. this is via serial port. i have already tried...

Shared process HTTP server

1490 byte By freefallohio at 2007-11-20 9:39:58
I have developed a simple Perl event server which handles incoming connections and messages via IO::Socket::INET sockets to any number of chat room channels and then dispatches streaming event triggers to all connected clients in the form of JS commands. This eliminates the overhead of using an int...

HTML to VBScript

570 byte By JediKnight at 2007-11-20 9:39:59
Hi,Sorry for the easy question, but does anyone have an example of this process :-(1) simple HTML where I can enter a value in an input box(2) The HTML calls some VBScript and the VBScript displays the value in a message box.(3) The VBScript then displays another input box for me to enter a value in...

Php Ide

459 byte By shoaibi at 2007-11-20 9:40:45
I have been using Visual studi.net since a time now, i amswitching to PHP for the time being, but i couldn't find any good IDE for PHP development as great as VS.NET., what i found was:PDT: it lacks the functionality of drag and drop.Quanta: This is nice, but drag and drop items are quite limit...

Help me! Get source from browse

1228 byte By ttnhatan at 2007-11-20 9:41:18
I have some code for php file:<?php include('file');?>And after I use a browse to open it, result:Warning: main(file) [function.main]: failed to open stream: No such file or directory in c:\AppServ\www\getsource.php on line 2Warning: main() [function.include]: Failed opening 'fi...

Serial Port Communication

967 byte By toxicboy at 2007-11-20 9:41:28
i am using windows xp, assembling it on nasm, compiling it on djgppwhat i want to do in this code is to send a character from com1 to com2, but it's not working! when i run it, nothing is printed. what seems to be wrong? is it the hardware or my code? thanks!segment .text global _asm_main_asm_m...

Assembly random numbers..

113 byte By lairusi at 2007-11-20 9:42:18
Does anyone know how to generate random numbers in assembly? ranging from (1-16)...<br/>Thanks in advance...

javascript form post

360 byte By roger5089 at 2007-11-20 9:42:37
Dear all i would like to aks some one does it is possible to post form for a to b and in b page can reture the data which is from a to b ? the reason is i have one a page need to use 2 form at the time . some time could a occure data loss some i need the data return back from a and then the data is...

Failing to get MySQL table elements

2346 byte By 7Priest7 at 2007-11-20 9:43:00
I have been bugged with this code...It wont get the second element of the table<html><head><title>Admin Page</title></head><body><?phpif(@$_GET['user']!="" && @$_GET['pass']!="") { $DBConnect = mysql_connect("127.0.0.1","user","pass"); mys...

PHP Upload Security Question

900 byte By Culperat at 2007-11-20 9:43:28
I have a php script that is suppose to upload a text file and parse it for values. However security is something big that concerns me about the script. Now I can test to make sure its Mime type is the right format, but that's browser side, so its not the most reliable thing as far as security i...

SQL timeout issue

572 byte By newvisva at 2007-11-20 9:43:46
I'm using SQL express and during my application startup, i do a basic query to the database. (e.g select column1 from table1)This table only has 30 records but the rest of the tables has many. Because my app runs the query to this table first, i get the error. My database size is 2.0 GB (i know...

Link server Problem

1053 byte By Mark_Lee at 2007-11-20 9:43:48
Hi guys, i need your help urgently. I'm developing a new project for budgeting. My problem is, i have not access to the real server (just call it Server A). The company provides another server (just call it Server B) which provides VIEW for the data from the Server A (Server A and Server B is...

IRowsetIndex()::Seek in SQL CE

661 byte By farzanakhf at 2007-11-20 9:44:13
Dear All,I'm developing application in eVC++3.0 and SQL CE2.0.I've developed the application to fetch the data from the mdf file by passing the index field and using the command IRowsetIndex()::Seek.Consider TableExample with Columns A,B,C,D and index Index1 with column A and Index2 with c...

HELP! how to filter the input of the users

1079 byte By creamoreo at 2007-11-20 9:44:15
kindly help me..i have this idea that the user can only type letters from a-z / A-Zif the user type other character besides the given from the permitted characters the computer will ask again for the input it will only stop when the user have the right input.then if the user type letter "D" (for ex...

Windows-1256 and unicode

705 byte By hhn at 2007-11-20 9:44:33
HelloI am using an Activex in my Html page. i need to get some data from this Activex via defined functions. the functions return a byte array as output. This byte array includes a string characters in its bytes. for example when returned data shall contain characters of "Hello" string, the function...

AJAX with DNN

965 byte By lbargers at 2007-11-20 9:44:41
Hello,I have an AJAX rating control in an update panel on my form. The control is working fine except when I switch user logins, or navigate to different pages within my DNN site. The rating control is placed in an update panel on an .ascx web control. I register the script manager in the page load...

Urgent! Help needed Perl scripting

4315 byte By Chintu786 at 2007-11-20 9:45:59
The following is the perl script I wish to run but dont know how. Acctually I am doing a project in which i need to pull data from NCBI's entrez database (its a biological database of genoms).I wish to pull data with following details Translation table (transl_table), name of organism, coding s...

AJAX oddities...

1286 byte By KBTibbs at 2007-11-20 9:46:39
Hello, I have two questions: One) I'm using the MaskedEditExtenders from the Ajax Control Toolkit to help validate some input. The masks work well for when typing input, but when the ASP:Button wants to start doing some work with the input, any validation messages that were displayed are remov...

Ajax seems to kill IE

11421 byte By Technocrat at 2007-11-20 9:47:15
I have a simple 2 way ajax chat system. Basically it's to allow someone to have 1 on 1 conversations with multiple people. It works fine in FF and Opera but for some reason in IE after a period of time, about 20-30 minutes, IE will stop loading the page. You can't even browse to the pag...

Email script

1601 byte By shoaibi at 2007-11-20 9:47:20
I am using XAMPP bundled with mercury mail, without configuration of mercury mail, just going with the defaults:this is the code:<html><head><title>LAMP Workshop Email Test</title></head><body><?php$fo="<font color=\"blue\">";$fc="</font>";$_from="...

what the $*% is $() ?

461 byte By doug8888 at 2007-11-20 9:47:22
I've started working with ajax, and keep getting confused about what appears to be a javascript thing.What is '$' ?I've seen references like, "the $() function" and code like, "var $ = blahblah". So what's this about? Is it an actual Javascript syntax, operator or fun...

Data sychronization

1157 byte By pamc at 2007-11-20 9:47:36
In my .net application I have 2 major components-- A standalone windows application developed in C# which is loaded on user laptops . Users can take it along with them in the field and enter data offline. The data is stored in form of XML files.- A web application developed in ASP.net which is conn...

Give some idea in javascript

272 byte By anandedward at 2007-11-20 9:47:50
hi<br/> any one pls help these concept in javascript or coding<br/>"Positioning the scroll-bar as per the selected node in the tree.<br/>( The selcted node should be displayed in the middle of the window with no case expanded or collapse.)"<br/>by<br/>Anand

Tree Control within Grid Control using AJAX

222 byte By Tiny at 2007-11-20 9:48:52
Hi,<br/>I need a tree control inside a grid control, i.e.., every node of the tree should be a row in the grid control.<br/>I want to implemented this using AJAX. Please let me know how this has to be implemented.<br/>tiny

finding SMTP welcome message length with PHP

550 byte By someuser77 at 2007-11-20 9:49:12
Hello,I am using PHP to connect to the Hotmail SMTP server which replies with a welcome message with an unknown length.When connecting with the fsockopen() ( http://uk.php.net/fsockopen) function, how do I know how long is the welcome message? What should I pass as the length parameter to fgets() (ht...

unix scripting help urgent help

7712 byte By sukhi5710 at 2007-11-20 9:49:16
hi, i have a script but i cant get it to work properl. can someone please help me... it will be appreciated. the file goes as if there are five options to selected and it performs its task that has been assgned and 5th option is for exit and that works but i cant get 4 options to work properly.the f...

scriting help

6979 byte By sukhi5710 at 2007-11-20 9:49:25
unix shell scripting help------------------------hi, i have a script but i cant get it to work properl. can someone please help me... it will be appreciated. the file goes as if there are five options to selected and it performs its task that has been assgned and 5th option is for exit and that work...

Migration frm ASP to some other

196 byte By nishisinha at 2007-11-20 9:49:32
presently, I have made some modules in ASP and in that I have to handle database also. But now, I want to use something new according to latest Market trend , please sugg me alternative for ASP.

Who is online?

555 byte By Donotalo at 2007-11-20 9:49:35
I'm developing an multiplayer online board game. The game can be played by 2-4 players. It is important to know after a game starts, whether the players playing the game are online or not. If a player signed out, I can send message to server to let the player out of the game and other players c...

connecting to java service

107 byte By marro at 2007-11-20 9:50:15
is it possible to add web reference from web service written in java??<br/>any help will be appreciate

Load xml from Javascript

1069 byte By elektroman at 2007-11-20 9:50:17
Hi guysI have to load a file xml from javascript and to put all the content of it into a string to displayI have this code that in IE works but not in mozilla can you help me if (window.ActiveXObject) { //Checking if the browser is IEvar xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); xmlDoc....

DOM XML: retrieving value

824 byte By Donotalo at 2007-11-20 9:51:13
I'm using Ajax in a website and suppose I have got the following XML string from the server:<root> <a> <aa>Text</aa> <bb>Text</bb> <cc>Text</cc> </a> <a> <aa>Text</aa> <bb>T...

Reset textfield background color?

4260 byte By sjcoder07 at 2007-11-20 9:51:55
I am doing an JavaScript exercise. I want to hightlight (change textfiled background color) the textfiled after the form being submitted. My problem is after user entered the valid entry, the textfield color remain as colored. e.g after user correct mistake in first name field, but have an invalid e...

encrypt file in php

173 byte By soul_krasty at 2007-11-20 9:51:58
can anybody help me with encryption file..such as .avi .jpeg .mp3...<br/>i know what to do..first i must convert those file to binary i think.can anybody suggest me an idea.

Calling stored procedures from within stored procedures?

535 byte By lhayes00 at 2007-11-20 9:52:40
Hi all,I have a stored procedure which performs a select operation on a table returning a list of results. How can I call and select from a stored procedure from within another stored procedure?A very simple example of the type of thing which I want to achieve:CREATE PROCEDURE dbo.QueryTest Inpu...

Php(5.2.3) Bug?

673 byte By Ipsens at 2007-11-20 9:52:47
//Second number is string $fee = (1 - '0.981') * 100; var_dump($fee); if ( $fee === 1.9 ) { echo '<br />MATCH<br />'; }Output is: float(1.9) If I add 2 line of code to first PHP code: $fee = (1 - '0.981') * 100; var_dump($fee); $...

[RESOLVED] Run exec() in background

666 byte By Ipsens at 2007-11-20 9:52:52
Language PHP { //PHP works in CLI mode through command line $command = 'cd /home/'.SYS_USR.'/www/admin/bots;'; $command .= ' php -d max_execution_time=64800 -f auto_jobs.php | mailx -s "Robot\'s output" '.ADMIN_MAIL.' 2>&1 &'; exec...

Convert to SQL Function! Help!

984 byte By massspectrometry at 2007-11-20 9:52:57
Can u help me transform this code into sql function?/* Append modulus 11 check digit to supplied string of digits. */function GenMOD11( $base_val ){$result = "";$weight = array( 2, 3, 4, 5, 6, 7,2, 3, 4, 5, 6, 7,2, 3, 4, 5, 6, 7,2, 3, 4, 5, 6, 7 );/* For convenience, reverse the string and work left...

Using BCP to Import

591 byte By minckle at 2007-11-20 9:53:28
HiI'm using the BCP facility to import a text file into a database. My problem is, in the table there are 10 fields but my file only contains data for 3 fieldse.gTable - id,forname,surname,dob,gender,mob_numberFile - forname,surname,mob_numberis there a way of only importing into the required f...

Oltp

470 byte By Brad Jones at 2007-11-20 9:53:52
Database Journal began an article series/project on 'Developing a Complete SQL Server OLTP Database ( http://www.databasejournal.com/features/mssql/article.php/3649271)'. They are discussion the topic and project in their forum ( http://forums.databasejournal.com/forumdisplay.php?f=40).Data...