199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shanker31
Member Avatar for haimz

hello evryone, i'm changin the url by [CODE]RewriteEngine on RewriteRule ^forum-(.*).html$ ./forum.php?id=$1[/CODE] now if the url is forum.php?id=231, how can i auto change the url to forum-231.html thanks, haim .

Member Avatar for haimz
0
369
Member Avatar for himgar

I have set two environment variables for JAVA JDK. 1. PATH=C:\Program Files\Java\jdk1.6.0_26\bin;%PATH% 2. CLASSPATH=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar When I compiled the file using javac it was done successfully but when I ran the file using java command I got the following error: Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld

Member Avatar for rajatarora612
0
197
Member Avatar for masterjohji

I have the code given to me by my classm8 which tells the largest , 2nd largest , 3rd largest and smallest number. but I can't understand how his code works.Can someone explain this to me? [CODE]import javax.swing.JOptionPane; import javax.swing.JDialog; public class exer1 { public static void main(String args[]) { …

Member Avatar for peter_budo
0
158
Member Avatar for zebnoon

Hye All Please help me to create Data Reports Accourding to given Dates. I Created a VB6 Form put 2 Time/Date Picker Controls and one Command Button.what will be code for Button to display Report Between given dates.

Member Avatar for zebnoon
0
584
Member Avatar for Riteman

I know that php is same like HTML. I have the codings. But wondering how to execute it...? I use Dreamweaver but in vain.. i get no result.. some body pls help me.. It asks me to set a server for it. Though i set, no result obtained...!

Member Avatar for diafol
0
147
Member Avatar for facarroll

I have two related scripts. The first script displays a pass or fail icon depending on whether the value of passState is 1 or 0. If a student failed a quiz the row also displays a link to check.php so that the student can view their quiz attempt in a …

Member Avatar for facarroll
0
132
Member Avatar for didi00

Hi everyone. So I have a shopping cart which has a product details. The thing is, the photo is taken from the database but it is just a plain photo. I want to make it more pretty, so I want to add the prettyphoto script to it. Basically I have …

Member Avatar for didi00
0
88
Member Avatar for Riteman

Dear Daniweb members.. Am on ma way to learn java. I hav bit knowledge about c,c++. Since am new to java, I need help for the following questions: 1. Where can i get the java software? (like turbo c++ for cpp)I need a link for it. I heard that it …

Member Avatar for Riteman
0
177
Member Avatar for localp

Hello, i have written a code in 'C' using visual C++, and i was able to create a DLL out of it. Now i need to access a method of this DLL, from my C# Main() method. How do i do this? The steps that i followed so far; 1.) …

Member Avatar for localp
0
167
Member Avatar for IDC_Sharp

i made a simple code, but i have a problem and i don't know what to do.. everything work, the programs is running and all but when i click 'Download' it's write this message: "The remote server returned an error: (404) Not Found" this is the source code:

Member Avatar for IDC_Sharp
0
78
Member Avatar for marcux

