64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for greeny_1984

Hi everyone, Ima working on a business site similar to alibaba.com.In that we have a main categories named agriculture,chemicals ....so on. on clicking on agriculture we get one more subcategory containing different names line plant products,beans so on.. on clicking on beans we get the companies selling beans. similar to …

Member Avatar for tesuji
0
155
Member Avatar for plusplus

Can I change an existing form to a masterpage, or can a masterpage only be defined when creating the form

Member Avatar for plusplus
0
79
Member Avatar for kousarrabiya

Hi, Iam trying to put username and password in some dat file(ADMIN.DAT)from changeLogin page and getting/retreiving username and password from another page from ADMIN.DAT file.... My problem is username and password details are getting stored in dat file in readable text format NOT IN BINARY.. Writing into file part is …

Member Avatar for kousarrabiya
0
114
Member Avatar for sonia sardana
Member Avatar for Vai

After logging in, main.php is loaded and instead of displaying the correct included page, it displays Main Page. So what is wrong w/ my code? Thanks in advance for any and all help... [code] this is placed inside the "main.php" <?php require('core/db.php'); require('core/check.php'); ?> This is placed inside the check.php …

Member Avatar for somedude3488
0
176
Member Avatar for axn

i can write to the file with no issues, but cant read. i have defined the file to append so as not to overwrite data. then i write to it [B]log_file.writelines(lines)[/B] but the reading wont work?? [B]log_file.readlines(lines)[/B] and thought i could just use log_file = open('%s' % os.path.join(logfile_path, file), 'a+r')

Member Avatar for bvdet
0
104
Member Avatar for LevelSix

Question: Write a program that draws a clock face with a time that the user enters in two text fields (one for the hours, one for the minutes). I have Followed my example code, and come up with 3 classes. Clock, which sets the outines for drawing clock objects, ClockViewerFrame …

Member Avatar for LevelSix
0
141
Member Avatar for Lukezzz

