64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for tryphy

Hi every1, I am new to php... From the image that i have attached you can see what i basically need... In view users.php v can see who r all the users.. and clicking on that particular user,.it has to display that particular users details. eg: when we click user1 …

Member Avatar for fobos
0
2K
Member Avatar for Hawkeye Python

Well, I'm a begginer in Python coding, and at DaniWeb. My problem is: I can't open any files! I tried: [CODE] >>> f = open('C:\teste.txt', 'w') Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> f = open('C:\teste.txt', 'w') IOError: [Errno 22] invalid mode ('w') or filename: 'C:\teste.txt'[/CODE] …

Member Avatar for Hawkeye Python
0
4K
Member Avatar for iou

How do you make something happen everytime the program runs? [code] Dim CloseValue As String = Space(255) Win32.GetPrivateProfileString("Close", "value", "Default", CloseValue, 255, "C:/UserData.ini") [/code] I need that to execute, I've tried Public Sub Form_Load() Public Sub Form_Initialize() Public Sub Form_Active() None works, I've tested with MsgBox("HELLO") to see if that …

Member Avatar for iou
0
89
Member Avatar for akamini

Hi This is my first time posting after daniweb has helped me alot but I couldn't find a solution for this so I thought hey why not ask. Basically I would like to have an sql statement which selects all the bookings from a table in microsoft access callled tblBookings …

Member Avatar for akamini
0
194
Member Avatar for Fbody

A couple days ago, I was involved in [URL="http://www.daniweb.com/forums/thread258996.html"]this thread[/URL] which concerns bit shifting (kind of) and a solution was found (by someone else). The problem is, something about the solution never really sat right with me. Hopefully someone can clarify this for me. [B]Code:[/B] The code uses 1 constant …

Member Avatar for Fbody
0
164
Member Avatar for whiteyoh

Hi all, Can anybody advise on how i can best use php and mysql to give a database record an "age" in days? Im recording record creation via timestamp at the minute Cheers Paul

Member Avatar for vharuna
0
100
Member Avatar for tzushky

hello, Here's a simple question I want to clear up. We all know that we can use the name of an array as the pointer to that array, and that a pointer holds the address to the variable named. What I'm doing is this [CODE] //somwhere in the code uint8_t …

Member Avatar for Narue
0
3K
Member Avatar for jmercola

I am trying to use PHP in an HTML page to change Login to Logout and reference my login page. Instead of printing 'Login' and 'Logout' I get the following: Logout" ; } else { echo" Login" ; } ?> The IF function seems to get confused and starts echoing …

Member Avatar for vaultdweller123
0
140
Member Avatar for bd338

Hello everyone! I would like to know if I'm calculating memory addresses right. Let's say I would like to calculate the address of 0BC9:0000. Would I then take 0BC9 in decimal (3017) and multiply it by 16 and then add 0000 to it?

Member Avatar for Salem
-1
64
Member Avatar for scias23

i have a supertype-subtype: supertype: DOCUMENT subtypes: CLEARANCE, TAX CERTIFICATE, RECEIPT, BUSINESS CLEARANCE each clearance subtype may have a TAX CERTIFICATE, how could i join using join? in other words, document>clearance document>tax certificate i want to join document>clearance and document>tax certificate into a SINGLE view help. thanks

Member Avatar for jbisono
0
230
Member Avatar for sujithy15

what is an ide how is it different from traditional java platform ? what is java beans?

Member Avatar for sujithy15
0
186
Member Avatar for mastia22

[CODE]http://localhost/kplfantasyfootball/example.php?id=7&posid=3[/CODE] Hi, could someone please explain to me how I can read the two parameters carried in the URL. Thanx.

Member Avatar for mastia22
0
159
Member Avatar for wongcc13

I'm working on a pascal project. And I want to append record on a binary file without overwriting it again.I've tried using the 'append();" statement but it doesn't work.

Member Avatar for wongcc13
0
1K
Member Avatar for spetsnaz26

I've got this annoying "access violation" problem. I've done searching for a whole day on the Internet and although I didn't find any solution specific to my problem I do understand "unhandled exception in abc.exe:0xC0000005: Access Violation" has something to do with inappropriate use of pointers. However where the error …

Member Avatar for spetsnaz26
0
1K
Member Avatar for trebauchet1986

I have c++ functions in which all the arguments are integers....I was wondering if there was a way of telling the computer this, other than typing int before each and every variable....I tried function S(int a, b,c..) but did not work....

Member Avatar for JasonHippy
0
114
Member Avatar for computerfreak.7

i finished a really simple game and i finally figured out how to make it a jar and how to edit the manifest to make it run, but my images don't appear. this is my first jar so i don't have a clue to what i should change to get …

Member Avatar for musthafa.aj
-1
83
Member Avatar for MacUsers

Hi there, I'm having this problem with using translate() - I have a line in my code like: [icode]k.translate(None,':.-')[/icode], being called from a function, which works flawlessly under v2.6.4 but throwing in TypeError when run under v2.5 [code]Traceback (most recent call last): File "./wakeONlan", line 94, in <module> WakeOnLan(k.translate(None,':.-')) TypeError: …

