199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mr.BunyRabit

Hey there, im stuck now with the datagridview not being able to discard the old headings in it and load another table in access. this is how the test program works i have 2 buttons. start the program, and press one button - the datatable loads close the program, and …

Member Avatar for Mr.BunyRabit
0
159
Member Avatar for mrlol

Hi guys, I'm new with javascript, so I need help from you guys. Please help me to change date format to yyyy-mm-dd. I've tried few ways but failed. Please download the script here [url]http://www.javascriptkit.com/script/script2/datetimepick.zip[/url] Thank you :)

Member Avatar for mrlol
0
206
Member Avatar for benqb

I am passing the given query [url]http://localhost:8080/show?key=1234&path=host[/url] in my python script i want to take the 'path' only how can i get it? i use [CODE] def get(self): data = self.request.get('path') [/CODE] but it not working

Member Avatar for GDICommander
0
228
Member Avatar for zlloyd1

I have an html file that is supposed to do a search and return of a database I have created in phpMyadmin but is giving me nothing but one error after another!!:'( This is the html form[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Directory List Request</title> …

Member Avatar for zlloyd1
0
147
Member Avatar for blagoblg

Hi I have a problem with installation of numpy ! I followed the instructions from the page of scipy and tried sudo apt-get install python-numpy python-scipy too. It shows this message: [CODE]blago@blago-laptop:~$ python Python 2.6.6 (r266:84292, Sep 15 2010, 15:52:39) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" …

Member Avatar for GDICommander
0
436
Member Avatar for cirno

