199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for apanimesh061

How can one demonstrate Multiprogramming and Idle loop in C ??? Please help !!! I can't think any way ..... :?: Thanks

Member Avatar for Narue
0
222
Member Avatar for timhysniu

Hi there, My knowledge on query optimization ends here. I am stuck! My table with following structure has more than 1 million records. CREATE TABLE `dreambank`.`db_ip_data_buffer` ( `ip_from` bigint(20) unsigned NOT NULL default '0', `ip_to` bigint(20) unsigned NOT NULL default '0', `country_code` varchar(2) default NULL, `country_name` varchar(64) default NULL, `region_name` …

Member Avatar for gypsywitchcraft
0
209
Member Avatar for heshanm

Hi, In my system,when i submit my form there is a message comes as "A new account number 1 is created successfully. Thereafter when i try to click on the "refresh" button another new account number is automatically created. Can anyone give some piece of code to avoid that problem? …

Member Avatar for heshanm
0
160
Member Avatar for shan2

Hi Friends, I am stuck for passing values from drop down list of a HTML page to a servlet file for further processing. Actually i am developing a small model of "Railway Reservation System" for my mini-project. The problem is to how can i pass values from various number of …

Member Avatar for gvsubhu
0
190
Member Avatar for Hani1991

Hello everybody. I've tried the following code in the head: [CODE] <script language="JavaScript"> var TxtArea = 0; function insert_bui( t ){ if( !TxtArea ) return; tx = document.selection.createRange( ); switch( t ){ case "B": tx.text = "-b-" + tx.text + "-/b-" ; break; case "I": tx.text = "-i-" + tx.text …

Member Avatar for Hani1991
0
111
Member Avatar for aman rathi

The below code is showing error i checked lots of time didn't find any error please help me. [CODE] class emp{ int id,sal; String name; emp(int id,int sal,String name) { this.id=id; this.sal=sal; this.name=name; } void show() { System.out.println("Name: "+name); System.out.println("Salary: "+sal); System.out.println("ID: "+id); } } class manager extends emp{ int …

Member Avatar for aman rathi
0
195
Member Avatar for pjyankee

Hello everyone, i am new comer to web development & netbeans, i m a student. I have been given a task to create registration page with username & password, & after submitting this form it automatically stores data into databse, which can later be seen by admin only...or can be …

Member Avatar for pjyankee
0
816
Member Avatar for hardinguse

I am receiving the following error: Notice: Undefined offset: 1 in /home/content/53/7382753/html/Summer/wootsummer.php on line 68 Error, insert query failed on my code that is live at [url]http://obsidianpunch.com/Summer[/url] The offending line is [code]$topnow=$top[$countforme];[/code] however $top and $countforme are defined, so I am not sure why this is causing an error. Any …

Member Avatar for hardinguse
0
846
Member Avatar for hqt

I use Code::Block 10.05 I'm starting with some lines of code. No error found when I compiled it. But although I ("run", "Compile this current File","Build") in menu Build, I still cannot debug my program because in menu Debug, ("start", "stop Debug", "next",etc) cannot active :( I have read on …

Member Avatar for hqt
0
163
Member Avatar for pradeepdreemz
Member Avatar for bigdan182

hi, I have been writing a football tournament simulator and I am almost done, however i need to some how sort the teams after a round the put the teams that progress into the next round. The data of the teams is held in structures and have a boolean vale, …

Member Avatar for rubberman
0
140
Member Avatar for tubby123

Guys, this is the code from KnR I dont understand this line nunits = (nbytes+sizeof(Header)-1)/sizeof(header) + 1; The entire code is as follows [CODE]static Header base; /* empty list to get started */ static Header *freep = NULL; /* start of free list */ /* malloc: general-purpose storage allocator */ …

Member Avatar for rubberman
0
132
Member Avatar for Simplicity.

Hi all, This code solves the Euler Equation of Gas Dynamics which is a system of partial differential equations. The problem is that it takes very long to run than it would normally required. Things become worse after including the functions "S_p(a_p,a,b)" and "S_m(a_p,a,b)" which are called within other functions …

Member Avatar for Simplicity.
0
155
Member Avatar for spixy

My professor gave us a sem-long project, before he introduce us php.. so here it goes create a dynamic website with the following situation 1. there will be an existing database, the database contains the following a. student name b. student id no. c. address d. other personal info 2. …

Member Avatar for spixy
0
236
Member Avatar for ians_acess

hi there im just new with java i just want to ask can 1 dialog box contain multiple lines i min like this one JOptionPane.showMessageDialog (null,"\n "+EN ) ; somehow i want to add just like JOptionPane.showMessageDialog (null,"\n "+EN , "\n another messages here then" +DR , "\n and another …

Member Avatar for NormR1
0
180
Member Avatar for uva1102

Good Day Everyone.. Table doc1 ID=1 Reccurence = "Monthly" DuePatten = "26" Table doc2 History_ID = Date_Due = table doc2, column Date_Due must read the data from ID, Recurrance and Duepattern for generate date_due. output table doc2 must be generate like per below : History_ID Date_Due 1 26/1/2011 1 26/2/2011 …

Member Avatar for uva1102
0
132
Member Avatar for karthik_ppts
Member Avatar for IIM
0
128
Member Avatar for Webbsta

Well the save file dialog, for some reason removes all file extensions that are input to it. No matter what i do or how i set the filename value, it always removes the extension which is incredibly annoying when i need to extension to stay as it is otherwise the …

Member Avatar for Weakegg
0
2K
Member Avatar for xtianenikkian

Is there any code to create or generate bar codes in vb6? Please help me, advance thank you for all that will respond :)

Member Avatar for xtianenikkian
0
83
Member Avatar for shanki himanshu

the question of the program i have posted... There are N numbers a[0],a[1]..a[N - 1]. Initally all are 0. You have to perform two types of operations : 1) Increase the numbers between indices A and B by 1. This is represented by the command "0 A B" 2) Answer …

