199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for programer.cpp

hi, i'm new C++ programer .i wanna find a way to change process name in task manager when it start(example: proc.exe to changed.exe in task manager) tnx for our attention and answers, your new friend Tjsdeveloper.

Member Avatar for programer.cpp
0
3K
Member Avatar for chrisschristou

hello brothers sisters and friend on daniweb, my question look stupid but i want learn :D waht is API HOW TO USE basicaly in payment gateway and i would like to ask waht is the best api alternative to paypal easy to use and economic

Member Avatar for chrisschristou
0
72
Member Avatar for Mapper99

I have two similar nodes in an XML file. When using a CONTAINS query via XPATH, the XPATH query returns two sets of data. I would like it to only return the exact match. Any idea if this is possible? Here is my code: $uc = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; $lc = "abcdefghijklmnopqrstuvwxyz" …

Member Avatar for Mapper99
0
2K
Member Avatar for Pyler

Hi I'm trying to write a toString() method for a generic LinkedStack but I'm having trouble My class has two push methods. One pushes elements of some type onto the stack. It takes in some generic element and pushes it onto the stack. The other method takes in some generic …

Member Avatar for Pyler
0
1K
Member Avatar for newbie14

I have been taking few different heap snapshots. What I see is that the memory usage is not the same as reported by this codes. So how to know the exact memory is being used by my java application. I also see my leak report from MAT reports a lot …

Member Avatar for newbie14
0
291
Member Avatar for Tko_1

I have a script that search's for the word in the file just fine, I would like to echo the line number it was found on. Thank you. <html> <body> <form name="form" method="post"> input: <input type="text" id="search" name="search_box" style="background:#000006; color: #FF0000" /> </p> </p><input type="submit" name="submit" value="submit" /> </form> </body> …

Member Avatar for Tko_1
0
259
Member Avatar for devianleong

How to use the function within the class?? class UserRegister{ public $password = ''; public function escape($val) { return mysql_real_escape_string($val); } public function setPassword($val) { $this->password = $val; $val = escape($this->password); $this->password = $val; } public function getPassword() { echo $this->password; } } $obj = new UserRegister; echo $obj->setPassword("dsadsadasdas'das"); echo …

Member Avatar for devianleong
0
138
Member Avatar for suzyq888

Im suppose to write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. I …

Member Avatar for rishif2
0
329
Member Avatar for txhornsfan

I'm having problems with sending the input to another program... Here is what I'm supposed to do. Ask for nth number in the fibonacci sequence. The program will call another program (fibonacci.exe) genterate the nth number and pass back the information to the parent process, and display all numbers of …

Member Avatar for Ancient Dragon
0
212
Member Avatar for danielgr

I have a class of properties which is being used as part of a web service. The Class has list of another class as one of its properties: <Serializable()> _ Public Class LessonPlans Public Property Teacher As String Public Property RoomNumber As String Public Property Subject As String Public Property …

Member Avatar for danielgr
0
266
Member Avatar for Xakzi

Hello! I am working on a small decryption / encryption program using Win32 Console Application c++ nothing big, here is my code: #include "stdafx.h" #include <iostream> #include <fstream> #include <conio.h> #include <stdio.h> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { char name[100],target[100],ch,mod; //Declare Variables unsigned char apostrophe; int num[100],i,option; …

Member Avatar for kill-it
0
374
Member Avatar for Tinnin

Hi all, I'm running through the book "The C Programming Language" by *Kernighan & Ritchie* and I'm having some trouble with one of the exercises. "Write a program to determine the ranges of char, int, short and long variables, both signed and unsigned, by printing appropriate values from standard headers …

Member Avatar for Ancient Dragon
0
196
Member Avatar for BrickZ28

Ok so this issue has been stumping me for awhile. I have a website where a user inputs 2 times and dates i.e. 0100 and 0400 hose get assigned to a variable and are later pulled from the database to get the total time. Currently I have the code below …

Member Avatar for BrickZ28
0
279
Member Avatar for letlet_pogs

Hello. Help with my code. [code] echo ' Division Office : <INPUT TYPE=TEXT NAME="division_name" SIZE="23" ><INPUT TYPE=BUTTON onClick="window.open(../Tables/popup_client.php,popup,width=500,height=500,left=500,top=100)" style="background-color:#003366">'; [/code] it works if i will not use "echo"...but, i doesn't works if i use echo.. Help..Thank you again