More like general MySQL than vb.net itself, but still need help. The MySQL code below: [CODE] SELECT * FROM (SELECT resit_no,SUBSTRING(resit_time,1,19) AS entrystamp FROM DB1.receiptdetails WHERE terminal LIKE '%99' AND resitdate BETWEEN '2010-12-01' AND '2011-01-31' AND productcode BETWEEN '91000001' AND '91000009') res1, (SELECT expdate_resitno, SUBSTRING(TimeModified,1,19) AS moded_time FROM DB2.mtransactionstatus WHERE …

Member Avatar for cirno
0
168
Member Avatar for haribasker

[CODE]public void actionPerformed(ActionEvent ae) { if(ae.getSource()==clear) { tname.setText(""); tpass.setText(""); } else { if(ae.getSource()==Admin) { try { a=tname.getText(); b=tpass.getText(); Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:vote"); Statement st= con.createStatement(); ResultSet rs; rs=st.executeQuery("select * from votelogin where tname='"+a+"'and tpass='"+b+"'"); while(rs.next()) { aa=rs.getString(1); bb=rs.getString(2); } if(a.equals(aa)&& b.equals(bb)) { JOptionPane.showMessageDialog(this,"INVALID USER.TRY AGAIN"); System.out.println("invalid user"); } else { JOptionPane.showMessageDialog(this,"VALID …

Member Avatar for naief
0
112
Member Avatar for jarhammy

Hello, I am currently working on a school assignment, and I have spent a great amount of time on this, but I am coming up with a couple of error messages that I can't figure out. Here is my code: [CODE]#include <iostream> #include <string> using namespace std; class Date { …

Member Avatar for jarhammy
0
118
Member Avatar for CD1

Hello I have some trouble interpreting a string and I hope you can help me. I have to convert a string, or a word in a number. Like five hundred fifty in 550. I dont know exactly how to do it. I was thinking to try to analize each word, …

Member Avatar for CD1
0
82
Member Avatar for RenanLazarotto

Hey guys, its me again. I think that wasn't 10 minutes since my last post :) Now is another thing. I run a external app that has exit codes, it is all in its own documentation. How can I get these codes inside my app? And, can I add this …

Member Avatar for RenanLazarotto
0
230
Member Avatar for Sparky_

Greetings - I'm new to JAVA. I'm using NetBeans. I've been going through tutorials and examples - with some frustration. Question - when I find an example / tutorial to attempt, how do I "create" correctly the setup before I simply paste the code? Meaning if the example has: [CODE]public …

Member Avatar for DarkLightning7
0
128
Member Avatar for Logert

My project is to optimize wind turbine placement in a given area. In order to do this, I'm using both a wind simulation program (openWind: awsopenwind.org) and the a genetic algorithm code base (Evolving Objects: eodev.sourceforge.net). The process should work like this: openWind will randomly place wind turbines in its …

Member Avatar for mike_2000_17
0
217
Member Avatar for Games53

The code below is the code I used last semster to turn decimal format intergers into hex, now is there a way I can reverse this function, and have it turn hex into dec. Also the reason it is in a function format is we were studying funtions at the …

Member Avatar for Red Goose
0
89
Member Avatar for Richard.Randle

Hi , I am a Newbie using SQL server and vb.net in VS2010. I am re-writing an exisitng application which is written in an old programming language. I have a table with invoice records waiting to be assigned an invioce number and invoice date. I have two ways of uupdating …

Member Avatar for Richard.Randle
0
275
Member Avatar for pucivogel

Hey there!I'm doing this symbolic differentiation program,and i have some problem with the code.The code in the "main" is ok ,but i have problems in the "to_term" function.Can you help me out to find where my mistake is?Please if you have any idea reply me now Thanks. [CODE]#include <iostream> #include …

Member Avatar for pucivogel
0
154
Member Avatar for javanoob101

Hello! I have to make a "Dice Applet" for school. It is all finished but the dice pictures do not display properly. It only appears in a line (not the full image.) But they seem to display fine if you maximize the applet then restore the applet to its original …

Member Avatar for javanoob101
0
134
Member Avatar for Violet_82

Hi there, I have done a small exercise (ex 4.17 on C++ how to program - deitel and deitel) which basically is about writing a program that uses a while statement to determine and print the largest number of 10 numbers input by the user. The program should use 3 …

Member Avatar for Violet_82
0
192
Member Avatar for ayarton

I'm a very new developer (if you could even call me that), and I'm killing myself here. Essentially here's what I'm trying to do. A user scans a series of documents which are sent through a program that places a .tif or .pdf of each document into a folder on …

Member Avatar for ayarton
0
210
Member Avatar for sirlink99

Hello Everyone. I am trying to use a string to set a color. i have tried Color is the string which says a color like black or red [code] g.setColor (Color.color); [/code] and [code] g.setColor (Color."color"); [/code] lets say the string color was red it should have this effect [code] …

Member Avatar for sirlink99
0
7K
Member Avatar for Neversleepin

Hello, in java, if we want to extract all values between 10 and 100, how could we express between in java. Is there any symbol like && || ..? Thank you

Member Avatar for Ezzaral
0
85
Member Avatar for simpleonline123

Okay down to the niddy griddy.... I am creating an application where I can log into my social networking sites that I have accounts with and entering my new websites url's. This is by no way spamming or anything since those type sites are designed accept new website urls. I …

Member Avatar for HG&C
0
144
Member Avatar for scranton

RegisterClientScript and all variations are missing vb.net 1.1 there's nothing under page or me or clientscript or anything else i can think of

Member Avatar for alc6379
0
125
Member Avatar for steel dr@gon

Hey guys... I'm Ian, I'm from the Philippines, I need some helpful resources on picking a thesis proposal. I'm not asking anyone to make me one, or do one for me. I only ask for are some links to some all ready published thesis that is related to computer science. …

Member Avatar for junry
0
192
Member Avatar for Commando123

hi guys, i am using the vb 2005 to create an application and i created a database from the vb by adding a new Item(Database). i want to know how can i make the id wich is a number,to take an auto number and not to have to enter it …

Member Avatar for Commando123
0
98
Member Avatar for get connected

Hi All I know it is possible to use the internal system speaker to generate sound. EG [ICODE] System.Console.Beep(500, 500) 'Beep(FREQUENCY,DURATION) [/ICODE] However i was wondering if anyone knows if it is possible and how to go about using said system speaker to speak - MESSAGE YOU ARE NOT AUTHORISED …

Member Avatar for alc6379
0
110
Member Avatar for Duki

Hey everyone, I'm trying to do something like this: [code=c++]typedef void * socktag int gensock_connect (char * hostname, char * service, socktag * pst) { int retval; connection * conn = new connection; if ((retval = conn->get_connected (hostname, service))) { gensock_close(0); *pst = 0; return (0); } *pst = conn; …

Member Avatar for Duki
0
649
Member Avatar for Kath_Fish

hey... how to do the message box that can show all the data out..without clicking many times..? Means that i do one program in for loop.Let said i do 5 times looping. After I run the program, i dun need to clicking 5 times to show the result one by …

Member Avatar for alc6379
0
201
Member Avatar for kemkoi

Okey , this is what happends , when I write in my code and compile it this error shows up. [URL="http://data.fuskbugg.se/dipdip/Problem%20med%20c%2B%2B%20script.jpg"]http://data.fuskbugg.se/dipdip/Problem%20med%20c%2B%2B%20script.jpg[/URL] And after recieving this error I can't run it ofcourse... , I got the code from a book " Learn c++ in 3 weeks" I copied the code and …

Member Avatar for Fbody
0
173
Member Avatar for LianaN

Hi! I need my own file extension for SWING desktop application (image processing tool). In fact, I want a user to be able to save locations of JLabel components on a screen. Please, give me a hint on how to implement this task. Thanks!

Member Avatar for LianaN
0
162
Member Avatar for unrealj

For my project, as others before have noted, I have to create a hashtable using chaining. I rewrote my Get and Put functions, but I do not know how to change the Locate Function. Here is the code [CODE]def hash_function( val, n ): """Compute a hash of the val string …

Member Avatar for unrealj
0
365
Member Avatar for Vhyr

Hi all, How can I retrieve info from a HTML table like this : I want the bold things. [CODE]<table class="vis "> <tr> [B]<th width="150">Opslagplaats vol</th> <th>Tijd (hh:mm:ss)</th> [/B] </tr> <tr> [B]<td width="250"><img src="graphic/holz.png?1" title="Hout" alt="" class=""/> morgen om 02:35:48 uur</td> [/B] <td> <span class="timer">8:32:33</span> </td> </tr> <tr> [B]<td width="250"><img …

Member Avatar for Vhyr
0
96
Member Avatar for jordan0420

am adding a GUI into a python database and i was wondering if there is any way for text to be already in an entry box when it appears. The window is for adding movies to the database so i would like the following, please enter the movies title: [Title …

Member Avatar for TrustyTony
0
2K
Member Avatar for Ankita B

Hi..I wish to prevent users from entering the web pages of my application again using back button once they've logged out.How can i achieve this?..I do not wish to use no-cache,history() etc as they're not fool proof. Also i want to know how can i prevent users from directly entering …

Member Avatar for jc364
0
924
Member Avatar for Asimina

Hi guys, i have a for and lets say 4 checkboxes i want to get the values of the checkboxes that are checked & to get the values of the checkboxes that are not checked. so if someone check the A & C checkbox i will get that A&C has …

Member Avatar for essential
0
341
Member Avatar for 5ophie2012

Hello! I'm currently working on a program for class and I'm stuck. Here's the directions: 1.) Read one integer, n, from file: data.dat (the number "21" is in this file) 2.) The program (4 methods) will loop n times, using indexes 1 to n. 3.) Each time through the loop: …

Member Avatar for james6754
0
158
Member Avatar for balwin

i have written the code and tried to compile, but it always say that the file can't be read, yet i have put the same name file in one directory with the c++ file. need your help so can read the file on my mac.. #include <iostream> #include <fstream> #include …

Member Avatar for Fbody
0
177
Member Avatar for vddmanikanta

Hai everyone Can u please help me in writing a basic singleton programme in C++ and please explain code that are specially used to make the class singleton else please send a link where I can get the same Thanq Have a nice day

Member Avatar for mike_2000_17
0
170
Member Avatar for samm22

Hi, Am trying to create a multipage (or multitab) user form and each one of page (tab) has several textboxes in it. After user enters the input in the textboxes, the data goes into an xml file. All I wannna know is, what is the syntax for getting inputs from …

Member Avatar for codeorder
0
135
Member Avatar for kiranbvsn

Hi all, I am new to the deployment, Recently one of our web application (Right now we are using it as a intranet application) needs to be deployed at onsite (USA), can u please suggest what are all the necessary conditions to be full filled in general when an application …

Member Avatar for Fortinbra
0
195
Member Avatar for Rpower

I'm working on a site(asp.net/VB/sql some html) that needs to have a user login that would allow the user to see pricing, special documents etc. I do not need a community type site login where users have access to directories or pages. What I need is a good way to …

Member Avatar for Fortinbra
0
111
Member Avatar for soft_coder

Hi! I am trying to find the length of a video file using the following code: [CODE]Microsoft.DirectX.AudioVideoPlayback.Video video = new Microsoft.DirectX.AudioVideoPlayback.Video(path); StringBuilder sb = new StringBuilder(); sb.Append(video.Caption); sb.Append("\r\n"); sb.Append(video.Size.Width.ToString()); sb.Append( "\r\n"); sb.Append(video.Size.Height.ToString()); sb.Append("\r\n"); sb.Append(video.Duration.ToString()); textBox1.Text = sb.ToString(); [/CODE] But in order to use this code I need to add reference …

Member Avatar for Fortinbra
0
212
Member Avatar for DecreaseEntropy

[code] # nth_prime.py def nth_prime(n): primes = [2] test_int = 1 while len(primes) < n: test_int += 2 for p in primes: if test_int % p is 0: break else: if p is primes[len(primes)]: primes.add(test_int) return primes[n - 1] while True: try: num = int(input("Enter a number:\n")) print(nth_prime(num)) except ValueError: …

Member Avatar for woooee
0
236
Member Avatar for ben.marks

Hi there, Got a javscript problem that im working on where the validation doesn't do what I think it should. From stepping through the code, when the [B]pound and pence fields on the form are blank[/B], but the [B]name is filled in[/B], it should error at "Please fill in value …

Member Avatar for hielo
0
147
Member Avatar for LianaN

Hi! I'm trying to create borders around JLabel components. However, the line [ICODE]c[i].setBorder(border)[/ICODE] cannot be compiled. Please, help me to improve this code. Thanks! [CODE] public void mouseReleased(MouseEvent e) { if (Menu.getgroup()) { Component[] c = getComponents(); Border border = LineBorder.createGrayLineBorder(); for(int i = 0; i < c.length; i++) { …

Member Avatar for LianaN
0
94
Member Avatar for TJJamal

[CODE=PHP] $query = "SELECT * FROM VISITOR"; if($result = $VISITOR->query($query, SQLITE_BOTH, $error)) [/CODE] Fatal error: Call to a member function query() on a non-object in ...file path. I keep getting this error. Can anyone help? Thanks

Member Avatar for TJJamal
0
114
Member Avatar for radujit

I have two tables Banks(Bank_id, Bank) FX (ID, Bk_id, currency, trans, value) Banks and FX are innerjoined on Banks.Bank_id=FX.Bk_id. in the original table in database: [CODE]Code: ID Bank Transaction type Currency Value 1 X Buy EUR 1 2 X Sell EUR 2 3 X Buy USD 3 4 X Sell …

Member Avatar for smantscheff
0
116
Member Avatar for javanew

i have 3 months to learn my course Data Base Management System, where i must make a project. I have chosen to make a software to dentist clients. Please help me with any ideas, my entity , my relationships, is it easy to make or hard??? i am null in …

Member Avatar for Ezzaral
0
484
Member Avatar for basketball8533

Hey guys can you help me convert this code into java... i started a little... [CODE] def minEditDistR(target, source): """ Minimum edit distance. Straight from the recurrence. """ i = len(target); j = len(source) if i == 0: return j elif j == 0: return i …

Member Avatar for DecreaseEntropy
0
152
Member Avatar for yen chin

Hi, I'm yen. Recently, I am doing my thesis project on the topic of Genetic Algorithm with Integer representation. Anyone can help me to write a simple program to solve the Travelling Salesman Problem by using Genetic Algorithm which is in integer representation? The task is to find the shortest …

Member Avatar for jonsca
0
123
Member Avatar for Ascaris

Hi there. I was trying out a relatively simple program to convert a line of text into a 2-D string array which each word in a different row but it isn't working. The program is [CODE] #include <iostream> void main() { int i, j, k=0; char line[30]={"This is a test"}, …

Member Avatar for Ancient Dragon
0
294

The End.