199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zawpai

Hi all, Can I protect my exe file not to copy from one PC to another? I think it can be done, but I don't know how to do this. Could anyone please give me some guide lines? Best Regards, zawpai

Member Avatar for aamir.tiwari.9
0
1K
Member Avatar for supra

Hello Everybody, I want to do a project on Linux Shell Programming for my final yr.Can any one give me some idea about what kind of projects I should choose (do) which have industrial relevance and certainly helps in campusing. Thaking you, Supra

Member Avatar for peter_14
0
802
Member Avatar for java786

Write a program that simluates a game of dice. In this game, players take alternate turns rolling two dice. On each turn, they record the sum of the two dice and add this to their total. If a player rolls a doublet (both dice have the same value), then the …

Member Avatar for mathijs
0
4K
Member Avatar for 2mhzbrain

<?php require 'includes/verifycred.php'; ?> <!DOCTYPE html> <html lang="en"> <head> <title>Technology</title> <meta charset="utf-8" /> <link rel="stylesheet" href="style.css" type="text/css" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script type="text/javascript" src="wysiwyg.js"></script> </head> <body class="body" onLoad="iFrameOn();"> <header class="mainHeader"> <nav> <ul> <li> <a href="adminpage.php">ADMIN PANEL</a> </li> </ul> </nav> </header> <?php include 'sideBar.php' ?> <div class="content"> <article class="topcontent"> <h3 …

Member Avatar for 2mhzbrain
0
253
Member Avatar for mohamed.talaat.1217

**I have a struct of students that written to a file all what i want is intial the array with values from the file using any method , the aim is to put the struct values into array to help sorting process the code gives me punch an kick any …

Member Avatar for mohamed.talaat.1217
0
295
Member Avatar for tessa.burkhalterblackmon

Below is my code so far that ask user for how many numbers they want to input. This program can calculate average based on the numbers that the user input but I also need it to find the product or multiplication of all the numbers entered. I know how to …

Member Avatar for tessa.burkhalterblackmon
0
381
Member Avatar for Dadi_2

I have recently shifted from c# to try Javafx2. I am also new to this forum. I have been stuck trying to implement internal frames in Javafx. I stumbled upon this link: http://stackoverflow.com/questions/17673292/internal-frames-in-javafx I have managed to add jfxtras 8 jar file to my project as well as in scene …

0
188
Member Avatar for leroy green

Hey guys, quick question on the best way to implement ASP into HTML. Right now i have a finished web form in a default.aspx file and a Default.aspx.vb file. So two files: Default.aspx Default.aspx.vb My question is how would I nest or call this on an html page? through an …

Member Avatar for JorgeM
0
194
Member Avatar for nhrnjic6

How do I add second element ? right now it works and I get output of 13, but lets say I want list of 2 elements, how do I do that ? here's my code : #include <iostream> using namespace std; struct Vagon{ int num; Vagon *p_next_num; }; int main() …

Member Avatar for AndrisP
0
169
Member Avatar for Bilal gulbaz
Member Avatar for Ankit_8

