199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for xfrolox

Ok in my Dialog3 i have Sound on / off Windows in top on / off Transparency Forms and a button2 to Save How i make it to save ? in the .ini i have this in it [CODE]<?xml version="1.0" encoding="UTF-8"?> <settings> [Audio Settings] Sound=1 [Windows Settings] WindowsinTop=0 [Transparency Settings] …

Member Avatar for xfrolox
0
99
Member Avatar for oneill

Hello Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i tryed to fix but (dont know if what it did is right, i dont have skills in php) now im stuck and i dont know where the problem is. Please take a …

Member Avatar for fumnimda
0
120
Member Avatar for tomtetlaw

Is there any functions that split a string? Such as this: [code=c++] string s1 = "lol-lol2-lol3"; string s2[3]; char spliter_char = '-'; split_strings(s1, s2, spliter_char); //s2 should now be: //{"lol","lol2","lol3"} [/code]

Member Avatar for sfuo
0
103
Member Avatar for JRabbit2307

I need help writing a program that prompts the user for five grades and then provides the user with an average for all grades entered. [code=vb.net]Module Module1 Sub Main() 'Declare Array called AverageGrades with 5 Elements Dim Grades(5) As String 'Write array elements to screen using For loop Dim index …

Member Avatar for TomW
0
112
Member Avatar for web3

I have a twitter clone and i was wondering how to display users tweets on his profile.

Member Avatar for CFROG
0
61
Member Avatar for akie2741

how can i extact the photo from this website>>[url]http://www.it.usyd.edu.au/about/people/staff/tomc.shtml[/url] ?

Member Avatar for vegaseat
0
178
Member Avatar for delia29

Hi, im new at computer programming and i need help to do the following algorithm. The algorithm must be in both pseudocode and flowchart. Please help. Thanks!  Calculate the weekly salary of employees for a given number of hours each employee worked for the week.  The NAME and …

Member Avatar for iamsmooth
0
112
Member Avatar for CPUTcoder

Hi guys. First time im using this site and i really hope you guys can help me...OK here goes. I need help on a multiform program I am working on, the program is quite simple but i need some help from you guys concerning the login form. Ok, i need …

Member Avatar for Vineeth K
0
137
Member Avatar for rapture

Another problem in my program is that I can't get my access database to update. It works on the other fields here is the code [code] Public Sub Lockuser(ByVal path As String, ByVal userId As String, ByVal access As Boolean) Dim sqlConn As OleDbConnection Dim oCommand As OleDbCommand Dim stmt …

0
107
Member Avatar for naush83

Hi, I am using active direcory based windows authentication in my intranet application as explained in the article [url]http://weblogs.asp.net/scottgu/archive/2006/07/12/Recipe_3A00_-Enabling-Windows-Authentication-within-an-Intranet-ASP.NET-Web-application.aspx#457094[/url]. Everything works fine. But I need a mechanism "Log in as another user" like in sharepoint portals. When user clicks on "Log in as another user" button, the borwser must prompt …

Member Avatar for naush83
0
191
Member Avatar for klackey19

hi everyone, I'm working on a project for one of my classes that parses a given grammar. I'm pretty sure I have coded it correctly but I keep getting the following list of linker errors: [Linker error] undefined reference to `assign(char)' [Linker error] undefined reference to `integer(char)' [Linker error] undefined …

Member Avatar for klackey19
0
892
Member Avatar for killerqb

When I declare a new Hashtable such as: String a = null; HashTable<string> = new HashTable(a, 100); It tells me HashTable is not a type. [CODE]#ifndef HASHTABLE_H #define HASHTABLE_H #include <iostream> #include <vector> #include <list> using namespace std; template <typename HashedObj> class HashTable { public: explicit HashTable( const HashedObj & …

Member Avatar for mrnutty
0
146
Member Avatar for paptamas

Hy everyione. I'm new here (@daniweb). I used in my web projects some open source wysiwyg editor, like FCKeditor. And I want to create a very simple wysiwyg editor. With html and javascript. To make text bold, italic, colors, etc. But how to start? Any ideas! Thank you in advance:)

Member Avatar for paptamas
0
115
Member Avatar for puk

Hi, I ve got php set up on my localhost using IIS 7 which all works fine. iv also got Argosoft mail server.net free setup as well. The problem i have is that when i try to send an e-mail using a php e-mail script i get the following error: …

Member Avatar for puk
0
77
Member Avatar for Ronen444

Hello, I'm having this little problem, and I will thank you if you help me with it. What I'm trying to do is to display the contents of various 16-bit registers (e.g. AX, BX, CX, DX), however without success; Well, what I tried to do is to check the total …

Member Avatar for Evenbit
0
11K
Member Avatar for kustrle

Hello again everyone! Today I has a little bit complicated thing to do. I am trying to make a program which install few other programs. I have already composed 2 Window Forms Applications (see picture links below) Step 2: [url]http://www.daniweb.com/forums/attachment.php?attachmentid=12171&stc=1&d=1255853689[/url] Step 3: [url]http://www.daniweb.com/forums/attachment.php?attachmentid=12172&stc=1&d=1255853717[/url] As you can see on picture of …

