64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for mompoleon

I have been using textpad and Java for 3 months without trouble. We just got a new computer 64 bit Windows 7. I have downloaded Java and Textpad on the new computer but when I go to external tools to compile, the compile and run tools are missing. I have …

Member Avatar for dpirtle83
0
1K
Member Avatar for ivan3510

Hi! Sorry for my bad english. How is made that toolbar on this site always stays on the botom of the page. (So, when we log in, on this site will appears toolbar. When we scroll down, this toolbar stay, it doesn't move anywhere, it stay on the bottom.)

Member Avatar for ivan3510
0
109
Member Avatar for LianaN

Hi! I need to make multi-user software that will allow accessing a DB from different PCs and working with this DB. Could someone pliz just generally (conceptually, but in step-wise manner) describe me how this task can be implemented? Maybe, there are some good tutorials or free examples on this …

Member Avatar for LianaN
0
291
Member Avatar for PythonNewbie2

Hey guys, thanks a lot for the help. Here's the code I have for going through each file in a directory I specify: [CODE] for root, dirs, files in os.walk('%s'%(DOSEnvironVar)): for this_file in files: if this_file.find('.csv')>-1: filepath = os.path.join(root, this_file) currentfile=open(filepath,'r') filelines = currentfile.readlines() [/CODE] I would like to add …

Member Avatar for Reverend Jim
0
289
Member Avatar for tsteven

How do I format the links from a mysql query to show [U]click here[/U] on my webpage. $row['reviewlink'] (eg of reviewlink = [url]http://www.abc.com[/url]) I want this result to show in the html source code: <a href="http://www.abc.com" >click here</a> So the page shows [U]click here[/U] and links to [url]http://www.abc.com[/url] I want …

Member Avatar for tsteven
0
96
Member Avatar for Clarkeez

Hey Im getting there with PHP but one thing that does my head in is arrays. Im trying to get all the content from the db and echo it.. For exmaple, in the db it reads under the 'names' column... matt harry dave katie trisha paul tracy brian martin sam …

Member Avatar for hielo
0
85
Member Avatar for nv136

Hello everyone! i need a bit of help... can you convert my picture drag and drop code so it drag and drops audio files? (.wav) My code: Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows Form Designer generated code " Public Sub New() MyBase.New() InitializeComponent() End Sub Protected Overloads Overrides …

Member Avatar for nv136
0
273
Member Avatar for Katana24

Hi, I would like to learn java-scripting. I have a Mac, version 10.6.4 and I know that I can use the built in "AppleScript Editor" application for it. But I can't get the option to change the language to "Javascript" even after moving the "JavaScript.component" to the "Components" folder in …

Member Avatar for Katana24
0
120
Member Avatar for lulemurfan

This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE …

Member Avatar for lulemurfan
0
141
Member Avatar for brown23

Hey Guys, I'm really stuck on how I can have the visitor change the style of the content on my webpage. I've looked into stylesheet switcher, but that changes a whole stylesheet, when really all I want users to be able to change is their preferred background color, alignment, font …

Member Avatar for george61
0
118
Member Avatar for vizz

I have sms gateway. Through that I can send sms from my website. How can I receive sms on my website. Every registered user can send sms from my website and I want to allow them to receive sms on my website.

Member Avatar for chrishea
0
284
Member Avatar for Stefano Mtangoo

Hello All, I want to make a CD/DVD Library where by an admin can do all the operations while any other norma user can do limited operations (simply browsing and searching). I'm still organizing and doing simple design and I need your opinions on this: 1. What is the best …

Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for sainiricha

Hello, Can anyone tell me how do we validate date entered in a text box? I went to check whether the entered date in the text box is of correct date format. Please help me out!!

Member Avatar for M. Ashok Reddy
0
271
Member Avatar for avario

I have a MySQL database that stores all messages for all topics and a database that stores information about the topics... On the any given topic page I want it to display the number of messages in that topic, this value would only need to be retrieved once when the …

Member Avatar for avario
0
123
Member Avatar for smith32

Hi, I need some help from u again..... if we type: Enter Input : eee ddd cccc the result should be like this : sorting : ddd eee cccc but actual result is like this : sorting : eee eee cccc I don't know why... Can u help me ?? …

Member Avatar for Adak
0
222
Member Avatar for Ryujin89

My instructor wants us to create a program that relates to some event we have recently gone through and I need help to get the rest of the code to work. Scenario I passed by the instructor is : I just got a car which my grandfather paid in advance …

Member Avatar for James cuck
0
8K
Member Avatar for Faisal2021

[B]Can anyone please help me ??? Write code that sums the values in an array. Measure the run time of the code as a function of the size of the array and calculate the bandwidth achieved. Increase the size from a single element array to 1GB in powers of two …

Member Avatar for Rashakil Fol
-1
96
Member Avatar for sudoku43
Member Avatar for GigsD4X

Hi there, I want to grab a page from my site that's PHP, however, I don't want it to display the PHP... How can I do this?

Member Avatar for GigsD4X
0
451
Member Avatar for brettbed

I think I'm having trouble with using parameters correctly in the JUnit assert in my Test method. My assertion fails even though I'm pretty sure my logic checks out. How do I construct the correct test with assert? Any pointers appreciated :) [CODE]public String season(int month, boolean inNorthernHemisphere) { // …

Member Avatar for jon.kiparsky
0
324
Member Avatar for bmos31

Ok, so I'm writing a program to convert decimal into binary. It all works with the exception that my binary shows up in reverse order and I'm having trouble with reversing the array of chars in my intToBinaryString() function. Any tips on how to get this started? [CODE]#include<iostream> #include<cstring> using …

Member Avatar for prvnkmr449
0
180
Member Avatar for xLeonex

Hello. im a student working in C++ and im fairly new to both C++ and i guess this community.(i was reccomended to come here if i had problems) im just doing some simple exercises or s it seemed. here is the question. Write a C++ program with a case structure. …

Member Avatar for XMasterrrr
0
485
Member Avatar for xLeonex

hi ive developed a code to sort 3 numbers and pick out the middle one. the numbers are distinct. #include<iostream> using namespace std; int main( ) { int X, Y, Z; cout<<"please 1st number "; cin>>X; cout<<"please 2nd number "; cin>>Y; cout<<"please 3rd number "; cin>>Z; if (Z>X>Y) (Y>X>Z) cout<<"this …

Member Avatar for xLeonex
0
118
Member Avatar for sphynx_25

Hey there everyone, I'm working in windows, writing a python program which runs various programs through command line and pipes the outputs of one into the next program. All the programs accept all instructions in one line then run. I've been using the os.system command to run these. One program …

Member Avatar for sphynx_25
0
238
Member Avatar for JLYK

So I created this nice PushButton that has a popmenu. Unlike QToolButton, it does not allow me to hide()/show() the button which I find frustrating. I want to be able to hide/destroy this button while the application is in a certain mode and then show/create it in another. How do …

Member Avatar for Beat_Slayer
0
203
Member Avatar for GigsD4X

Hi there, I'm trying to get the root directory of my site... But I don't want to edit the dots with slashes every time I make a new page in a directory inside another directory.. Any ideas? Here's an example tree :-) -/ -/stuff --/stuff/lol.php -/lolwut --/lolwut/cake.php --/lolwut/pie.php

Member Avatar for GigsD4X
0
105
Member Avatar for rahul8590

[CODE] #include <stdio.h> #include <unistd.h> int main() { while(1) { fprintf(stdout,"hello-out"); fprintf(stderr,"hello-err"); sleep(1); } return 0; } [/CODE] why is that i am getting heelo-err instead of hello-out

Member Avatar for Narue
0
141
Member Avatar for andydeans

hi, i have applied sha1 encryption to my update password page for users and it is encypting into the database fine. however i have a script that should at login check the encrypted sha1 password in the database and login however it does not work. i am not great with …

Member Avatar for andydeans
0
157
Member Avatar for DaveTran

In C++ the ternary operator below will return 1. [CODE] true ? 0 : 1 [/CODE] In C# it will return 0. If the following is written in C++ [CODE] int x = ((a < b) ? 1 : ((a > b) ? -1 : 0)); [/CODE] what the heck …

Member Avatar for DaveTran
0
135
Member Avatar for snorflack

I cant get this program to work I can get it to read in the file and enter the winning numbers but it just ends after it. the program is supposed to take in a file (input.txt) and make it into a list of structs with peoples names and lotto …

Member Avatar for snorflack
0
102
Member Avatar for miweiser

Can I get some assistance with the T SQL syntax required to use the contents of this combo box in a pass thru query in order to improve performance response time over the LAN [CODE] [Forms]![WELCOME]![FILTER_BUILDER].[Form]![Combo28] [/CODE] Apparently TSQL doesn't like the "!" from Access: [CODE] SELECT dbo_A_VIEW_LOWEST_LEVEL.contract, dbo_A_VIEW_LOWEST_LEVEL.[Profit Center …

Member Avatar for miweiser
0
195
Member Avatar for amrita111

I am planning to develop a graphical project for my final year..Which tech should i choose? Microsoft Silverlight,Macromedia flash,Macromedia Shockwave,ajax etc, which of these is simple,scalable and platform independent?which combination of frontend and backend will be the best?

Member Avatar for Phaelax
0
101
Member Avatar for jc1forall

First of all, forgive my lack of knowledge, I am fairly new to programming but I have a high level of interest in the subject. We were working on a bit of code in class yesterday and we even stumped our teacher, who then took most of the class trying …

Member Avatar for ddanbe
0
241
Member Avatar for Krstevski

Hello friends, I have a small problem, I need to check if the database connection is still open. Here is my code... [CODE=csharp] try { // new connection // connection open // other code // close the connection } catch (Exception ex) { // handling exception } finally { // …

Member Avatar for Krstevski
0
6K
Member Avatar for PixelExchange

Does anyone know how one would go about creating a "custom" file type? (Such as Macromedia Flash's .swf.. or quicktime's .mov) Also.. once I have created a custom file type... how would I make sure that my file is always associated with a given icon (that I will create).. and …

Member Avatar for PixelExchange
0
167
Member Avatar for macrogeek

Im a beginner level programmer in C and want to know how can I use malloc or calloc functions for dynamic memory allocation without typecasting...?

Member Avatar for manojwali
0
215
Member Avatar for medopunsher

Hello Everyone , I'am new to OOP and QT and i'm trying to write a simple chat program (client , server) with winsockets. I Have an error which i don't seem to understand : this is my code so far : [CODE] #include "pmessenger.h" #include "ui_pmessenger.h" #include <QMessageBox> #include <winsock2.h> …

Member Avatar for Stefano Mtangoo
0
115
Member Avatar for newtoajax

HI I am trying to pass a value from dropdown list on onchange event fo the dropdown in a jsp page through AJAX to servlet. The servlet then returns the value back to the jsp page and displays it in dropdown list. the problem I am facing is that the …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for s0ur

HI All, My name is s0ur and I am not a programmer. Isn't that the first step to recovery? I am hoping that the experts can help a noob. I am trying to write a python script that will run on windows login. it should do the following: 1) ping …

Member Avatar for Beat_Slayer
0
301
Member Avatar for heshanm

Hi, I have a problem. i want to show the [B]current date and time[/B] in my tables of the database. I want to show it because i want to show it on my report generated in php. By the way i [B]do not[/B] have a "date" field in my form. …

Member Avatar for almostbob
0
123
Member Avatar for teedoff

Ok back again. lol I just purchased a new hosting provider and was trying to transfer my database over to my new site. I exported the tables using Navicat and "tab" as the delimiter. I have three tables and they all saved as text files and look fine when I …

Member Avatar for mwasif
0
118
Member Avatar for keeda

Hi I have 2 tables say A and B. Table A has EmpID, First Name and Last Name. Table has Award Recipient, Award Presenter ID(EmpID format). I want to write a select query where I want to fetch First and Last name of the Award Presenter from table A based …

Member Avatar for keeda
0
102
Member Avatar for sinfultom

Hi there, I'm new to the forum so please be kind :) I've created a class called node that has a standard constructor and an overload that uses an int as an argument. [code=c]class node { public: node(void); node(int inputs); ... };[/code] I can create an dynamic array of nodes …

Member Avatar for Duki
0
189
Member Avatar for leverin4

Is it possible to check which version of Excel a user's computer will open while in a VB6 application? Some users will be using Excel 2003 and some will be using Excel 2007 and, in theory, a single command button will open one of two excel sheets based on which …

Member Avatar for AndreRet
0
519
Member Avatar for prathoven

I have a problem with understanding a deserialization code....Can anyone help with this one: public clsSerial DeserializeFriend() //[U][B]why clsSerial is done here ??[/B][/U] { clsSerial temp = new clsSerial(); try { BinaryFormatter format = new BinaryFormatter(); FileStream myStream = new FileStream(“Test.bin”, FileMode.Open); temp = (clsSerial)format.Deserialize(myStream);// [B][U]and why (clsSerial)is added here[/U][/B] …

Member Avatar for prathoven
0
94
Member Avatar for Venom Rush

Hi all I have a table that has a datetime column. What I'm trying to do is select the time only like one does when selecting only the day or month from a date column (eg SELECT day(date)) Can anyone tell me how to get this right. Using the following …

Member Avatar for Ezzaral
0
182
Member Avatar for Stefano Mtangoo

Hi, I have a page where I include another page passed via url Url is something like [B][url]http://www.daniweb.com/newthread.jsp?page=24[/url][/B] and I get the variable as [CODE=JAVA]String thePage = request.getParameter("page") ;[/CODE] Now I want to include it in my page and the code below doesn't work. I have googled and I cannot …

Member Avatar for Stefano Mtangoo
0
198
Member Avatar for illuminatus89

Through my knowledge, I know that by declaring a variable as 'const', its stored in read only memory and at the same time I found that a const variable's value can be changed using pointers. How is it possible?

Member Avatar for manojwali
0
104
Member Avatar for PixelExchange

I realize that there are plenty of tutorials on how to create a "Custom Win32 Title Bar." The problem is.. none of the tutorials I have found so far.. discusses how a person would be able to "drag" the replaced title bar.. as one would drag the "normal" title bar. …

Member Avatar for PixelExchange
0
2K
Member Avatar for Lord_Migit

hey folks, i have a problem which seems to be reasonably simple but i havnt managed to figure it out yet. Iv read alot of the other threads on this but i still havnt found one that iv both understood and solved my problem. So here goes... Its concerning returning …

Member Avatar for Lord_Migit
0
136

The End.