199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for PythonNewbie2

[url]http://www.actionmachinepro.com/[/url] It has a nice UI and uses simple timers and classes for creating tasks (or so it seems) What do you think it was coded in? And how long do you think it would take to make something similar to it?

Member Avatar for gusano79
0
116
Member Avatar for bettybarnes

im having a problem with my database this is my partial screenshot of the form: [URL="http://i43.photobucket.com/albums/e355/bettybarnes/untitled.jpg"]http://i43.photobucket.com/albums/e355/bettybarnes/untitled.jpg[/URL] i want to have a form with the list of employee's id & names on the left side, and when i click it, it will display on the Personnel/employee tab? I don't have a …

Member Avatar for Alexpap
0
127
Member Avatar for Jaydenn

[CODE] using (var sr = new StreamReader(Misc.tempFile)) { using (var sw = new StreamWriter(Misc.path + "test.dat")) { while ((line = sr.ReadLine()) != null) { for (int i = 0; i < detailViewer.SelectedIndices.Count; i++) lineToDelete[i] = Encryption.encrypt(detailViewer.SelectedItems[i].SubItems[0].Text) + "," + Encryption.encrypt(detailViewer.SelectedItems[i].SubItems[1].Text) + "," + Encryption.encrypt(detailViewer.SelectedItems[i].SubItems[2].Text); if (line != lineToDelete[detailViewer.SelectedIndices.Count - 1] …

Member Avatar for Jaydenn
0
222
Member Avatar for snigger

I wrote this round robin code and I want to calculate Response Time and Throughput [code] #include <stdio.h> #include <stdlib.h> // Data Structures typedef struct process{ char jobName; int arrivalTime; int execTime; struct process *next; } P; typedef struct result{ char Name; struct result *next; } result; // End of …

Member Avatar for Adak
0
2K
Member Avatar for rahulephp

I am a php programmer but I am not so good with XML files. For a price comparison website, I need to parse the Amazons XML feed to store product data into the database. Can anyone please help me to find out such a simple script to parse Amazon XML …

Member Avatar for Kieran Y5
0
656
Member Avatar for arthurav

I use a mysql database with students and grades for a training program. I would like to create a dynamic form with one field that works like this: if i write the name in the form and press check, and the student exists, i want it to show me the …

Member Avatar for Graphix
0
174
Member Avatar for Monster Killer

Hello. I am developing an application and i needed for find if a certain IP:Port is online or not and keep updating it. At the moment i have it pinging the IP:Port every time a timer ticks, this works fine but every time it ticks, the application window freezes for …

Member Avatar for wb-dieingfriend
0
156
Member Avatar for valter

I have written a regex that works well except that it always puts the last word on a line of it's own. Can anyone see where I have gone wrong, this is my first attempt at regex. The text is of variable length. Basically my regex is trying to 1. …

Member Avatar for Geekitygeek
0
103
Member Avatar for Blackred

Hello, first post so be kind ;) I'm using the ModalPopup to display a loading message when the user clicks on an imagebutton. The problem here is that while the ModalPopup is on screen, the button event doesn't fire so the page doesn't do anything - it just sits there …

Member Avatar for gauravkukreja06
0
640
Member Avatar for dansnyderECE

0 down vote favorite I'm trying to figure out how exactly to use stat() to capture information about a file. What I need is to be able to print several fields of information about a file. So.. [CODE] #include <iostream> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> using namespace std; int …

Member Avatar for dansnyderECE
0
519
Member Avatar for herberwz

My button is not gaving out any action when clicked: (libraryBtn): [CODE]package LibraryDatabase; import static javax.swing.JOptionPane.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; public class PostLibraryDatabase extends JFrame implements ActionListener { // Text Fields XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX JTextField firstName, surName, id, serialNumber, category, dateToday, coverTitle, isbnNumber, authoursName, coAuthoursName, pubDate, loanDate, returnedDate, email, details; …

Member Avatar for NormR1
0
117
Member Avatar for ivan3510

Hi all. I'm trying to create custom prompt. When I click on the button, appears custom prompt and ask "Do you realy want to submit?". When I click "Yes", the form isn't submited. Here's html code: [CODE]<html> <head> <link rel="stylesheet" href="look.css" type="text/css"> <script type="text/javascript" src="script.js"></script> </head> <body> <form name="novo" action="obrada.php" …

Member Avatar for ivan3510
0
628
Member Avatar for HumanBeing86

Anyone know where is my M+U result go?? [CODE]#include <iostream> using namespace std; template<class P> P add(P a, P b){ P result; result = a + b; return result; } int main() { int a1 = 5, a2 = 3; double b1 = 1.2, b2 = 2.3; char c1 = …

Member Avatar for Fbody
0
200
Member Avatar for Jaydenn

Hello, I'm having problems removing an array of lines from a text file. Heres my code: Ugh, I apologize. I can't get the conventions to correctly show on this post, I'm really sorry. [code] using (var sr = new StreamReader(Misc.tempFile)) { using (var sw = new StreamWriter(Misc.path + "test.dat")) { …

Member Avatar for Geekitygeek
0
140
Member Avatar for granix

hi everyone, i'm trying to develope a MATLAB code for error performance in various modulation and demodulation,but unfortunately,i get stuck in it,seems that i got a problem for calculating the errors.I'm trying to use QAM for wave(audio) file and calculate its error.As below is my prototype code,it give syntax error …

Member Avatar for mahesh.g.4u
0
305
Member Avatar for phplover

Hi, I am driving myself mad. I have not posted the full code but wondering if someone can help. I am testing a deletion of a record and file using the code below. The problem i am having is that although i delibrately remove the the variable $id from the …

Member Avatar for phplover
0
103
Member Avatar for Mecklar

I have a simple 2 option drop down menu which corresponds to a column in my database. The drop down menu is not populated by the database it is just used to update the data in that 1 column. However I was wondering if it would be possible to make …

Member Avatar for Mecklar
0
94
Member Avatar for NH1

What if the number i want to round is a decimal.? [code=c] /// <summary> /// Rounds a number to the closest multiple of another number. /// </summary> /// <example>83 rounded to closest 25 would give a value of 75 (83 is closer to 75 than 100)</example> /// <param name="num">The number …

Member Avatar for jbisono
0
192
Member Avatar for Nivass

Hi, I have painted the image on the panel and drawn rectangle. now i like to move the rectangle and i succeed on that. My problem is when i use panel.invalidate in paint or in mouse move, panle get refeshed every time (all the things getting blink every time when …

Member Avatar for Geekitygeek
0
112
Member Avatar for alsoumhi

Hi experts, I have a problem which is I can't write arabic text as values of table , here is the steps I have done , please help me and correct me if I am mistaken this is what I did: ************************************************** set names utf8 COLLATE utf8_general_ci; create database see; …

Member Avatar for MindSter
0
511
Member Avatar for D_switch

problem: a list represented using cursor based implementation contains all ACT, BSCS, BSICT, BSIT and BSMATH students. A dictionary is created implemented using open hashing for BSCS and BSIT students. Each grouping the dictionary is a list implemented using cursor based. given below is the definition of the LIST, Dictionary, …

Member Avatar for Luther von Wulf
0
105
Member Avatar for sugikrish

i frnds, Many times i try to retrieve image from database. Successfully it upload to database. but cant retrieve. any one know this? Thanks in advance....

Member Avatar for MindSter
0
56
Member Avatar for prerit

I have a HTML form Having two fields [B][I]From:[/I][/B] and [B][I]To:[/I][/B] both are [I][U]text[/U][/I] fields(to genereate a report).I want to use these data to query on two tables based on the date specified(DD-MM-YYYY) i.e from and to and using these to select values from the two tables visitor_in and visitor_out …

Member Avatar for Stefano Mtangoo
0
185
Member Avatar for Duki

Hey guys, I'm getting this error: [quote]1>GoblinRecruit.obj : error LNK2019: unresolved external symbol "public: void __thiscall Mob::set_data(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,int,int,int,int,int,int,int,int,int)" (?set_data@Mob@@QAEXV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HHHHHHHHH@Z) referenced in function "public: __thiscall GoblinRecruit::GoblinRecruit(void)" (??0GoblinRecruit@@QAE@XZ) [/quote] When I try to run this section of code: [code=c++] #include "Standard Libs.h" #include "Ability.h" class Mob { private: string …

Member Avatar for Duki
0
99
Member Avatar for PixelExchange

Does anyone know how to "disable" the windows taskbar.. or at least "hide" it, using Win32? I've seen it done in another program.. but I was clueless as to how the person did it. I would like to be able to display one of my programs on the entire screen, …

Member Avatar for PixelExchange
0
484
Member Avatar for sana_moi

hellow need your help there is my code i try to get the text from combobox & put it in request but when i wont to ut the result of the request in other texbox i figure out that the value is empty : [code]HSTMT hStmt; char* nbnk; int ret1; …

Member Avatar for sana_moi
0
101
Member Avatar for 333kyle333

Okay, this is probably gonna sound dumb, but I need to know if it's possible to take a variable held using C++ and make it an environment variable in a Linux terminal. If it makes a difference, I'm using Ubuntu Linux with the Gnome shell.

Member Avatar for 333kyle333
0
304
Member Avatar for backendcode
Member Avatar for ayooshkasmth

Hi, i have been trying in vain all day to assign child name to a parent id in an innodb table with foreign key. I can retrieve the parent id fine, but the problem is when i try to insert child name, PHP doesn't seem to be passing any values …

Member Avatar for MindSter
0
93
Member Avatar for dandixon

[url]http://www.dandesign.co.uk/steel/register.php[/url] above is the link to my register page, filling the form in works fine but if you leave it blank and click the submit button it removes the footer of my page, please someone help i really need to get this sorted heres the code to my page too, …

Member Avatar for MindSter
0
223
Member Avatar for ^Y^ nobody ^Y^

Hi, i'm making a program that outputs a lot of questions at 1 time. .... ?? .... ?? .... ?? and i want write the answers in front of the questions and input it in the same order... that would be like How are you? and i write the answer …

Member Avatar for Kanoisa
0
164
Member Avatar for arthurav

I use a mysql database with students and grades for a training program. I would like to create a dynamic form with one field that works like this: if i write the name in the form and press check, and the student exists, i want it to show me the …

Member Avatar for javaAddict
0
117
Member Avatar for vgd

I am not getting a efficient way to solve the problem, the time taken i more than 5 sec while the time alloted for this problem is 1 sec .so please help me .please give me a answer using collections. ========== EASY - 2 ========== The great pirate Khurafati and …

Member Avatar for jon.kiparsky
0
158
Member Avatar for sami.asanga

Im getting an sql error saying "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1" These are the 2 queries... $sql = "DELETE FROM tbl_category WHERE cat_id=$cid"; $sql2="INSERT INTO tbl_sales …

Member Avatar for sami.asanga
0
111
Member Avatar for cristi08

Who can repair this it really a wizard. I try to add a column to an existing table. It a compound foreign key column from ather two. [CODE]ALTER TABLE valoare_lucrari ADD COLUMN id_oferta FOREIGN KEY (id_ofertant, id_proiect) REFERENCES valoare_lucrari(id_ofertant, id_proiect)[/CODE] It may be a problem of sintax or even it …

Member Avatar for cristi08
0
75
Member Avatar for anz2050

Hi I want to capture the output into java varible of one of the command line statement. The command line statement is as below: [COLOR="Green"][B]..\_jvm\bin\java.exe -cp ..\DataLoader.jar com.salesforce.lexiloader.security.EncryptionUtil <option> <password>[/B][/COLOR] Infact this is the command line utility thru which I encrypte my password, if i do manually. [B]But I want …

Member Avatar for anz2050
0
248
Member Avatar for faizahamed
Member Avatar for TrueVb.NetNoob

Hi Everyone! I have trouble in finding a way to hide or let certain amounts of items be unable to see in a listbox. Here is what I have done so far [CODE]Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged Select Case ComboBox1.Text Case "Snacks" ListBox1.Items.Insert(0, …

Member Avatar for TrueVb.NetNoob
0
2K
Member Avatar for Ghost34

i recieving error on rs.open up to conn on private sub cmdlogin [CODE]Dim conn As ADODB.Connection Dim rs As ADODB.Recordset Dim sql As String Dim cmd As ADODB.Command Dim button As String Private Sub ConnectToDB() Set conn = New ADODB.Connection conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" & App.Path _ …

Member Avatar for kinwang2009
0
210
Member Avatar for udaraps

Hi all im doing a project on bed ordering system. There i'm using some text boxes to display the selected bed item's description ( like manufacturer, size of bed & price of bed). When the user input the value for the quantity text box & click on the add button; …

Member Avatar for abu taher
0
123
Member Avatar for Roses89

Hey guys, Im using asp.net in visual studio and im kinda new to the whole thing. Im actually making a multi view form, and in the second view i need to calculate a persons age based on the date of birth that has been typed in view 1.Anyone know how …

Member Avatar for virusisfound
0
909
Member Avatar for parijat24

[QUOTE]The actual file is as follows [/QUOTE] [CODE]>sp|P81928|140U_DROME 67 198 Tim17 8.9e-19 No_clan >sp|P20905|5HT1R_DROME 179 507 7tm_1 1.1e-97 CL0192 >sp|P28285|5HT2A_DROME 243 805 7tm_1 3.2e-73 CL0192 >sp|P28286|5HT2B_DROME 107 588 7tm_1 7.2e-82 CL0192 >sp|P13368|7LESS_DROME 439 520 fn3 1.4e-10 CL0159 1313 1380 fn3 3.4e-05 CL0159 1800 1890 fn3 3.6e-12 CL0159 2209 2481 Pkinase_Tyr …

Member Avatar for TrustyTony
0
153
Member Avatar for ftl25

I have a look up table as follows: [CODE] // A structure to hold all the commands and function pointers typedef struct { char functionName[256];// The function name is used to refer to the function pointer int (_stdcall *myfunction)(char *, char *); // This defines the function pointer } LOOKUP_TABLE; …

0
40
Member Avatar for creeps

I'm going through K.N. King's introductory [i]C Programming: A Modern Approach (2e)[/i] and every time I see the code in the book, I can't help but wonder what's the better way to write your code in the following situation. Should I use the curly brackets or not, and how much …

Member Avatar for [Alpha]-0mega-
0
200
Member Avatar for parijat24

hi, I am again involve in solving one trivial problem , that is I have a text file in which large number of entry are there like proteinid[COLOR="red"][/COLOR] sp|P13368|7LESS_DROME fn3 fn3 fn3 Pkinase_Tyr sp|P14599|A4_DROME A4_EXTRA APP_amyloid sp|P09478|ACH1_DROME Neur_chan_LBD Neur_chan_memb sp|P17644|ACH2_DROME Neur_chan_LBD Neur_chan_memb sp|P04755|ACH3_DROME Neur_chan_LBD Neur_chan_memb sp|P25162|ACH4_DROME Neur_chan_LBD Neur_chan_memb sp|P16395|ACM1_DROME 7tm_1 …

Member Avatar for parijat24
0
135
Member Avatar for danholding

hiya guys n girls, i am making a prgram where it sorts a list of files and pulls the 6 most recent files.. that is fine but i need it to pull 6 different dates ie... (this is what it does now test1 - 24/06/10 test2 - 24/06/10 test3 - …

Member Avatar for danholding
0
146
Member Avatar for Ellitivity

OK. So I'm making a simple game that is a car that moves around the screen according to the arrow keys. i have made code to rotate the car inside the picturebox, but i don't know how to make the car move in the direction that it is facing after …

0
58
Member Avatar for BLY

Hi all, I'm trying to create a method Load that will call a stored procedure,the source code has some problems,really need some guidance still new in C# Ok here's the code now with some minor adjustments rather than just getting one data,i'm planning on retrieving all the parameter just by …

Member Avatar for BLY
0
120
Member Avatar for hazeeel

[CODE] coordinates2[i][0]= Double.parseDouble(text2.substring(30,38));//X coordinates2[i][1]= Double.parseDouble(text2.substring(38,46));//Y coordinates2[i][2]= Double.parseDouble(text2.substring(46,56));//Z [/CODE] Can I do this: coordinates2[i][j]= coordinates2[i][0]+ coordinates2[i][1]+ coordinates2[i][2]; Is it possible to add them all together ?

Member Avatar for javaAddict
0
52
Member Avatar for SC0

Hey guys ... I'm using VB6 and I need some help I have 3 forms the first form contains "listbox" and "add" button and "edit" button the second one contains a bunch of textboxes and "save" button the third one contains labels now when I click add button it goes …

Member Avatar for SC0
0
109

The End.