Member Avatar for kustrle
0
127
Member Avatar for tonief

I have this code i java I have class [CODE] class Author { String name,surname; public Author(String name,String surname) { this.name=name; this.surname=surname; } public String getAName() { return name; } public String getASurname() { return surname; } } [/CODE] And This code is OK; I have a button in jFrame …

Member Avatar for tonief
0
86
Member Avatar for Phil++

Ok, so I'm working on my school project and I have a class that stores the Customers information, in the main file it then asks for the customers ID number and then checks to see if the value is true or false from the criteria entered. However, it is just …

Member Avatar for VernonDozier
0
109
Member Avatar for Toxikr3

Hi guys, I have a very simple question I can't solve because I haven't used arrays. How can I make a For Loop that increments by 1 and when it does that takes the value and puts it in an array. So eg. Loop 1 Array = 1 Loop 2 …

Member Avatar for Toxikr3
0
98
Member Avatar for 00darbo

I am new to programming Java, and cannot seem to find a simple answer to this on the discussions on how to go about this. Anybody?

Member Avatar for Zaad
0
70
Member Avatar for mayanktalwar

[CODE]#include<iostream.h> #include<conio.h> void main() { clrscr(); long j,x; long k=1; long y=0; cin>>x; for(;k!=x+1;) { for(;k%5==0;) y++; k++; } cout<<y; getch(); } [/CODE] in above code i am trying to find the total no of zeroes at the and of factorial of no..........in doing this i am finding out total …

Member Avatar for mayanktalwar
0
112
Member Avatar for sebassn

[B]Hey guys, if someone can help me on this one, I'd be thankful. The thing is that this is a sample work. I gotta do the same thing but with 4 variables, organize them according to the correct order, from lowest to greatest or viceversa, it doesn't matter. And I …

Member Avatar for VernonDozier
0
119
Member Avatar for Mapper99

Is it possible to get a PHP page to popup in a new page after a form post? Then, return information from the popup page to the parent page? Right now when I post my data, the browser window navigates to the new page and I have no way to …

Member Avatar for diafol
0
217
Member Avatar for Darth Vader

Now I use a C++ code where I save a color like this: [code] public: System::Drawing::Color ColorSaved1; ColorSaved1 = textBox1->BackColor; [/code] I wonder how I can convert this to C# ?

Member Avatar for ddanbe
0
74
Member Avatar for needhelpe

how can I make a program that inputs the month and year. and then should output the days of the month. -january, march, may, july, august, october, and dicember have 31 days. -april, june, september, and november have 30 days. -february has 28 days in non-leap years and 29 in …

Member Avatar for OSiRiSsk
0
167
Member Avatar for Israelsimba

Hello there!! i am glad for the help i have recieved before which helped solve my problems. my challenge now is that the following code fails to save to my Access 2007 database. it doesnt give me any errors but it does nothing. i want details i enter into the …

Member Avatar for Israelsimba
0
83
Member Avatar for xfrolox

How do i do to Make a Select Beep sound and when is selected and i press button1 it will make the sound i choose.

Member Avatar for xfrolox
0
4K
Member Avatar for timon_zed

Hello good people of the world, I seem to be having a problem with how to make comparisons of dates using the Gregorian calendar objects. i want to find out if there is a way in which i can achieve it.the idea is make comparisons between the current date with …

Member Avatar for javaAddict
0
142
Member Avatar for Dani

This is a program I wrote for my x86 assembly class which computes the sum of n numbers. It uses Irvine32.inc which came with the textbook.

Member Avatar for unimo
0
4K
Member Avatar for sitaag44

Hey, I am Sita,i want to know some basic DBMS concepts . What is a DBMs? What is an RDBMS? Anybody can help me??

Member Avatar for peter_budo
0
151
Member Avatar for morgoe

Is there a way to make an 'if' statement that applies to the whole code? I'm doing a user-input text-based program. And I basically want the user to be able to type 'quit' at any time, and that'll end the program. But I don't really want to have [CODE] if …

Member Avatar for javaAddict
0
139
Member Avatar for web3