Member Avatar for diafol
0
351
Member Avatar for satnav_8

Here is what I'm trying to do: * Take input with scanf() * Pass input to function * Beep frequency associated with input I have notes defined, e.g `const in C5 = 523.25;` I want the user to be able to input "C5", and have the computer beep at a …

Member Avatar for Ancient Dragon
0
392
Member Avatar for preeti_2

I have a file containing data in form : R1 1987 or 1789 and 8585 (7654) R2 7698 or 8656 or 74746 Now I want my file in the form R1 1987 R1 1789 R1 8585 R1 7654 R2 7698 R2 8656 R2 74746

Member Avatar for 2teez
0
128
Member Avatar for gahhon

I have 2 ASP.NET controls, which are the label and textbox. Both of this controls are enclosed with <div></div> When the end-users seletected a radio button which value is `Others` The <div> block and show it up without any postback. by using <div> block is i doing research i am …

Member Avatar for gahhon
0
2K
Member Avatar for fashxfreak

I need to write a C++ program to analyze three different data files, and try to confirm Benford’s law.I need to create a console application that opens each file, counts the number of values that start with ‘1’, ‘2’, ‘3’, etc., and then outputs the percentages of each digit. Based …

Member Avatar for fashxfreak
0
689
Member Avatar for Fireprufe15

I'm trying to make a program that saves images in a database. I've pulled together some info on the net and wrote up code that I think is supposed to work, but fails in a completely unique way on either side (the saving and the loading). Here's my code, could …

Member Avatar for Hemo2013
0
2K
Member Avatar for jacob21

Hi, Below code is working for uploading and insertion in database. How below can be done without Without Reloading the Page. <?php session_start(); $userId=3; //stored userid of current login user from session include("../db.php"); //include db part if (isset($_FILES["csv"])) { $uploadedFile = $_FILES["csv"]; $uploadedFileName = $uploadedFile ["name"]; //name of uploaded file …

Member Avatar for JorgeM
0
981
Member Avatar for daniel1977

Dear Friends: I am working on a prject and I am receiving these three errors: Warning 1 warning C4244: 'argument' : conversion from 'time_t' to 'unsigned int', possible loss of data F:\College Material\CS270\SourceCode\Exec11_14\Exec11_14\BST.cpp 18 1 Exec11_14 Error 2 error C2664: 'bSearchTreeType<elemType>::postorderInsert' : cannot convert parameter 2 from 'bSearchTreeType<elemType> **' to …

Member Avatar for UFOOOOOOOOOOO
0
154
Member Avatar for Stpdoug

Hey guys i am having trouble with creating a Parent class(gameobject) for two other child classes(player,location) both of the child classes can access data from the parent class, and work well independently but once i include the h file for the child classes together in main.cpp i get the compiler …

Member Avatar for UFOOOOOOOOOOO
0
358
Member Avatar for Henshens