import java.awt.*; import java.applet.*; public class Neko extends Applet implements Runnable { public static void main (String args[]) { Image nekopics[] = new Image[9]; Image currentimg; Thread runner; int xpos; int ypos = 50; public void init() { String nekosrc[] = {"right1.gif" , "right2.gif" , "stop.gif" , "yawn.gif" , "scratch1.gif" …

Member Avatar for Ankit_8
0
191
Member Avatar for klemme

Hi all, I am creating a function, that filters products, that are allready loaded into the DOM. JSFiddle: http://jsfiddle.net/Klemme/8CFVa/2/ Please read on, two get the issue :-) In each product div, I have listet an HTML5 data attribut like this example: data-options="{"brand":"acer","screenSize":"17","processor":"intel","grafik":"intel"}" I have 2 groups of checkboxes working now, …

0
243
Member Avatar for rb1234567

Hi, I need to create a page where an admin can upload an excel worksheet in the .xlsx file format, this is then read and writen onto another php page. I'm new to PHP so I am confused by the code, I can find help on .xls but not accepting …

Member Avatar for patk570
0
299
Member Avatar for aliashiq

Sir i am new to webservices and my scenario is that i want to display records from database against email and password. but when i debug webservices i recieved error. Here is my code [WebMethod] public bool CheckLogin(string Email, string Password) { return getEmail(Email, Password); } public bool getEmail(String Email, …

Member Avatar for aliashiq
0
247
Member Avatar for ram619

Hi, I have a device connected to the USB port of the laptop. This device pumps data to the port which is read by the python script. As per the baudrate of the board I use folowing configuration to open the port. Serial(options.port,921600,timeout=0.2,xonxoff=0,rtscts=1) But when I analyse the collected LOG …

Member Avatar for Ewald Horn
0
2K
Member Avatar for mgold

I'm trying to implement an algoirthm descirbed here: http://pub.uni-bielefeld.de/luur/download?func=downloadFile&recordOId=2497720&fileOId=2525546 The purpose of that algorithm is to create a concept hierarchy based on a document corpus. For instants, a "Dog" concept would be a child of the "Animal" concept in such a hierarchy. To the point, I've come accross a peice …

Member Avatar for sepp2k
0
284
Member Avatar for Vmailservice

<script type="text/javascript"> var arr = [{ val: 1, text: 'Option 1' }, { val: 2, text: 'Option 2' }]; $(function () { $('a').click(function () { var sel = $('<select>').appendTo('body'); $(arr).each(function () { sel.append($("<option>").val(this.val).text(this.text)); }); $('<br>').insertBefore(sel); $('<input/>').insertAfter(sel); return false; }); }); </script> </head> <body> <a href="">Add Select Box</a> </body> with is …

Member Avatar for diafol
0
152
Member Avatar for davy_yg

Hello, I wonder how to create facebook & twitter share button which share articles title (twitter) & article title/content (facebook)? So far I only find the following codes: https://about.twitter.com/resources/buttons#tweet https://developers.facebook.com/docs/plugins/share-button/ It doesn't share the article title/content though. I have to type the title to share (not automatic).

Member Avatar for davy_yg
0
499
Member Avatar for gbhs

Hi Experts, I have to Pad some numbers that have decimal points and I have done it successfully as follows: SELECT case when len(myValue)=1 then RIGHT('000' + CAST(CAST(myValue AS float) AS VARCHAR(5)), 2) when len(myValue)=2 then RIGHT('000' + CAST(CAST(myValue AS float) AS VARCHAR(4)), 2) when len(myValue)=3 then RIGHT('000' + CAST(CAST(myValue …

Member Avatar for gbhs
0
159
Member Avatar for fheppell

I have this code that loads a file called mailchimp-api and signs a user up to a newsletter: <?php if(isset($_POST['email'])){ $email = $_POST['email']; include("mailchimp-api.php"); $chimp = new MailChimp('XXXXXXXXXX-us7'); echo "API registered"; $chimp = $MailChimp->call('lists/subscribe', array( 'id' => 'XXXXXXXXX', 'email' => $email, 'double_optin' => false, 'update_existing' => true, 'send_welcome' => true, …

Member Avatar for cereal
0
248
Member Avatar for haymen.roth.3

i am bit confused by the nature and working of query , I tried to access database which contains each name more than once having same EMPid so when i accessed it in my DROP DOWN LIST then same repetition was in there too so i tried to remove repetition …

Member Avatar for Manish02
0
158
Member Avatar for anisha.silva

HI How to i expand and extract a WSDL file in html. appreciate a reply thanks

Member Avatar for Manish02
0
125
Member Avatar for August AlieN

Is email encryption method had disadvantages? emails are encrypt by secret key, cryptograph the messages and secret key is encrypt by the receiver's public key. receiver's private key decrypt the secret key. so, secret key decrypt the messages body. * but i can't find weak points. if you know plz …

Member Avatar for rubberman
0
176
Member Avatar for haymen.roth.3

i have wrote query to calculate TOTAL WORK TIME and Overtime of an employee based on Intime and outTime but can't figure out to put another column 'IsAbsent'. e.g. if person doesn't come on any specific date than his INtime and TimeOut would be empty then if both are empty …

Member Avatar for pritaeas
0
192
Member Avatar for rgkrish183

this front page: Form.jsp <html> <head> <title> Data Inserting Form </title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> </head> <body> <h1>ENTER THE EMPLOYEE DETAILS</h1> <form action="./Insert.jsp" method="post"> <table cellspacing="5" cellpadding="5" border="5"> <tr> <td align="right">Employee Name:</td> <td><input type="text" name="EmployeeName"></td> </tr> <tr> <td align="right">Employee_id:</td> <td><input type="text" name="Employee_id"></td> </tr> <tr> <td align="right">Nationality:</td> <td><input type="text" name="Nationality"></td> </tr> …

Member Avatar for peter_budo
0
407
Member Avatar for pspwxp fan

I am using NetNeans I have a JPanel that is supposed to show some already input data along with a progress bar while the remainder of the program carries out some lengthy processing (about 1 minute long). Once the processing is done, this same JPanel is supposed to be updated …

Member Avatar for JamesCherrill
0
576
Member Avatar for branding4you

I have a new website that i want the exchange rates to show up using the ECB (European Central Bank) Now for some reason on their website they put this code but i copy paste it into file save as php upload to server and nothing ... what could be …

Member Avatar for branding4you
0
337
Member Avatar for dlmagers

I think I have a cluster of a mess here and was wondering if someone could help me in the right direction. I am trying to write a small program that will calculate the gain and/or loss of the sale of stock. The program will ask the user for the …

Member Avatar for stultuske
0
441
Member Avatar for raliot

File does not work.Does not record information.Please help! -Enter of a keyboard and a file into an array (by adding) data to 30 girls #include <iostream> #include<fstream> #include <stdio.h> #include <stdlib.h> #include <string> using namespace std; #define N 30 FILE *fp; struct girl { char number[10]; int age; int bust …

Member Avatar for cherrymae.calma
0
332
Member Avatar for folabidowu

write a C++ program which inputs litre consumption given in miles/gallon and which translates these figures into the litres/kilometre format which is more common in Europe.Use the following conversion factors: 1 mile=1.609km and 1 gallon= 3.785litres

Member Avatar for cherrymae.calma
0
276
Member Avatar for gsynr

I am not able to use Facebook Like and Share Butoon on my website Anyone can help mee <html> <head> </head> <body> <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'app id', status : true, xfbml : true }); }; (function(d, s, id){ var js, fjs = d.getElementsByTagName(s)[0]; …

Member Avatar for gsynr
0
262
Member Avatar for phorce

Assume that I have a vector: x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14] What I need to do is split this vector into block sizes of `blocksize` with an `overlap` `blocksize = 4` `overlap = 2` The result, would be a …

Member Avatar for vmanes
0
188
Member Avatar for ryan.jay.ong

Hi, I'm now studying Bachelor of Science in Information Technology. I want to ask everyone if I can count on you if I ever bump into some problems coding. I'm new to programming. Thank you.

Member Avatar for ryan.jay.ong
0
96
Member Avatar for thomas_14

I am using c++ with sqlite3 I have a database(test.db) with a table of testTable inside the testTable it has the following attribute _id|randomText I tried inserting a randomText into the database after my input but it's not inserting into the database. my code http://pastebin.com/TvuNqFsF need help. thanks

Member Avatar for thomas_14
0
325
Member Avatar for catpoints

Hi. I am trying to perform a TranslateTransform on an Image using this code: double to; int increment = 2; TranslateTransform tt = new TranslateTransform(); background.RenderTransform = tt; to = Canvas.GetTop(background) + increment; DoubleAnimation da = new DoubleAnimation(to, TimeSpan.FromSeconds(0)); Canvas.SetTop(background, to); tt.BeginAnimation(TranslateTransform.YProperty, da); This works when the Image exists in …

Member Avatar for catpoints
0
459
Member Avatar for suela

can anyone help me to create a program that alows me to make a regular conversation with the computer?

Member Avatar for Ancient Dragon
0
178
Member Avatar for Stefce

Hello, im trying to get the answers from the secound array but it takes just the last question and answer hers is the code: search.setOnClickListener(new View.OnClickListener() { String[] questions = { "http", "arp", "asd" }; String[] answers = { "HyperText Transfer Protocol", "Advanced Research Project", "asdasdasdasdasdasdasdasd." }; @Override public void …

Member Avatar for stultuske
0
143
Member Avatar for lara_

i just want to whether there is a replacement for getch() in C++. my friend said getch() is C function. thanks!

Member Avatar for nootan.ghimire_1
0
7K
Member Avatar for borovez

Alright so this has been bugging me for a long time now... I have tried everything but I cant get it to work! So what I want to have is a link that acts as a button, and once you click it, it POSTs an ID number of the button …

Member Avatar for pritaeas
0
6K
Member Avatar for nhrnjic6

so if I have const int SIZE = 4; and a while loop const int SIZE = 4; int counter = 0; while(true) { // do something ... if(SIZE == counter+1) {cout << "Hello world"} } why is this not working? and how is the right way to do it?

Member Avatar for nhrnjic6
0
128
Member Avatar for princessophia

This is the problem: Write a class whose constructor takes a vector of Student objects, where each Student has a name of type string and a score of type int. The class internally stores the data passed to it in its constructor. The class should have an overloaded output operator …

Member Avatar for dabotoshkundu.bappa
0
305
Member Avatar for np complete

I want this program to wait untill I copy some text into my clipboard. This is what I have done so far char text[500] ; HANDLE clip ; if ( OpenClipboard (NULL) ) cout << "\nClipboard opened" ; EmptyClipboard () ; cout << "\nStart" ; while ( true ) { …

Member Avatar for Ancient Dragon
0
313
Member Avatar for vishalonne

Hello Every body My question is very simple for you all experts, as I am learning how to write C++ program. I need a code for summing up the 4 corner of 2D array in turbo C++. Thank you all with regards

Member Avatar for Ancient Dragon
0
1K
Member Avatar for CoolAtt

Hi All, I got this code from a forum & tried it on g++/Linux. In the code below i put NULL to a pointer variable but didnt get any errors. #include <iostream> using namespace std; class A { private: int _dmember; public: void func() { cout<<"Inside A!! "<<endl; cout<<_dmember; // …

Member Avatar for CoolAtt
0
320
Member Avatar for blueguy777

Update form is working perfectly, but the value of $magentname variable changing to blank without selecting drop down box value. code: <?php require 'include/database.php'; require 'include/settings.php'; $id = null; if ( !empty($_GET['id'])) { $id = $_REQUEST['id']; } if ( null==$id ) { header("Location: sub-agents-list.php"); } $mainagentid = $_POST["mainagentid"]; $pdo = …

0
180
Member Avatar for pwolf

I have just started trying to learn Java, and i am currently following a tutorial series on youtube([Java tutorial by Derek Banas](http://www.youtube.com/watch?v=rGlJiUO-dZA)) it seems like a good series so far! but i have been going along with him and typing it out, then afterwards replacing my copied code with his …

Member Avatar for Ewald Horn
0
286
Member Avatar for everton.retweets

Hi Everyone, I am struggling to fix this stupid problem I have with pdo php insert. I have this working on a different insert, but for some reason, this is just not working. I keep getting the error "You have an error in your SQL syntax; check the manual that …

Member Avatar for pritaeas
0
432
Member Avatar for cpchc

Hi there - I had written some php for users to login to a password protected part of our site. Today an SSL certificate was installed. Previous to the SSL being installed the pages would timeout and kick the user out to the login screen after a certain period of …

Member Avatar for patk570
0
285
Member Avatar for Start4me

I have a listbox with items and a panel. What I want to do is when I click on an item, a label shows up in a panel, which was already there before the item was clicked. I've managed to show the label, but it didn't add to the panel, …

Member Avatar for Start4me
0
303
Member Avatar for nhrnjic6

Can somebody please tell me what is wrong in here or what does this error message means : " error : reguest for member 'name' in 'person',which is of non-class type 'Person[2]' " struct Person{ int days; string name; }; const int size = 2; bool way_to_Sort(const Person &a, const …

Member Avatar for mathijs
0
186

The End.