199,113 Archived Topics
Remove Filter ![]() | |
import java.util.*; import java.net.*; import java.awt.*; import javax.swing.*; import javax.swing.border.*; import javax.swing.plaf.*; import java.awt.event.*; import java.io.*; import snmp.*; public class SNMPInquisitor extends JFrame implements ActionListener, Runnable { JButton getDataButton, getTreewalkDataButton, getTableButton, getNextButton, setValueButton; JButton clearButton; JTextArea messagesArea; JScrollPane messagesScroll; JTextField hostIDField, communityField, OIDField, valueField; JLabel authorLabel, hostIDLabel, communityLabel, OIDLabel, valueLabel; … | |
***I need to add paypal into my website. Your reply is very appreciated. Thank you.*** | |
hi guye please help how to sort a file like: with phone no. name;class; phone no mudit;5th;987654321 rohit;4th;98745321 sumit;7th;987654321 ankit;9th;984321 aaa;5th;987654321 bbb;5th;9874321 ccc;4th;98765421 ddd;8th;9876543 | |
![]() | Hi everyone, Im new to web programming and i need some help, I have something like this: <td><label>User (Login): </label></td> <td><input class="textbox" autofocus="true" type="text" maxLength="7" name="cUser" id="cUser" /></td> </tr><tr></tr> <td><label>First Name: </label></td> <td><input class="textbox" type="text" maxLength="20" name="cFname" id='cFname' value=""/></td> </tr><tr></tr><tr> <td><label>Last Name: </label></td> <td><input class="textbox" type="text" maxLength="30" name="cLName" id="cLName" /></td> … |
I installed Apache Tomcat 7.0.28 in my JBuilder6. I use JDK 1.6.0_32 (jre6). I can get http://localhost:8080/ page. However, when I tried to run my JSP file, I encountered following error: FileUpload.jsp: java.lang.NoClassDefFoundError: org/apache/tools/ant/Task FileUpload.jsp: Caused by java.lang.NoClassDefFoundError: org.apache.tools.ant.Task ...12 more Could not find the main class: org.apache.jasper.jspC. Program will … | |
hi all i want to add a web service in php which give real time information about european soccers. please do help me. | |
http://pastie.org/4237634 Behavior tree im manipulating http://pastie.org/4237628 Plugin Manipulating it, ( my behavior tree starts at line 135, its not moving on to the next step ( my behavior tree is basically the first document, without it returning ) idk what else to add | |
Hi there, I was wondering what the string.split() does. And another question is that I want to loop through the class like Math and find out what functions are defined in it.But, I was not too sure how to that. I tried a couple of things but they unfortunately didn't … | |
#include<iostream> #include<string> #include<conio.h> using namespace std; int main(){ string array[5][5]; int i=0,j=0; string z[5]={"abdg","ygur","guqh","asdf","sent"}; for(i=0;i<5;i++) for(j=0;j<4;j++) { array[i][j]=z[i][j]; cout<<"\narr[][]="<<array[i][j];} for(i=0;i<5;i++) cout<<"\narr="<<array[i]<<endl; //this z not workin.WHY??...PLZ HELP! getch(); return 0; } | |
Dear All; I have a form contain with two TextBox control and one ComboBox. There are StaffCode(txtStaffCode),StaffName(txtStaffName),Gender(cboGender). After I insert data into table, I want to retrive it back by using Reader method. The code I had done as below: Private Sub btnSearch_Click(-----) dim cnn as new SqlClient.SqlConnection dim cmd … | |
from socket import * from time import time, ctime import thread import Queue import os class ThreadSafeConsole(Text): def __init__(self, master, **options): Text.__init__(self, master, **options) self.queue = Queue.Queue() self.update_me() def write(self, line): self.queue.put(line) def clear(self): self.queue.put(None) def update_me(self): try: while 1: line = self.queue.get_nowait() if line is None: self.delete(1.0, END) else: … | |
Dear Expertise, I am problem with coding to search the data from database using stored procedure and vb.net form. I am coding with vb language not the C#. Explanation: I have stored procedure named "usp_GetPayByGrade" : /* Name: usp_GetPayByGrade Description: Search the Record to dbo.hrGradePayScale table by gpsIntGrade Author: Tashi … | |
0 down vote favorite I have a huge vector of boost dynamic_bitset. I want to write the dynamic_bitset vector to a file and later read the file back into a dynamic_bitset vector. Is the memory for dynamic_bitset allocated as a contiguous block of memory (so that I can write the … | |
I apolagize if this question has been asked before, but I was looking to see how I would go about writing an editor that saves the file on a server instead of on the harddrive. I would appreciate any and all help. | |
Hello Guys, I am writing an elevator problem and am stuck at the movement of the elevator and also stopping the elevator. The elevator is suppose to state the current floor is starting and the number of passengers that are in the elevator. I am able to let it go … | |
I have a very strange problem...I have a function which works in 99/100 times...But unfortunately I have noticed one group which generates me some problems. The worst thing is that I don't see anything special in it...name is nomral, I have access to list it...But my program doesn't return any … | |
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:PadmaSMSConnectionString %>" SelectCommand="SELECT [EmailID], [Password],[CnPassword] FROM [Registration] WHERE [EmailID] = @EmailID" UpdateCommand="UPDATE [Registration] SET [Password] = @password WHERE [EmailID] = @EmailID"> <SelectParameters> <asp:SessionParameter Name="EmailID" SessionField="User" /> </SelectParameters> <UpdateParameters> <asp:ControlParameter ControlID="txtnewpass" Name="password" PropertyName="Text" Type="String" /> <asp:Parameter Name="EmailID" /> </UpdateParameters> </asp:SqlDataSource> protected void BtnChangePass_Click(object sender, EventArgs e) { … | |
Hi, I got a problem in reading and write on file. I have to create an virtual agenda, therefore I enter a name and a number for N persons. After entering the infos if the file doesn't exist, the program create it and save the infos, if the file exist … | |
Dear all, I have no idea to develop an application for mobile.. I want to join this field. any one please help me to develop my first application of Hello World.... and also tell me in which tool mobile development is done.. Thanks Regards Tabish Saroha | |
So I've been working on a page to locate shops based on zip code and mile distance. I used this tutorial as a walk-through http://htmlcampus.com/build-a-zip-code-store-locator-application-in-php/ Now I've changed a couple of things like the mySQL table is called locations instead of zip_codes. I've tested it and it connects to the … | |
Hello, I have a MSSQL database with a table called "people" and a table called "attendance". The people table contains the person's ID (primary key, identity increment), last name, first name, and active fields (I would only be interested in grabbing fields where active = Yes). The attendance table contains … | |
As the title suggests, I created a base class named **member** which I want to use to get some basic information, but for some reason, I cannot seem to access those methods/values from the child class named **user_send_message** Here is the complete code that I have made so far -- … | |
Hi. I’m currently doing a project based on permutation and combination and I don’t get it. It should permutated a series of number entered in a textbox and search all that number in ms access database. If the searching number exists in the database, it should list down all the … | |
This is really hard coding for uploading one images yes its working. but now i need to upload multiple images for code below: the link of that page is: http://dalilack.com/marketProductUpdate.php?packageId=15 you need to sign in: username: Molham password: Molham with capital <?php require_once('Connections/dalilack.php'); ?> <?php //initialize the session if (!isset($_SESSION)) … | |
B works, A does not. Is there any way to make A work without using new (that includes placement new)? The code is more or less identical and I'm sure my overloaded new/delete are being called. The only difference is that A doesn't call the constructor but that shouldn't matter … | |
I have been having this problem since I started using stl containers awhile ago. Basically, when I debug them with the default Code::Blocks MinGW debugger I find that it gives far too much irrelevant information such as iterators and other 'behind-the-scenes' stuff. I can make it better by telling it … | |
how to drop multiple columns at a time.. i tried with the following syntax "alter table <table_name> drop column <col_name1>, <col_name2>" but i am getting syntactical error. | |
What c framework are you people using to develop a game written totally in c? Mind to share? | |
i've linked the database correctly, but i can't view the value after i drag the table from data source, and my database already saved data. why? :( | |
I'm struggling to think of a reason why I should be getting an 'Access denied' error when trying to save an Excel document opened through a program written in VB 2010 Express. The program is essentially glorified Excel automation. It converts information from hundreds of Excel documents into a few … | |
Im not really sure where my program has gone wrong and would be thankful for any help provided. It compiles and runs up until the first function is called then crashes however I have tried multiple ways to fix it such as different names, changing the return values, changing the … | |
![]() | Hi there, I have a piece of code that I made to handle the joining of 'characters' in to a 'raid' on a game. The program refreshes a page to check if the 'raid' is available, if it is, it 'forms' the raid and 'joins' the characters. The joining process … |
I am urgently seeking assistance with the following error: *Commands out of sync; you can't run this command now* here's the code: $sql="select pr1.".$_SESSION['lang'].", pr1.id, pr2.".$_SESSION['lang'].", pr2.id from `project` as pr2 join project as `pr1` on(pr1.id=pr2.parent_project) where pr2.id=?"; $stmt = $mysqli->stmt_init(); $stmt->prepare($sql) or die ("Error preparing statement: ".$mysqli->error); $stmt->bind_param('i',$_GET['id']); $stmt->execute() … | |
Hi, I need to Runexport from DB to specific file im my network, no problem. When i search there is more than one post, so I get a list and export all searchhits, No problem. BUT I need to name the pdf files to each specific invoice number. Each post … | |
i have created one form that checks the email validation .but when it checks the email validation if adress is invalid the return to form page with displaying proper error message. I HAVE CREATED THIS BUT IT IS NOT GIVING PROPER MESSAGE please help me out | |
| |
Please provide some web references which I can add in my asp.net website. I am from india , I urgently need a web service, even if its a paid one, but I need a working one. Please help! | |
I have only one content placeholder.my problem is earlier i had two content place holders.now i removed one.Then my master page design was showing while running. but when i was removing that not needed content placeholder tag from all aspx pages, in the middle i saw that master page design … | |
Hey Guys, I've made a couple of web pages and now i want to add a master page to all the pages. But when i tried to add the master page the following error occured "Content controls have to be top-level controls in a content page or a nested master … | |
Hello, everyone! I'm starting to learn OpenGL and I have a problem with linear transformations. The program is very basic: I want to draw 4 squares and make them move individually (by doing translations and rotation). I understand that I need to stock all the transformation in a matrix, so … | |
I have used an ASP .Net Menu Control ,It is working fine in Mozzila but in IE-8 , the Submenu are not displaying instead a white box appears havinfg the dimensions same as if the submenu items are present and when I take mouse over that box it dissapears. | |
Hello, iv been working on generating a swf tag generator for a project. However i am having trouble understanding how certain values are generated. The shape i have defined in flash is 200 pixels wide and 200 pixels in height and placed at X, 20 and Y 20. The problem … | |
![]() | I'm just curious, allot of news and comments I read online, people say hackers have to learn programming in order to hack or computer science Is It true? or am I mistaken. |
I have the following script: $('#login-box .forgot-pwd').click(function (e) { e.preventDefault(); $('#login-box #main-login').hide("fast"); $('#login-box .login-error').hide(); $('#login-box #forgot-login').show("fast"); $('#forgot-username').focus(); $('#login-box .forgot-send').click(function (e) { e.preventDefault(); $.ajax({ url: '/login.php', data: $('#login-box form.get-password').serialize() + '&action=forgot', type: 'POST', success: function(html) { if (html == 'success') { $('#login-box #forgot-login').hide("fast"); $('#login-box').append('<p>Your password has been emailed to you</p>'); $('#mask … | |
public class Stack extends LinkList{ public Stack(){ public void push (Object element) { insertAtFront (element); } public Object pop(){ return removeFromFront(); } public Object peek(){ return getFirst(); } } Im trying to create a movieApp using pop push and peek method(Stack). But once the class got compiled, it shows a … | |
I have city and its corresponding locality. When user clicks city then its locality will show in Dropdown-Checkbox. How I can do with jQuery, AJAX and MySQL. | |
can we use double quotes to the column name while creating a table?? if yes, then how to insert the records into it??? | |
Hi all , I have one text box and submit button . I want to submit one by one value into the box and these values will be displayed one by one serially on the page . ex. aaaa then bbbb then cccc then will display <input type="text" name="txt" value=""><input … | |
After logout from a webpage, how to disabled the back link using php? | |
I have this encryption code, it encrypt the file but doesnt want to decrypt it: it gives a segmentation fault error. By the way i am using linux... #include <iostream> #include <string> #include <fstream> #include <cstdlib> #include <sstream> #include <vector> using namespace std; int n, c, l; void gen_code(string word1, … |
The End.