64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for hiddepolen

Hi guys, I have a little question. When I make a dialog in Visual C++ 2010, with the Dialog Editor, you can Drag and Drop buttons, Edits etc. I can also test my dialog. The buttons and edits look very nice, the Windows 7 style. However, when I compile my …

Member Avatar for hiddepolen
0
189
Member Avatar for Vv IVIatthew vV

hey, i'm writing a piece of code and i got an error that i really don't understand. The code is below, but i had to post it all because i can't even understand the error, so i posted it all. The Error: [QUOTE]1>main.obj : error LNK2019: unresolved external symbol "int …

Member Avatar for Vv IVIatthew vV
0
344
Member Avatar for DrueY

I initialize a string, then I set it to something else, I later get it and print it with a button click BUT the first time I click the button I get the original string " ". A few seconds later I click again and this time the string is …

Member Avatar for DrueY
0
116
Member Avatar for tim8w

Is there a way to launch a Modeless Dialog that stays active even when a Modal Dialog is launched? Can I put the Modeless Dialog in a seperate Thread or something like that?

Member Avatar for tim8w
0
262
Member Avatar for shredder2794

Hello all, I am trying to make a program in visual basic 2010 where the user enters hours minutes and seconds into text boxes and then the program will count down from that until its equal to 0 when a msgbox appears and says its finished. I was converting hour …

Member Avatar for codeorder
0
551
Member Avatar for muppet

I have a machine logging production info to a database whenever certain conditions change state, so pretty much randomly throughout the day. The plant runs 24/7 so data is continuously flowing into it with about 500 entries in a 24 hour cycle. The shifts are strictly time based and are …

Member Avatar for smantscheff
0
85
Member Avatar for jward50

Hi I am a bit rusty with SQL, not used it for about 8 years so would appreciate a bit of help. I have three tables, normalised, organisation, stores org_name and org_id ativities stores activity_name and ativity_id org_activity stores org_id and activity_id I need to get a list that contains …

Member Avatar for jward50
0
96
Member Avatar for parth27987

Hello people, Need help with this code here. This code suppose to print blocks of char assigned by user with certain rows and column also assigned by user. For some reason it is giving me error and i don't understand what the problem is Help will be greatly appreciated. Thanks! …

Member Avatar for parth27987
0
211
Member Avatar for sallubhai

Hi, How can I print this figure if I have an array like this? It should be a for-loop but don´t know how. [CODE] labyrinth = \ [[0,0,0,0,0,0,1,0], [0,1,0,1,1,1,1,0], [0,1,1,1,0,1,0,0], [0,1,0,0,0,0,0,0], [0,1,1,0,1,1,1,0], [0,0,1,1,1,0,0,0], [0,1,1,0,1,1,1,0], [0,1,0,0,0,0,0,0]] [/CODE] figure: ############. ## ## ##. . . . ## ##. . . ## #### …

Member Avatar for TrustyTony
0
154
Member Avatar for The_Result

Hello, I've been teaching myself on how to code with perl. My current project that I am working on is socket programming. I would like to transmit a message from one server to another. When I attempt to execute my client code, the following error displays, "send: Cannot determine peer …

Member Avatar for mitchems
0
113
Member Avatar for sciprog1

Hello Members, The following problem has troubled me for sometime now: I have an applet called FileA.java. It has two classes both of which are JPanels. Both these JPanels are then added to the applet in the public class of FileA.java. I use BlueJ. The program works well offline on …

Member Avatar for sciprog1
0
99
Member Avatar for parth27987

Hello people, This is first time i am using this site to get help. Any way to the point, The code provided below suppose to make a blocks of squares with certain rows and column. All the field, rows and columns are controlled by user. User can also choose which …

Member Avatar for SgtMe
0
209
Member Avatar for edwoodt

hi, i'm using phpmyadmin & would like to create an additional field in the following table. Field // Type Collation Attributes Null Default Extra Action user_id // int(10) first_name //varchar(20) last_name // varchar(40) email // varchar(80) pass // char(40) user_level //tinyint(1) active // char(32) registration_date// datetime the field would be …

Member Avatar for smantscheff
0
187
Member Avatar for Binika

