199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for annette_arpana3

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; …

Member Avatar for JamesCherrill
0
241
Member Avatar for lhsunshine
Member Avatar for Jassi sharma
0
478
Member Avatar for muditvijay

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

Member Avatar for Cross213
0
129
Member Avatar for Arturo32

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> …

Member Avatar for firdaus_lazim
0
770
Member Avatar for mydreamgirl

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 …

Member Avatar for firdaus_lazim
0
397
Member Avatar for Raakesh399

hi all i want to add a web service in php which give real time information about european soccers. please do help me.

Member Avatar for Raakesh399
0
75
Member Avatar for Thiole

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

Member Avatar for Thiole
0
48
Member Avatar for rotten69

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 …

Member Avatar for rotten69
0
223
Member Avatar for rdx05

#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; }

Member Avatar for rdx05
0
207
Member Avatar for kimlong2012

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 …

Member Avatar for poojavb
0
115
Member Avatar for ChristianOncken

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: …

Member Avatar for ChristianOncken
0
2K
Member Avatar for tashee2007

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 …

Member Avatar for kRod
0
754
Member Avatar for SyncMr

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 …

Member Avatar for NathanOliver
0
2K
Member Avatar for writerervin

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.

Member Avatar for trishtren
0
171
Member Avatar for hkboateng

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 …

Member Avatar for hkboateng
0
581
Member Avatar for VasquezPL

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 …

Member Avatar for VasquezPL
0
705
Member Avatar for ppstyle

<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) { …

Member Avatar for hericles
0
213
Member Avatar for BHKK

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 …

Member Avatar for Ancient Dragon
0
177
Member Avatar for tabish saroha

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

Member Avatar for cbe_88
0
79
Member Avatar for AmieCutie

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 …

Member Avatar for cereal
0
2K
Member Avatar for bilnyg

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 …

Member Avatar for cutepinkbunnies
0
230
Member Avatar for flynismo

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 -- …

Member Avatar for mschroeder
0
383
Member Avatar for renyges

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 …

Member Avatar for renyges
0
115
Member Avatar for ibakir

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)) …

Member Avatar for ibakir
0
692
Member Avatar for TheBusDriver

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 …

Member Avatar for sepp2k
0
657
Member Avatar for Labdabeta

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 …

Member Avatar for Labdabeta
0
306
Member Avatar for Sravani saka

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.

Member Avatar for Sravani saka
0
278
Member Avatar for mrgadgets

What c framework are you people using to develop a game written totally in c? Mind to share?

Member Avatar for DeanMSands3
0
166
Member Avatar for gahhon

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? :(

Member Avatar for gahhon
0
256
Member Avatar for Eruditio

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 …

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

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 …

Member Avatar for Perry31
0
124
Member Avatar for david56connor

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 …

0
141
Member Avatar for Setvir

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() …

Member Avatar for cereal
0
164
Member Avatar for Floppy1

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 …

Member Avatar for pritaeas
0
215
Member Avatar for ranjit_mahadik

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

Member Avatar for Biiim
0
106
Member Avatar for gurusubramaniam
Member Avatar for ppstyle

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!

Member Avatar for ShivaSaurabh
0
166
Member Avatar for sherinpoulose

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 …

Member Avatar for ShivaSaurabh
0
241
Member Avatar for anuj_sharma

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 …

Member Avatar for ShivaSaurabh
0
545
Member Avatar for GDICommander

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 …

Member Avatar for chvkishore.20
0
1K
Member Avatar for pradeep.singh28

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.

Member Avatar for doctor_nasir_c
0
486
Member Avatar for trishtren

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 …

Member Avatar for firdousahmad
0
91
Member Avatar for napninjanx

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.

Member Avatar for firdousahmad
0
228
Member Avatar for simplypixie

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 …

Member Avatar for simplypixie
0
293
Member Avatar for messynaddy

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 …

Member Avatar for messynaddy
0
288
Member Avatar for abhi10kumar

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.

Member Avatar for abhi10kumar
0
1K
Member Avatar for Sravani saka

can we use double quotes to the column name while creating a table?? if yes, then how to insert the records into it???

Member Avatar for pritaeas
0
203
Member Avatar for subrata_ushasi

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 …

Member Avatar for subrata_ushasi
0
176
Member Avatar for gurusubramaniam
Member Avatar for broj1
0
90
Member Avatar for MasterHacker110

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, …

Member Avatar for MasterHacker110
0
2K

The End.