199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for siss

I'm a complete beginner learning Python. I'm writing code to get response of cloudstack api call 'listTemplates'. But what ever i did, it shows a error message like 'Unable to execute API command listtemplates due to missing parameter templatefilter' i have tried to specify thar parameter but failed. can anyone …

Member Avatar for TrustyTony
0
503
Member Avatar for Bibek_NS

I have been using **JavaScript** for almost one and half years and it has turned out to be a language that has enormous *flexibility* and *customizable* features which makes web development a great fun. But one thing I wanted to know is that, if **JavaScript** can be used to write …

Member Avatar for paulkd
0
183
Member Avatar for MasterHacker110

I am writing a few webpages and i want to use some php in one of them. The problem is that my php code never displays an ouput even of the simplist form. I have this very basic code: <html> <head></head> <body class="page_bg"> Hello, today is <?php print("Hello"); ?>. </body> …

Member Avatar for MasterHacker110
0
215
Member Avatar for noobyy

im just a noob vb programmer and im now making a thesis project (library system) im just wondering if any1 know how to do that (see title) in visual basic coz im planning to put that in our text box for searching books or student info for easier searching. help …

Member Avatar for anbarasan
0
230
Member Avatar for chrispitt
Member Avatar for akash0689

I have two folders say A and B having exactly same no .of files with same name but different modified date and size. I want to compare each file of A to its respective file of folder B and get the newly modified file in a List box. If newly …

Member Avatar for tinstaafl
0
1K
Member Avatar for yibrahim
Member Avatar for riahc3

Hello Using accordion, I want to open it (only one section) when I hover over the header and close it when I leave the header with my mouse. Ive been able to get it to work 50% but when I hover my mouse over the header if it is open, …

Member Avatar for riahc3
0
657
Member Avatar for MasterHacker110

I am getting an iphone soon and would like to write some programs for it using c++, I know all about apple and objective c but I want to use C++, as I am more skilled in C++. So is there a compiler out there that will enable me to …

Member Avatar for Schol-R-LEA
0
325
Member Avatar for designershiv