Please help! I need to write a programe, that would draw a picture like this: [URL="http://yfrog.com/6ptreelj"]http://yfrog.com/6ptreelj[/URL] I've tried with recoursion but it doesn't work properly. from turtle import * [CODE]tree(n, lenght): if n == 0: lt(90) fd(lenght) rt(45) fd(lenght/2) bk(lenght/2) lt(90) fd(lenght/2) bk(lenght/2) rt(45) else: rt(135) tree(n-1, lenght/2)[/CODE]

Member Avatar for ultimatebuster
0
164
Member Avatar for gunnarflax

I'm trying to create an object derived from the MySQLi object to easier handle database connections for my application. The thing is that I do not know how I shall be able to initalize the connection and keep it contained in the object. Let me illustrate what I mean: [CODE] …

Member Avatar for gunnarflax
0
133
Member Avatar for benjaminFowl87

Hi, I posted this in the Computer science area but am assuming not many people use that place. I want to create a mini gocompare site, what sought of thing would i need to do to create something like this?

0
76
Member Avatar for ekkanh

Hi How can I delete a file after a certain time? for example if I want to delete a file after 08.30 has passed? do I use import OS? and import time?

Member Avatar for richieking
0
406
Member Avatar for anthonys1mom

I finished a program to convert from decimal to binary, octal and hexadecimal. Now I want to use that program as a jumping off point to show polymorphism in C++. I am just going to copy/paste the instructions I am working with so that I don't mess it up with …

Member Avatar for anthonys1mom
0
762
Member Avatar for LianaN

How could I synchronise the timer with some process that runs during X seconds. I need the timer to count seconds only if the process is running. If the process is terminated, then the timer must stop. [COLOR="Red"]Most important is that the process execution time is not known apriori.[/COLOR] Otherwise, …

Member Avatar for LianaN
0
220
Member Avatar for murtazamzk

Here is an amazing program to create a tic-tac-toe game in vb.net.First of all in design view place 9 buttons.Then apply the code below. Public Class Form1 Dim test As Boolean Dim c1 As Boolean Private Sub b1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles b1.Click, b2.Click, b3.Click, b4.Click, …

0
98
Member Avatar for showman13

OK, so I've read that it is possible to use session variables across multiple sub-domains and domains by placing the following in the .htaccess file on each of the prospective domains: php_value session.gc_maxlifetime 14400 php_value session.cookie_domain ".domain_name.com" where domain_name.com is the domain where the session was initiated. I know this …

Member Avatar for showman13
0
267
Member Avatar for showman13

Good Morning. I'm hoping someone can tell me why this isn't working, or maybe if it isn't supposed to work. I've been reading on various websites that you can use variables within CSS if you don't save the style sheet as a .css, but rather as a .php and just …

Member Avatar for showman13
0
100
Member Avatar for hazeeel

Hey guys! Much help needed here! I am a student doing a protein structure alignment algorithm which is my final year project, using various forms of translation, rotation & computing the RMSD. From line 164: This is my loop calculation, basically it computes the Root Mean Square Deviation (RMSD) of …

Member Avatar for hazeeel
0
178
Member Avatar for Pokenerd

I know this is strange, but i have a simple syntax question. Right now I'm working with a thread in the following format. The use of "setDaemon" in the run function does not work, as you apparently must set Daemon before you start the thread. [ICODE]new Thread() { @Override public …

Member Avatar for Pokenerd
0
143
Member Avatar for Misklahr

Hi I'm new to java, and I'm trying to make a very basic game. The problem is that i have 3 classes that cooperates and I can't get one of the values from class "Board.java" to "gp1.java". In Board i have a button that "rolls the dice" x2 and adds …

Member Avatar for Misklahr
0
359
Member Avatar for Anthony Cameron

Hello, I need help to fix a perl script that obtains a DNA file with a FASTA sequence and randomly shuffle the sequence while maintaining the overall distribution of bases. I must also randomly shuffle the sequence 10-20 times. Then measure the similarity between the shuffled sequence versus the original …

Member Avatar for d5e5
0
1K
Member Avatar for pikkas