Member Avatar for MacUsers
0
143
Member Avatar for qariella

Ive been sitting in 3 hours trying to figure out whats wrong, read in my book, seen the Powerpoint and google search and now im giving up.. This is my last resort and I hope to learn how to do it.. Would appriciate the help guys. Well, here i post …

Member Avatar for JamesCherrill
0
161
Member Avatar for MDGM

Hi all, I need a php script that gets the IP address of a user entered website, something like this: $site = 'www.google.com'; $ip = ping($site); obviously replacing ping with a command that actually exists! Thanks in advance. MAX

Member Avatar for MDGM
0
195
Member Avatar for Stefano Mtangoo

Hi All, what is method to get all availabled disk drives and their status. By status I mean whether they are hard disk or CD/DVD or USB? Also how to get list of Drives in *nix? Thanks a lot

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

Hai Friends, Iam using J2ME , i can read a text file from jar (in res folder) by using InputStream is = getClass().getResourceAsStream("help.txt"); StringBuffer sb = new StringBuffer(); try{ int chars, i = 0; while ((chars = is.read()) != -1){ sb.append((char) chars); } return sb.toString(); }catch (Exception e){} but i …

Member Avatar for peter_budo
0
192
Member Avatar for Pro2000

Peace, Can you help me with Show And Hide?: I made an Input text I want to hide it, And I want to show it if I click on a button. How can I do it? Thanks.

Member Avatar for sumit1893
0
174
Member Avatar for Tank50

Hi I want to write asp.net page with crystal reports.I pass parameter to reports.Once I press submit button its ask database user name and password.How I stop asking user name and password in every time. Thanks Tank50

Member Avatar for kvprajapati
0
97
Member Avatar for datk0m

Hi to everyone here! I'm a newbie! I just wanna ask help from you especially from the administrator regarding my machine problem..... I am asked by my proffesor to create a slot machine program. This is how it goes... The simulation starts by presenting the player with a menu of …

Member Avatar for whgeiger
0
1K
Member Avatar for kgkamaraj

String[] temp=null; String st3=new String(temp); I use this code but error message is shown. I need how to recover this error.

Member Avatar for musthafa.aj
0
132
Member Avatar for laelzio.mosca

Hi, I just started my java class a few weeks ago, I have a question if you guys can help me. I`m learning about passing arguments, so I have this small code, it works perfect, the output is " 42 84 ", but I didn`t get it. what does it …

Member Avatar for musthafa.aj
0
111
Member Avatar for RSBColt

^^^ Typing fail, should be possibly ^^^ What is the best cross-platform library for high-performance graphics. I have tried SDL and GLUT, but I want to know if there are better ones out there. Also, is there a simple way to access OpenGL without a front-end library?

Member Avatar for RSBColt
0
151
Member Avatar for phpbeginners

I am very new in website developing. Anybody help me how to make this dropdown listing in Internet Explorer Browser the same listing in Firefox. I want the word extended in the size of the dropdown button. see attached images. Thank you.

Member Avatar for phpbeginners
0
94
Member Avatar for harry010

I've got 2 JSPs. JSP1 calls JSP2 to format a table in JSP1 JSP1 calls JSP2 using this code: [CODE] <jsp:include page='<%=(String)request.getAttribute("SB_Format_Path")%>' flush="true" ></jsp:include> [/CODE] The problem is that JSP2 has access to variable XX, at runtime but JSP1 does not have access to it. I'd like to somehow be …

Member Avatar for harry010
0
293
Member Avatar for whiteyoh

Hi all, I have a 4 column table. Say the count of records in each column is 5, 50, 100, 200. the column with 5 entries, has those entries not appearing at the top of its data area. eg cars houses flights a b c d a e b a …

Member Avatar for JRM
0
63
Member Avatar for jorgelex008

Hi all, I've got a JFrame in a program, and when I click on a button, I get another JFrame created, and then select from a list. This works fine. But my problem is that when I close the second JFrame the entire program exits (both the main JFrame and …

Member Avatar for jorgelex008
0
171
Member Avatar for Masterace

Hi there need help on how to make the splash screen fade in transparently then afterwards start the progress bar that will lead in opening the 1st form

Member Avatar for WaltP
0
103
Member Avatar for FotG2

I have a drag-able JLabel that I'm trying to set that object to be above all other JLabel objects when its dragged. The only method I can find that sets the order is setComponentZOrder(Component,int)' But when I Try to use it, I get a large amount of errors printed to …

Member Avatar for Ezzaral
0
116
Member Avatar for chineerat

Hi! i am having trouble sorting an array using a for loop. the problem occurs when using iterations i and i+1 for example count:=0 for i:=0 to count do begin if a[i] > a[i+1] then begin .... end count+1 end problem is when the for loops reaches the LAST array …

Member Avatar for chineerat
0
6K
Member Avatar for valeriy_zf