I want to delete a Folder that consist of .txt Files. I am trying with this code below but the member :: Delete says that it only can emty an emty folder but this folder contains .txt files. So I wonder what other technique could be used ? [code] System::IO::Directory::Delete( …

Member Avatar for Lukezzz
0
209
Member Avatar for ceyesuma
Member Avatar for ceyesuma
0
154
Member Avatar for Onixtender

Hello, I've got a question how to change this function, because it should read f.e. two lines: 33333n5rr door 3333is closed 3333333 n5rrr [COLOR="Red"]nanana[/COLOR] tt4tt [COLOR="Red"]wall[/COLOR] t6tt6t then transform to: nrr dooris closed nrrr tt[COLOR="red"]nanana[/COLOR]tt t[COLOR="red"]wall[/COLOR]tt[COLOR="red"]wall[/COLOR]t (writing word instead of a digit was: nice ttt5555ttt //to: ttt[COLOR="red"]nice[/COLOR]ttt,deleting digits in first …

Member Avatar for Onixtender
0
142
Member Avatar for blacklocist

Hi All, I have a question and can't seem to find a answer anywhere. A normal function can void or return a object. [CODE] public void CoolFunction() { [INDENT]//Some Code[/INDENT] }[/CODE] I know you can do this. [CODE] public int ReturnOneObject() { [INDENT]return intNumber[/INDENT] }[/CODE] What I can't find or …

Member Avatar for ChaseVoid
0
386
Member Avatar for WhYuLoOkIn

This might be a simple fix but I am developing an asp.net website in vs 2008 for some strange reason all of my separate aspx files are now formating at the same time. When I change something in design view in one file the other changes automatically I am new …

Member Avatar for majestic0110
0
113
Member Avatar for Jennifer84

This code Gets the last Write Time from a .txt file. My Question here. [B]1.[/B] When doing that operation. Will this file be opened or is the file closed ? [B]2. [/B]If the file was opened will the file Close automatically after the Check ? [code] CurrentSourceTime = System::IO::File::GetLastWriteTime(SourcePath); [/code] …

Member Avatar for Jennifer84
0
215
Member Avatar for k2k

i used vi: %vi shellProgramming and then i typed the shell script in the vi and saved with :wq However, when i run the vi file ...... %shellProgramming my unix says "command not found" why is that? and how do i run the vi shell scripting file? thanks

Member Avatar for eggi
0
161
Member Avatar for NycNessyness

Hello. I asked last week about how to allow the user to only enter in letters. I tried the mask formatter but that's too limited. How can I go about letting the user to enter in any kind of letters they want but restricted to only 25 letters for their …

Member Avatar for Ezzaral
0
119
Member Avatar for kshrini

Hi All, SELECT * FROM Results WHERE ActualValue NOT BETWEEN Lowerimit AND UpperLimit In my query ActualValue is VARCHAR field. How can I get Results that are out of limit? Shrinivas

Member Avatar for gvalip
0
126
Member Avatar for menelaussa

Hi, can someone to help me to write an regular expression for a number from 1-100. I need to validate an age field. Thank you

Member Avatar for nandhinijp
0
103
Member Avatar for timdog345

[code] //test SAT /* void initialize (int& verbal, int& writing, int& math) { verbal=0; writing=0; math=0; } void userInitialize (int& verbal, int& writing, int& math) { cout<<"Please enter your verbal score (0-800) "; cin>>verbal; cout<<endl; cout<<"Please enter your writing score (0-800)"; cin>>writing; cout<<endl; cout<<"Please enter your math score (0-800)"; cin>>math; …

Member Avatar for Nick Evan
0
146
Member Avatar for ceyesuma

I created a nbproject,webapplication,visual web java Server Faces Glashfish,deployed it.(netbeans6.1) I have written a couple of them and they do not show up in a browser. Below is the one I just started. Can someone explain what needs to be done to run this in a browser? [code] <%-- Document …

Member Avatar for ceyesuma
0
176
Member Avatar for ymf

Hi, I am writing a cgi script for a web database query "results" page and I need to display the results in an html table. My question: 'Is there a way to print out a list of words without the commas and the square brackets?' e.g if this is the …

Member Avatar for Freaky_Chris
0
104
Member Avatar for WhYuLoOkIn

I am trying to run a script when a button is pressed on my Login.aspx page in Visual Studio 2008. I have set the Sub routine which is located within the script to redirect me to a certain page when the script is run for testing purposes. When I press …

Member Avatar for WhYuLoOkIn
0
152
Member Avatar for savinki

Hi, I want to assign a char pointer value to enmerated value, to use in a switch statement. Given below is the code segment. I dont hv an idea how to convert and assign char pointer value to a enumerated value. Pls can someone help me to resolve this [code=cplusplus] …

Member Avatar for Duoas
0
156
Member Avatar for tondeuse34

Hey guys, i got another question. say if you want to only write a few lines of code that can be called on at any time the while the script is running, i'm assuming its the pickle function or something similar to batch like the goto function? Thanks

Member Avatar for tondeuse34
0
131
Member Avatar for vanessia_1999

Hi, I have a little problem. It is almost working but it continue to say undefine in the text area instead of the name they type in the txt box. I might be confusing you so i am going to put down what I have then explain what I am …

Member Avatar for vanessia_1999
0
109
Member Avatar for tefflox

Here is the code. For a short time, I will leave the test results up at [URL="http://superiorminitrucks.com/inventory"]superiorminitrucks.com/inventory[/URL] Clearly, I need to stop it from displaying the final entry twice.. Thanks in advance.. [CODE] <?php $db_connection = @mysql_connect("######", "#####", "####"); if (!$db_connection) exit(); mysql_select_db("tefflox", $db_connection); $result = mysql_query("SELECT * FROM trucks"); …

Member Avatar for effu
0
82
Member Avatar for Jennifer84

I am doing a loop that will run all the time and when a change is done to the File(Source), then this file will be Copied/OverWrite file(Dest). One problem that I have is that the if-statement that says: [B]if( CurrentSourceTime != LastSourceTime ) {}[/B] is running each loop ? I …

Member Avatar for Jennifer84
0
109
Member Avatar for Mackjan

Hi I have got the TypeError. I use lists at the same way in my other programs it works excellent, but just in this program I have got problem don’t know how to solve it? [COLOR="Red"]Traceback (most recent call last): File "E:\extra_b.py", line 42, in <module> ordna(pile) File "E:\extra_b.py", line …

Member Avatar for woooee
0
157
Member Avatar for xyinyangx

I am in a c++ programming class in my High School, and I am having some trouble with the final I was assigned. We were assigned to make a video game, so I decided to make a text adventure. My code is basically a bunch of if statements telling the …

Member Avatar for xyinyangx
0
764
Member Avatar for Kob0724

I"ll preface this with the fact I'm pretty new to C++ (my background is in Java, so having to deal with these pointers is proving to be a little confusing). I'm trying to iterate through a vector that I passed to a function. I can't get this code to work …

Member Avatar for Kob0724
0
271
Member Avatar for daviddoria

This doesn't seem to behave as I would expect (as it does in matlab, for example). I want to execute a command, but give some readable output instead of the often very messy auto-generated error (index out of range or something). [code] try { MyFunction(1,2); } catch(char* str) { cout …

Member Avatar for daviddoria
0
93
Member Avatar for Lukezzz

I am using VC++ 2008 and wonder, that if I have made a project. "Windows Forms Application" that only consist of an Emty Form. I wonder how it is possible to Compile this so this will be an application. I have searched around in the properties and found something called …

Member Avatar for Lukezzz
0
122
Member Avatar for alivip

How can I get every Token (word) and PreviousToken(Previous word) From text file For example if the text file content is "Every man has a price. Every woman has a price." First Token(word) is "Every" PreviousToken(Previous word) is none(no previos) Second Token(word) is "man" PreviousToken(Previous word) is "Every" Third Token(word) …

Member Avatar for Freaky_Chris
0
244
Member Avatar for MikeyFTW

Ok heres the deal i need to make this program that will allow users to practice their addition and subtraction for whole numbers between 1 and 100, 1 and 200 and 1 and 500 (the levels of difficulty). The user will be allowed to choose which operation to have questions …

Member Avatar for kdoiron
0
123
Member Avatar for hezfast2

I'm writing a program that takes an input string and gets the length and/or gets the number of vowels and consonants in the string. I've gotten it working except for consideration of spaces (which are allowed) and error checking for input other than letters. Here is what I've got so …

Member Avatar for hezfast2
0
111
Member Avatar for nmpgaspar

Hey. Ok, i already asked this question on asp.net and sqlteam forum, but without any luck. Hope it will be diferent here :) So, here the thing: I have created some users to my site using the WAT tool. Therefore, the users information was automatically stored in ASPNETBD.mdf file. When …

