199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for evertron

I created 2 classes and I need to pass Name, Dept., Birthdate and HireDate from the Employee class to the Date class. I get the month date and year from input prompts. The problem I have is how to get those dates for the employee passed into the date class. …

Member Avatar for slate
0
137
Member Avatar for atticusr5

Hello all, I have a question that is more based off of a unique occurrence (unique for me having no real prior php knowledge). I am trying to create a webpage where a user inputs a password, and a php reads the user inputed key and then compares it to …

Member Avatar for atticusr5
0
135
Member Avatar for TSims11

So I need to be able to close a window when I open another window... Here is my code: [CODE]private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { Form2 ^form2 = gcnew Form2(); form2->Show(); Form1->Close(); }[/CODE] All this does is close both windows... If you guys could help out a noob to …

Member Avatar for TSims11
0
277
Member Avatar for Agnusmaximus

Hi, I'm new to DaniWeb. I have question regarding bots, specifically internet bots. How are they made and how do they perform automated tasks? Are they programs that repeatedly perform clicks at certain locations? Or are they programs that use internet functions such as cURL?

Member Avatar for Agnusmaximus
0
141
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 teedoff

Ok I have created a simple form in order to build new product pages using php. I wanted to be able to have a simple form that a data entry person here could input text and such areas as page titles, meta content, brand names, and other text on the …

Member Avatar for teedoff
0
1K
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 achava

This one ought to be extremely easy for experienced xslt-ers. I have an html file, and in it are things like <div class="ghoul"></div> <div class="vampire></div> and so on. In my stylesheet, I have different things to do with the div's depending on the class. So I have <xsl:template match="div"> <xsl:choose> …

Member Avatar for achava
0
542
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 jayzeus12

working on a project for school and can't seem to figure out the for loop for making a polygon in a windows form. We have a set code that we have to follow but the teacher hasn't covered anything for window forms. And I don't understand what is meant by …

Member Avatar for jayzeus12
0
198
Member Avatar for george_82

Hi All, Can somebody explain what is the difference between (char*) and (char**). I am just looking for an explanation of in byte level. Also please refer any documents related to this. Thanks

Member Avatar for sree_ec
0
89
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 GeorgeObl

Hello! I need some help with writing a binary tree class. There are two methods that I have no idea how to approach: 1) Finding the left-most leaf. Example: ...............A............ ............../.\........... .............B...C........... ............/..../\.......... ...........D....E..F........ .............../.............. ..............G.............. ............./.............. ............H.............. .........../.............. ..........I.............. In this case, "I" would be the left-most leaf. Now, …

Member Avatar for GeorgeObl
0
144
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 arunapad

Hi , I am trying to create a Map that will have vector as its key and an integer as value. Each vector will be a member of a particular structure. I am new to using maps. When i tried the code below: I am getting duplicate entries in the …

Member Avatar for arkoenig
0
336
Member Avatar for treger69

I keep getting the wrong answer...I have a homework problem I have been trying to understand but have resulted in a headached. Using the code shown below, select the correct output for an input of -1: [CODE] Input Number If Number < 0 Then Write “1” Else If Number ==0 …

Member Avatar for Software guy
0
91
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 rajeesh_rsn

Hi friends, In one of my web page I want to show an image preloader. ie When I clicked on the small thumbnail in my web page then the main large image will load. My code looks something like this [ICODE] $("#images li").click(function(){ var image=this.href; $("#mainImage").attr('src',image); });[/ICODE] I want to …

Member Avatar for Airshow
0
104
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 bspace

How do you escape a colon in JavaScript? I've tried several fixes (backslashes, hexadecimal code) and no luck.

Member Avatar for ko ko
0
109
Member Avatar for maggie_fairy

im a first year engg student. i need 2 make a report on cryptography and i need the source code in C for caeser cipher. as it so happens im not very good at c programming... please help can u tell me wats wrong wid this program? #include <stdio.h> void …

Member Avatar for darkbreaker
0
324
Member Avatar for Futchy

so i just started this programming class in school today, im having alot of trouble, i dont want everyone to do the work for me, but i would love for you guys to tell me what needs to be done, i know this is alot to ask so if anyone …

