199,113 Archived Topics
Remove Filter ![]() | |
Hello, I want to display the contents of an html page on a specific web link. Can any one help me with that. Awaiting for postive response... | |
How should i reorient an android application in landscape mode once an apps is started?? I started an app but it does not automatically switch to landscape mode.. I tried writing it to "horizontal" but it does not work.. [CODE]<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="fill_parent" >[/CODE] | |
Hi, I have a HTML/PHP/MYSQL setup where I want to use a value chosen from one HTML <SELECT> to restrict values shown in the next HTML <SELECT>. It's a reasonably common requirement but I just can't get it. A good example is where the user chooses a country and then … | |
Hello everyone: I have the following issue, i have and old computer and i need to erase pics and all that, but that computer has several folders and some are hidden, and is very time consuming checking where are those folders. I would like a VBS to erase all the … | |
Hello everyone!!! I'm a new poster here. Can somebody help me with my project. My listview is not working. :( I need to search a person's name using his/her lastname and firstname and display all the people with the same lastname or firstname and those data will display in the … | |
Hi, I was hoping someone could help out a python novice like me. I want to find in my data when there is three or more 1s in a row. This is a sample of what my input data would look like below. With the first number in each column … | |
Hope I can get help. Each time I write an Update query I have a habit of forgetting to add the where clause. I have destroyed my test records many many times. Therefore is there a way to count the number of rows that will be updated so I can … | |
I am unsure what is going on with my website? I had flash on it, and I have removed the flash and installed javascript. Everything is installed correctly from what I can see, when I go to the view page button on Dreamweaver the images rotate. When I upload it … | |
Alright, I'm back for another educated post (got the newsletter btw :(). So I am trying to [COLOR="Red"][B]use AJAX to remove a joke from a list of jokes[/B][/COLOR] inside the administration panel. I know basically nothing about AJX, but I am a quick learner. I know that if I press … | |
I have ten TextBoxes: TextBox1 TextBox2 TextBox3 TextBox4 TextBox5 TextBox6 TextBox7 TextBox8 TextBox9 TextBox10 How can I get the name of the TextBox the user clicks on (mouse) during runtime? It is a asp.net web page and the program is written in vb.net. Cheers | |
hi all ...... import os os.system("ps") i want to kill two particular process i.e, log and snmp .....how to kill it , can anyone can plz help me:) thanks in advance | |
Hi, how to get the name of directory and subdirectory in a folder? example abc1/banana/(text files)? i have some codes buts its not given me the name [CODE] File dir = new File("abc1"); File[] folder = dir.listFiles(); [/CODE] i want to get the subfolder in abc1 called "banana". thanks for … | |
I want to create user dynamically. I used [CODE] Membership.CreateUser(smemno.Text.ToString(), spwd.Text.ToString(),semail.Text.ToString(),ssecquestion.SelectedItem.Text.ToString(),sans.Text.ToString(),true); [/CODE] but error occur : "No overload for method 'CreateUser' takes '6' arguments" Should I create new method named CreateUser(), if "yes" then what is code for that and what it return... please help me. | |
hai, I used gridview pager for page sizing. But I have more than 15 web pages that are also needed page sizing. how can i create a class for this purpose and access it. The code I used is: [CODE] protected void GrdStudent_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == … | |
Hello fellow Daniwebbers, I have a question about choosing a CMS. I know what you're think "OMG another 'what cms' thread". Hold yer ponies because I want to be very clear and precise. Having worked with multiple CMSs over the years, I have acquired a knowledge of which CMSs are … | |
hello friends, I have generated a csv file with 27 columns. third column is of time and i want to sort all the data according to this column in ascending order. so can you please tell me how to do this.? i have no clue where i should start. i … | |
i need help on knowing how to use php to send text to mobile devices | |
please someone edit this code for me. I do not know how to write the logic part in the function 'TestAnagram' when i debug it, it shows the same word twice instead of showing two different words using the same letters in different order . [CODE]#include <iostream> #include <string> #include … | |
I am trying to display only year in datetimepicker in vb.net Can anybody help me out. please | |
guys, good day... I know that this is just easy but i've been tweening my work the whole afternoon but no luck. my problem is using setAttribute for java's client-side programming. I just want to create session for my username to be able to use while being logged in. this … | |
I want to display a message input by a user on an applet /** * @(#)Hello.java * * Hello Applet application * * @author * @version 1.00 2011/3/17 */ import java.awt.*; import java.applet.*; import java.io.Console.*; import java.io.*; public class Hello extends Applet { public void init() { } public void … | |
Hey guys, I'm trying to make an Area & Perimeter calculator, and I've run into some issues. Everything is working, except for the very end of the code I seem to be getting an error when it comes to converting the decimal variables back to string. Here is my code, … | |
[CODE] <html> <head> <script> function goSubmit() { document.frm.submit(); } </script> </head> <body> <form action ="view1.jsp" method="post" name="frm"> <table> <tr> <td> <input type="radio" name="rg" value="faculty" onClick="goSubmit()"/> </td> <td> <input type="radio" name="rg" value="date" onClick="goSubmit()"/> </td> <td> <input type="radio" name="rg" value="content" onClick="goSubmit()"> </td> </tr> </table> </form> </body> </html> <html> <head> <script> function goSubmit() … | |
I was wondering if there is a for_each function in c++, I have searched for it on the internet and I cant seem to find a definitive answer, is it in the new draft for the c++x? | |
Greetings all, I've just started learning Ruby (and Geo Ruby), and am trying to create overlays for Google Maps. I found a [seemingly] great tutorial for doing this [B][URL="http://blog.newsplore.com/2009/02/22/spincloud-lab"]HERE[/URL][/B] ...and it uses Ruby to generate the final javascript - cool, eh? Have everything installed properly (as far as I can … | |
I need a few helps for some things that I just cannot get the syntax of! (I need these, and if you don't believe me I can post the reason) 1) Creating a function within a function 2) Creating a class within a function 3) Declaring a template function outside … | |
What data type could I use in my access database that can hold very long texts. By default, each cell in Access tables can only contain up to 255 characters. Is there any way to extend this to any length I want? | |
I have an array of real numbers in 32-bit architecture it holds he higher and lower order values in ecx, edx i'm able to enter them in into the array and output them as well but i'm having difficulty adding all them up here is code so far(gives a segfault) … | |
I'm having a problem with adding two single digit numbers that the user gives (Since they are ASCII I do the add 48 thing, I know that doesn't work past 9, giving some guidance on this would really be appreciated). Anyways, heres the code. variables: Value1 db ? Value2 db … | |
I am creating a program that simulates a flight reservation system. An admin will create each flight. The user will then fill in required search fields, and the flights matching those fields will be found and print out. With each match, there is a 'book' button. My question is, how … | |
I have a pregexpression and its not outputting anything. Can someone explain why this might be? I'm also new to learning this [CODE]preg_match_all("/\<b>\$(.*?)\<\/b\>/is", $res[0], $match); foreach($match[0] as $value) { echo "<div class='prices' id='kgbdealsPrice'>".$value."</div>"; } [/CODE] The string that I'm trying to get looks something like this [CODE]<tr> <div> </div> <div> … | |
I want to display the quote (character) into a text in netbeans Swing form. But it shows only last character. Any help would be appreciated. private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: String t = encodeText.getText(); String text = t.toUpperCase(); int[]textnum = new int[text.length()]; for(int … | |
I am trying to write a simple servlet program. But getting the error [B]The requested resource (/servletexam/LoginServlet) is not available[/B]. I have created two servlet classes as follows - [B]LoginServlet[/B] [CODE] public class LoginServlet extends HttpServlet { Hashtable<String,String> users = new Hashtable<String,String>(); public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, … | |
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void btnRom_Click(object sender, EventArgs e) { string[] Roman = { "M", "CM", "D", "C", "XC", "L", "XL", "X", … | |
I have a checkbox X1 that if checked it will check a column of checkboxes. What i'm trying to do is if the user unchecks at least one checkbox from the column it will uncheck checkbox X1. But I don't want it to run the event from checkbox X1 again … | |
Hi I hope somone can help me. my update form wil not work and i don''t know what's wrong. i got everything work only this not please help Here is the code <html><head><title>Terminkalender Change form</title> <style type="text/css"> td {font-family: tahoma, arial, verdana; font-size: 10pt } </style> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" … | |
Hi Guys I have an e-commerce website. Two of the columns are for the pricing of products. What I would like to do is update the price ('prodprice') directly from the cost price ('prodcostprice'). It would be nice to set a certain markup according to price range. eg. $0-$1000 = … | |
What is the right way to declare an array [CODE]Dim lblname As Label() = New Label(get_num_of_children()) {} Dim mealcheck As Integer() = New Integer(get_num_of_children()) {}[/CODE] or [CODE]Dim lblname() As Label = New Label(get_num_of_children()) {} Dim mealcheck() As Integer = New Integer(get_num_of_children()) {}[/CODE] Thanks for your help | |
Right now my program says there is an error in line 27 of this code: [CODE]Class Netflix: public class Netflix { private static void main(String[]args) { String comedy, horror, drama, action, genre1; Movie a = new Movie(); a.setTitle("Avatar"); a.setCast("Sam Worthington"); a.setGenre('a'); a.setYear(2009); a.setStars(3); Movie b = new Movie (); b.setTitle("Battle … | |
So after many hours of mulling this over and now missing several hairs that used to populate my head, I decided to seek outside help. In my introduction to computer systems class, we have been tasked to do things that are built into the language without using them. I understand … | |
Hello, I am about to publish a GPL library of classes that helps building an interactive application ( PHP AJAX JavaScript) and the name I chose for it is “PHP Interactive Pages”. Recently I came across the PHP Licesence (Wikipedia) that to be sincere I have never read it carefully. … ![]() | |
[code] /** * @(#)GameOfLife.java * * GameOfLife application * * @author Ramanpreet Singh (romiaujla) * @version 1.00 2011/2/11 */ import java.util.Scanner; public class GameOfLife { public static void main(String[] args) { Scanner scan = new Scanner(System.in); final int SIZE = 10; final int GENCOUNT = 9; int i, j, k; … | |
I would like to know how can I access or read the array from another php. I mean that I am working on a .php page which contains the array and I want to display the content of that array but on another .php page. for example I used the … ![]() | |
Hello I'm new to the PHP.Now i want to integrate a PHP page to Microsoft SharePoint using the web Services of PHP. | |
I have an assignment where I need to do some operations on polynomials (add, multiply, ...) which are represented by linked lists. Part of the assignment is to make an inner class Term containing two int fields and a constructor with coef and exp ints) I also need an inner … | |
Hello I am down to 1 error can anyone please assist; java:41: not a statement + "P or p (premium): "; It is part of this section; System.out.print ("Enter the service type:") + "R or r (regular), " + "P or p (premium): "; serviceType = console.next ().charAt (0); System.out.println(); | |
Hello peeps. I'm trying to update a sql table from mi php Ajax web page, which stores dynamically a table into the page by [icode]table.appendChild(row)[/icode], so that the user can verify the information he is inserting before the actual database update. How do I do this with ajax? | |
Alright, so I'm suppose to be using SAXparser to parse a XML file and output certain parts The assignment asks us to use to classes Course.java and TextBook.java to which we are suppose to create the Course and Textbook objects described in the XML file, making sure they refer to … | |
Hello, I was wondering if there is a way to layer my preg_matches? I have a code like this [CODE] preg_match("/\<div class=\"dealsListS\"\>(.*?)\<\/div\>(.*)\<\/form\>.*?\<\/div\>/is", $res[1], $bycontainer ); preg_match_all("/\<h2>\s*(\<div.*?\<\/div>\s*)?(.*?)\<\/h2\>/is", $bycontainer[0], $level1 ); preg_match_all("/\<div class=\"thumbWrapper\"\>(.*?)\<\/div\>/is", $level1[0], $matches); foreach($matches[0] as $travelzooTitles) { echo "<div class='titles' id='travelzooTitles'>".$travelzooTitles."</div>"; }[/CODE] I'm getting error, but can I even do … | |
can anyone help me? i'm getting the following error: java.lang.IllegalArgumentException: Null property value for 'revision' at org.apache.commons.beanutils.PropertyUtils.getNestedProperty(PropertyUtils.java:693) at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:741) at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:716) at org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:192) at org.apache.struts.taglib.html.HiddenTag.doStartTag(HiddenTag.java:123) at org.apache.struts.taglib.nested.html.NestedHiddenTag.doStartTag(NestedHiddenTag.java:95) [COLOR="Red"]at /proposal/propAndRev.jsp._jspService(/proposal/propAndRev.jsp.java:1143) (JSP page line 667)[/COLOR] at com.orionserver[Oracle9iAS (1.0.2.2) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:54) at com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.http.HttpApplication.serviceJSP(HttpApplication.java:5458) at com.evermind[Oracle9iAS (1.0.2.2) Containers for … |
The End.