Member Avatar for majestic0110
0
262
Member Avatar for blackbeard

I have an assignment to make a text-based snakes and ladders game using Dev-C++. I have so far made a splash screen and a menu (with colours and sounds, pretty cool) using the winmm.a library and the switch/case construct. I have even been able to get player names with a …

Member Avatar for blackbeard
0
1K
Member Avatar for ajberrow

Some JavaScript code which used to work for IE6 no longer works for IE7. Any ideas what I could try to correct the problem? The scripts change a user's password by opening a child window, grabbing the old password, new password and user name from the opener, then execute a …

0
84
Member Avatar for nnobakht

hey guys, im have written a code that all it does is get user input and run a simple fork task. the problem i am running is the commands i type for example /bin/ls and so on does nothin it jsut asks for the next input. Could someone give me …

Member Avatar for Luckychap
-1
692
Member Avatar for sarabhjeet

HI all, whenever we open any python/wxpython program there is one more window other than our application is running which is command line window that black window for showing any error or any output through print statement.So i want to remove that window from my wxpython's application,how to do this?please …

Member Avatar for sarabhjeet
0
137
Member Avatar for vp.softverm

hi all., We r using AJAX for our ERP system. In our project am facing the cross browser compatibility problem, The problem is the [B]javascript grid is displaying out of the <TD> in a table actually am putting scroll bars to the Td of the table. The grid is displaying …

Member Avatar for vp.softverm
0
110
Member Avatar for swapna7999

hi there i want my forms do not move is there any property that sets it at a fixed position thank u very much

Member Avatar for swapna7999
0
76
Member Avatar for mikki2

Hi! How do i add "extras" to comment boxes like is done in the comment box, which you will use to reply this post? You know, the "change font color" icon, "bold", "italics", etc... i checked daniweb's source code and i saw <script> tags and an array within a variable …

Member Avatar for mikki2
0
102
Member Avatar for hezfast2

Hello all, I'm writing a program that gets an input string entered and I was wondering if there is an exception thrown so that the string is valid only if it is all letters. I can find exceptions thrown for only doubles, int.... as valid input but none for only …

Member Avatar for hezfast2
0
108
Member Avatar for buddha527

I have a programming assignment to write the Knight's Tour. I have completed the code using simple recursive calls, my problem seems to be if the user enters any starting location the program takes longer then 45 minutes to complete and I am not sure if it even completes because …

Member Avatar for jephthah
0
2K
Member Avatar for Prabakar

I happened to try find the total number of ways a horse can cover all 64 squares in a chess board without visiting a square more than once starting from one corner. All I was able to do was to use a brute force algorithm which run for a whole …

Member Avatar for Prabakar
0
188
Member Avatar for PersonPerson

Plain and simple. I want to do this: [url]http://www.codeproject.com/KB/dialog/csSlideForm/SlideForm_Main.gif[/url] ...on VB.NET, yet I haven't the least idea about where to start. I've searched plenty without luck. Thanks in advance.

Member Avatar for PersonPerson
0
95
Member Avatar for benasour

I just started to learn C++ after I have been programing in C. I use vim and the GNU compiler in terminal to create my programs. When I was working in C I made a generic one-file Makefile so I did have to write out all the tags/switches every time …

Member Avatar for Duoas
0
1K
Member Avatar for shadiadiph

this has taken me hours and I am going nowhere slowly can anyone please help. I am tryig to get my table to display more than 1 news record everythig i have tried doesn't work or has runtime errors. Here is the basic code that worls and displays the one …

Member Avatar for peter_budo
0
119
Member Avatar for Run.[it]

My appologies if this has been answered before but I couldnt find a specific answer/response. Basically Im wondering how I would assure each random number is one that hasnt been produced already. In the program below Im trying to use the random number produced to act as a specific number …

Member Avatar for Run.[it]
0
135
Member Avatar for Mackjan

Hi I have a function dela ( ) and I want to call it by user (c) times, but I get an error. [COLOR="Red"]Traceback (most recent call last): File "C:/Python25/My programs/extra_b.py", line 21, in <module> for j in range (c): TypeError: range() integer end argument expected, got str.[/COLOR][code=python] if __name__ …

Member Avatar for Mackjan
0
239

The End.