199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for samer.aboufakher.3

// my problem is in the playerscore and computerscore always gives me 0 or 1 // i cant know who finally won plz i need ur help //at the end of the program it should gives me the score of computer and the user out of 5 of the total …

Member Avatar for samer.aboufakher.3
0
190
Member Avatar for eriekasato

Write a method named CustomerCreditLimit() that accepts a double as a parameter and displays the value as the amount of credit granted to a customer. Provide a default value for the method so that if a program calls the method without using an argument, the credit limit displays $500. Write …

Member Avatar for tinstaafl
0
419
Member Avatar for myfit

Hi every one, I have problem need help that, I have a form have 1 select filed and 1 text field, I want when I choose value in option of select the text field will load/appear value in proportion to value of select, example in picture when I choose "B" …

Member Avatar for diafol
0
234
Member Avatar for haider885

Helloo... I am making a simple notepad program. I don't know how to move cursor using ASCII Table. I am using Two way doubly Linked List method to insert characters. And file handling to save on file. I don't know how to move cursor on up, down, right and left. …

Member Avatar for Ancient Dragon
0
678
Member Avatar for Bo_1

Just started to use Delhi XE4 and found that LongMonthNames wouldn't compile. Error E2003 Undeclared Indentifier 'LongMonthNames'. Went to XE3 with the same error, Delphi 2009 with no problem. Just create a new VCL project with only statment S:=LongMonthNames[12]; will give the error. System.SysUtils is used and the definition is …

Member Avatar for Bo_1
0
271
Member Avatar for salah_saleh

Hi, I have followed the tutorial in this link: http://www.cs.ucla.edu/~zhu/tutorial/Using_MS-MPI.pdf to use MPI on my local windows machine with vs. The simple Hello wold work as expected, I have 2 processors and I get the expected result. The problem is when I try a very simple send receive program I …

Member Avatar for salah_saleh
0
189
Member Avatar for haider885

Can Any body do it???? These are Some Info..... Create a notepad that allows the user to write text on the console. For this purpose, the user should be able to control and track the movement of the cursor. The user can access, add and delete any part of the …

Member Avatar for Ancient Dragon
0
767
Member Avatar for zebnoon

Dear Bodies! I am developing a Cold Store Managemen system. I need to count days according to dates.for example 5 ton petato put in cold store room on 01/12/2013 .when i exit this 5 ton peteto on 10/12/2013 system should show me that 10 days i have to charge ?

Member Avatar for zebnoon
0
199
Member Avatar for kipslem

Hello, My sincere apology, I have been posting almost 4 questions now where I have received 2 answers being solved. These are simple questions which any one familar with VB.Net can solve easily. Please understand, I'm a newbie to VB.Net. Now my next issue is; I have a a form …

Member Avatar for Reverend Jim
0
3K
Member Avatar for DjFumon

hello, you can help me scrap the contents of this table? I'm interested in extracting the content of href and the text Spa. <tr bgcolor=""> <td height="32" align="center"><a class="btn btn-mini enlace_link" style="text-decoration:none;" rel="nofollow" target="_blank" title="Ver..." href="http://freakshare.com/files/a5qgdilx/Juegos2.DVDSCRHQProper.Castellano.mp4.html"><i class="icon-download"></i><b> Opcion 01</b></a></td> <td align="left"><img src="http://www.google.com/s2/favicons?domain=freakshare.com" width="16" />freakshare</td> <td align="center"><img src="http://www.yaske.net/theme/01/data/images/flags/es_es.png" width="19">Spa.</td> <td …

Member Avatar for DjFumon
0
154
Member Avatar for roshan.parate.73
Member Avatar for L7Sqr
0
778
Member Avatar for joelanandraj