I have a little twitter clone but how to display messages from mysql from newest to oldest. [CODE]<?php session_start(); $connect = mysql_connect ("localhost","root","") or die (mysql_error()); mysql_select_db ("login4") or die (mysql_error()); $_SESSION['username']; $username1 = $_SESSION['username']; $username = $_POST['username']; $submit = $_POST['submit']; $micro = $_POST['micro']; $date = date("d-m-Y"); if ($submit){ mysql_query(" …

Member Avatar for Will Gresham
0
111
Member Avatar for RunTimeError

Hello everyone, I'm trying to make a kind of log in system for an application. It's pretty simple. There are 6 picture boxes which display images. Of these 6 picture boxes one of the images is a recognizable to the user. When the user clicks on the 'correct' image the …

Member Avatar for sknake
0
111
Member Avatar for SecurExpert

I wish to write a program that works in the background, i.e. without showing any windows. Someone prescribed i try this: <code> #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { while(1) { Sleep(1000); } return 0; } <code> but its not working. it still shows …

Member Avatar for SecurExpert
0
128
Member Avatar for pilipino93

Hi, I knew before, the coding to write from a textbox to a textfile and read from one and similar thigns to it. But I lost all my projects and i forgot how to do it. What I'm trying to do is a have the information the user inputs into …

Member Avatar for sknake
0
892
Member Avatar for killerqb

My compiler is throwing me this error when I try to make a new one. I am trying to make it with this [CODE]string a = "five"; HashTable<string> *hashy = new HashTable<string>(a,100);[/CODE] This is the compiler error (.text+0x1d3): undefined reference to `HashTable<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::HashTable(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, …

Member Avatar for StuXYZ
0
141
Member Avatar for grando

hi guys! i want to read a black & white bitmap with c++ and show it as 0 & 1 in console! do you know how can i do that? bye the way i want to build a simulated robot that follow a black line that had been drawn in …

Member Avatar for grando
0
135
Member Avatar for iamsmooth

[code] public int peek () { if (empty() == true) { throw new EmptyStackException(); } return StackContents[top]; } [/code] So I have this piece of code in a class that implements a stack. The program works perfectly. However, when I use Junit to test it, I have this: [code] @Test …

Member Avatar for iamsmooth
0
124
Member Avatar for willygstyle

Hello all. I been messing around with this port scanner for a while now and can't wrap my head around the speed issue. I tried to create a few threads to help speed it up, but I'm pretty sure I havn't made any progress. Could someone explain why the speed …

Member Avatar for willygstyle
0
156
Member Avatar for masterjiraya

[CODE=assembler] .model small .stack 64 .data select db"Enter the your desired option$" msg1 db "[1]display box and your name$" msg2 db "[2]enter your name$" msg3 db "[3]display d to l$" msg4 db "[4]exit$" msg5 db "JOSEPHINE P.VINAS$" .code mov ax,@data mov ds,ax mov ax,0003h int 10h mov ah,02 mov dh,0 …

Member Avatar for wildgoose
0
398
Member Avatar for laguna92651

I am learning assembly on a MC68HC12. Can someone explain to me why the overflow flag, V=1, using the asr instruction on following binary number: %1111 0100 the asr shift would be; %1111 1010 V=1 another example %0000 0001 the asr shift would be; %0000 0000 why does V=1 I …

Member Avatar for wildgoose
0
269
Member Avatar for ross42111

[QUOTE]Been all through books and tutorials trying to learn how to code the while loop, char, switch and bool. in one program Loop is stuck. If wrong letter is entered, should ask user to reprompt, otherwise the function returns the number, but will not leave the loop. The problem may …

Member Avatar for WaltP
0
107
Member Avatar for PysKo

Hi i need some help with a project i'm working on. Little explanation on it first then ill tell you where i am what i need help with and post code and maybe a screenshot. Well its a usb launcher its supposed to launch your usb drive and also has …

Member Avatar for allenmico
0
152
Member Avatar for program900

I am new to programming in DEV-C++ so I ran in to a few problems with my code, I am trying to create a number guessing game if you run my code its working well but I also need to have an option of "PLAY AGAIN" at the end which …

Member Avatar for WaltP
0
282
Member Avatar for NICEGUY123

I need some help, fairly new to C++ and I know a little about C. What i am trying to do is get a txt file that looks like this 4 //first number tells how many rows are coming next. 3 54 2 51 9 32 2 34 what i …

Member Avatar for vmanes
0
442
Member Avatar for VidyaYadav

Hi, In my datagridview there are 3 columns. I am entering values in all of these but second and third column values are not compulsory. So user can escape those two columns. But, when inserting those values in database If the cell 2,3 contain value then to insert that value …

Member Avatar for sanch01r
0
1K
Member Avatar for gemini2011

I cannot figure out how you go about playing a Wav/MIDI file in a VB Program. I found one thing but it didn't work. This is a little old but the version is Visual Basic 4.0. It actually runs on Windows XP!!

Member Avatar for nikhilvsbunty
0
588
Member Avatar for lllllIllIlllI

Hi, I have been trying to get a java program that draws a line directly on the screen. I have made ones that draw on JApplets and JFrame's but i cant work out how i can draw directly on the screen without having something in the way. I looked at …

Member Avatar for lllllIllIlllI
0
110
Member Avatar for hello214

hi, I'm trying to do my decimal to the nearest hundreths, i've tried using number format and printf but i couldn't do it. Anybody can help me with this: here is my program float grossPay = (calcGross(nHrsWrkd, hrlyRate)); float netPay = (calcTaxes (calcGross (nHrsWrkd, hrlyRate))); System.out.print("\nTaxes Withheld - $" + …

Member Avatar for javaAddict
0
168
Member Avatar for rayda

i am writing a assembly code to count the number of words in a sentence. below is my coding: [CODE].model small .stack 200h .386 .data message1 db 10,13, 'Word counter : Enter the sentence to be calculated$' result db 10,13, 'Number of words : $' counter db 5,6 dup(0) sentence …

Member Avatar for rayda
0
170

The End.