[B]Microsoft Visual C++ 2008[/B] My Project contains one Form1 and one Unit (module) Test1.cpp. There is the button1 on the Form1 which calls the function: [CODE]Test1::Change_Button_Text();[/CODE] There is only one function in unit Test1.cpp [CODE]void Test1::Change_Button_Text() { // #1 Form1::button1->Text = "Hello forum!"; // isn't working :( // #2 Form1 …

Member Avatar for jonsca
0
320
Member Avatar for shawnk

I am trying to execute a simple grep command in my shell script. I am not sure why it also greps the other file system. [COLOR="Green"]> df -g|grep /oracle/BP1/sapdata1 70.00 11.37 84% 21 1% /oracle/BP1/sapdata1 100.00 89.44 11% 8 1% /oracle/BP1/sapdata10 > df -g|grep /oracle/BP1/sapdata10 100.00 89.44 11% 8 1% …

Member Avatar for shawnk
0
97
Member Avatar for KirkPatrick

I'm wondering if it is possible to control certain aspects in my function. All my it does is control how an object gets placed on my gui. I'm wondering if there is a way to control [I]GridBagConstraints.fill[/I] and [I]GridBagConstraints.anchor[/I] [B][U]Function:[/U][/B] [code=java] public void gridBagControl(Component ob, JPanel p, Insets in, int …

Member Avatar for KirkPatrick
0
106
Member Avatar for clutchkiller

This is an assignment for my c++ class im taking. [code] #include <iostream> #include <fstream> using namespace std; const int NAMESIZE = 50, DATE = 25; struct inven { char name[NAMESIZE]; int qnty; double wholeCost; double retailCost; char date[DATE]; }; void displayMenu(); void addRecord(fstream &); void displayRecord(fstream &); void modifyRecord(fstream …

Member Avatar for clutchkiller
0
187
Member Avatar for VilePlecenta

While finishing up my app, I included into the project the code for loading and injecting my dll into running processes. Once compiling I received these errors [CODE]error C2039: 'getchar' : is not a member of '`global namespace'' error C2873: 'getchar' : symbol cannot be used in a using-declaration error …

Member Avatar for VilePlecenta
0
140
Member Avatar for axa121

Hi I am trying to read data from a text file, line by line. However I am having problems with the output of the last line. The text file I have created is: position 50 10 line 50 0 line -50 0 line 0 -50 Here is my code: [code] …

Member Avatar for axa121
0
146
Member Avatar for FotG2

I am having trouble making use of a MouseMotionListener to make some card images be able to be dragged around the screen. What this program does is show a table of cards in a random order. The user will be able to drag any of the card images and move …

Member Avatar for FotG2
0
941
Member Avatar for Skeen

Okay, I'm making a shooter game, and all my weapons are differnt userdefined objects; ie. the flamethrower works differently then the gun, however, I'm calling some functions in my "main", an example of this would be; [CODE] /* <Init> */ MachineGunClass *CurrentWeapon; MachineGunClass *MachineGun; MachineGun = new MachineGunClass(); CurrentWeapon = …

Member Avatar for mrnutty
0
227
Member Avatar for izyrider

Hi, My first post, please be gentle. I have 64 booleans - all must be displayed on a single screen as a series of checkboxes ([B]no[/B] - I don't care about the 65th bool, [B]yes[/B] - it [U]must[/U] be a single no-scroll screen on the UI). As a VBA-refugee, I …

Member Avatar for izyrider
1
88
Member Avatar for dottomm

Hello and thank you for taking the time to read my question. I am currently moving a static html site into a faux CMS and have a question about which direction is best recommended. I have series of 'News Articles' that I would like to make available through a db. …

Member Avatar for dottomm
0
126
Member Avatar for soapyillusion

Hey all I have another riveting problem from my genius professor T_T. I have to make a program using functions, reference Parameters and full string words. Now if it were just a single letter at a time this would be easy. But it wants us to let the user enter …

Member Avatar for soapyillusion
0
257
Member Avatar for renyges

hi i need help with add edit and delete records in access using vb.net. i got textbox 1 to5 and three buttons which named addnew ,edit, delete. my database is in name records.mdb i want user to enter the information and click addnew button and the system save the records …

Member Avatar for renyges
0
225
Member Avatar for motters

hi i have a contact form that i want to submit to a dater base and here is my code to do that [CODE] <?php require_once('Connections/mywigan.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = …

Member Avatar for motters
0
116
Member Avatar for Masterace
Member Avatar for avirooge
0
190
Member Avatar for mingas

Hi forum! My name is Eduardo and I´m from Portugal. I´m a newbie to C++ and I hope to learn a lot with you I´m facing a doubt that I couldn´t solve yet. (I will also post this thread at c++ area, hope you don´t mind ) My doubt lies …

Member Avatar for Ancient Dragon
0
214
Member Avatar for SOURP0PCORN

[code]#!C:\Python26\python.exe # Three-times-the-square-root-of-your-age.py # # This is a python program that # will input the user's name and age # the output will be 3 times the # square root of the user's name # # author: Min Ku "Peter" Joo # last revision: 02/10/2010 import os import math def …

Member Avatar for vegaseat
0
189

The End.