199,114 Archived Topics
Remove Filter ![]() | |
please anybody can give me the access code for "Introduction to Java Programming, Comprehensive, 8/e" book if you've.. | |
I'm new to using vectors and some may see this as a trivial problem. If you have any suggestion on how I can improve the program, I welcome your input. code(with problem): [CODE] #ifndef CMONOPOLY_HPP #define CMONOPOLY_HPP #include <vector> #include "head.hpp" namespace CMonopoly { class CMonopoly { public: ~CMonopoly(); void … | |
Hi Please take a look at the code section. Does anyone know how to: a) Return JSON from the prepared procedure call instead of me using a while loop and a concatenated string? b) Given the MySQL query returns these columns: ID, DepartmentName how do I access these in my … | |
I created a program which outputs a y coordinate based on a value of an x. Here is my code. [code] double xmax,xmin,xspac; cout << " Input a value of minimum value for x: " << endl; cin >> xmin; cout << " Input a value of maximum value for … | |
Hi, I have problem with evaluating XPath with query. When I use this in xpath_tester script: [B]URL: [url]http://www.seznam.cz[/url][/B] [B]XPath: //*[@id='gadget-6']/div/div/h3/span[1][/B] Works fine, but this: [B]URL: [url]http://www.seznam.cz[/url][/B] [B]XPath: //*[@id='gadget-1']/div/div/div/div/table/tbody/tr[1]/td/div/div/strong/a[/B] Result: "ERROR 2: No result!", because there are no items in $nodeList I'm 100% sure XPath is OK. (using XPath checker extension … | |
Okay, been working on Android program and since its JAVA based, I figured this might be a place to get some good advice. I have been writing this program to run tcpdump, but for some reason it freezes and crashes. I am able to execute the shell commands, but after … | |
Hello all, I am new to this forum. I think this will be an excellent place for learning things and I am looking forward to gaining more java knowledge. My current predicament is the ArrayIndexOutOfBoundsException I am getting on a program I have written. I haven't been able to figure … | |
when i tried to send an email to an account it does not sent. the error result will be displayed. i got an error in the apache tomcat bin log like this: javax.mail.MessagingException: Could not connect to SMTP host: localhost, port:25; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1934) … | |
how you would compute/denote the time complexity of two loops based on different variables? I understand how to compute the time complexity for a simple loop PseduoCode while X<N { while Y<M { Z++ } X++ } one loop occurs N times - time complexity O(N) the other loop occurs … | |
hello friends, I am reading multidimensional arrays but i am not getting understand. anyone know please help me in detail. thanks, | |
Hi all, I am trying to display some data from text file with an array. [CODE]$filename = "comments.txt"; $filepointer = fopen($filename,"r"); $myarray = file ($filename); for ($mycount = 0; $mycount < count($myarray); $mycount++ ) { $aline = $myarray[$mycount]; print $aline ." \n"; } fclose ($filepointer); If (if else statement-checks search … | |
hi all, i can't do the programme in c++ "Write a scanf function in c which accept sentence from user."pls any body reply. thank you in advance | |
Can anyone help me to convert String to BigInteger. please | |
Hey everyone, my issue is a little strange, I have a form that has checkboxes, and depending on the selection, a textbox might appear for further info. I want to loop through the controls that have been selected, if it's only a checkbox than just add the Value of the … | |
So i am currently working on a project about enrollment system and I am having a problem with transferring items from one listview to another. I've been stuck on this problem for a while now. And I'm wonder if you guys and help me out. Here's a photo: [ATTACH]23978[/ATTACH] I … | |
[URL="http://ocklaw.com/new/"]http://ocklaw.com/new/[/URL] Can anyone help me fix the navigation. 1)I would like a horizontal navigation botton NOT vertical like in the link. How to create a horizontal navigation button. 2)I would like to erase the numbers. If anyone could help me answer one of the question you are welcome to answer … ![]() | |
Hi Everyone, I need a replace a string (ex : this) with the string (ex : that) in each line of a file (sample.txt) using a C Shell Script and I am not allowed to use sed,awk and replace command in the unix , So i tried to use tr … | |
Hi everyone, ALTER TABLE preventiveRecord ADD Verifiedbymanager BIT NOT NULL CONSTRAINT preventive_verify DEFAULT 0 WITH VALUES ALTER TABLE preventiveRecord ADD Verifiedbysupervisor BIT NOT NULL CONSTRAINT preventive_verify DEFAULT 0 WITH VALUES SELECT [ID] ,[Date_Done] ,[Date_Due] ,[SME] ,[Status] ,[History_ID] ,[Remark] ,[Verifiedbysupervisor] ,[Verifiedbymanager] FROM [demo].[dbo].[preventiveRecord] Here is my query : from d in … | |
Hello everyone! I have here a code with a random-access file that lets you delete and update any information in the file. Please run the file to see what I'm talking about. [CODE] #include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; #include <cstdlib> int choice; void displaysmenu(void) … | |
I am starting a new project and i plan to use c# for it. Basically what it entails to is reconfiguring a large am mount of config files. 100+ of them. They are each named differently but are prefixed the same (ex: CONFIG_FILE_xxxxxx , where x changes). Inside the files … | |
Hi guys well what I want to do is play a video clip when my program starts. My menu has been set up to how I want it to look. I've researched how to do this but I cannot seem to find anything that I want. All I find is … | |
Alright guys, I've been trying to think how to do this and I keep confusing myself. It's part of a project using piping in UNIX but first I need to get this small program running properly. I want to pass the final result (Hex value) to another program that will … | |
I am trying to install XML_RSS extension but it seem that something is not working. I was looking over the documentation and it says that I should run some commands in the command line. this one confused me totally. Could anyone help me get this done? Thanks | |
What is the difference between Standard and Non-standard Wiener process? | |
user types text in a text box, the text is sent to a php script with ajax. The response is used to populate a select menu. I am getting a xmlResponse is null error with some browsers. Steps to recreate problem: 1. Goto [url=http://kutchbhi.x10.mx/choose.php]Example page[/url] , in firefox/chrome. 2. type … | |
Hi, I am trying to split a single line of data into three separate parts so that they can be displayed in different textboxes. The data looks like this: item1_item2_item3 The code that I tried is: [CODE]Dim arrayLines() As String Dim record As String record = Subs.Text arrayLines = record.Split("_") … | |
I know how to set the tab order on the forms on VB.net. but i want to set such that when i press enter while on the form, the cursor will go to the next textbox based on the tab order set. | |
Hey there I try to find how many times a person did order and what is the day difference between it (second step): Table is called eshop_flat_sales_order customer_email created_at status a(at)a.com 12.1.10 complete b(at)a.com 14.2.10 cancelled c(at)a.com 16.1.10 complete a(at)a.com 18.1.10 complete c(at)a.com 18.1.10 complete b(at)a.com 20.1.10 complete Now I … | |
hi I have MS Access Data Base with tow tables table 1 has relashiship with Table 2 when I try edite tabe 1 error message shown tell me I can't edit table 1 do you have examble for this ? | |
Im writting a very simple command-line. I want the > Charecter to come up every time a command ha finished what it's doing (easy) AND when the user presses enter with nothing on it. For example ($ is currssor) I want this: [CODE]> >$[/CODE] Not this: [CODE]> $[/CODE] How would … | |
can anyone help me please.. i'm stuck with this thing for 2 days.. i have try to find answer from one forum to another, and it is give me heavy headache. what i want is that my panel size in my form has a function as print area, in my … | |
Hi guys, I'm new to this website so if I made some mistake please forgive. :) I just want to learn more about Python , I'm new to Python and i'm trying to improve. Here is my work (took some help from Daniweb) i just want to ask that how … | |
So I'm doing this simple draw program where I let the user click a button, i.e. Rectangle, and then click any desired place on the JFrame to draw it. Now, I want the user to first click on the JButton, then click anywhere on the JFrame (so that I get … | |
The title says it all; I want to make a simple, not all-over-the-place HTML code. I'm asking for help since I'm still in middle school. I understand a lot of code, but if you give me a from college class explanation, it's not going to help until I get to … | |
Hey there guys, this is my first post here. Really pretty website I must say. I guess you'd expect a programming website to be well built. Haha. But anyways, I've been having some problems recently with a JFrame. I'm a beginner, but I usually do pretty well with resolving errors. … | |
This is my first post. I am a novice in VB.NET. I am able to hide form1 from from2. But I am not able to close the form1 or exit the application from form2. Is there any way in which I can exit the application except from the startup form … | |
On days when my site gets a lot of traffic, I get this error message... Warning: mysql_connect() [function.mysql-connect]: User OH_admin already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\ourhometown.ca\httpdocs\includes\all.oh.front.inc.php on line 3 User OH_admin already has more than 'max_user_connections' active connections Can someone point me in the direction in how … | |
Hello, I intend to execute a shell script from PHP using shell_exec() in a simple file as follows: [CODE] <?php $result = shell_exec('sh /var/www/script.sh'); echo "<p>$res</p>; ?> [/CODE] This fails to produce any sort of output! I have manually executed the script from the shell of the PHP web-server and … | |
I want to update some record in access data base, but the update command is not updating the table... Insertiion is working fine.. the code is: com = new OleDbCommand("UPDATE ServerAuthorisation SET Permissions=@permission WHERE UserName=@user_name", conn); conn.Open(); if (conn.State == ConnectionState.Open) { com.Parameters.Add("@user_name", OleDbType.Char, 100); com.Parameters.Add("@permission", OleDbType.Char, 100); com.Parameters["@user_name"].Value = … | |
Hi all, I am trying to make the script to find 3 amino acid at the position form the diffirent sequence into the same file data. in put 1: [CODE] Name posi 14067_contig01 18 14067_contig05 8 14067_contig03 26 ....................... [/CODE] in put 2: [CODE]>gi|354512101|gb|AGQQ01000001.1| Corynebacterium glutamicum ATCC 14067 Contig01, whole … | |
Hi, I'm wondering if anyone can help me develop the right sql query. I'm trying to select a "customerNumber" in table 1, but only if it doesn't exist in table2. I tried this [CODE]Select Table1.customerNumber From Table1, table2 Where table1.customerNumber NOT IN (select table2.customerNumber from table2) [/CODE] It isn't right … | |
I have never used Python before, and unfortunately, this makes me completely ignorant. For this I apologise. I have a Dell Dell Latitude D430 laptop running Mint Katya I am attempting to start up a python script which is used to program 4 servos. I have python 2.7.1-0 as supplied … | |
The exercise says the following: """ Pairwise comparision of DNA sequences is a popular technique used in Bioinformatics. It usually involves some scoring scheme to express the degree of similarity. Write a function that compares two DNA sequences based on the following scoring scheme: +1 for a match, +3 for … | |
Greetings to the Community, I need some assistance with a MySQL query that is running very slow. I must admit that I am not a MySQL expert and I wrote this query with hints from several postings on Daniweb, so I'm looking for some hints to speed it up. Here's … | |
![]() | I have problems with choosing a line and to find a number or times specifif word repeats in that line? Can you help me with that? [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; public class DefectInspector { private JFrame frame = new JFrame(); private JPanel p1,p2,p3,p4; private JMenuBar jmb; private JMenu … |
HI I had generate a report with IREPORT 3.7 . I have now a .jasper file. I would want to be able to execute (show) it with a jsp file or servlet. My generated report not use sql queries, only it need 2 parameters. i think to pass these parameters … | |
[code] #include<stdio.h> main() { int a=1; switch(a) { case isdigit('1'):printf("Hello"); } }[/code] This code works fine Hello is printed [code] #include<stdio.h> main() { int a=1; switch(a) { case isalpha('a'):printf("Hello"); } }[/code] But this code gives an error It says case label does not reduce to an integer | |
Hi, anybody could help me how to create video thumbnail in asp.net,c#? | |
hello, i have written the below piece of code for calculating the power function, but when i run the program, it shows the wrong result and i verified it by calculating manually. so please help me to get the correct result. [CODE] public class powerFunction { public static void main(String … | |
I have a program which sorts numbers written for a text file. For example input.txt contains 4 2 0 3 4 1 2 0 7. The fist number is the number of the data points, and the following are the (x,y) coordinates. Here's my code: [code] #include <iostream> #include <fstream> … |
The End.