64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Shft

Ok, so, I've been scrounging around the internet looking for a decent C++ Keylogger that is able to be hidden (Not showing a console window) and have been very unsuccessful, I need help building one or finding one that works PROPERLY. I use Codeblocks compiler, similar to Dev-Cpp. Any help …

Member Avatar for triumphost
-1
299
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Member Avatar for phorce
0
4K
Member Avatar for kshahnazari

I'm working with openid library and one thing has been bodering me. <?php # Logging in with Google accounts requires setting special identity, so this example shows how to do it. require 'openid.php'; try { # Change 'localhost' to your domain name. $openid = new LightOpenID('localhost'); if(!$openid->mode) { if(isset($_GET['login'])) { …

Member Avatar for Atli
0
299
Member Avatar for farmwife

"Active cracking" means indirectly changing a plaintext message so that it becomes a totally different, plaintext message that says something totally different but still makes sense, by creating a brand new encryption key that is applied to the ciphertext itself and changes the ciphertext rather than the original plaintext. I …

0
141
Member Avatar for PerplexedB

Please consider the following class : <?php class p0110dbinsertbuilder { public $table=""; private $fields ; public function add($Field,$Value){ $this->fields = array($Field,$Value); } public function insertstring(){ $count = count($this->fields,0); $c = "INSERT INTO " . $this->table . "("; for ($i=0;$i<$count;$i++){ $c .= $this->fields[$i][0]; if ($i <> $count-1){ $c .= ","; } …

Member Avatar for PerplexedB
0
228
Member Avatar for gahhon

Assume i have 3 buttons `button1, button2, button3` And each of them are firing the same method `onClick="Redirect"` ## PROBLEM ## How can i able to redirect them different pages by checking whether which button is clicked `button1.click; redirect(page1)`, `button2.click; redirect(page2)`, `button3.click; redirect(page)` how can i do this instead of …

Member Avatar for gahhon
0
145
Member Avatar for chrisschristou

hello dear Friends i just discover this forum i don't know more about how it work here, i need help to complete my website i created a shopping cart with php in dreamweaver with generated code all work fine customer can add product to cart and edit quantity , see …

Member Avatar for chrisschristou
0
372
Member Avatar for nikolaos

I am making a project in Number Theory and i want to display some formatting text in a textArea in my Gui. I have a method named padding which takes an integer as an argument and return a String consisitng of a number of spaces. This number is 12 - …

Member Avatar for nikolaos
0
935
Member Avatar for blueguy777

$a = array(000,400,000,500); $b = array(300,400,450,500); $i=0; foreach($b as $k=>$v) { if($v==$a[$i]) { $b[$k]='000'; } $i++; } print_r($b); i want same thing in two dimensional array $a = Array ( [0] => Array ( [0] => 000000 [1] => 000400 [2] => 000450 ) [1] => Array ( [0] => …

Member Avatar for blueguy777
0
328
Member Avatar for SaRa Ahmad

hi again , how i can read a path of file that location on a server in vb6 ??? for example my server is 192.168.1.222 and folder is software

Member Avatar for SaRa Ahmad
0
128
Member Avatar for firoz.raj

can anybody tell me why i got syntax error(missing operator) in query expression'ID='; here is the code what i have written.any help would be greatly appreciated. [code] Private Sub Command2_Click() If CheckInput = True Then Dim success As Boolean Set con = New ADODB.Connection success = OpenConnection(con) If success = …

Member Avatar for babu.shahulhameed
0
209
Member Avatar for mikewyatt

I have a routine that requests an administrators approval for access to protected data. for security the adminsirator needs to know what data is requested. The following routine gets the password without any problem: public static Boolean Confirm_Change() { Boolean test = false; JPasswordField pf = new JPasswordField(); int okCxl …

Member Avatar for mikewyatt
0
157
Member Avatar for M.Waqas Aslam

Dear All ! I need to convert date 2013/09/15 to this format Sun, Sep 15, 2013 . any type of suggestion would be greatly appreciated. Regards

Member Avatar for M.Waqas Aslam
0
129
Member Avatar for cobalt555

So I need all I need to do is let this info that is going through my array print out somehow. the problem is I cant get it to do that currently. I can get it to return the information one at a time for each employee . but at …

Member Avatar for stultuske
0
521
Member Avatar for jemartalaban_1

hi my program is need to print different forms but each forms must use different printer and all printers was connected to my pc via usb port, my problem is if i want to print a form A i will click the command box then it will use the EPSON …

Member Avatar for rishif2
0
6K
Member Avatar for gahhon

protected void SetDestinationURL(object sender, EventArgs e) { if (loginMember()) Response.Redirect("~/Member/Home.aspx?Username=" + txtUsername.Text); else if (loginManager()) Response.Redirect("~/Manager/Home.aspx?Username=" + txtUsername.Text); else Alert.Show("Unauthorized User Access"); } protected Boolean loginMember() { SqlConnection conLogin = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdLogin = new SqlCommand("SELECT Username, Password FROM Member WHERE (Username=@ID AND Password=@Pass)", conLogin); conLogin.Open(); cmdLogin.Parameters.AddWithValue("@ID", txtUsername.Text); cmdLogin.Parameters.AddWithValue("@Pass", …

Member Avatar for gahhon
0
184
Member Avatar for chrisschristou

hello everybody i buil my dynamic site in dreamweaver cs6 but i'm not abble to formate the nember i want format number to decimal number like float in phpmyadmin this is how i do and it don't work please help thank. <label for="shipping">Sub total</label><input name="subtotal2" type="text"id="subtotal2" value="<?php echo $row_total[ number_format, …

Member Avatar for chrisschristou
0
200
Member Avatar for gahhon

**Hashing Method** // If the two SHA1 hashes are the same, returns true. // Otherwise returns false. private static bool MatchSHA1(byte[] p1, byte[] p2) { bool result = true; if (p1 != null && p2 != null) if (p1.Length == p2.Length) for (int i = 0; i < p1.Length; i++) …

Member Avatar for gahhon
0
180
Member Avatar for gahhon

I have a textbox which letting user to enter their password. My password format is 1. Starting at least 1 non-alphanumeric 2. Continue with alphanumeric 3. Length: 7 and above. What should i put in the validate expression? <asp:RegularExpressionValidator ID="RegExpPass" runat="server" ErrorMessage="Password Length at Least 7 With Special Character" ControlToValidate="txtPass" …

Member Avatar for gahhon
0
200
Member Avatar for castajiz_2

I was wondering if I could develop a comment section where people would post comments without using php or asp. The only thing that i would like to use ih javascript, html, css, ajax and things like that. Is this achievable without the usage of php or asp?

Member Avatar for JorgeM
0
72
Member Avatar for android_gl

new to sml and not sure how to div two number in function? i want to run if statment, than div two numbers, than run if else statment. fun hello() = if(x = 1) then true //x = 10 div 5 if(x = 4) then true else false;

Member Avatar for sepp2k
0
112
Member Avatar for PerplexedB

Please consider my "execute" method of my db class. When I pass it a bad sql, it does not thow the PDOException, just returns $return === false and does not do anything in the db. What am I missing? public function execute($sql){ if (!$this->connection){ try{ $conn = new pdo(self::$dbName ,self::$user …

Member Avatar for pritaeas
0
155
Member Avatar for gahhon

Assume i have a table `field1, field2, field3` and i have radio button list that displaying `field1, field2, field3` If the end-user selected `field2` and inserting a value into `field2` How can i do? Any Tricks? Thanks for in advance.

Member Avatar for mmcdonald
0
123
Member Avatar for Hazuan Nazri

Hello friends! hope someone can help me, i have a problem to display picture from database access in picturebox, i already search it on google, maybe im not lucky today to find article about it. please teach me friend.

Member Avatar for mmcdonald
0
302
Member Avatar for dendenny01

Whenever I try to run this code in turbo c++ 4.5 I recieve an error "General Protection Exception List.c 60 List(2) 0x24DF:0x0157 processor Fault" whereas when the same Program is run in Turbo c++ 3 Dos version It Compiles and Runs Propely without any error. Please Help. #include <stdio.h> #include …

Member Avatar for Ancient Dragon
0
925
Member Avatar for blueguy777

i am getting array output as: Array ( [0] => Array ( [0] => 000000 [1] => 000400 [2] => 000450 ) ) Array ( [0] => Array ( [0] => 000350 [1] => 000400 ) ) i want output like this: Array ( [0] => Array ( [0] => …

Member Avatar for diafol
0
404
Member Avatar for chrisschristou

hello Dear friend of Daniweb i'm new in this site i just discovered yesterday, i find here fine. i create my website in Dreamweaver i created shopping cart and on local server in wamp it work fine but when i upluad on my hosting server i get this error: <?php …

Member Avatar for chrisschristou
0
201
Member Avatar for Sci3nc3F1cti0n

Hey guys, as the title says, this is my first encryption program. Being extremely simple, I was just looking for advice on ways I could improve it. I just recently got back into programming(I tried to learn before but unfortunately lost interest while I was still learning the basics) and …

Member Avatar for nchy13
0
422
Member Avatar for flebber

Hi I am looking some advice on which Java tools to use and /or any hints you can offer a new Java user regarding XML. What I want to do is take an xml file read it, modify it and push it to a database so that it can update …

Member Avatar for flebber
0
182
Member Avatar for Hazuan Nazri

i want to auto bind data to my textbox after user click the textbox and i already make it!! but my problem is, after i click the textbox again, it still same as the first click!!! HELP ME!!!!

Member Avatar for Hazuan Nazri
0
344
Member Avatar for irtza

In this program: 1) an integer typed 2D array named student_scores[Rows][Cols] is initialized by providing initialization list 2) then this array is passed to a function named total_scores which recevies two aurguments .- the first aurgument is for array with explicit use of column subscript .- the second one is …

Member Avatar for usama sadaqat
0
520
Member Avatar for Ralk25
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Member Avatar for nchy13
0
268
Member Avatar for DarkLightning7

I'm trying to implement a simple recursive list search in SML/NJ but am getting some errors i dont understand. Here is the code: fun find x y = if (null y) then false else if x = hd(y) then true else find(x, tl(y)); Here are the errors: stdIn:130.6-135.22 Error: case …

Member Avatar for DarkLightning7
0
710
Member Avatar for J

Design a form for students to enter the grades (A, B, C, D, or F) of five classes (I will enter class names in designated areas); use textboxes. After hitting the “Calculate” button, the result (average) with a message should be displayed right underneath the form. If the average is …

Member Avatar for <M/>
0
94
Member Avatar for Ahmed.C

Hey guys I was just wondering how can I add all the folders which are in a directory to a listbox. e.g. all the folders in C:\ should appear in a listbox on the form load event. How can this be done? Thanks :D

Member Avatar for Ahmed.C
0
2K
Member Avatar for blueguy777

table slabpay ------------------------------------------------------- agent_id|agent_name|cust_id|cust_name|installment_amt| ------------------------------------------------------- 1 |mike |1 |john |350 | ------------------------------------------------------- 1 |mike |1 |john |400 | ------------------------------------------------------ 1 |mike |2 |abraham |350 | ------------------------------------------------------- 1 |mike |1 |john |450 | ------------------------------------------------------- 1 |mike |2 |abraham |400 | ------------------------------------------------------- mysql query ------------------------------------------------------ `$select = mysql_query("SELECT cust_id, cust_name,installment_amt FROM slabpay …

Member Avatar for diafol
0
159
Member Avatar for Paul_17

Hi Guys, Completely new to PHP! Just wanted to play around with Fields and submit stuff to a database on localhost through xampp. This code writes to the database no problem, except no insert is happening with 'Telephone' and it throws this error; Notice: Undefined index: Telephone in C:\xampp\htdocs\Inputs\update.php on …

Member Avatar for Paul_17
0
2K
Member Avatar for iamthwee

So guys I have a vanilla install of code igniter and the thing returns a internal server error 500. This is only on my linux box. It works in windows xp on a virtual machine but I'd love to have it work on my linux box. So what do you …

Member Avatar for cereal
0
812
Member Avatar for Meikell 'Kai'

So! I'm building a GUI for an application I'm currently developing and I'm having a bit of trouble figuring out an issue. I'll try to explain it as best as I can in the code lines. Basically, I built a class to handle the initial window for the program, but …

Member Avatar for Meikell 'Kai'
0
2K
Member Avatar for MichaelCJ10

//MY Problem is that i'm trying to make a lottery program, the issue i have is when i click a button, i want it to be so that after i click 6 buttons, lets say ,1,2,3,4,5,6, the program will move onto the next stage( i have yet to build that) …

Member Avatar for MichaelCJ10
0
929
Member Avatar for phorce

I believe there is a function which returns the max value for a double, however, I do not need this. I'm converting the following function: public void StaticCompress(short[] samples, float param) { for (int i = 0; i < samples.Length; i++) { int sign = (samples[i] < 0) ? -1 …

Member Avatar for mike_2000_17
0
8K
Member Avatar for pars99

I need to compare two numbers in a cocoa application, but it doesn't allow me to use the regular signs (>=, <=, <, >) nor will it let me use isGreaterThanOrEqualTo:[] (Which, I undestand only takes an object, but I thought I would try it). So can someone please tell …

Member Avatar for Szabi Zsoldos
0
182
Member Avatar for gahhon

protected void Page_Load(object sender, EventArgs e) { int count = 0; string[] categories = new string[100]; double[] yValues = new double[100]; SqlConnection conBudget = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdCount = new SqlCommand("SELECT COUNT(*) AS COUNT FROM DailyBudget WHERE (Username=@username)", conBudget); SqlCommand cmdBudget = new SqlCommand("SELECT Foods, Clothes, Drinks, Entertaiment FROM DailyBudget …

Member Avatar for gahhon
0
1K
Member Avatar for dannybarh

Hi all, am trying to use bootstrap switch in my form. Am at a lost as to how to get the value of name="onoffswitch" from that field and insert it into mysql db, here is my code... div class="onoffswitch"> <input type="checkbox" name="onoffswitch" class="onoffswitch-checkbox" id="myonoffswitch" checked> <label class="onoffswitch-label" for="myonoffswitch"> <div class="onoffswitch-inner"></div> …

Member Avatar for dannybarh
0
3K
Member Avatar for gahhon

protected void AddTransaction(object sender, EventArgs e) { SqlConnection conAddTransaction = new SqlConnection(ConfigurationManager.ConnectionStrings["connMSJ"].ConnectionString); SqlCommand cmdAddTransaction = new SqlCommand("UPDATE DailyBudget SET @category=@amount WHERE Username=@username", conAddTransaction); cmdAddTransaction.Parameters.AddWithValue("@category", "Foods"); cmdAddTransaction.Parameters.AddWithValue("@amount", Convert.ToDouble("200")); cmdAddTransaction.Parameters.AddWithValue("@username", "mhingshiang"); conAddTransaction.Open(); cmdAddTransaction.ExecuteNonQuery(); conAddTransaction.Close(); } The `Foods` is one of the column name in `DailyBudget` table. But it can't update to the …

Member Avatar for gahhon
0
159
Member Avatar for RHNation

def main(): #this program calculates the total price of a meal after inputting cost of food #tip and sales tax print ('Welcome to the Meal Calculator Program') print() #get the cost of food using the input function food_cost = input ("Please enter the price of your meal: ") food_cost = …

Member Avatar for vegaseat
0
8K
Member Avatar for anestistsoukalis

I want to do what i describe on the title using php. Is it possible ? And how ? Something like this for example: http://www.pestaola.gr/ you can realize that there are pictures on menu bar. Thanks in advance.

Member Avatar for anestistsoukalis
0
179
Member Avatar for blueguy777

my actual code is: $agent_id=mysql_real_escape_string($_GET['memberid']); $result = mysql_query("SELECT id,ac_no,agent_name FROM ankali_slabpay WHERE agent_id=$agent_id ORDER BY id DESC LIMIT 1"); $row = mysql_fetch_array($result); $ac_number=$row['ac_no']; $agent_name=$row['agent_name']; ?> <?php $b = array(000350,000400,000450); //pre-defined installment amount values $replacement = "000000"; $cust_mast = '$C21'; $bank_name = 'KISAN SWARAJ'; $dfile = "READ ME CUSTOMERS.txt"; $fo = …

Member Avatar for blueguy777
0
130
Member Avatar for andrew.mendonca.967

CSCI-15 Assignment #2, String processing. (60 points) Due 9/23/13 You MAY NOT use C++ string objects for anything in this program. Write a C++ program that reads lines of text from a file using the ifstream getline() method, tokenizes the lines into words ("tokens") using strtok(), and keeps statistics on …

Member Avatar for RonalBertogi
0
442

The End.