Hi all! I have a array problem I can not figure out. I have an array that I copy in a method and returns the copy, but I do not get a copy of the array. I just get strange values. [CODE] public class AClass { private float[] original = …

Member Avatar for JamesCherrill
0
134
Member Avatar for eman 22
Member Avatar for m4ster_r0shi
0
614
Member Avatar for anandhikrishnan

Hi I need to get input for a css class font-size attribute from the user like 8px,10px,12px and so on.. and dynamically I need to change it. I get the following code from net function changecss(theClass,element,value) { var cssRules; var added = false; for (var S = 0; S < …

Member Avatar for Airshow
0
197
Member Avatar for Labdabeta

I just observed an unusual phenomena in my code. I am wondering if anyone can explain it. [CODE]void dofunc(int a, int b){a+=b;} void foo(int near,int far){dofunc(near,far);}//Syntax error, expected primary expression before , and ) void poo(int vnear,int vfar){dofunc(vnear,vfar);}//Compiles fine?[/CODE]

Member Avatar for Salem
0
172
Member Avatar for vishalrane

Suppose der is one database name Customer which have columns like Cust_ID,Cust_Name,Cust_Mob,Cust_Address And on Form der are one list box which contains all Cust_Id from database and 4 textbox so when user click on the listbox having id as 1 it should display name, mob and address of cust_id 1 …

Member Avatar for saj_amo
0
6K
Member Avatar for saj_amo

hi guys , help me in this i have made a report in crystal reports 10 in that i want the field only displays data without the special characters like its showing 11-00-3200-002-37 but i want it would show the field like this 1100320000237 without (-). so does any one …

Member Avatar for saj_amo
0
292
Member Avatar for sha1023012

Hello everyone, My table is not showing right I have look over my code but I do not see anything wrong. So I figure I post it on here to see if any of you guys see it. Here it is [CODE]<html> <head> <title> Html Tables</title> </head> <body> <?php echo …

Member Avatar for rotten69
0
2K
Member Avatar for kroysemaj

Okay so I just got my first contract job... from my wife. (Dun Dun DUNN!) My wife works in clinical research and spends a lot of time traveling and scheduling site visits for her job. She asked me if I could write a program for her that would give her …

Member Avatar for kroysemaj
0
139
Member Avatar for abhi10kumar

[CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] [/CODE] The above works only for branid=27 and If I include mutilple statements, LIKE [CODE] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /products.php?brandid=27&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=42&pname=$1 [NC] RewriteRule ^(.*)$ /products.php?brandid=47&pname=$1 [NC] [/CODE] it will also run for …

Member Avatar for vibhaJ
0
2K
Member Avatar for ananswer

Ok I'm new to coding and am trying to figure out how I can code in Visual Studio C#. I have a database table that has 3 columns and 10 rows. The column headings are Status, ID, and EmployeeName. In the Status colum, each row has a single digit from …

Member Avatar for kvprajapati
0
126
Member Avatar for Huakalero

In the line 72 of the code i do a findAll to retrieve all 'a' tags that have a 'horariosCarteleraUnderline' class and that have an href url that contains `?ic=[code]&` where code is a common code used to identifie the movie start time. It should retrieve all movie times, but …

Member Avatar for Huakalero
0
222
Member Avatar for Buolbear4444

I can't find the C/C++ drop down menu. I know it's basic, but how do you change it? Was there some kind of update?

Member Avatar for Ancient Dragon
0
182
Member Avatar for pro_learner

I'm novice to C#.net & i'm using Visual Studio 2010 as the IDE.I have created a Desktop Application in C# & i want to connect it with the Database in SQL server 2008.Friends can you tell me the code or web links to solve this issue.....

Member Avatar for pro_learner
0
1K
Member Avatar for MrVBLearner

I am trying to control the security board using the Windows Firewall which connects to my server that was made in VB.Net. My only problem is when I open the Windows Firewall my server crashes. It also displays this error: "Error, win%fir%90y4e does not support this server. Please upgrade you …

Member Avatar for Crack Cracker
0
299
Member Avatar for jarograv

I have this code: [CODE] def closest(): citiescomp=[] distances=[] for i in range(0,len(city_names)-1): citiescomp.append([city_names[i], citiesx[i], citiesy[i]]) while True: try: targetx=int(raw_input('Please enter the x coordinate of the city you wish to target: ')) if targetx in range(0,1000): break else: print "Oops, it seems like you made a mistake. Try again by …

Member Avatar for Gribouillis
0
108
Member Avatar for katrien202

Hi, I want to put plots using pyplot in a Tkinter window, a frame. I want to have the options I usually have in pyplot figures: the user has to be able to zoom, save,... so a photo of the image will not satisfy. Does anyone now how to do …

Member Avatar for Ene Uran
0
80
Member Avatar for glucose

I am writing information to a list box and I want to be able to have a small case letter following a period with no space between them ie: Harry.c I am using VB6. I will appreciate any/all help. Thanks.

Member Avatar for WaltP
0
112
Member Avatar for Romil797

Exactly that. Using NAudio or DirectX, can someone show me how to convert a wav file to mp3. Mp3 to wav seems trivial, but unfortunately i need wav to mp3. Thank you for your help

Member Avatar for CsharpChico
0
385
Member Avatar for Naveed_786

Can nay one tell me how can i set user permissions on form level to control user i.e i want to allow user1 only add permission and uer2 should have both add and edit permission how to do it on form level. Thanks in advance.

Member Avatar for hfx642
0
458
Member Avatar for FriXionX

So, I joined DaniWeb in february, and posted a problem regarding this code. I then quit learning for a while, and started again a week ago or so, continuing this. I've made it better, and its almost working, except for the If statement doesnt work. It asks you what you …

Member Avatar for FriXionX
0
118
Member Avatar for localp

I am new to C, hope someone could help me here. I need to implement a keystroke, for example, i need to programatically implement the 'return key'. As in if someone is pressing the 'return key' from the keyboard. but here, the user will not even touch the keyboard. the …

Member Avatar for localp
0
164
Member Avatar for jeffande1966

I am new to Python and encountered an issue while trying to write a script. I am receiving a list index out of range error while trying to read the criminal activity layer file. Any help would be appreciated. Jeff [CODE]import arcpy # Data Layers in Secondary Map Document mxd2 …

Member Avatar for TrustyTony
0
422
Member Avatar for ppetree

[B]Problem:[/B] I have a zip_code/city/state table that has full names and abbreviations for some common things like FT (FORT) and IS (ISLAND). So, I may have a record something like this: zip = '31522' city = '[COLOR="red"]IS [/COLOR]HARBOR POINTE' locationtext = 'Is Harbor Pointe' location = 'US-GA-[COLOR="red"]IS [/COLOR]HARBOR POINTE' and …

Member Avatar for smantscheff
0
121
Member Avatar for de Source

Hi, i have a form in which i have different labels and picture boxes is there any way i can get the print of it by pressing print button on d same page but ofcourse that button shouldn't b d part of that print thnks

Member Avatar for vishalrane
0
122
Member Avatar for ibn_sumal

I have 3 images and 3 buttons, once a button is clicked its image will be displayed in a box. Now i want to be able to link each [B]image[/B] to a different page once it is clicked on, so far i can only link all 3 images to the …

Member Avatar for Luckychap
0
1K
Member Avatar for madhub2v

Can any one tell me I learnt about JDBC,Hibernate technologies. I wonder about WEB Projects which uses JDBC technology exist today.? If yes How they are configuring JDBC Logic in web application in practical scenario. thanks.

Member Avatar for masijade
0
129
Member Avatar for ranj_s20

I exported a crystal report to PDF.It's working normally in all browsers except Google chrome.Can anyone suggests any code to make it compatible with all browsers?The code i used to export is shown below [CODE] System.IO.FileStream fs = null; long FileSize = 0; DiskFileDestinationOptions oDest = new DiskFileDestinationOptions(); string ExportFileName …

Member Avatar for vishalrane
0
182
Member Avatar for umeshMCA

hi i am new user of asp.net with C#. and i install vs2008. but when i start a new project and then want to select ASP.NET AJAX-Enabled Web Site but there is no install ajax enabled website tool. how i use ajax without this. please help there is only these …

Member Avatar for vishalrane
0
100
Member Avatar for sandeepparekh9

Listing All The Installed Softwares In Computer Using .Net Don't Forget To add [B]using Microsoft.Win32 [/B] For Complete thread with screen shots see here:[snipped]

Member Avatar for vishalrane
0
184
Member Avatar for nibalan

I am writing a script in perl for my project. I have given a snippet of the files below start.pl contains: system("/ws/nibalan/submain.pl"); submain.pl contains: system("/ws/nibalan/submanual.pl") open(INPUT, ">/users/$login/input"); - - some writing into input file submanual.pl contains: open(INPUT, "/users/$login/input"); open(MANUALANS, ">/users/$login/manualans.pl"); - - some writing into manualans.pl file While trying to …

Member Avatar for roswell1329
0
210
Member Avatar for zachattack05

Is it bad practice to create relationships between tables where the PK is an identity AKA auto incremented? The reason why I ask is, while identity keys won't repeat, they are set based on the order that someone enters data, so the first entry is 1, second is 2 etc... …

Member Avatar for zachattack05
0
137
Member Avatar for heshanm

Hi all, According to my project, if a customer opens an account he should be able to deposit or withdraw cash. This is my table structure. [B]account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) [B]transaction[/B] (tran_id, transaction_type, from_account, to_account, transaction_amount, transaction_date) I want …

Member Avatar for diafol
0
461
Member Avatar for geekme

While debugging my code in vS2010 i get the buid error: " Visual Studio cannot start the debugging because the debug target 'D:\Users\Mike\AppData\Local\Temporary Projects\beginner\bin\Debug\beginner.exe' is missing.Please build the project and retry again." What should I do? Regards

Member Avatar for geekme
0
82
Member Avatar for Mike Bishop

I am doing some calculations and the outcome of those sums are like 0.743449889958 the sum is calulated like so textbox.Text = (textbox1 * _Units) / _priceincur how would i format the string so that it only shows 0.7434 (rounded)

Member Avatar for Luc001
0
123
Member Avatar for Huakalero

Hi, I am using beautiful soup to get data from a webpage. With help I was able to get a list of cities with correct accents. Now am trying to get a list of movie theaters in a selected city but these come with no accents, but with weird characters. …

Member Avatar for Huakalero
0
882
Member Avatar for UltimateKnight

I am using Microsoft Visual C++ Express 2008 edition and notice some code is not working in here. There are different functions and some headers are not recognized while in other are. So is the compiler not good? I've heard about Dev C++ and Turbo C++ but haven't tried them. …

Member Avatar for UltimateKnight
0
102
Member Avatar for Mykal73

I have an application which updates some files overnight from an oracle server. the application runs fine until at the very end when it closes. Then I get the message "Application has encountered a problem and needs to close. We are sorry for the inconvenience." when I click on the …

Member Avatar for Mykal73
0
118
Member Avatar for baig772

i m suffering with the following error Warning: oci_connect() [function.oci-connect]: ORA-01017: invalid username/password; logon denied in C:\wamp\www\New Folder\connection.php on line 4 but i've tried atleast 100 times, username and passwords both r correct $conn=oci_connect("sysdba", "hammad90", ""); is thr any problem in the above code?

Member Avatar for baig772
0
794
Member Avatar for simpsonzia

Hi, guys! I started to learn assembly just a few months ago. Last time I wrote a small program to compute the CPU frequency, and it worked out. Two weeks later, however, when I recompiled the program, I couldn't get the correct result. It's about 4-5 times less than the …

Member Avatar for coffeeuncle
0
246

The End.