<html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function() { //$(".box:contains(latin)").wrap("<div></div>"); // $("div:contains('roots')").css("text-decoration", "underline"); //$("div:contains('John')").css("text-decoration", "underline"); $("div:contains('John')").addClass('test'); }); </script> <style type="text/css"> .test{color:red;} .list{float:left; width:80px;} .list li{list-style-type:none;} input{text-transform:uppercase;} </style> </head> <body> <div> Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in John a piece of classical …

Member Avatar for designershiv
0
3K
Member Avatar for designershiv

Can anyone tell me how to write each function for ajax loaded elements Ex:Refer the code below $('textarea').each(function () { $(this).attr('maxlength', 150).addClass('characterCount'); }) This code working fine, how to make it work in ajax loaded elments

Member Avatar for designershiv
0
196
Member Avatar for designershiv

Dear All, I am trying to store a predefined div with a class in a variable using jQuery, Please find my below code and let me know whether it is right or not. loader : $("<div/> + {class:'test'}") thanks in advance.

Member Avatar for designershiv
0
123
Member Avatar for mossman mudas

i have an awk script and in the end section i create my table data with printf and i want to sort it so i used pipe then sort i am calling it like this awk -f awkscript file in bash i can get it to work the way i …

Member Avatar for mossman mudas
0
242
Member Avatar for Affable zaki

Need Help guys. I am beginer in vb.net. i am using vs 2008 with sqlserver 2005. my head will burt very soon :( i have completed a desktop application for a local shopkeeper but he says this is in english and i want it in URDU :@ ,,,, i WANT …

Member Avatar for tinstaafl
0
258
Member Avatar for massivefermion

I'm using windows 8 and I wanna know can I cross compile a C++ program for symbian Belle?How? Thanks

Member Avatar for massivefermion
0
129
Member Avatar for aravind326

Hi, I'll quickly explain what i am trying to do before telling the problem i am facing. **Requirement:** 1. Store the contents of a file into an object. 2. Send the object through HTTP socket to another client server. 3. Have the server fetch the file contents from the object. …

Member Avatar for JamesCherrill
0
216
Member Avatar for bradly.spicer

Just a quick question really, I'm using a database which is for Moodle, and I want to extract the login details for an Android app I am writing so they can login to that database and See their information. Part of it is in PHP... so it's Java > PHP …

Member Avatar for LauraLemana
0
141
Member Avatar for ganges

Hi, what are the essential steps have to be done before installing eclipse j2ee on ubuntu manually give me valuable tips, thanks for your time.

Member Avatar for stultuske
0
155
Member Avatar for ram619

Hello......I have written a script in which I am telnetting from system1 to system2. There from system2 I am doing ssh to system3. This system3 is a Embedded Board running Linux. Here on system3 I am executing a code that gives me a CLI interface. In this CLI we have …

Member Avatar for ram619
0
181
Member Avatar for sameh.abdulah.1

Hello, I read a large file (>7GB) from disk. The file is as set of attributes like this: 0.2,0.3,0.5,0.6,0.8 0.5,0.7,0.2,0.2,0.5 . . I want to read only the first columns(i.e. 0.2, 0.5,...) into a vector. I do not need the other columns. The problem that when I use the fstream …

Member Avatar for Ancient Dragon
0
273
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
302
Member Avatar for chriswelborn

I'm no pro when it comes to BASH, but I have been known to shell-script my way out of a problem here and there. One of the useful things you can do is a for-loop, whether it be used on file names, script arguments, or just a string of words. …

Member Avatar for chriswelborn
0
398
Member Avatar for GeoEqual

I want to put the total on the last row of the sheet regardless the number of the records. If 10 rows are populated, i want to put total on 11th row. If 12 rows are populated, i want to put total on 13th row. If I based the adjustment …

Member Avatar for demon916
0
359
Member Avatar for kay19

Well I have a question and not sure if it's right. Here's the question(Long one). Applications. Build a class called Precinct. The record for a voter will consist of aname (String) and a political party(Boolean)(Two party). The SignInQueue method takes two parameters, a voter name and a party, and places …

Member Avatar for kay19
0
303
Member Avatar for ahudson

Hello Guys! I had two questions, but I seem to have forgotten the other, if I remember, I will reply to this thread with it. Sorry. I have no idea what this would be called (maybe digital certificate), however, I saw an awesome feature on the USPTO website (https://ppair.uspto.gov/authenticate/AuthenticateUserLocalEPF.html) where, …

Member Avatar for JorgeM
0
383
Member Avatar for chriswelborn

This is another useful script I came across. It prints a color-code chart in your terminal. It can help you find the color-code you are looking for, or view the current color-scheme you are using (people use it on reddit/r/unixporn to show off their system's theme, I use it to …

0
385
Member Avatar for chriswelborn

I didn't write this, the credits are in the code. It's a code-golf version, and I'm sorry about that. I am trying to 'decode' it but I don't have the skills, so the 'decoded' version doesn't have the right colors. This is an example of what you can do with …

0
1K
Member Avatar for Stuugie

Hi All, I sort of want to get a "best practices" perspective regarding numeric values. First, I'll give my scenario: In my SSIS package, a CSV file is used for data extraction. Once extracted, a staging table is loaded with all the values from the CSV. One column, called "IPI_Value" …

Member Avatar for Stuugie
0
164
Member Avatar for vadimak

Hello i need to make a cash register but i dont know how to do it. i was thinking about to make it in loop but i dont know how to make its. i need to input a barcode of product each barcode has price an stock level. In the …

Member Avatar for vadimak
0
545
Member Avatar for aroojasif22

`Inline Code Example Here`Can anyone please give me the code for copy detection. OBJECTIVE: A program that detects copied codes.<o:p></o:p> Sometimes students tend to submit copied assignments and detecting copy cases manually can be very time-consuming. You are going to write a simple software that compares two files word-by-word and …

Member Avatar for aroojasif22
0
161
Member Avatar for arcticman452

I am building a game similar to the tron game. I want to use the arrow keys to control the movement of the player. I do not have all the code completed but attached what I have so far. #include<iostream> #include<string> #include<conio.h> #include<Windows.h> #include<cstdlib> #include<ctime> using namespace std; //Declarations bool …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for siss

Do anyone here knows flex builder? I'm a beginner in this language. I have written a code for HMAC SHA1 signature generation for authenticating account in cloudstack. No error is showing while compiling. But when i run, the browser opens blank. The url is correct, the signature is genetated. I …

0
159
Member Avatar for zippee

Is there any way I can convert dynamic URL into static URL in php? i.e. convert php file into html so that the page is search engine friendly. For example: Change this: [url]http://mysite.com/pagename.php[/url] To this: [url]http://mysite.com/pagename[/url] or this: [url]http://mysite.com/pagename.html[/url] I know there is something called mod_rewrite in Apache, but not …

Member Avatar for mikerock
0
804
Member Avatar for ilian.bonov

My program is working perfectly but when I want to initialize the default constructor which is all zero's it prints -9.25596e+061 . Hier is the code : class Sales { private: static const int QUARTERS = 4; public: double sales[QUARTERS]; double average; double max; double min; Sales(); Sales( double ar[]); …

Member Avatar for ilian.bonov
0
141
Member Avatar for sankhasubhra

I'm developing an application in JAVA where a servlet is taking the inputs from a JSP page. After inserting the values in db it will redirect to another servlet. Then the 2nd servlet will dispatch a JSP page with an ArrayList. But I can't redirect from the 2nd servlet to …

Member Avatar for nadim123
0
415
Member Avatar for monniekellie12

How do i build a login page and where do i retrieve logins and passwords from ?

Member Avatar for ndeniche
0
155
Member Avatar for Lonerli

Hey Guys, please I need help badly. Thank You I read a text file from my hard disk which contains as follows.... void main() { int A = 5; int B = 5; int C ; C = A + B; cout << C ; } So, what I need …

Member Avatar for JamesCherrill
0
220
Member Avatar for fafa70

hi. i have problem with following code: when i give address directly it works correct but when i get address from command line, it does n't work. int main(int argc, char** argv) { int size; int fd,fd2; char buf[10000],buf2[10000],FileAdd[10000]; size = read(fd2,buf2,10000); //char *FileAdd = malloc(size); strcpy(FileAdd,buf2); if ((fd= open(FileAdd, …

Member Avatar for fafa70
0
342
Member Avatar for neville.solomon2

Hi everyone, I joined this forum because I was hoping to learn from experts in programming. I know next to nothing about it. I want to develop a web app for lawyers, and plan to outsource it's development to a programmer. But I have no idea what I should look …

Member Avatar for chrishea
0
219
Member Avatar for mpc123

Hi Im trying to get mysql_query result with foreach set up and i am just planning what i am going to do but I am stuck with adding foreach into my code so far. Basically F field has several different options which are duplicated lots of times, so i need …

Member Avatar for mpc123
0
264
Member Avatar for de Source

i want to upload the attendance of students i am able to upload a xlsx file and transfer its data to tbl_temp now i have two tables tbl_s_attendance EP_Number Attendance course_id class_id 105078 105076 105075 105077 105079 tbl_Temp EP_Number Attendance 105075 P 105076 P 105077 P 105078 A 105079 A …

Member Avatar for annaharris
0
176
Member Avatar for snehalj

i have one textbox for password, n i want to set character for password, so which property can be used?

Member Avatar for Mayur Darji
0
332
Member Avatar for maxpaine69

Hi all, so the main problem i have is this, i hidded my menu from the non logged people, when a pesons logs in the menu must show, but it isnt happen, i know the code work becaus i tested it and the menu apears but when in the login …

Member Avatar for annaharris
0
138
Member Avatar for mjsmitten

I have the following function for resizing to (also) thumbnails, and widht and height for big, smaller and thumbs is fixed sizes, but the problem is this: If an uploaded image is small in dimensions there is a large white space around the thumb to make it a fixed size; …

Member Avatar for pritaeas
0
196
Member Avatar for cool_zephyr

how do I put hexadecimal values into a byte array?? I did the following private byte[] buffer=new byte[] { (byte)0xC8, 00, 0x09, 0x4A, 32, 0x4D, 45, 76, 33, 0x2E, 30, 32, 00, 05, 00, 00 }; but when i print them using System.out.print(...), the output is -56 0 9 74 …

Member Avatar for JamesCherrill
0
401
Member Avatar for akkbkht

Hello. Please guide me how to start a session when a user clicks on login page and the info finds correct? How to check this session on other pages which i want to secure from unauthorised access? if the session found then open this secure page, otherwise redirect the user …

Member Avatar for OsaMasw
0
327
Member Avatar for chrispitt
Member Avatar for rolandbleyer91
0
556
Member Avatar for Adi92

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { DefaultListModel list = (DefaultListModel) jList1.getModel(); String sql = "Select * from salesorder"; try { Class.forName("com.mysql.jdbc.Driver"); Connection con = (Connection) DriverManager.getConnection("jdbc:mysql://localhost/userauthentication", "root", ""); Statement stmt = con.createStatement(); ResultSet rs = stmt.executeQuery(sql); while (rs.next()) { Integer id = rs.getInt("id"); list.addElement(id); } jList1.setModel(list); } catch (Exception e) { …

Member Avatar for JamesCherrill
0
244
Member Avatar for smgeshi

Hi all, I want to develop a search functionality in my php website. My requirement is as below.. I have a text field for entering the required key word.After enter my search keyword and hit the "search" button, it should list all the data with respect to the entered item. …

Member Avatar for OsaMasw
0
106
Member Avatar for moomal.razak

I have to make a database system that is purely on SQL Server. It's about a diagnostic lab. It should contain at least 40,000 distinct patient records. I have a table named "Patient" which contains an auto-generated ID, Name, DOB, Age and Phone number. Our teacher provided us with a …

Member Avatar for pritaeas
0
366

The End.