Member Avatar for darkbreaker
0
417
Member Avatar for Ineptprgrmr

Below are instructions of what is required of me and i have tried to write the program. can someone point to a right direction because i have confused myself in middle and i am stuck. Please help! Write an employee class to encapsulate a users name, wage and hours worked. …

Member Avatar for Ineptprgrmr
0
156
Member Avatar for sahib28
Member Avatar for jon.kiparsky
0
60
Member Avatar for khushbooatkol

[CODE]echo"<td bgcolor='#FFFFFF'><a href=\"update.php?emailid=".$rows['emailid']."\"><img src='library/edit1.gif' border='0'></td></tr>";[/CODE] I want to change the image 'edit1.gif' to 'edit1-o.gif' onmouseover and back to edit1.gif onmouseout event.how to do this while staying in these php quotes? TIA

Member Avatar for ko ko
0
92
Member Avatar for oggiemc

Hi, The following code works fine: [code=c] // main.cpp #include "Dog.h" void details(Dog x){ cout << x.height << endl;} int main() { int h,w; vector<Dog> vect; cout << "Please enter 3 dogs measurements: "<< endl; for(int i=0; i<3; i++){ cout <<"\nInput height:" <<endl ; cin>> h; cout <<"Input weight:" <<endl …

Member Avatar for oggiemc
0
143
Member Avatar for tomeemot

I found a php mail form online that echos a text success message, but need to redirect it to a new page instead. I love all the functions in the code except for the text echo. I tried <input type="hidden" name="next-url" value="test.com"> and <? header(Location: file.php); ?> but the form …

Member Avatar for emodweb
0
518
Member Avatar for yuri1969

Hi, I would like to make an threaded app which would use pthreads. I made a linked list and I put references to running threads here. I know that operations of adding a new thread reference to the list and removing a thread reference from the list after the thread …

Member Avatar for yuri1969
0
178
Member Avatar for markhowe56

i have a problem with a photocopying machine task i need to right class called photocopier and add the code to create the instance variables powerStatus, an integer instance variable ( -1= standby, 0=Off and 1 =On) letter, a string instance variable for (none, general, form,menu and paper) copying a …

Member Avatar for masijade
0
100
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 slatk3y

Hello, I want to redirect stdin and stdout of "cat" program to my program. For example if I type "cat" in terminal, and enter input and press enter it outputs the same string I entered. In my c program I am trying to use pipes and dup. I cannot figure …

Member Avatar for slatk3y
0
246
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 alokas88

I want to learn ASP.net and VB.net . Can anybody reccommend a proper site or some resource so that i can start from scratch . Something like w3 schools .

Member Avatar for mjhurdle
0
117
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 lochnessmonster

[CODE] void DllInjection::injectCode() // should i turn all this into throws as well :/? { if ((processHandle = OpenProcess( PROCESS_CREATE_THREAD | PROCESS_QUERY_INFORMATION | PROCESS_VM_OPERATION | PROCESS_VM_WRITE | PROCESS_VM_READ,0,processID)) == NULL) { _InjectionStatus = CREATEHANDLE_ERROR; return; } if ((memoryAddress = VirtualAllocEx(processHandle,NULL,wcslen(dllName.c_str()),MEM_COMMIT,PAGE_READWRITE)) == NULL) // check third argument, it wouldn't let me …

Member Avatar for thelamb
0
106
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 Puster

Hello! Yes, well, I am started to make a upload fucntion. question number one: I've made a if statement that should recognize what file extension the file has, if it has a .png extension it would be inserted into the picture database, and if it is a .txt file it …

Member Avatar for madCoder
0
132
Member Avatar for callyvan

I am hurting here, been tasked with trying to add a bunch of new content to this script, but since it was written 10 years ago and continuously patched up badly since then, I have no clue what does what anymore..can someone comment in text that will at least explain …

Member Avatar for d5e5
0
345
Member Avatar for gunbuster363

python.org tell people to forget about python 2 and head into python 3, but many 3rd party module do not support python 3 at all. For example, python 3 only ship with a tkinter gui module which does not have great reputation. If I am to use python 3, I …

Member Avatar for richieking
0
223

The End.