hi guys, i am trying to populate a listbox the number of the current month in listbox. and i am using an onload event of the body but it doesnt works. any help please?. i am new on javascript. [CODE] function dat(){ var date=new Date(); var Month= toString(date.getMonth()+1) this.Monthlistbox.options=new Option(Month,Month,true,true); …

Member Avatar for mahavir123
0
147
Member Avatar for ceyesuma

Hello I am not sure what is getting serialized. I would like to serialize a JInternalFrame. So what do I send my SaveFrame.java. because it puts a file "null.dat" in the folder. I sent the frame got null.dat sent something I thought was the class of the frame (as shown …

Member Avatar for ceyesuma
0
146
Member Avatar for roachae

I'm pulling a date value (not a datetime value) from a MySQL database, but I need to subtract 30 days from that date, and not sure how to do it. I found a sample using mktime() to break up the day-month-year and subtracting 30 days from the 'day' component, but …

Member Avatar for hielo
0
365
Member Avatar for elsiekins

theoretically - when using unint16_t (unsigned integer of size 16) I have two arrays of these unsigned int and i am going to use [CODE]memcmp[/CODE] for example: [CODE] uint16_t a[ARRAYSIZE] = {0,1,2,3,4,5,6,7,8,9,10}; uint16_t b[ARRAYSIZE] = {0,1,2,3,4,5,6,7,8,9,10}; if (memcmp(a,b , sizeof(uint16_t) * 16) == 0) { return true; }else { return …

Member Avatar for Ancient Dragon
0
125
Member Avatar for burcin erek

there are two scripts, first, square.h second square.cpp this test program is trying to calculate square and cube of the given number but i have a problem with cube function definition. [CODE] #include <iostream> #include <conio.h> using namespace std; class square { int x; public: void set_values (int); int erek …

Member Avatar for alaa sam
0
138
Member Avatar for neosonic

I put one smaller picture box inside the bigger picturebox. The annoying thing is, I cannot have a good picture, because the my smaller picture is in rectangle shape, while the smaller picture box is in square. So there is a residual space in the smaller picture box that I …

Member Avatar for AndreRet
0
285
Member Avatar for shane1987

Array of Random Numbers Write a program called Random50 that fills an array with fifty random values between 1 and 999. However, before a random value is entered into the array the program must check that the number generated is not already in the array. If it is already present …

Member Avatar for lee.j.baxter
-1
5K
Member Avatar for tunde011

Hello all, I am hoping you point me in the right path here. How do I open a workbook when a value in the listbox is clicked? Thankyou

Member Avatar for AndreRet
0
209
Member Avatar for LianaN

Hi! I want to create a stopwatch that will counter seconds starting from 0. This code worked in case of a real time counter (using Calendar). However, now the counter is fixed on 0. Does anybody know what could cause an error? Thanks! [CODE] timer = new javax.swing.Timer(1000, new ActionListener() …

Member Avatar for apines
0
104
Member Avatar for gee_azizi

Hi, in my VB6 app, there are ADMIN and USER type that can log in. Is it possible that ADMIN can monitor USER activities like when they delete the data, who had log in into the app and else? Thank you

Member Avatar for AndreRet
0
256
Member Avatar for SkyVValker

I am using the code below to update the fields in a table.bt it update only first recorde ..where m i doin wrong plzz. help me..! [CODE] StChk.Open "SELECT * From SPINF WHERE STATUS='Active'", Con, adOpenDynamic, adLockOptimistic FeeTrans.Open "select * from TBLFEE ORDER BY VOUCHERNO", Con, adOpenDynamic, adLockOptimistic Do While …

Member Avatar for AndreRet
0
90
Member Avatar for Tiny_trixer

I was wondering. Is there a way to write something from one method in to a result file instead of outputting to screen? To describe a little better, in pseudocode: [CODE] #include <iostream> #include <fstream> using namespace std; class Inputoutput { private: ifstream fileOne; ofstream fileTwo; int i; //More variables …

Member Avatar for drkybelk
0
139
Member Avatar for rolyestemonio

Hi Guys, Can anyone help me out about displaying 10 data from my database?My codes goes like this. I have 4 fields (id, local_title, local_desc, local_date ) [CODE] <?php $last_date = ""; $result = mysql_query("SELECT * FROM tbl_localnews ORDER BY local_date DESC"); while ($row = mysql_fetch_array($result)) { for($i=0; $i<10; $i++){ …

Member Avatar for rolyestemonio
0
174
Member Avatar for purvi12345

It involves ASP ADO for connecting to database..I'm using microsoft access table... I'm a novice to web-development field... :( I know how to make table choice and display it through VB-Script,but don't have a clear idea for display of only desirable coloums,PLZ HELP..with it's ASP-code ,I tried a LOT! ITS …

Member Avatar for purvi12345
0
84
Member Avatar for krip_101

I am getting an array out of index error 26 pls I really need help. [code]import java.util.*; import java.util.Random; import java.lang.*; public class testing1 { public static void main(String[] args) { String pass = new String("ENTER THE HAMLET HAM TO BE OR NOT TO BE THAT IS THE QUESTION WHETHER …

Member Avatar for JamesCherrill
0
103
Member Avatar for gunbuster363

I've learn python and I won't say that I know it all, but I won't see anywhere except google will use python. New programming language like python and ruby, do they have space to grow?

Member Avatar for convoluted
0
309
Member Avatar for Eric Cute

Hi guyz. I know this is a simple one but Im a bit confused in doing this. Basically, I want to get the Screen Resoultion of the client machine using my JSP. I have this code in my Bean. [CODE] Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); return screenSize.getWidth(); [/CODE] Problem is it …

Member Avatar for Eric Cute
0
307
Member Avatar for saideepthi.bits

[code=php] <html> <head> <title> ftp php test page</title> <?php $ftp_server = "10.209.152.220"; $ftp_user = "deepthisk"; $ftp_pass = "Hatepwd1"; // set up a connection or die $conn_id = ftp_connect($ftp_server) or die("Couldn't connect to ".$ftp_server."\n"); // try to login if (@ftp_login($conn_id, $ftp_user, $ftp_pass)) { echo "Connected as ".$ftp_user."@".$ftp_server."\n"; } else { echo …

Member Avatar for saideepthi.bits
0
3K
Member Avatar for kezkez

Hello, I am trying to return the union of two ArraySet Strings as a third; however, the compiler is complaining: found : jss2.SetADT<java.lang.String> required: jss2.ArraySet<java.lang.String> union = one.union(two); I was thinking I could pass an ArraySet<String> as the parameter but unfortunetly I am stuck here. Any suggestions on how to …

Member Avatar for kezkez
0
104
Member Avatar for dnambembe

Hi, I am writing a code that reads input from user to create a linked list database at the same, time it write the data received in to binary file. when I run the program is supposed to prompt the user to enter the data for ten time, however the …

Member Avatar for dnambembe
0
1K
Member Avatar for whiteyoh

Hi All, Im accessing a function with paticular parameters, but my response is not recognising the parameter of the count value. If I change the variable in the COUNT part of the query to a static value it works fine, but if i use the variable name it returns "undefined …

Member Avatar for whiteyoh
0
102
Member Avatar for sallubhai

Hi, Is there anyone who know which complexity these functions are? I mean O(n), O(n^2), O(n^3), n log(n) or log(n) 1. --------------------------------------------- [CODE]void bogosort_array(double a[], int length) { do shuffle_array(a, length); while (! is_array_sorted(a, length)); }[/CODE] 2. --------------------------------------------- [CODE]void reverse_string(char* s) { int n = strlen(s); for (int i = …

Member Avatar for sallubhai
0
209
Member Avatar for anglwthnati2de

Hi guys. I am hoping for a little help with this. I am pretty new to programming and just can't seem to get things right yet. Here is my code. It returns like 40 errors. Way messed up eh? [CODE]#include <iostream> #include <string> using namespace std; class Date { public: …

Member Avatar for anglwthnati2de
0
204
Member Avatar for LianaN

Hi! I would like to add a timer to JTextField. However, my timer does not run. Could you, please, tell me what is wrong in my code. Thanks! [CODE] timerTask = new MyTimerTask(); timer.schedule(timerTask, new Date(0), 5000); // 5 seconds delay ... private class MyTimerTask extends TimerTask { @Override public …

Member Avatar for LianaN
0
83

The End.