includ<iostream> includ<conio> using namespace std; int x,z; char op; switch(op);{ cout<<"input two a rate"; cin>>x z; cout<<"category operator ( + , - , * , / , %)"; cin>>op; swich(op) case'+':cout<<"opertor +"<<x+z<< endl; break; case'-':cout<<"opertor -"<<x-z<<endl; break; case'*':cout<<"opertor *"<<x*z<< endl; break; case'/':cout<<"opertor /"<<x/z<<endl; break; case'%':cout<<"opertor %"<<x%z<<endl; break; default:cout<<"your are false"; …

Member Avatar for UFOOOOOOOOOOO
0
188
Member Avatar for TroxAlmighty

hello guys.. just a new member here.. and also a beginner at VB6.. i would like some help on how to connect my system with a database? because i cannot see the basic of connecting my system to a database.. thank you very much..

Member Avatar for Reverend Jim
0
116
Member Avatar for JOSheaIV

Hey everyone, So recently my sister got herself her own laptop (okay it's been a year or so). Anyway, she's been getting horrible at staying up super late messing around on it. Well I decided I'd help my parents out and write a program to control her laptop a little. …

Member Avatar for JOSheaIV
0
212
Member Avatar for princessophia

I am supposed to write a program that asks for the name of a pole vaulter and the dates and vault heights ( in meters) of the athlete’s three best vaults. It should then report in height order ( best first), the date on which each vault was made, and …

Member Avatar for UFOOOOOOOOOOO
0
282
Member Avatar for saadi06

Hi, I want to know that how can I get the timestampdiff return as zero instead of null. For example I have a query in which both dates are exactly same but the query returns me null instead of 0. My query is SELECT (TIMESTAMPDIFF(HOUR,'2012-12-01 11:15:00','2012-12-01 11:15:00')) And this code …

Member Avatar for IIM
0
662
Member Avatar for gahhon

$(document).ready(function() { clearTextBox(); }); function clearTextBox() { $('#btnReset').onclick = function() { $('#txtName').val = ""; $('#txtContactEmail').val = ""; $('#txtMessage').val = ""; }; } I am using asp.net to develop my web page. Thus, all those control are on server-side. But whenever my `btnReset` is click is should be clear the textbox …

Member Avatar for gahhon
0
289
Member Avatar for Conquero

How do you find the dot product of 2 matrixes with: matrix 1 has arbitrary rows and arbitrary columns- user will input rows and columns, same for matrix 2 (to multiply, rows of matrix 1 must be the columns size of matrix 2 and column size of matrix1 must be …

Member Avatar for stevelg
0
125
Member Avatar for Malaka_1

1. There are some error in lion no 15 .can anyone help me to fix this??? 1. import java.util.Scanner; 2. 3. public class intArray 4. { 5. 6. public static void main (String [] args) 7. { 8. final int size =10; 9. int [] array = new int [size]; …

Member Avatar for Malaka_1
0
166
Member Avatar for Patrickfrog1

Hi everyone! I have been in the process of coding a replacement track bar which fits the color scheme and design of a program I am making. I would like some of the options to be controlled by properties which I can change in the designer. These include: whetether to …

Member Avatar for Patrickfrog1
0
206
Member Avatar for KafitiJr

Please help need to see the rdate range from the pickup date of last month to todays date...Whats wrong with this code Imports CrystalDecisions.CrystalReports.Engine Imports CrystalDecisions.Shared Public Class report Public intv As Integer Private Sub Report_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load cmbreporttype.Items.Add("Registrationform") cmbreporttype.Text = "--select--" datefrom.MaxDate …

Member Avatar for Reverend Jim
0
141
Member Avatar for flony

hello friends, trying to understand a little work with txt, and in c + +, the file I can not open and goes straight to the end, what will my mistake the file is called nombres.txt and contains > carlos, alberto, raul, tomas, and the code is #include<iostream> #include<fstream> #include<string> …

Member Avatar for flony
0
204
Member Avatar for davecoventry

I have some PHP code to get info from a database. $category='New Boats'; $titles=array(); $result=db_query('SELECT vid FROM {taxonomy_vocabulary} WHERE name = :type',array(':type' => 'Boat Types')); $row = $result->fetchAssoc();//8 $vid=$row['vid']; $tid=db_query('SELECT tid,name FROM {taxonomy_term_data} WHERE vid=:vid',array(':vid' => $vid)); while($ttd_row= $tid->fetchAssoc()){ if($ttd_row['name']==$category){ $tid=$ttd_row['tid']; $result=db_query('SELECT entity_id FROM {field_data_field_boat_type} WHERE field_boat_type_tid=:tid',array(':tid'=> $tid)); $eRows=$result->fetchAssoc(); $eid=$eRows['entity_id']; …

Member Avatar for davecoventry
0
195
Member Avatar for Victor_4

Hello, Noob alert!! I tried to protect some pages with a code I found googling. But since my server was recently moved to a better one, the code stoped working and gives me the error "Fatal error: Call to undefined function session_is_registered() .../protect_page.php on line 3" I googled it, and …

Member Avatar for pzuurveen
0
4K
Member Avatar for infamous.jawad

I am looking forward to learn android app creating and developing. Can anyone suggest me from where i can learn via online in free of cost?

Member Avatar for kevinvwallace
0
169
Member Avatar for Naveed_786
Member Avatar for spider2vb
0
5K
Member Avatar for logicslab

Dear friends, I am using wordpress for my activity logging purpose . I have a plugin for chart preparation , Wordpress Business intelligenace . . But i need to take that chart data as HTML . I need to take a php page data as a function return . How …

Member Avatar for logicslab
0
138
Member Avatar for sashyn01

why my web hosting server refuses me to connect to them using vb.net net...i use add new database wizard and i input all the server name, username and password but error keeps telling me *Host '180.190.160.74' is not allowed to connect to this MYSQL Server.*..all i wanted is to connect …

Member Avatar for sashyn01
0
156
Member Avatar for bibibengo

Hi, I'm looking for help to achieve my projet. It's about an application that can be able to send sms to the users mobiles phone and receive sms from them. The project is the developpement of an application which can permit farmers organisation and products buyers to communicate by sms …

Member Avatar for JamesCherrill
0
272
Member Avatar for Indians

i stored few values through input form. (for example tax and rate field) if i entered tax = 777.77 and rate = 10000 it stored the details to db successfully. retrieve function also done successfully. but i want to show add these two values(tax+rate = total) from db when i …

Member Avatar for diafol
0
217
Member Avatar for Indians

i have the db with serial no and reference no. serial no is auto_increment value. it is worked perfectly. but i want ref no column also as auto_increment value start with 0000001,0000002,0000003...., how to do that? i cannot able to add two auto_increment values in mysql.

Member Avatar for paulkd
0
237
Member Avatar for yaragalla_mural

Hi in my javascript i need to increase an int value by one after every 5 seconds. How to do this? The script should keep increasing until the user moves away from the page.

Member Avatar for yaragalla_mural
0
144
Member Avatar for triple.ph

write a java program that will ask the user to enter his/her name initial - first and last name, and then output a greeting that says "Hello", followed by the user's initial and an exclamation mark..

Member Avatar for masijade
0
118
Member Avatar for Animal Mother

Hi I would like to know if anybody could help me insert records into a MS access database with VB.net, I'm actually a c# programmer and I have never worked with databases before, I got as far as connecting but as soon as I want to add a record I …

Member Avatar for dnis30
0
7K
Member Avatar for mandar2886

Hi I'm new to .NET technology and learning ASP.NET using C# database connectivity and I'm getting the error[B][COLOR="Green"](PLS HELP):[/COLOR][/B] [B][COLOR="Red"]Could not find installable ISAM.[/COLOR] [/B] in the following code: [B]using System.Data.OleDb; public System.Data.OleDb.OleDbConnection conn; public System.Data.OleDb.OleDbDataAdapter adapt; DataSet ds; ds=new DataSet(); conn=new OleDbConnection("Provider=MicroSoft.Jet.OLEDB.4.0;Datasource=C:\\Inetpub\\wwwroot\\pracs\\emp1.mdb"); conn.Open(); adapt=new OleDbDataAdapter("select * from emp",conn); adapt.Fill(ds,"emp"); …

Member Avatar for dilaram khan
0
244
Member Avatar for kartik.patel.3348

Cant find this error and all these java scripts are talking together can someone please find it. error has been noted blow. import javax.swing.JFrame; public class WindowApp{ public static void main(String [] args){ JFrame window = new JFrame("A window");//cans et the title on the title bar window.getContentPane().add(new ImagePanel()); window.setVisible(true); window.pack(); …

Member Avatar for stultuske
0
418
Member Avatar for bullet_1

I want to create a template file in which I want to create my own styles programatically(in VBA) I have following code Sub Style() Dim myStyle As Style Set myStyle = ActiveDocument.Styles.Add(Name:="Abbreviations", _ Type:=wdStyleTypeParagraph) With myStyle.Font .Name = "Calibri" .Size = 12 .Color = wdColorBlue End With Selection.Range.Style = "Abbreviations" …

Member Avatar for bullet_1
0
145
Member Avatar for sruthisru

hey..am having a doubt that,while using ajax in a page ,am not accesing button value while submiting the details.it is automaticalyy goin to the ajax attached page itself..i need to update the value to the database. can anyone having the reply???

Member Avatar for sruthisru
0
168
Member Avatar for saravananosiz

Hi all i have a list of companies(5029) in stock market. i need to group this company in to sector and industries and also get the S&P 500 companies .where can i get it ?. is it yahoo provide this please help me to do this.

Member Avatar for saravananosiz
0
196

The End.