Member Avatar for shanki himanshu
0
180
Member Avatar for JacobBruce

I am using the RemObjects PascalScript engine in one of my applications and I have a few questions. I was looking for a list of all the functions and constants available to PascalScript and the best resource I could find was this page: [url]http://www.be-precision.com/products/pdscript/webhelp/en/topics/PSSyntax.htm[/url] Most of the functions work as …

Member Avatar for beprecision
0
211
Member Avatar for hamiltino

Can someone help me and complete this simple polynomial program(can be demonstrated using linked lists); [CODE]public class Polynomial { /* Constructs a new polynomial of degree zero */ public Polynomial() { } /* Returns an integer representing the coefficient * of the x^power term */ int getCoefficients(int power) { } …

Member Avatar for JeffGrigg
0
209
Member Avatar for chandimak

I have a monthly fee collecting table. I need to store year and month only for that purpose. For example just like to store, John has done the payment for 2010 July. I thought of using a DATE field for this. I can store the year and month with valid …

Member Avatar for pclfw
0
129
Member Avatar for mexabet

My company is planning to develop a web search engine with a crawler, and we're considering using three languages, namely C++, Java and Python. Now we're a bit not sure which language is best suitable for features like web crawling, extracting keywords & indexing, ranking of indexed pages and searching. …

Member Avatar for JeffGrigg
0
297
Member Avatar for mgt

Okay, here's the scenario. The same user accesses the same form a second time in order to place a new order. Both the new order and the old order are stored in a MYSQL table (called "orders"). My thought is that, when the new order is placed, I need to …

Member Avatar for mgt
0
123
Member Avatar for jacksantho

Hi, How to avoid the data insertion in mysql tables by refreshing the page using php. I am not redirecting my page. I am using $_SERVER['PHP_SELF'] in form action. Please help me out. its very urgent

Member Avatar for sDJh
0
74
Member Avatar for divyakrishnan

Hi... I want to find out whether a file is existing or not The file is stored on another machine in the same network . I tried the following code.But always showing "The file is not existing". [CODE] <?php $filename = 'file://192.168.0.15/E:/PDF/p.pdf'; if (file_exists($filename)) { echo "The file $filename exists"; …

Member Avatar for sDJh
0
102
Member Avatar for c#bird

Hi, I am writing a web app using C# and asp.net. The requirement is that: there is a button "browse" on the webform, when user click it, the folders on the server will be showed. after user select one folder, the fullpath of this folder will be returned. There is …

Member Avatar for rv2011
0
1K
Member Avatar for C+Marshall

Hi; I've been working on this for 2 days now and am hoping someone give me a tip. New to Java code so bear with me. I need to create 2 panels in a frame. Each frame must contain 2 images. Frame 1 must be a fixed width allowing the …

Member Avatar for manoglobal@gmai
0
574
Member Avatar for vinaysrk919

how i can show only current date excluding time in any textbox... and how i found the difference of the date in asp.net

Member Avatar for vinaysrk919
0
93
Member Avatar for Genericusername

Hello, I am working on a program that generates 100 random integers and then sorts them into even and odd. When i go to compile the program, it tells me that it cannot find variables randonum, evennum, and oddnum. I'm new to arrays so i'm guessing i declared/ defined them …

Member Avatar for Zetlin
0
246
Member Avatar for bunnyboy

Yesterday I started playing with Microsoft CTP async library and I came across awaitable pattern ... I followed some tutoral, but I have a newer version of ctp that tutorial was refering to so all info about that was useless. After looking over the internet how the new pattern looks …

Member Avatar for kvprajapati
0
211
Member Avatar for vectro

I am using Joomla with the Ambra Subscriptions module to accept payments. When a new customer signs up and makes a payment, their account is not being automatically activated. I find myself having to activate every account manually after a new customer complains that they can't log in. Under 'Site …

Member Avatar for vectro
0
233
Member Avatar for titusnainggolan

Hi, I want to make my website in two language. I need to make library for both of language. And I get template of those library with extension .mo. And those library are included in file .php. I want to make a new library but I can't open and create …

Member Avatar for pritaeas
0
126
Member Avatar for cormee

Hi I'm getting a few spammers bypassing certain form elements on my site which I attribute to them having javascript disabled. Is there any way of diplaying the <form></form> content if it's enabled and otherwise displaying a message saying "We are no longer taking registrations". I'm not too concerned about …

Member Avatar for karthik_ppts
0
170
Member Avatar for cmsc

When I run my J2me project on my computer, the mobile phone device appears then two options appear. I select Install Application -> Launch. Then it will ask for a path [[url]http://][/url] Where can I get that path?

Member Avatar for cmsc
0
143
Member Avatar for kadriirdak

Hi There, I have an XML file and I list them by check boxes, categorized by their parent (branch). After selection of the check box, I take them and give the values `$branch`(only one at a time) and `$roles`(can be many eg. SBP|BNA) to web services. And run this web …

Member Avatar for kadriirdak
0
85
Member Avatar for hericles

Hey, I'm trying to catch the incoming request to my Tomcat server and redirect to another page (a servlet). I don't have Apache installed so no mod_rewrite will work (as I understand it). I need to redirect the incoming request aimed at a standard URL [url]http://www.somesite.com[/url] and send it to …

0
125
Member Avatar for J-Dub

I used one action listener for an array of buttons that do different things. Exploring methods. I am fairly new to java. I just made a tic tac toe program. I am hoping for people to look it over and tell me what they think, ways to make it better, …

Member Avatar for peter_budo
0
437
Member Avatar for xtianenikkian

Good day guys, im just wondering if there is a notes, functions or code related to print, i just want to come up with a good hardcopy of the information every time the employer request it. my source is adodc1 or datagrid

Member Avatar for xtianenikkian
0
143
Member Avatar for Luvme

just wanna ask if how to print your from adodc and datagrid which is from access using vb6? tnx in advance

Member Avatar for xtianenikkian
0
78
Member Avatar for jotae

In my APP the principal form open a second form (MothPayment) where the user pay a moth of the student. Well, made the payment, the form close and return to the principal form. The problem is that textbox fields like student balance, paid month , etc only refresh if the …

Member Avatar for ajaypatidar
0
150
Member Avatar for zoraster01

i wonder why my code have an error.. this my code and i will highlight the error[CODE].. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connection As New SqlClient.SqlConnection Dim command As New SqlClient.SqlCommand Dim adapter As New SqlClient.SqlDataAdapter Dim dataset As New DataSet connection.ConnectionString …

Member Avatar for Mitja Bonca
0
142
Member Avatar for Arjun_Sarankulu

Update spot_price set location = ‘PATAN’ where symbol = ‘CASTORP’ and polling_date between ‘20110730’ and ‘20110806’ Giving sql syntax error. Same query i am using to update another table in sqlserver its working but not in mysql

Member Avatar for Arjun_Sarankulu
0
116
Member Avatar for blivori

Hi, I created a Python script using pyPDF that automatically merges all the PDFs in a folder and puts them into an output folder and rename them automatically as per the folder's name. What I want to do now is for the script to search for sub-directories, process all the …

Member Avatar for blivori
0
224
Member Avatar for jacksantho

Hi , i am using mssql. I had a field with datatype [B]datetime[/B]. [CODE]My php coding: $requested=date("d/m/y : H:i:s", time()); i am using this query insert into tbl values('$requested')[/CODE] while inserting into my mssql table, i am facing the following error Warning: mssql_query() [function.mssql-query]: message: Syntax error converting datetime from …

Member Avatar for vibhaJ
0
295
Member Avatar for jheanal

what is the code in timer if the user enter a negative number a dialog box will appear saying that is invalid !! NEED THE ANSWER ASAP THANK YOU

Member Avatar for debasisdas
0
92
Member Avatar for adam25

I'm trying to execute the following code in netbeans & eclipse but without success. [URL="http://read.pudn.com/downloads150/sourcecode/comm/651136/NmeaConverter.cpp__.htm"]http://read.pudn.com/downloads150/sourcecode/comm/651136/NmeaConverter.cpp__.htm[/URL] Program has command-line parameter: -f D:\nmea.txt Eclipse says: [CODE]Description Resource Path Location Type `endl<<expression error> >' cannot appear in a constant-expression nmea.cpp /nmea/src line 358 C/C++ Problem `std::endl(std::basic_ostream<_CharT, _Traits>&)' cannot appear in a constant-expression nmea.cpp …

Member Avatar for adam25
0
353
Member Avatar for mitchney

i want to start my codng immdiately about linkng the database in vb...but i dnt knw how...anybody there hu would lke to help me hw i can lnk my database...please...tnx guyz.....

Member Avatar for debasisdas
0
119
Member Avatar for yumyam09

I'm thinking a databases that have scheduled time and date and if the computer time have been match to the scheduled time on the databases the other computer will be automatically shutdown

Member Avatar for yumyam09
0
91

The End.