199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tomato.pgn

i want to make a photo uploader page...that uploads photo and display it in the same page...but i also have one more problem...i don't want page to be refreshed...because i have other controls in that page....can u give an idea how to do so???

Member Avatar for kaore
0
2K
Member Avatar for anumash

When we open a new file using the FILE structure and fopen(), the file pointer points to the first byte of the file. How can we know the location of any byte in the file using the file pointer? When I try to store the location of fp (file pointer) …

Member Avatar for anumash
0
188
Member Avatar for Minko

Hello, On my login form I have a timer and every tick I run this piece of code: Try Client.Connect(IpAddress, Port) Catch ex As SocketException End Try and update a label to whether the server is online or offline. However when the server if offline it throws a exception error …

Member Avatar for Minko
0
246
Member Avatar for smilesprower

Error I get when compiling using Xlint is: where E is a type-variable E extends Object declared in class JComboBox waring: [unchecked] unchecked call to addItem("blank") as a member of the raw type JComboBox c1.addActionListener ( new ActionListener() { public void actionPerformed(ActionEvent e) { if(c1.isSelected()) { fillSF2MC(); c3.setEnabled(false); playBtn.setEnabled(true); faceCombo.removeItem("Blank"); …

Member Avatar for JamesCherrill
0
218
Member Avatar for himvj1

Hi, I am new to php. I have copied one php application from one linux server to other linux server after copy application is working fine but the applet to view image in that application is showing two error messages. error is : java.lang.NullPointerException at com.primeleaf.viewer.manager.DocumentManager.setDocument(DocumentManager.java:123) at com.primeleaf.viewer.manager.CommunicationManager.init(CommunicationManager.java:76) at com.primeleaf.viewer.DocumentViewer.init(DocumentViewer.java:67) …

Member Avatar for cereal
0
312
Member Avatar for Shft

Hello daniweb, I've been trying to impliment arrow keys into my program, I've found a way, but the problem is I cant figure out how to use the enter key to select an option as follows: pawns: int pawn; system("cls"); pawndd: gotoxy(0,0); SetConsoleTextAttribute(hColor,455); cout<<" RETURN TO PREVIOUS MENU"; SetConsoleTextAttribute(hColor,23); cout<<"\n"; …

Member Avatar for deceptikon
0
340
Member Avatar for neha05

Hello everyone here I am making project on bids and offer ,in which payment gateway i need to use is bitcoin ,so any one help me to guide from where i start Thanks

Member Avatar for neha05
0
202
Member Avatar for anumash

I have to divide a database and I wanted the statistics of each subdirectory that I am going to create. The database is a dictionary comprising of words and their corresponding phonemic translations. https://cmusphinx.svn.sourceforge.net/svnroot/cmusphinx/trunk/cmudict/sphinxdict/cmudict_SPHINX_40 the database can be found here. I have written a program to count the number of …

Member Avatar for deceptikon
0
408
Member Avatar for piliff82

I've been working on this project for the past couple of days. I can get the code to run, however, i'm suppose to be able to drop the java if I type -1 into the spot. I don't know how or where to place it. Here is the assignment and …

Member Avatar for JamesCherrill
0
764
Member Avatar for pearl.kumar1

Hi,I need to retrieve the data for Employee details After entering Empno in a 1st text box.I hope it's Simple but i'm Intermediate level in VB.net,Please help ASAP This is My Coding for VB.NET Private Sub View_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click con.Open() cmd = New …

Member Avatar for pearl.kumar1
0
357
Member Avatar for pjns19

Hi, I was to change the following code so it uses a LISTBOX1 instead of imagetxt.text which is a textbox. Each attribute needs to go into a new line. if thats possible? Thanks. Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img") For Each CurElement As HtmlElement In PageElements imagestxt.Text = imagestxt.Text & …

0
106
Member Avatar for Jake.20

Greetings guys i'm stuck with this problem last night and until but i can't find any solution. Every time i add a tabpage from my tabcontrol in runtime it's not in right order i have 1 tabpage in my tabcontrol and when i add another page it goes perfect but …

Member Avatar for Jake.20
0
330
Member Avatar for carrl00

create a console application that compute the area of triangle, and ask the user if he want to repeat the program. but i haved an 8 error saying cannot find symbol in line 19,23,26,27. import java.util.Scanner; public class Area3 { public static void main(String args[]) { Scanner input = new …

Member Avatar for stultuske
0
299
Member Avatar for OsaMasw

I have single input to be enterded into database I want to use ajax to do this The problem that I already have form to do something else so I can't put from inside form how can I achive somthing like this without touching the original form ![ssss](/attachments/large/3/ssss.jpg "ssss") when …

Member Avatar for OsaMasw
0
209
Member Avatar for jttrinh

Hi, I'm having problems trying to figure out how to divide the value in a text box. One textbox is named Purchase Price I want to take that number and get it divided by 5. That answer will be the down payment. I declared a const for downpayment for 5. …

Member Avatar for Reverend Jim
0
1K
Member Avatar for danimischiu

Hy all, I have the following problem with an update in my sdf database.I want to update a table data using a sqlceresultset.This is the code that I'm using but nothing happens. connection.Open(); string sql="SELECT * FROM Table1"; SqlCeCommand cmd = new SqlCeCommand(sql,connection); cmd.CommandType = CommandType.Text; SqlCeResultSet rs= cmd.ExecuteResultSet(ResultSetOptions.Updatable|ResultSetOptions.Scrollable); IEnumerator …

Member Avatar for danimischiu
0
274
Member Avatar for Dani

Currently, to check if something is serialized, I do this: function is_serialized($data) { return (@unserialize($data) !== false); } But it issues an E_NOTICE. The @ is great to suppress output, but it's still clogging up every other line of my error log (which is purposefully enabled for notices). Are there …

Member Avatar for IIM
0
4K
Member Avatar for PixelDown

Can anyone recommend a couple of 'good' and complex games made in Scratch. I just need to get an idea of how creative have people been with Scratch.

Member Avatar for johnbritto473
0
157
Member Avatar for eclipsethemoon

1. Search Benchmarks Create a New Project called YourLastnameSearch. int array[20] = {78, 45, 33, 1, 6, 41, 99, 54, 73, 28, 101, 60, 21, 82, 11, 15, 654, 36, 52, 70}; Write a program that has an array of 20 integers. (You must use the above array.) It should …

Member Avatar for tinstaafl
0
142
Member Avatar for <M/>

(I am being honest, it is an assignment that I have attempted) I have a question/assignment that requires me to do a for loop that counts to a specific number (i am using 25) and skips every number that is (for example) divisible by 3. I have tried this: int …

Member Avatar for <M/>
0
127
Member Avatar for Programmer629

Hey guys. I need some help. I'm making a Text to Speech program. I've made a couple versions of them and they all work pretty good. But the new version I'm making has an icon that displays in the tray. I need to know how to call my Rich Text …

Member Avatar for tinstaafl
0
217
Member Avatar for pjns19

Hi all, Looking to extract all HTML tags from a dump of HTML data and put them all in a listbox. I currently have the following code. It displays to me things like HTML HEAD TITLE BODY. But i want things like the IMG and ALT tags. ' Obtain the …

Member Avatar for tinstaafl
0
2K
Member Avatar for djcrab

I can't figure out how to make a portion of the text bold in the below line(and others). This text is output into a popup dialog. Prefer the first portion "trimmed/squeezed" to be bold. I even tried inserting html code lol. Tried setBold and everthing else I've found on the …

Member Avatar for IIM
0
666
Member Avatar for Lucardy

Hi All, I am having trouble getting this javascript to set a cookie on any browser. Below are the two scripts I am using and if anyone can save me from this week of frustration by telling me what I am doing wrong, I would greatly appreciate it. **This is …

Member Avatar for Lucardy
0
1K
Member Avatar for denmarkstan

Good day people! I have a problem with my C# window application. I can't insert new record to database. I have sought for many tutorial in ADO.net and Entity Framework. I have been tackling it in Entity Framework because that is my preference. My piece of Entity Framework code would …

Member Avatar for arunkumars
0
290
Member Avatar for Papa_Don

I'm trying to create a form with multiple labels, textboxes and buttons within a panel. The user will fill in their data and click a button that will create a new identical panel with the same labels, textboxes and buttons. I read through the following thread in an effort to …

Member Avatar for Papa_Don
0
3K
Member Avatar for pearl.kumar1

Hi to all, I need to install my own application to an another server,I change my coding to client server name,USerid,PAssword,Etc..But if i run : it will shows an error "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may …

Member Avatar for pearl.kumar1
0
139
Member Avatar for Papa_Don

Hello Group! I am writing my first complex VB2010 program that is a order entry and inventory management program. I know there are lots of these out there. However I'm attempting to write this for a specific type of business which creates its own set of challenges. However my question …

Member Avatar for Papa_Don
0
226
Member Avatar for vprakashit

i am tyring to create new project nemmed as car parking system please help to get the password and check the name in database and display the already gathered displays ........please help me ...........<snip>

Member Avatar for <M/>
0
138
Member Avatar for IT_Techno

hi ihave create simple stored procedure for test in sql server 2008 studio then i run it inside sql query : exec test it gives me red line under test (strored procedure name) and when mouse come over it tolled me "could not find stored procedure test" then i go …

Member Avatar for IT_Techno
0
208
Member Avatar for hous3aholik

Hi I'm working on the implementation of a boolean method to check if an expression has balanced parentheses using recursion. I cant figure out how to check if two elements of a given expression match i.e ( ). I was able to finish it without a problem using stacks, but …

Member Avatar for chuck.kollars
0
4K
Member Avatar for capton

After appending an item to a QList which is pointed to by a QMutableListIterator, I find out the next value of the iterator points outside the list. Or can't i point the iterator to any where in the list except the beginning and end? Please i need help.

Member Avatar for capton
0
138
Member Avatar for helloworld1234

Hello everyone, I have written a code for binary search for my class. My professor asked us to create it using bool, and the header function "bool binarySearch(int a[], int start, int end, int number)". I am having some issues with it. it all seems fine until i get to …

Member Avatar for helloworld1234
0
166
Member Avatar for skitband

here's my canned.php <?php $conn=odbc_connect('firebird','SYSDBA','masterkey'); if (!$conn) {exit("Connection Failed: " . $conn);} $sql="SELECT * FROM CANNED"; $rs=odbc_exec($conn,$sql); if (!$rs) {exit("Error in SQL");} echo "<table class='tbcanned' cellpadding='5' cellspacing='5'><tr>"; echo "<th>PRODUCT</th>"; echo "<th>QUANTITY</th>"; echo "<th>PRICE</th>"; echo "<th>DESCRIPTION</th>"; echo "<th>ADD TO CART</th></tr>"; $i=1; while (odbc_fetch_row($rs)) { $id=odbc_result($rs,"ID"); $name=odbc_result($rs,"NAME"); $quantity=odbc_result($rs,"QUANTITY"); $price=odbc_result($rs,"PRICE"); $description=odbc_result($rs,"DESCRIPTION"); echo "<tr><td …

Member Avatar for LastMitch
0
180
Member Avatar for php_noob

I have this code example <?php $sel_query = "SELECT * FROM tbl_name ORDER BY id DESC"; $res_query = mysql_query($sel_query); while($arr_my_array = mysql_fetch_array($res_Query)){ $cl_id = $arr_my_array['client_id']; ?> <input type="hidden" id="hdn<?php echo $cl_id ?>" name="hdn<?php echo $cl_id ?>" value="<?php echo $cl_id ?>" /> <input type="button" id="btnget<?php echo $cl_id ?>" name="btnget<?php echo $cl_id …

Member Avatar for AleMonteiro
0
194
Member Avatar for vebi1000

Hi, I hav two user control's in my windows form application. In the first user control i have one "textbox" and one "save" button. I have another "Textbox" in another user control. when i click "save" button then what ever the value in "textbox" in user control one has to …

Member Avatar for JOSheaIV
0
4K
Member Avatar for ahudson

I am having trouble with a registration script that I am trying to implement. When I click the "Register" button, I get this error: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens This is my coding for the register function: `public function register() { …

Member Avatar for JorgeM
0
214
Member Avatar for can-mohan

Hi All, While executing below code without using assigment operator it works fine , eventhough i have been used pointer values, so any way it must crash as The memory that s2 used to point to was never deleted; it is lost forever as both a and b now point …

Member Avatar for ravenous
0
273
Member Avatar for daniel36

I am first time using like in mysql .but it is giving error.my query with like is $user_query="SELECT * FROM rt_user WHERE rt_user_username LIKE %".$_GET['term']."% OR rt_user_name LIKE %".$_GET['term']."% OR rt_user_description LIKE %".$_GET['term']."% LIMIT 10"; it is giving syntax error.

Member Avatar for dcdruck
0
188
Member Avatar for disha2612_1

I have a my URL as : www.domain.com/controller/login.php And i want to make it look it like: www.domain.com/jobtracker Please help, i have researched lots of links as i am new to this topic, but did not found appropriate solution yet.. It gives me 500 internal server error My .htacess file …

Member Avatar for migcosta
0
336
Member Avatar for on93

i insert the different id , but the program out with pointer value anyone know why ??? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #include<iostream> #include<string> #define MAX 6 #define size 10 using namespace std; struct student { string name; int id; string prog; double cgpa; }; class stinfo { private: student data[size]; int last; public: …

Member Avatar for deceptikon
0
152
Member Avatar for ScarWars9

Hello, I have made an Employee Time clock application. I have been working on connecting my application to a MySQL database, I have a textbox wich is used to add an employee name to my database (this is working perfectly.), but I also a combobox where I want the list …

Member Avatar for ScarWars9
0
1K
Member Avatar for code739

help me find out what's wrong with this code i got stuck with this error > ldap_search Search: Operations error <?php error_reporting(E_ALL); ini_set('display_errors', 'On'); $ADServer = 'sample.example.net'; $loginto = 'Aboitiz'; $uname = $_POST['uname']; $passwd = $_POST['pass']; $ldapconn = ldap_connect($ADServer) or die("Could not connect to LDAP server."); $ldaprdn = $loginto."\\".$uname; $ldapbind …

Member Avatar for LastMitch
0
2K
Member Avatar for nabeelkhanjadoon10

I am first semester student and studiyg CS. I need a c++ project atleast 1000 lines of code. but the project is too simple. I have studied yet Arrays..

Member Avatar for DoRight
0
7K
Member Avatar for javaprog200

Hello, I am trying to display text(JLabel) above a 3 x3 tic tac toe grid. The JLabel is not displayed. Only the grid shows up. I would be grateful for any help. Thank you! import java.awt.*; import javax.swing.*; import java.applet.Applet; public class Game extends JApplet { LayoutManager layout; private JPanel …

Member Avatar for javaprog200
0
330
Member Avatar for antor

hi, i have sent you already text for objective c tutorial, but unfortunately i didn't get any reply from you. if you send me objective C tutorial i would grateful to you. Thanks Antor

Member Avatar for deceptikon
0
113
Member Avatar for scubastevie

Hey all, I am working on learning python, I have a question about lists. When I call Variable x to equal numbers from a text file, I am getting the file returned in multiple lists. with open('numbers.txt') as f: for item in f: n = item.split() print (n) I end …

Member Avatar for Lucaci Andrew
0
228
Member Avatar for raaif

I am trying to retrieve all the names of the mp3 files from my hard drive, heres the full code, what i am facing is "Access to the path 'D:\System Volume Information' is denied." error, but i have changed the manifest file as below [ICODE]<?xml version="1.0" encoding="utf-8"?> <asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" …

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

Hi, I'm doing a software analysis assignemnt which requires me to deal with visual basic. I've never used the language before. I have a loop which I would like to calucate the time taken to complete the loop. Any heads up guys? I want something very simple.

Member Avatar for adam_k
0
248
Member Avatar for migcosta

Hey guys, First of all please don't consider this an act of spam, it is not my intencion to spam! I belong to a small team that created the visualCaptcha (visualcaptcha.net), and we are looking for some reviews from web developers. We have downloads but we don't get much feedback …

Member Avatar for IIM
0
114

The End.