199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pixma

Hi! I just want to ask if it is possible to take a focus by a camera then generate it into text because I am planning to propose a thesis topic which is Subdivision Entry Pass wherein the security camera in the gate will focus the camera on the plate …

Member Avatar for adam_k
0
164
Member Avatar for ericxye

I am looking for a button that inside a php table. I tried [CODE]echo "<td bgcolor='#FFFFFF'><center>" . '<input type="button" name="Activate" value="Activate" class="form" onClick="activate_user_id('.$rows['username'].','.$rows['loginid'].','.$rows['activated'].')">' . "</center></td>"; [/CODE] I know people said i have to use AJAX to make it work. but i dont know AJAX at all, Can anyone show me …

Member Avatar for ericxye
0
209
Member Avatar for sherinpoulose

I am trying to generate rules form of output from user data.that output i have to store in sql database.so when each time , user is giving different data for processing, i have to create a new database for storing the rules from their data. how can i do this …

Member Avatar for adam_k
0
105
Member Avatar for raghujosh

I want to be able to match a HTML tag in a given string. The string could be like this [CODE]<a href = "http://learnmore.com">Learn </a>. [/CODE]I have a replace function that replaces the HTML tag with whitespace when I hard code the tag, but I want a regex pattern that …

Member Avatar for raghujosh
0
179
Member Avatar for gspeedtech

I am trying to populate a dataset with data from a dynamic SQL dataset created by a code generator (PDSA). If I want the first row of data, or I use a specific "Where" clause to retrieve 1 row, I have no problem. But, when I loop through the dataset …

Member Avatar for gspeedtech
0
200
Member Avatar for sear899

I am starting to learn Java and I downloaded JDK but when i open java.exe or javac.exe it opens then instantly closes. Any answers?

Member Avatar for sear899
0
79
Member Avatar for abhi10kumar

I am using session variables, it is working on local but I run on server, it is not running. I am using Jquery

Member Avatar for cjohnweb
0
144
Member Avatar for denmarkstan

Please good people, i need your help. I having been trying to solve this problem, but no way. what is the best method to insert data so that this error of data truncation will be avoided in C#/asp.net. Here is what i have been trying to do: [CODE]public class BuildTable …

Member Avatar for stbuchok
0
218
Member Avatar for 7kemZmani

