199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for murali53

HI. I was taken one grid view, in that gridview there is 6 text boxes are there (sun1b,mon1b,...... total1b), I want to add (sum) those textbox valus without ''ADD Button ''click . I need to add the text box values (Horizontal, vertical ) total, I attached the image, u r …

Member Avatar for sufyan2011
0
216
Member Avatar for n3red

Hi, I have 2 JTree components on my JForm. If a user clicks on a DefaultMutableTreeNode on JTree A i want app to add it to JTree B. [CODE] public void addModule(final JTree a, final JTree b){ a.addTreeSelectionListener(new TreeSelectionListener(){ @Override public void valueChanged(TreeSelectionEvent e) { DefaultMutableTreeNode node = new DefaultMutableTreeNode(a.getLastSelectedPathComponent()); …

Member Avatar for Ezzaral
0
262
Member Avatar for eavila

Hey, so as you can tell, this is my first attempt at writing a class. I put in a mock int main() in order to follow what exactly is going wrong. As far as I can tell, every time the struct in push is used, it always has the same …

Member Avatar for gusano79
0
145
Member Avatar for daniel36
Member Avatar for Ezzaral
0
90
Member Avatar for riahc3

Hello Im trying the ini4j library but I seem to be having problems writing a Unicode file (no problems reading I believe) Is this a Java issue or ini4j? Thank you

Member Avatar for riahc3
0
747
Member Avatar for Ntropy

Basically, i'm doing an exercise that requires me to decrypt some numbers in an array, which will then read out something about "THEO", i've written my code out in this way, and it compiles fine, but it's having a problem when i run it, i'm getting a problem with my …

Member Avatar for Ntropy
0
216
Member Avatar for kesh1000

hi all, I came through this question and was confused as to what and why the ans should be?? [CODE]String str = "10"; int a = new Interger (10);[/CODE] which of the following is legal: - choose any 3. a) str += a; b) boolean b = str == a; …

Member Avatar for Ezzaral
0
93
Member Avatar for swissknife007

[CODE]<?php $time1=time(); $time2=$time1+5; echo $time2-time()."Current time<br>"; setcookie("user","Abhi",$time2); // ECHO "<html> // <body> // <form action='cookie2.php' method='get'> // <input type='Submit'> sybmit // </form> // </body> // </html> // "; ?> <?php while(isset($_COOKIE["user"])) { echo "hi ".$_COOKIE["user"]; echo time()."Current time if<br>"; } if(!isset($_COOKIE["user"])) { echo "hello"; echo time()."Current time else<br>"; } ?>[/CODE] …

Member Avatar for diafol
0
183
Member Avatar for blackrainbowhun

Hello everybody! I'm participating in a competition, and I just finished my program. It doesn't really matter what it does, and how. I have encountered a bug I think. I'd appreciate every kind of help, because with the problem, my solution fails for the test file. I have to read …

Member Avatar for Schol-R-LEA
0
173
Member Avatar for dlayante

I have created a DLL files using C#.... How can i use it in Visual Basic 6.0? Please help me with this project...can you give me codes for it or step by step procedure THANK YOU!!!!!!!!!!!!

Member Avatar for hkdani
0
7K
Member Avatar for newbie26

hey.. can someone help me here?? how can i get the second to the last and the last record in the notepad?? then, i will subtract those values and insert into the database. tnx. im using vb6 and mysql.

Member Avatar for hkdani
0
124
Member Avatar for ssdeep

i have a file of the form [CODE](9430, 3656) (9147, 14355) (133, 14393) (7917, 9513) (3719, 12775)[/CODE] lets say i need to store it as a hash.such that 9430=>3656 and so on.I tried using split but it takes whitespaces for right hand values.How can i do it the better way?

Member Avatar for d5e5
0
229
Member Avatar for dmtYork921

Hi, I was trying to figure this out. I've been scratching my head all morning and I'm at a mental dead end. Can anyone help me? Malicious code in red [CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package …

Member Avatar for JamesCherrill
0
189
Member Avatar for Akusa

Okay so for my beginners c++ class we have to make game for our final project. The game is a simple shooter type game with ascii chars and stuff for the player and the enemy. We covered up to 2d arrays in class and then the teacher gave us the …

Member Avatar for Schol-R-LEA
0
429
Member Avatar for shamsidah

[CODE]<?php include 'connection.php'; $data = mysql_query( "SELECT Date,color_code, COUNT(color_code) FROM paintshop WHERE Date BETWEEN '$startDate' AND '$endDate'") or die('error'); while($rw = mysql_fetch_array($data)){ ?> <td width="59" height="25" class="style5Copy"><?php echo $rw['Date']; }?></td>[/CODE] i want display the dates between i post from the form.. eg: start date = 1-12-2011 until end date 7-12-2011 …

Member Avatar for HITMANOF44th
0
89
Member Avatar for itsmrshow

i need to compare these two arrays. one array in the lottotest class, method getdata gets the users numbers and stores them in an array. the nest in loto class, method gendata, generates 6 random numbers between 1-9. i need to then call both methods into the main method and …

Member Avatar for itsmrshow
0
324
Member Avatar for kbj123

am using vb6 and ms office 2007 on Windows 7 professional platform i wrote code as below dim db as database dim rs as recordset dim ws as workspace Private Sub Form_Load() Set db = OpenDatabase(app.path & "\Contacts.mdb") Set rs = db.OpenRecordset("Info", dbOpenTable) End Sub Now, when i run my …

Member Avatar for hkdani
0
265
Member Avatar for stereomatching

Now I have a lot of airplanes, in the ideal world the interface of the airplanes(or anything) should be unify but for some kind of weird reasons, the class for different airplanes are designed like this [code] struct airplane_A { fly_A(); speed_up_A(); //blah blah blah }; struct airplane_B { fly_B(); …

Member Avatar for stereomatching
0
106
Member Avatar for klemme

Hey, I know this is a stupid way of doing it, hence the question..: How can i do this smarter: [CODE] if (($url == 'billeder') or ($url == 'billeder=1' or $url == 'billeder=2' or $url == 'billeder=3' or $url == 'billeder=4')) { include("includes/billeder.php"); } [/CODE] I just want to see …

Member Avatar for HITMANOF44th
0
118
Member Avatar for shailu.thakre

anybody can solve my php syntax problem?[CODE] $sql = "SELECT entries.*, catagories.cat FROM entries, catagories WHERE entries.cat_id = catagories.id ORDER BY dateposted DESC LIMIT 1;"; [/CODE]

Member Avatar for fobos
0
99
Member Avatar for RaoxFaello

I'm new to VB.Net i was asked by my professor to create and pass an application (He didn't mention any specifics so i'll take it as creating my own application) So i'm thinking to create something simple and it include something like opening a form within a form For example …

Member Avatar for Begginnerdev
0
89
Member Avatar for khizer03

how to link a form so that the form should appear as soon as the computer gets on in VB.net

Member Avatar for Reverend Jim
0
93
Member Avatar for aishapot

I need to save pictures in my database, my database is MSSQL as of now, my code for getting the picture is this: Private Sub browsepic_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles browsepic.Click With dialogpic 'Open File Dialog sa toolbox .InitialDirectory = "C:\Users\CAMILLE\Pictures" .Filter = "JPG Files|*.jpg|PNG Files|*.png|GIF …

Member Avatar for aishapot
0
255
Member Avatar for lili22

[B]Hello .. im a business student with a vb.net course .. donno why we're being taught vb but that's that .. any ways could anyone help me solve this problem: Develop an application which reads two integers n1 and n2 from the user via two textboxes and displays in a …

Member Avatar for Reverend Jim
0
379
Member Avatar for Bheeman89

Hello people. Im having a problem in my coding. I am doing a username and password application (sumtthing like a password keeper). So I have created the interface and i integrated vb 2008 with sql server 2008. So the adding of account and password all went fine. I have applied …

Member Avatar for lolafuertes
0
433
Member Avatar for subhra1234

hi everyone,i am just a beginner in python,i am going through "head first programming" and saw about the [B][COLOR="red"]pygem[/COLOR] [/B],but iam unable to install pygem....i already downloaded [B][COLOR="red"]pygame-1.9.1release.win32-py2.5[/COLOR][/B] from pygem site,but at the time of running the set up i am getting a error that it is not compatible with …

Member Avatar for subhra1234
0
293
Member Avatar for kavi4u

Hi, I want to assign a f2 key for the save button in my c# application, is it possible ? if not any other ways where i can assign short cut key for the buttons ? any one can help me Thanks in Advance ..

Member Avatar for Mike Askew
0
126
Member Avatar for j23

hi, does anyone know how it would be possible to change my code so that the circles drawn by the applet are resized as the applet screen size is changed? [CODE] import java.awt.Graphics; import javax.swing.JApplet; import java.awt.Color; @SuppressWarnings("serial") public class OvalApp extends JApplet { private int width, height, x=10, y=10; …

Member Avatar for j23
0
1K
Member Avatar for galhajaj

Hello :) i intend to make a game in c# that will contain information of 10,000 people i dont familiar with db yet but i guess from a little reading that the best way is to use ADO.NET sql library... the game is not on the internet, it will be …

Member Avatar for rotten69
0
299
Member Avatar for klemme

Hi all, I have a site, where everything is on the index.php page - and then I include files when needed. Im not sure if this matters, but now you know..the page I am trying to create pagination on, is in an included file. So the page/url i am working …

Member Avatar for rotten69
0
167
Member Avatar for bjones531

In a nutshell, my company is using several different programs that use a string of data regarding personal appearance information for different TV/movie character. This data need to be read in a very strict manner. (The following example is exactly how we need to input the information... including all brackets …

Member Avatar for rotten69
0
482
Member Avatar for flywheeljack

I am currently working with a vb2010 front end with access as the database. everything works for accessing the information adding information. But when I try to edit/update the contents of a row I find that the update is being applied to the first row of the table rather than …

Member Avatar for Netcode
0
164
Member Avatar for surakesh

// ws is an object variable of worksheet // systype is a string variable Range r = (Range)ws.Cells[2, 2]; systype = r.Value2.ToString(); how can I combine these two lines into one single line ? Please help ....

Member Avatar for surakesh
0
93
Member Avatar for Morney

Hello, So I have started to learn java from scratch, and I love it, any time spare I try to create programs (nothing complex yet) The last one I have done is the game Pontoon, blackjack or 21, many names. It works to how I would like it to, but …

Member Avatar for Morney
0
749
Member Avatar for skran

Hi! I m trying to open a filter form at the center of a form which is inside the panel 2 of a split container.. I ve selected Start Position of the filter form => Center Screen but the problem is that when I push the button which opens the …

Member Avatar for Netcode
0
370
Member Avatar for Swiftle

Hello, I'm new to the whole regex thing, and I'm having trouble understanding the syntax. I have to separate a line by different criteria like spaces, brackets and others. Here's and example line: "$#*! My Dad Says" (2010) {Code Ed (#1.4)} 2010 What I want to have is: $#*! My …

Member Avatar for pritaeas
0
132
Member Avatar for stanley87

Hi,guys!May i know how to i seperate -keyword and +keyword from an array? eg, i have $arrayList = array(+book,+school,-play,-study); How to i seperate those +keyword into 1 array and -keyword into another array? You help will be kindly appreciate. Best Regards, Stanley

Member Avatar for stanley87
0
131
Member Avatar for nikki05

Hi, I want to redirect domain.com to [url]www.domain.com.I[/url] found may people mentioned about Rewrite Rule as shown below in .htaccess. I could not find .htaccess file in my apache. There is httpd.config file. How to force domain to display [url]www.domain.com?[/url] Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.domain\.com$ [NC] RewriteRule ^(.*)$ …

Member Avatar for pritaeas
0
154
Member Avatar for skp03

i have a form in which their is a two text boxes text box1=username text box2=password when i execute then i have to enter the username and password when i cancel the execution it will close every thing ok But i need the same username which has been used at …

Member Avatar for skp03
0
140
Member Avatar for crapped

Well is there any built-in function to do this ?, or 3rd party library EXAMPLE code [CODE]source := Sock.Get('http://www.google.com/'); if source('Google Search Engine', a) > 0 then begin NeededPattern := GetPattern(source, '<font>','</font>'); result := neededPattern; // will display ABC of the <font>ABC</font> end;[/CODE] Then it will get the middle of …

Member Avatar for pritaeas
0
151
Member Avatar for juliusmasa

Can you help me put actions to the buttons [code]public class TimeIn extends javax.swing.JFrame { /** Creates new form Timein */ public TimeIn() { initComponents(); } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of …

Member Avatar for stultuske
0
148
Member Avatar for serkan sendur

To make some operations on XML elements you have to know their types. This snippet is about getting the types of these elements.

Member Avatar for deepalijain
0
238
Member Avatar for WARburg

Hello Everyone! That's my first post on this forum and I'd like to greet Everyone I got a question about getting the last key pressed without stopping the programm. I know that getchar(), cin, getch() commands don't allow to do that. Have You any idea how to solve this problem? …

Member Avatar for zeroliken
0
3K
Member Avatar for charter

I have an index.php. page which is a search on my MySQL database to update HTML tables in my results.php page. I have a form on the index page as the search which is like this: <form action="results.php." method="post"> Search:&nbsp;<select name="searchtype"> <option value="Date">Date</option> <option value="Wk No.">Wk #</option> <option value="Artist">Artist</option> <option …

Member Avatar for ToniAdams
0
6K
Member Avatar for zcj125

[CODE]<?php session_start(); $_SESSION['title'] = $_GET['form_book_title']; $_SESSION['ISBN'] = $_GET['form_book_ISBN']; $_SESSION['qty'] = $_GET['form_book_qty']; $_SESSION['fName'] = $_GET['form_book_fName']; $_SESSION['lName'] = $_GET['form_book_lName']; if($_SESSION['ISBN']=="" || $_SESSION['title']=="" || $_SESSION['qty'] =="" || $_SESSION['lName'] =="" || $_SESSION['fName'] =="") { echo "please fill out all the form fields"; echo "<a href=\"sell.html\"> Go Back"; }else require_once("db_info.php"); $con = mysql_connect($localhost,$username,$pw); if(!$con) exit(mysql_error()); …

Member Avatar for simplypixie
0
325
Member Avatar for manhthaodn

I'm building a C # application on Visual.NET. Now, After packing program to deployment. When users use the program, if have internet connection, the program will automatically send mail notification to me. To do that I do like? Thanks!

Member Avatar for manhthaodn
0
469
Member Avatar for MORFIOUS

i got project on student information management system .... i have no idea about the topic and content ... please if you have C# project please share ........ if you have software on student management system do share :) college management or institute management or school management ... any of …

Member Avatar for kamilacbe
0
411
Member Avatar for skp03

A bit of confusion what to do I have a form1 in that their is a button by name "login" by clicking on the button "login" the form2 will be shown in a form2 their is username and password text boxes and two button one is "ok" and another one …

Member Avatar for GeekByChoiCe
0
85
Member Avatar for emitremmit

I am having problems with my program to add and multiply two 4 bit binary numbers. The part in which I am currently having trouble is when I run the program the output for the addition function is not correct. Instead of displaying the correct answer it is just displaying …

Member Avatar for emitremmit
0
277
Member Avatar for mc3330418

I have a text file with names, wins, losse. I have to take those in a write a function to find the average, and a function to sort the names in alphabetical order. I finally got everything into arrays but I cant do anything else. I don't think I'm understanding …

Member Avatar for Ancient Dragon
0
132

The End.