199,114 Archived Topics
Remove Filter ![]() | |
am trying to launch a file embbeded in a pdf document. with java script can anyone write a code | |
I have a form that is very basic, I have 2 fields that call for the hidden input select using a basic JS, what I want to know is if there is a way to make it hide again when they select something different. Here is my JS: <script type="text/javascript"> … | |
Hello All, Kindly let me know if somebody can help with letting me know what kind of messages should be sent toward the mobile handset to display the Voicemail Notification Icon on the top of the mobile screen? Seems it's not an ordinary SMS which should be sent but some … | |
I have a datagridview that the user can change to various rows and columns (its a grid of squares) When the user presses a button, it generates a list of coordinates of all the squares that are black. That is obviously generated in order. I want it to be mixed … | |
![]() | Design a function that computes integers whose factorial is less than number read from input data? |
I have hosted my website in linux platform. for some reasons am shifting it to windows hosting. do i have to make changes to the php code. Will the database be affected? Any help will be appreciated. ![]() | |
The idea is to load an array of objects onto a JComboBox. I have a Class Tournament, which contains an array of Teams. I have serialized an intance 'a' of the Tournament class into a .dat file. try{ ObjectOutputStream oTourn = new ObjectOutputStream(new FileOutputStream(jTextField1.getText()+".dat")); oTourn.writeObject(a); } catch(Exception e){ JOptionPane.showMessageDialog(this, e.toString(), … | |
can someone please tell me how much time will take to learn java , i have already learnt c++ and looking forward to learning java ![]() | |
Hello! So I currently have a class titled Appliciation which contains a method called start. <?php class Application { /* * Application class */ public function __construct($IceTray){ $this->IceTray = $IceTray; } /* Starts application */ public function start(){ /* Confiures error reporting */ $this->IceTray->Error->configure(); $Path = $IceTray->Path; include APPDIR.'/paths.php'; $Path->start(); … | |
I would like to learn the Win32 or the Windows API. But I have no clue. I just need some guidance to go ahead. Thanks ![]() | |
What is the algorithm to check one gate's output to be stuck-at-1 or stuck-at-0 ? Thanks in advance. | |
Hello, i am using nokia 6300 mobile handset. And i want to download new operating system supportable to it through mobile internet. Is it possible? If it is possible then please give me a link of the same. | |
Hi All, I'm new to this jquery and i found some article, implemented but its server side method is not firing. Plz if you know help out this probelm. These is the code implemented in my application in jquery side. [CODE]<script type="text/javascript" ></script> <script language="javascript"> $(document).ready(function() { $("#btnClick").click(function() { var … | |
Chaps, I have just read about java interfaces and there is a nice exercise in my book that I would like to attempt, so I was wondering if you could help me to identify the best way to go about it. Here's the exercise: "Create 3 small classes unrelated by … | |
Dear Members, I am developing automatic image id creator using vs2008.Using excel file,folder images for image.Below is my code.I want all images to be place and printed seperately acording to the dtabase fetche from excel.Kindly help please. Regards JR Imports System Imports System.ComponentModel Imports System.Drawing Imports System.IO Imports System.Runtime.CompilerServices Imports … | |
Hi I have a set of Checkboxes each with a Textbox next it to. I have the following code, which is meant to loop through each CheckBoxe and if checked if gets the text contained in the textbox, these are linked through the tag of the checkbox, i have used … | |
I am trying to teach myself PHP, im trying to generate a form that validates in php Im having issues with my checkbox value calculations I know i should construct a function Im trying to make it so if the user clicks the mealplan box the appropriate price gets added … | |
i wrote but the Read function is just for a single character any function for int numbers? int i = Console::Read(); Console::WriteLine(i); | |
Hey Everyone, I'am Using vb6 data enviourment and Access 2010 to show an Invoice in a Data Report. I Have many orders and many different items in orders. So I select an order from a MSHFlexgrid and will load the report. All The different items (in different orders) are stored … | |
below mentioned is my code. My question is how do i make my b_btn to perform more then one action. Like when i click the back or forward button i want to make it more then one action. On clicking b_btn u go to image one and when we click … | |
My opensuse 12.came with python 2.72 installed. How can I update that and two, which editor would be reccomended? Thanks but please this is my first attempt at linux | |
Hey guys. I'm making this android app called GPS Buddy. What I want it to do is to send my gps coordinates to a phone number via a text at a set interval. The problem that I am running into is fairly simple. I have all the barebones stuff done, … | |
Hi all! I'm stuck somewhere. I have a table for Inventory (which contains the available amount of each food component) What I want to do: If I select a certain food (say salad) I want to be able to deduct the components (amount) of 'salad' from the inventory table. Consider … | |
Hi all! I don't know if that was a good title, but; I have this query (I will call it query1): "SELECT InvID, quantity FROM Recipe WHERE MenuID = 1" In my tables, this will give me something like Water(20), Oil(30) Now, from this result of a SELECT query1 (i.e … | |
The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't … | |
I am trying to modify my shell sort algorithm to use Hibbard's increments rather than n/2. I know that Hibbard's increments are 2k - 1, but I can't figure out how to incorporate that into my algorithm. Any suggestions to help me move forward with this? I feel like I … | |
Hi, This is going to be the least important post you will read, but if anyone can help me, I will still appreciate it. Every fall I have a small weekly football contest with my friends for fun. I have an html file with 20 games on it, players choose … ![]() | |
I write count the letters in a list, > ERROR: countvowels/2: Arguments are not sufficiently instantiated I got this error" why is that? this is the coding I used countvowels([],0). countvowels([H|T],Count1):-Count is Count1 + 1,countvowels(T,Count),Count1>1. | |
design a digitally controlled washing machine that sets the wash temperature to 80degree celcius for cotten clothes 40degree celcius per quick wash and 1000 revolution for rinse and dry only using Microsoft visual STUDIO 2010 c++ programming //please this is all i could do, help improve in respect to the … | |
In a past prac. exam for an algorithm course I'm doing is the challenge below, and their are no solutions but it seems like a really interesting one to solve. Can someone please help and point me in the right direction, I would like to try this on my own, … | |
Hello I'm want to convert string to array $str = "[cat=[0=php,script=[js]],id=4,foo=bar]"; how to write `preg pattern` for change `$str` to : $str = "[cat=[0=php,script=[js]]_-_id=4_-_foo=bar]"; If convert `,` to `_-_` I can convert this string to array by `foreach`, but i can't convert `,` to `_-_` in this string I'm want … ![]() | |
I'm totally new to php and learning. I have a table name *persons* which has columns * FirstName * LastName * Gender * Subject * Hobbies **The Task:** was to dynamically populate a drop down list with the data of FirstName, display the selected record of the name chosen in … | |
Hi all, I am running through the book "PHP Advanced and Object Oriented Programming" by Larry Ullman and I am currently trying to use a mod_rewrite to change my GETs to look like standard URLs. I am running the site on my localhost. My .htaccess file is being read (tested … | |
Hello! My name is Page, and I am still in the process of becoming a more seasoned programmer. I am trying to get a .txt file with first names in it to be sorted after I read the file and input it to a array from a function. Now I … | |
I was quickly creating a program to search through a access database. The idea is to filter the names and figure out the file location in the physical archive. Though my query wizard is being rather annoying right now. I did not use the manual connection like a lot of … | |
Hi, I m new in programming language and i m using turbo c . Can it be possible to give the header file windows.h in turbo c ? And if it is possible then please give the detail function and related code of it.I will be remain thankful to you. | |
Hi There, I have written a very simple notice board page, for displaying information to the team where I work. I want to have an admin.html page where I can enter details in fields and select from drop downs, then hit submit and it populates a page called "notice.html" is … | |
Hey, is there a possible way to display the stars (*) on a webpage but not in password field? For example on Amazon is it possible to display hidden credit/debit card numbers? | |
How to write a java program that runs in background but still can detect any key press from the keyboard (with the corresponding keycode) | |
Hi guys, I am developing a software that has to transform a dataset in a graph database. So far I have developed the dataset import. Basically, I open the file and afterward it is displayed in the tab1 and stored in a matrix of Objects. Now I don't have any … | |
hello...i am doing a project on connecting c language with sql. but i am unable to write the program in c language by using the sql code for connectivity. plz advise me as how to learn to write the c program using sql. | |
I have the following file structure. Some files are dynamically added to a zip file and downloaded. uploads ----- 1 ---------- test.jpg ---------- another-test.jpg ----- 2 ---------- yetanotherfile.jpg ----- 3 ---------- evenmorefiles.jpg However, when I unzip the downloaded file it keeps that same structure (only with some files missing) and … | |
why control box(minimize , maximise and close button) is not accessible in design time in vb.net or there is another method to activate these tools. | |
Hi.. I have a blog and one day I post a redirect page tutorial with php script within it. I saw that tutorial from a web and I want to post it to my blog too.. here is the script : [code=php] <?php function redirect($url) { if (!headers_sent()) { header("Location: … | |
// 9-2. If we define the name function as a plain, nonconst member // function, what other functions in our system must change and why? based on the question, the answer would be // answer bool compare(const Student_info&, const Student_info&); // because this function uses the member function as it's … | |
# I have windows form application written in c#. In this i have statusscript with a label and progressbar. When my code enters recurscive code, i get multiple instances of progressbar. I am using marquee style for progressbar. Progressbar.Visible = true; Progressbar.Style = ProgressBarStyle.Marquee #Do something Progressbar.visible=false | |
Hello I am trying to parse a .json file.. it only has 1 set of data I don't think the $.each is the best approach but it's all I can find.... Here is my code: <script type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var … | |
where is the run-time error in that code? void main(){ .... char *fruites[5] = {"apple", "banana", "orange", "apricot", "pineapple"}; bubble(fruites,5,10); } void bubble(char *a[], int size, int columns) { int j,i; char * x= new char[columns]; for (int z=0; z<columns;z++){ *(x+z) ='0'; } for (i = size - 1; i … | |
Hello, I'm having trouble with one of my coding assignments. I have to compare 2 arrays to see if they're identical. My code compiles fine, but i'm not getting the correct results. Mind you I'm in a beginner's course so I cannot have any advanced coding, I appreciate those suggestions, … |
The End.