199,114 Archived Topics
Remove Filter ![]() | |
hi, I was wondering if someone give you an image e.g. [url]http://www.google.co.uk/images/nav_logo29.png[/url].. how do you get one image and include it in your page without using photoshop etc. Say we have a pack of playing cards and all the cards are in one image how do you select one card … | |
Iam looking for source code of c4.5 algorithm.. its part of my school project, please if u have it. let me know!! | |
hello!. i need help with import in java. i want for example when i click a button in java to open a exe file,so i imported the exe into java,and i make the program everything is okay. so i export my classes into a jar file,so when i click the … | |
Hello - Okay...I have another confusing question (warning...newbie here!). I added some javascript to my main template page that makes my side navigation bar expandable. I had a folder of preexisting pages created from this template that the Dreamwever updated when I saved the main template. I want to make … | |
Hi, I created some web pages using php.I copied those pages from my system and paste it into FTP afterthat if i run my website it wont show any design which is in my page.If i copied my html pages and paste that into ftp that time it was working.I … | |
Hello friends.Can anyone help me in this.Here is the code. [CODE]circle(320,240,100); textmode(BW40); cout<<"\n\n\n\n\n\n\n\n\n\n\t\thello";[/CODE] The problem is hello is displayed without circle. ![]() | |
So I am new to maps, vectors too, but I read a guide on those. And I need to do one thing with the map that I haven't figured out yet. Implement this C# code into C++ [CODE]map.TryGetValue(oldValue, out newValue)[/CODE] In the C# code map is a dictionary, so I … | |
Hello, I have a datagrid and I want to delete selected row from that grid. It is working fine upto this. but I want to add some advance functioning with msgbox YES-No buttons. If user select some row and click on delete button, A msgbox with YES/No options appears. If … | |
hi .. im trying to terminate a process so in python i used os.system("taskkill /IM notepad.exe/T" and os.popen("taskkill /IM notepad.exe /f") neither have worked since the process does close but start up again !! on SOME computers it did work, the process was terminated but on others it did not … | |
Hi Just written a small C++ program to try the Public & Private Key Algorithm process, the program seems to function properly as intended in that it decrypts a message sent from Bob using Alice's Public key. [CODE]#include <iostream> using namespace std; /*********************************************************** XOR Process for both encryption/decryption processing ***********************************************************/ … | |
I'm writing, essentially, a stack calculator where I can change an expression from normal(infix) notation to prefix and postfix and vice versa, and to be able to evaluate a postfix, prefix, or infix expression and return a value. I have been trying to use a switch statement to determine whether … | |
Hi there I have a .net (3.5) user location dropdown menu (System.Web.UI.WebControls.DropDownList) called ddlLocation, that when the user selects a location menu item that item is saved in a database table, so that the next time the user accesses the page the selection is pulled from the db table. The … | |
Hi all, I am having a little problem with my relay buffer which uses flow design patterns. The problem is that when the consumer should output the value of the Element, it is printing out "The item is: null". My code is a little bit long, but hopefully you can … | |
Hello I am working on this program and I cannot seem to get it working. I am trying to get an input of a line using cin.getline() but i am unable to get that line and assign it into an array of characters. Everything compiles correctly but the alphabet[50]'s output … | |
Hey guys! So I was wondering -- what's the syntax for updating a JTable that is being displayed on the screen? I know how to allow cells to be edited, but what if I want to like add in entirely new rows while it's being displayed? I tried repaint() and … | |
This is what im trying to do. A pdf is uploaded to my uploads directory. Named abc activity.pdf or abc page2.pdf the pdf could be from different clients. so I want to pull the ABC or a certain amount of char out of the name to populate the destination `#Property#` … | |
hi, i am trying to copy all the data from two columns from two different tables to another table. the problem is when i use insert statement for the second time it does not copy the data from the two columns. i was able to insert two columns from loanTable2 … | |
Hello, I am Using VB 6.0 . Please Help me to get the codes to Create Backup and Restore in SQL server 7.0. I request Some one to help me at the earliest. Rajesh | |
Hello: I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the … | |
Hi all, I have finished my php for dummis book and have few errors that I could not fix. I show u my first example. [CODE]<?php /* Program: showpets.php Description: Displays all the pets in a category. Category is passed in a variable from a form. The Information for each … | |
Can u guys help me to find errors of this programme! [CODE] #include<iostream> #include<conio> #include<string> using namespace std; string employeeName; int employeeNumber; double employeeSalary; char employeeType; class Employee{ private: string employeeName; int employeeNumber; double employeeSalary; string employeeType; public: void promotion(){ calc_salary('pr'); } void demotion(){ calc_salary('de'); } void calc_salary(char ch){ float … | |
I cant seem to find the problem with this program I am building as a learning exercise. I am getting errors referenced to extremely simple pieces of code. In the output the first thing that should be printed is the random double number that the program selects then it should … | |
I’m working on a piece of software using vb.net that should allow the user to open sketch up files '.skp' and perform some measure on it. Any ideas how to get vb.net to open SKP files? | |
How do I detect that a drive is internal or connected to a USB port? For example I now the letter of a partition from that drive. If I use GetDriveType on one connected to USB it says that it is fixed not removable. I found some code with witch … | |
hello everyone I want to implement the data grid control in my jsp page.I hv searchd a lot in google but still yet i m not clear.can anybody give me some idea or suggestion how to implement it | |
Hello programmers out there :) Im currently having problems with allowing the "-" in my TextBox. [B](Im using Visual Studio 2010)[/B] Im kinda new to programming, thats why this code looks messy. [CODE]void Form1::textBox9_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) { if(!Char::IsDigit(e->KeyChar) && (e->KeyChar != 0x08) && (e->KeyChar != 0x6D)) e->Handled = true; … | |
[CODE]#include <stdio.h> #DEFINE suntetagmenes 3 double eswterikoginomeno(double dianusmata[][suntetagmenes]) { int j; double eswteriko=0; for (j=0;j<suntetagmenes;j++) { eswteriko+=dianusmata[0][j]*dianusmata[1][j]; } return(eswteriko); } double e3wterikoginomeno(double dianusmata[][suntetagmenes], int i) { double e3wteriko; if (i==0) { e3wteriko=dianusmata[0][1]*dianusmata[1][2]-dianusmata[0][2]*dianusmata[1][1]; } else if (i==1) { e3wteriko=dianusmata[0][2]*dianusmata[1][0]-dianusmata[0][0]*dianusmata[1][2]; } else { e3wteriko=dianusmata[0][0]*dianusmata[1][1]-dianusmata[0][1]*dianusmata[1][0]; } return(e3wteriko); } int main() { char x='m'; … | |
hi!..i really need some help.. i need to print a pyramid pattern shown below in c++ language using a nested for loop... 1 1 2 1 1 2 4 2 1 1 2 4 8 4 2 1 1 2 4 8 16 8 4 2 1 1 2 4 … | |
The Peterman Publishing Company has decided that no published book should cost more than 10 cents per page. Create a [I]BookException[/I] class whose constructor requires three arguments: a [I]string Book[/I] title, a [I]double[/I] price and an [I]int[/I] number of pages. Create an error message that is passed to the [I]Exception[/I] … | |
Hi, for a program, I need to map the location of all the back pixels in an image into some kind of structure. The program later uses the structure to select a random pixel location. It then removes the location, to prevent it being used again. The problem is, there … | |
Hello guys, First of all I'm not really good with Java. To be honest I'd rather call my Java skills bad. But here comes my problem. I want to download a CSV file from a specific URL and save it at the TEMP directory. Then i want to read this … | |
i have table users in my database))the host of my website is in US and i am currently leaving in Russia. so when i display date/time in web page it shows time as if i am in US also my clients in different countries they are experiencing the same problem.\ … | |
thanks for allowing me join your forum i have an output of linux command "who" which provides following details..... CURRENT USER/ACCT INFO 17:31:36 up 4:49, 4 users, load average: 0.03, 0.04, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root :0 - 12:59 ?xdm? 4:54 0.02s /bin/sh /usr/bi root … | |
Having looked at several tutorials I can't help but think data binding seems unnecessarily complicated... Let's say I want a label to show whether a user is logged in or not. The obvious way to me is in the login code put something like: lb_LoggedIn.Content = User + " Logged … | |
SOBA11009_1_1.xml SOBA11009_1_2.xml SOBA11009_1_3.xml SOBA11009_1_4.xml SOBA11009_1_5.xml SOBA11009_2_1.xml SOBA11009_2_1.xml SOBA11009_2_2.xml SOBA11009_2_3.xml SOBA11009_3_1.xml SOBA11009_3_2.xml SOBA11009_3_3.xml 978-0-387-98595-4 Is it possible that I want to create a batch file that overwrites the SOBA1109 with 978-0-387-98595-4? output: 978-0-387-98595-4_1_1.xml 978-0-387-98595-4_1_2.xml 978-0-387-98595-4_1_3.xml 978-0-387-98595-4_1_4.xml 978-0-387-98595-4_1_5.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_1.xml 978-0-387-98595-4_2_2.xml 978-0-387-98595-4_2_3.xml 978-0-387-98595-4_3_1.xml 978-0-387-98595-4_3_2.xml 978-0-387-98595-4_3_3.xml | |
hello, i want to write a simple university programme please first see my code [CODE]#include<iostream> #include<string> #include<vector> using namespace std; class subject { string code; public: void create_code(); void list_of_code(); }; class student { string name; public: void create_student(); void list_student(); }; int main() { int size_of_student,size_of_subject; student student_attributes; subject … | |
Hi, After I packaged the project and deployed it on another computer without VB6 installed on it, Every thing works properly except the Reports. when I try to call the Report it gives error "Application-defined or Object defined error" and Report does not open. If you install VB6 this problem … | |
hello.. i have to write htaccess for mysite. actually we have two domains. '.com and .in' . for example i opened '.com' site it will actomatically access files from '.in' domain. there is no files in .com site. how to write .htaccess for this. thanks. | |
Hi I am trying to write a function in which I customize my select statement. But it is not working as i desire... It is as [CODE] declare @column_name nvarchar(10) set @column_name = 'original' select @column_name from data [/CODE] Here original is the name of one of the columns. I … | |
Below is my code to call the records or save/update to the database which works fine [code] Private MasterConnection As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source=Info.mdb;Persist Security Info=False;") Private daMaster As OleDb.OleDbDataAdapter Private dsMaster As DataSet Private dtMaster As New Data.DataTable [/code] I have been trying to add First Previous Next Last … | |
Hi, I have to send a notification to my clients using a email template. For eg if i have updated some data a notification should be send to them that some updates have done. So how can i do that? Please help me out its very urgent. | |
Hi everyone, can I customize my datareport? How? I'd like to add static information such the name of the company, address, contact and so on... No one can help me here (class) because I am the only one who uses VB 2008. All of them are using 6.0. | |
Hey guys, I'm a newbie to mysql and wanted to know how can I connect 2 tables together with a many-to-many relationship. This is what I have. [CODE] create table pharmacy ( pharmacy_id int not null primary key auto_increment, businessName varchar(25) not null, location varchar(25) not null ); [/CODE] [CODE] … | |
Hello guys, I have this function: [CODE=c] void swap(char **a, char **b) { char *tmp=*a; *a=*b; *b=tmp; } int main() { char *str1="aaa"; char *str2="bbb"; swap((char **)&str1, (char**)&str2); return 0; } [/code] The program runs and really swaps the two strings. I don't understand why we send (char**)&str1 and (char**)&str2 … | |
There is textbox, and 2 buttons in a web page. when the user clicks one of the button, the character 'A', should get printed on the textbox. and when the user clicks on the other button, 'B', should get printed on the textbox in the format 'AB'. I was looking … | |
Hi there Sorry wasn't to sure where this was supposed to go. I am interested in the lower level of computing and was wandering how to build a language, or program such as visual studio? I have gathered it goes from the higher language and gets compiled into assembly/machine code … | |
Hello, I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text. Thanks | |
Hello, I have folder on remote FTP server that is updated with more than XML file with different names in asynchronous (not scheduled time), I want to make a PHP application that fetch any new XML file arrives at the FTP automatically, so how can I make the PHP application … | |
Hi, When I compile my class, I find a serious error C2558 no copy constructor available or copy constructor is declared 'explicit' My copy constructor is not private and not explicit ! I don't have any idea about this error Help me please. My class is : Cnoeud.h #include "Csequence.h" … | |
hello every body this is my second problem , please solve my problem i am designing a site in which customer can input credit card no, card expiry date etc. you can say a complete ecommerce site.i only know about merchant id. therefore we must contact with banks etc provide … |
The End.