This is jquery script for insert new row in a table and each new row containing 3 td text input, current time and current date [CODE] <script type="text/javascript"> $(document).ready(function(){ var $prototypeRow = $("#prototype").find("tr").eq(0); $(".addRow").click(function(){ var tds = $prototypeRow.clone(true).insertAfter($(this).closest("tr")).find("td"), dt = new Date(); tds.eq(1).find("input").val("textInputGoesHere"); tds.eq(2).html(dt.getHours() + ":" + dt.getMinutes() + ":" …

Member Avatar for 7kemZmani
0
838
Member Avatar for magnetic rifle

Is it possible to assign a variable to be a random vector. The only syntax I could find was rand.jumpahead but further research did not seem promising. Thank you, Suhail

Member Avatar for Gribouillis
0
160
Member Avatar for ericxye

function edit_user($username){ if ( $username == 'admin' ) { $query = "SELECT * FROM login WHERE username != 'admin'"; $queryResult = mysql_query($query) or die (mysql_error()); echo "<table border='1'> <tr> <th>Loginid</th> <th>username</th> <th>email</th> <th>activated</th> <th>Edit User</th> <th>Delete user</th> </tr>"; while($rows = mysql_fetch_array($queryResult)) { //Todo: Here is a problem //probably use mysql_num_array …

Member Avatar for ericxye
0
91
Member Avatar for lwschjang

I have a new project. The site will require registered users to pay an amount to upload content to the site. Also, I would like a thumbnail scroll gallery on the homepage that will pull up random profiles (a featured profile feature). If anyone can point me in the right …

Member Avatar for balajim1980
0
177
Member Avatar for Xufyan

Hello Everybody, please explain me what is pass by reference ,i know what does it mean but i could not find any of its simple example that differentiate between pass by reference and pass by value :( please help me i have spent almost 4 hours searching for it but …

Member Avatar for Zetlin
0
360
Member Avatar for Gold Falcon

Hello! To get straight to the point, I can't seem to get division to work. I haven't been programming in Assembly long, and I've been trying to get this to work for a couple of days now with no success. Anyway, here's my code: [CODE=assembly] section .text global _main extern …

Member Avatar for Gold Falcon
0
358
Member Avatar for ivanCeras

Hi everyone, Does anybody knows how to position the scroll bar of the code generated by the css div{overfolw:scroll}?.. The default position of the scroll bar is on the top.. now, what i want is to position the scroll bar at the bottom of the <div> overflow:scroll... I need help... …

Member Avatar for phpdude
0
204
Member Avatar for debasishgang7

Hi all, I am trying convert IP addresses form Decimal format [Like 192.168.12.13] to HEX format [c0 a8 9d 80]. For Example the IP "192.168.157.128" is equivalent to "c0 a8 9d 80" in HEX. How to do that.??

Member Avatar for debasishgang7
0
2K
Member Avatar for tinker

[CODE] $(function(){ $('.table_pay').dblclick(function(){ if($('div', this).is('.value')){ var v = $('.value', this).html(); $('.value', this).remove(); $(this).append("<input type='text' name='val' class='field'>"); $('.field', this).attr('value', v); $('.field', this).focus(); $('.field', this).focusout(function(){ var val = $(this).attr("value"); $(this).remove(); $(this).append("<div class='value'>"+val+"</div>"); }); } }); }); [/CODE] What to do on the 13th line that the reference object which is on the …

Member Avatar for Airshow
0
311
Member Avatar for hermann87

Greetings, I am a student from Greece, currently studying Computer Science & Telecommunications. The time to choose a Bachelor thesis topic is approaching and I haven't come up with anything yet. I know I would like it to be modern and be about innovations of today, and I don't mind …

Member Avatar for hermann87
0
145
Member Avatar for arjen

Guys i need help with this code with the code regarding using the getasynckeystate for ctrl + c and ctrl+ v or copy and paste..How will I do that in this code? For example when i type in notepad it should also do in the richtextbox with this code it …

Member Avatar for arjen
0
595
Member Avatar for caierhui

I am making a request form with a uniqe FORM NO. in order to recall the data faster. The FORM NO. is formated as follows, yyyyMMdd-000 the 000 will be incremented for every transaction made that's easy... but the problem is how to reset it back to 000 the following …

Member Avatar for javaAddict
0
316
Member Avatar for coroll

Hi! my code gives me this error. "An object reference is required for the non-static field, method, or property 'HD.RegisterMember.CN'" Plz can anyone help me. This is my code(Class); [CODE] private SqlConnection CN; public static String getLastMemID() { String ID = null; try { CN = new SqlConnection("Data Source=BJ-PC\\SQLEXPRESS;Initial Catalog=DB;Integrated …

Member Avatar for kapojian
0
158
Member Avatar for jovillanuev

Hi Guys, Kindly please help me on how to this in scripts. How to calculate and get the average aging based on the Aging period. I could not figure out on how to do this in script. btw, even the format is not like my sample it's okay, unless i …

Member Avatar for sknake
0
198
Member Avatar for jollyjain

This is my blogic.php file. The problem is i have created a patient login form and a database name"gmd" so as soon as i fill in d username n password in patient login form it should retrieve the whole information from "gmd" database bt it is showing an error in …

Member Avatar for Stefano Mtangoo
0
293
Member Avatar for public-image

Hi there! I have tooltips on my site that appear when you hover over text/image but i would like different background for different hovers. the code at the moment accepts all variables passed in but doesnt initalise and apply the styles. I have attached my code and would be thankful …

Member Avatar for public-image
0
154
Member Avatar for atfOnly

I don't know what's wrong with this code. I think this code should work. I'm about to store number of each query in array [CODE] $antecedent=array(); for($i=0;$i<=$index;$i++){ if(isset($period[$i])|| isset($gpa[$i]) || isset($antecedent[$i])){ echo $period[$i]."&nbsp;"; echo $gpa[$i]."<br/>"; $queryAntecedent=mysql_query("SELECT * FROM mytable WHERE study_period='$period[$i]' AND ipk='$gpa[$i]'") or die (mysql_error()); $antecedent[$i]=mysql_num_rows($queryAntecedent); }//endif }//endfor print_r …

Member Avatar for Insensus
0
101
Member Avatar for bklynman01

I'm having trouble populating a combobox from a table. I do it probably 100 other times in this same program and there are no problems. When the box populates, it just displays [ICODE]System.Data.DataRowView[/ICODE], even thought the display member is set properly. Any ideas? [CODE] Dim tbldoc As DataSet1.docHeaderDataTable tbldoc = …

Member Avatar for bklynman01
0
108
Member Avatar for public-image

Hi Guys! I am trying to custom signature images, a generated one as such on a form submit. At the moment I am still doing the images although I wish to add an image into the signature and I am not too sure how I will do that. I have …

Member Avatar for pssubash
0
76
Member Avatar for atrueresistance

So, I'm using ASP with a VB code behind. I have text boxes that are supposed to appear one by one only if the there is a location number in the preceding text box. I had that function working perfectly, but I needed to add a MaskedEditExtender in the place, …

0
221
Member Avatar for devsaini

hi, i have a table stu_record and a field name is image_student as a image type and image save in it in binary form. nor when i'm login i want to store this image into a session variable. and on other pages this session value store into another table as …

Member Avatar for vijay_myl
0
140
Member Avatar for sneekula

I need to read in a text file, replace selected words and write the changed text back out to a file. Is there an easy way with Python?

Member Avatar for halamas
0
20K
Member Avatar for mcwebalizer

Of course, Yesterday I ask for help for my google map route creator. And of coure, I made my google maps route creator source. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Google Maps</title> <script type="text/javascript" src="jquery.js"></script> <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> <script type="text/javascript"> …

Member Avatar for mcwebalizer
0
1K
Member Avatar for cozmo87

Hi guys, I'm making a class for importing a table from a text file with tab delimited data. It works perfectly as long as there are no empty cells in the text file. (see attached example) Any suggestions how to detect an empty cell and what to fill the ArrayList …

Member Avatar for JamesCherrill
0
110
Member Avatar for vuyiswamb

Good Evening All I have Silverlight application and it is rendering better(not Good) in IE and it renders differently from different browsers, like IE8,Firefox 3, 4, and worse in Chrome. i tried different examples , i used one example that was good , but the moment i view this in …

Member Avatar for stbuchok
0
120
Member Avatar for Reliable

Hey Everyone, Thanks for taking the time to read this and help me with my problem. I grabbed [URL="http://dynamicdrive.com/dynamicindex2/crosstick.htm"]this [/URL]code from Dynamic Drive. I'm trying to style it better. I've had some success, but some thing are giving me a run for my money since i don't know JS. [LIST=1] …

Member Avatar for stbuchok
0
127
Member Avatar for oinkpink

Hi, i need help , i wanted images to be for instance 4 in row, before it goes on to the next row, and below the images i wanted a title there. This are my work so far, but i just cant get to what I wanted, i've been searching …

Member Avatar for oinkpink
0
4K
Member Avatar for senergy
Member Avatar for ktsangop
0
144
Member Avatar for uselessninja

hi ... im searching on google and i cant find it.... how to display the texts form my main html form to another html form?....since i didnt know how to hide the textboxes and select list for printing the html form... my plan is that im gonna pass all the …

Member Avatar for urtrivedi
0
309
Member Avatar for jacksantho

Hi, I need to use PHP inside html print ' <html> -----part <select name="speriod"> [B] <option value='<?php $cval ?> print '>'<?php echo $cval ?> print '</option>[/B] </select> </html>' I don't know to add PHP inside html tag. Facing Parser Error

Member Avatar for karthik_ppts
0
89
Member Avatar for Xufyan

Hello everyone, i was reading java tutorials on the internet then i saw this program, [CODE] class Cat { private String mCatName; Cat(String name) { mCatName=name; } public String getName() { return mCatName; } public void setName(String strName) { mCatName = strName; } public void messWithCat(Cat kitty) { kitty = …

Member Avatar for JamesCherrill
0
276
Member Avatar for mynameissiva

hi folks, Here i face problem in my webpage [servlet + mysql] Connection are working fine. But when running time it get download the page instead of display the content in the browser. I try myself so many time, cant sove it.. plz guys help me to overcome this problem. …

Member Avatar for mynameissiva
0
254
Member Avatar for ktsangop

Hi everyone! I am using a dll to hook keyboard strokes for my application. The hook works fine, but now i want to disable some keystrokes while my application is running. So i did the following : [CODE]_declspec(dllexport) LRESULT CALLBACK KBHookProc(int Code, WPARAM wParam, LPARAM lParam) { if (Code < …

Member Avatar for ktsangop
0
1K
Member Avatar for astnrocker

I need for the form to do the following: when age is greater than or equal to 65 enter "yes" in the hidden field when age is less than 65 enter "no" in the hidden filed return true Create a page processAge.htm that Writes the message on the page Hi …

Member Avatar for Airshow
0
190
Member Avatar for ankit.pandey3

Hi friends.... I want to execute my first servlet but i am not able. I am going to explain what steps I did. 1-First I copy "Servlet-api.jar" from lib folder in tomcat and paste it in ext folder of java. 2- Create HelloWorld.java in somewhere in my hard drive [CODE]import …

Member Avatar for mynameissiva
0
357
Member Avatar for jacob21

I am trying to use phone validation of 10 digit & check the filled data is numeric or not.. Need suggestion. Below the function i am using [CODE]validate: function () { contact.message = ''; if (!$('#contact-container #contact-name').val()) { contact.message += 'Name required. '; } if (!$('#contact-container #contact-phone').val()) { contact.message += …

Member Avatar for pritaeas
0
651
Member Avatar for doctorphp

Hi everyone, I have setup a cron job to delete users from my site if they are not verified within 24 hours of registration. The field [b]registration_timestamp[/b] is stored as a timestamp and I also have a field called [b]verified[/b] which is stored as a 1 or a 0. Here …

Member Avatar for pritaeas
0
271
Member Avatar for kishanillur

I am writing some application for Android. Here my app receives sms and as soon as it receives, it launches another activity,say a browser with some url supplied. So here, I need two classes, broadcastReceiver( to receive sms) and Activity. But in java i can inherit only 2 classes. Since …

Member Avatar for JamesCherrill
0
245
Member Avatar for mrbungle

So I have a text box in a form. The test box needs to take the value entered and insert it into a column within a row in MySQL. I know it's connecting to the MySQL online, I have a message box telling me so upon a successful connection. I'm …

Member Avatar for mrbungle
0
272
Member Avatar for vuyiswamb

Good Day All i have a IIS server. This IIS Server is publicly available , so i have hosted some WCF services in that server , i can access the URL from outside my network, but i can use it. the url that i access it with is [B][url]http://196.XX.XXX.XXX:8095/datalayer/[/url] [/B] …

Member Avatar for vuyiswamb
0
160
Member Avatar for vuyiswamb

Good Day All i have a Silverlight application that i have written. Tested and it works well in our internal network. Now in my company we have another server, so our Network guys open a port so that someone who is not in our network can view the website. Now …

Member Avatar for vuyiswamb
0
173
Member Avatar for dwinn

Hello, I am developing a program in VB.Net and ASP.Net to allow a user to type in a code in a textbox and when they click search, a list of records with a code matching the code typed in are retrieved from an SQL Server Express database. At the moment, …

Member Avatar for Pgmer
0
436

The End.