in my program a simple shopping application for my lab exercise, i just calculated the price of items inside a for loop but when i try to print it outside it is not getting printed...pls give me some suggestion. for (int i = 1; i < 7; i++) { String …

Member Avatar for stultuske
0
366
Member Avatar for nadiam

hey guys, so i have already completed the form and the validation. what i wanna know is how to retain the values that user has already types into the text boxes. <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html;" charset="iso-8859-1;"> <link rel="stylesheet" type="text/css" href="css/style.css" media="screen"> </head> <body> <center><img class="banner" src="image/banner.jpg"></center> <div …

Member Avatar for minitauros
0
304
Member Avatar for mcoliver88

Hi Guys I need to create an SQL database for my work, and use visual c# to build the application. I work for a college and we have just opened up an IT support shop that is run by the students. They need a database created, but I am unsure …

Member Avatar for Ketsuekiame
0
204
Member Avatar for elianeasmar

Hello. How can i know the data source of my sql 2008? Dim strconnection As String = "Data Source=.............;Initial Catalog=DatabaseConnection;Integrated Security=True;" How am i suppose to know the the data source? i it my computer name?

Member Avatar for ryanjayson
0
300
Member Avatar for jared.geli

Hi guys. I'm having problems in updating records in Excel. Whenever I update a cell the value I input it goes 4 cells above the intended cell and I know the reason. In my Select query: `SELECT * FROM [Sheet1$A5:R1048576] where [ITEM CODE] is not null` Meaning I skipped reading …

Member Avatar for jared.geli
0
228
Member Avatar for princessophia

I am supposed to write a program that displays the first 10 lines of a file. I have a file named "characters.txt" in the same folder that my .cpp is saved in, but when I try to compile the program, it says the file cannot be found. Here is my …

Member Avatar for ling_tj
0
329
Member Avatar for akmallaa

i want to develop android app using html, css & jquery mobile in dreamweaver CS6 that integrated with phonegap. My app will send & receive data from database in remote server. But the problem is how to connect to the database in remote server? this is because phonegap just support …

Member Avatar for peter_budo
0
572
Member Avatar for Tapan1

[CODE] try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection con = DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:orcl", "scott", "tiger"); if (con == null) System.out.println("Connection not successful"); else System.out.print("successful...."); con.close(); } catch (Exception e) { e.printStackTrace(); } [/CODE] Error: [CODE] java.sql.SQLException: The Network Adapter could not establish the connection at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:412) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:531) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:221) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:503) at …

Member Avatar for stultuske
0
985
Member Avatar for RLS0812

Here is a login page I have been working on for a while, what do you think ? It automatically strips "user input" of all special characters. <html> <title>Login Page</title> <head> <style type="text/css"> body { text-align:center; } </style> </head> <?php include "sql.php"; $me = $_SERVER['PHP_SELF']; function check($v){ return isset($_POST[$v]); } …

Member Avatar for Eagle.Avik
0
251
Member Avatar for <M/>

I wrote 2 queries and I am not sure what is wrong with them. Can someone tell me what to do in order to fix them? #T8 select sum( quantity ) * (select price from fruit where name like 'apple') from inventory where fruitID=(select fruitID from fruit where name like …

Member Avatar for <M/>
0
130
Member Avatar for elie.karkafy

how i can design an appilcation in visual basic 2010 , the same as the attached picutre using control boxes , thanks for any help

Member Avatar for ryanjayson
0
138
Member Avatar for ArnoldRich
Member Avatar for ArnoldRich
0
179
Member Avatar for mixelplik

I'm trying to get a better understanding of ifstream, and was playing with it using the program below. It's purpose was to grab the first and last entries in the file, instead I get some perplexing output leading me to realize I've very little clue as to how streams really …

Member Avatar for mixelplik
0
1K
Member Avatar for dr_iton

I created a three layer windows based application. I'm trying to make a unit testing using NUINT, but the problem is that I don't know how to access the method. I created my application in this manner : I'll try to test the method Shto(Klasa obj) Business Object namespace "BO" …

Member Avatar for darkagn
0
216
Member Avatar for mythos061

I know how to convert from infix to prefix or postfix. But how do you wrap parentheses around this problem: a / b * c - d + e * f + g This is how I think it is accomplished: ( ( ( a / b ) * c …

Member Avatar for mythos061
0
278
Member Avatar for Patrick_3

Hello everyone, I am making a custom control which inherits the standard windows Panel object. My control has the ability to align all of the controls in the panel to the left by their index in the Controls array. I am trying to add a method which swaps the location …

Member Avatar for Patrick_3
0
705
Member Avatar for chophouse

Using Python 3.3.0 and this script: from ftplib import FTP_TLS ftps = FTP_TLS('xxx.xx.xxx.xx') ftps.sendcmd('USER myuname') ftps.sendcmd('PASS mypwd') ftps.prot_p() ftps.retrlines('LIST') ftps.quit() I get a connection failure due to timeout >>> ================================ RESTART ================================ >>> Traceback (most recent call last): File "C:\Python33\fixFTP.py", line 2, in <module> ftps = FTP_TLS('xxx.xx.xxx.xx') File "C:\Python33\lib\ftplib.py", line …

Member Avatar for Gribouillis
0
2K
Member Avatar for MaddTechwf

I've got a list of hyperlinks that have a specific class assigned to them of "single-location". I need to add an EventListener to my Google Map that when a hyperlink is clicked, it will call the correct function. Can anyone help me?

Member Avatar for MaddTechwf
0
166
Member Avatar for mixelplik

I see a lot of people list code using this "::" as in: #include <iostream> int main() { std::cout << "Blah, blah, blah"; return 0; } and others use "using" #include <iostream> using namespace std; int main() { cout << "Blah, blah, blah"; return 0; } Is there a downside …

Member Avatar for mixelplik
0
280
Member Avatar for Frank_6

Hi all, I have a simple contact info form written which when submitted sends the info to a php script which is supposed to then email on the details. The problem is that I can't seems to get the mail function to work correctly. I have php running on iis7 …

Member Avatar for pixelsoul
0
890
Member Avatar for MacErich

Dear all Can anyone explain to me how a (local) counter can be modified in a loop without being touched in the code? ... and how I am best to debug this? Thanks Erich void test(double *x, int l, int N, int K, double *p, Comp * y) { int …

Member Avatar for MacErich
0
198
Member Avatar for Pja

Hi, can anyone help me. I've trying to display existing word document in vb.net but i keep getting this error: D:\System-new\DLIMS\PSM2\FormUserGuideWord.vb(58): Type 'COMExceptionMessageBox.Show' is not defined. I have add reference (Microsoft word 11.0 because im using ms word 2003) to my project but i still cannot display the word document. …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Annettest

Hello all: I have written a function that gets data (numbers) from a text file. My function works by taking a line from the text file, discarding unnecessary symbols, and putting the numbers into a vector. Here's a snippet: // Get data from text file. Values then put into one …

Member Avatar for haider885
0
395
Member Avatar for girmanigatu
Member Avatar for Slavi
0
139
Member Avatar for xchris

Hello I'm new to programming and I'm trying to make a java application that will "hear" (not record necessarily) the sound and display how loud is.I'm thinking of converting the sound recordings to numbers,so I can see the difference on the sound levels.I got this code and I added the …

Member Avatar for xchris
0
1K
Member Avatar for hawkz86

Hi I am a fresher to VB and now stuck with a code for my project. Project Description : I have a .xlsx Excel File which has two Coulmns "Key" and "Summary", I have populated combobox on the form using DataSet as shown below : Dim dt As New System.Data.DataTable() …

Member Avatar for hawkz86
0
857
Member Avatar for dilansankalpa

I am currently doing a project and am a novice to c#. I have a problem where i receive serial 'dataframes', each consisting of two 8-bit values (the high byte and the low byte), which have to be constructed to get a 16-bit value. This assembled value is already in …

Member Avatar for RazaBukhariShah
0
6K
Member Avatar for patk570

Hello, I have a function that is working to generate the navigation bar, it grabs the parents and the "childs" and displays them but I have noticed that it is not closing the ul, li tags properly. I will attach a screen shot below. My code is this: <? include …

Member Avatar for patk570
0
223
Member Avatar for davy_yg

Hello, index.php <?php /* <img src="images/indonusa banner1.jpg" width="900px"/> <img src="images/indonusa banner2.jpg" width="900px"/> <img src="images/indonusa banner3.jpg" width="900px"/> */ ?> <?php include('include/con_database.php'); $result2 = mysql_query("SELECT * FROM dynamic_content WHERE CatID='11' LIMIT 3"); while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.'<img src="images/banner/'.$data2['images'].'" width="900px">'.'</td>'; } ?> In the following code: while ($data2 = mysql_fetch_array($result2)){ echo '<td>'.'<img …

Member Avatar for pixelsoul
0
121
Member Avatar for kgizo

Hi I have been struggling with this query for a while now I need to get the number of rows inserted into my database table, but I keep getting this error I can't seem to get rid of. $result3=mysql_query("INSERT INTO dest_table.create_info SELECT * from Profusion.source_cdr"); $num_rows = array($result3); $progress=mysql_num_rows($num_rows); echo …

Member Avatar for kgizo
0
266
Member Avatar for klemme

Hi all, I have a function that I would like to return products based on a usermade filter via check boxes. Basically: > Each product has multiple data-attributtes, for example: data-brand="acer", data-price="2995", data-screensize="15.6", data-processor="intel" So say i'm lining up 40 products, the users need to be able to narrow down …

Member Avatar for klemme
0
187
Member Avatar for baloch123

Hi Everyone I want to convert Excel File to PDF using PHP. Can anyone guide me in this matter? I have tried PHPExcel by using tcpdf,mpdf,docpdf libraries but they didn't produce good layout. Do you have any other suggestion? Waiting for your reply.

Member Avatar for jazleeen
0
7K
Member Avatar for syahirah_1

Hi, I have form which is have texbox,radiobutton and chechboxlist.I succesfully to insert the form but my problem is I can't updating my checkboxlist.I set checkboxlist to my db is integer means I get the value 0 or 1. here i give my sample code form. <tr> <td align="center" style="font-size: …

Member Avatar for sheikmd
0
217
Member Avatar for tatacco

Below is the code I am using: Dim safe10_comp As Integer Dim ref_date As Date Dim dr As DataRow Dim dt As DataTable = New DataTable() Dim da As OleDb.OleDbDataAdapter = New OleDbDataAdapter() Dim Conn As OleDbConnection = New OleDbConnection(System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString2").ConnectionString) Dim sql As String = "with a as (select t.employee_number, …

Member Avatar for G_Waddell
0
217
Member Avatar for </scorpion>

i want to do are the ff: * Loop through the Rows in the Datatable using Foreach or For * Compare every row data with the textbox value. * Once the value is matched or exists then break the loop & view a message. . and i want view message …

Member Avatar for Mike Askew
0
1K
Member Avatar for joelanandraj

hi all i have created a jsp page for online exam here i have created a database to store all the question and answers ,used the database to fill all the radio button values,but whenever i retrieve the radio button value and compare it with the database value it is …

Member Avatar for joelanandraj
0
232
Member Avatar for turpentyne

I'm trying to take lines of text in a textarea of a form, and turn them into a query from a database. But for some reason, the variables are not showing up in the query I've constructed. Here's what I have so far: <html> <body> <?php $table_variable = $_POST['chosen_table']; $chosen_insert …

Member Avatar for diafol
0
132
Member Avatar for icedome

Hi guys, Let's see if you can give some advice. I'm looking for a pageflip service (it can (and should) be a paid service) that let me have in my own website BO the actual PDF upload option and do the pageflip conversion. Does anyone knows such service? Or as …

Member Avatar for ailsa
0
206
Member Avatar for hriti

i want to put the link for other language...if i click on that language the site will convert to that language...plz can anyone help me...its urgent... thnks in advance...

Member Avatar for diafol
0
196

The End.