199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for riahc3

If I go to [url]http://localhost/somefolder/somepicture.bmp[/url] I cant see if in my navigator. Now If I go to C:/somefolder/somepicture.bmp It works perfectly. This is completely driving me crazy. I really have no other methods that I could try to get this to work. Ask questions and Ill try to give answers..... …

Member Avatar for riahc3
0
102
Member Avatar for anhtho3008

So here is my assignment: Write a java program to read a name from user . The name is typed all in one line. The name may include 3 or 2 or 1 part from: firstname middlename lastname You should create an email id from the name and print it. …

Member Avatar for anand01
0
285
Member Avatar for Atmos1234

Hi All, I need a help converting CP437 ([url]http://en.wikipedia.org/wiki/.nfo[/url]) to UTF-8. Its like this online converter.. [url]http://kanjidict.stc.cx/recode.php[/url] EG: I need this ▄ converted to [CODE]▄[/CODE] & #9604; with a space because this software converts it already Look for samples on the internet but cant find any.. Im total noob so …

Member Avatar for Oxiegen
0
961
Member Avatar for masterjiraya

My PHP Session Log-in and log-out works fine but this is the problem I have a site consists of admin folder and outside the admin folder are the customer page files. both of them has sessions for log-in and log-out purposes but it acts so WEIRD because if I'm running …

Member Avatar for masterjiraya
0
290
Member Avatar for pseudorandom21

Java: I have a bunch of stuff drawn to the blank space of a JApplet app. I need to add a JButton at a specific location. I don't know how. What's the easiest way to do this?

Member Avatar for DavidKroukamp
0
186
Member Avatar for WolfShield

Okay, I have been thinking about writing a GUI toolkit recently, and after doing some searching on the web, I haven't found much on it it's self. But I believe I have the basic idea down, and I was wondering if you guys who maybe know about this could let …

Member Avatar for WolfShield
0
489
Member Avatar for Trle94

Hey guys I'm working on some app for school that will be easier for my class to do homework and so on... Well first of all i got app to convert Degrees, Minutes and Seconds to DECIMAL. But now i need to get DECIMAL back to Degress, Minutes and Seconds, …

Member Avatar for adam_k
0
167
Member Avatar for swissknife007

[CODE] #include<stdlib.h> #include<conio.h> #include<stdio.h> #include<iostream.h> struct pro { int no; int btime; int atime; int stime; int etime; int wtime; int ttime; int rtime; }proc[100],junk; void sort(int n) { pro temp; for(int i=0;i<n;i++) for(int j=0;j<n;j++) { if(proc[j].atime>proc[j+1].atime) { temp=proc[j]; proc[j]=proc[j+1]; proc[j+1]=temp; } } } pro min(int n,int & t) { …

Member Avatar for swissknife007
0
3K
Member Avatar for mk.hashmie

I have to make a project, where the user can see the student's fee records. He can also modify, delete and add a new record. But i am getting problem while running it. Anyone can please help me :( here is my program #include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> int main() { …

Member Avatar for DeanMSands3
0
154
Member Avatar for sbutler0311

I'm need to use the Goldbach Conjecture to write a program that gets an even number greater than 2 from the user, that checks to make sure it's even and greater than two, and then finds two prime numbers that sum to the user's number. I've tried so many different …

Member Avatar for TrustyTony
0
260
Member Avatar for Ggalla1779

Hi guys I need to find next highest no in a field that is a stick ref it has chars at front and 0 padded How so I strip off front chars and 0's to get actual highest no number in the table field? Am using LINQ against entity framework …

Member Avatar for thines01
0
221
Member Avatar for cambraydesign

I have an RSS feed that is called using javascript. What I would like to happen is that the information gets displayed as html when you view source instead of the javascript. Here's the javascript: [CODE] <script type="text/javascript" onload="$('div.rssBody').vTicker();"> $(document).ready(function () { $('#ticker1').rssfeed('http://feeds.bbc.co.uk/iplayer/highlights/tv',{}, function(e) { $(e).find('.homepageupdates').vTicker(); }); }); </script> <div …

Member Avatar for cambraydesign
0
239
Member Avatar for kristo5747

I built a very simple app using a PHP form with a bit of Javascript. In my form, I have a text input which I used to run a database search. In case I have multiple values, I have a bit of code that puts a comma in between each. …

Member Avatar for Troy III
0
179
Member Avatar for stakeMyHeart

i want to use a* in finding the minimum steps to make the puzzle unary in color. but i don't know how. I don't even know if it is feasible. A* searches from a starting point to a destination. In this case, the flood-it game, there's no specific destination because …

Member Avatar for stakeMyHeart
0
480
Member Avatar for artemix22

i have 1 listbox that contain : cloth, jeans, bra (directly from database) and 1 disabled textbox. The purpose is, when user click cloth or jeans or bra in listbox, textbox should show the price automatically, how can i do that?? this is my code to add item in list …

Member Avatar for artemix22
0
149
Member Avatar for toplisek

I like to set trigger on Jquery based framework. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Trigger scroll</title> <script type="text/javascript" src="jquery.js"></script> </head> <body> We have found an error on your page with form. Please modify this input field.<a id="scroll" href="javascript:void(0);">Please go go to …

Member Avatar for stbuchok
0
182
Member Avatar for avenger123321

[QUOTE]I was given this project as a part of my school assignment, please note that I have very limited knowledge of the language, and my teacher won't allow using anything other than what is used in the following code (Crappy 12th grade curriculum:yawn:)... Here is my complete code, its in …

Member Avatar for avenger123321
0
359
Member Avatar for emclondon

Hello guys, I am stuck again with a new problem. I need help with 3 things: 1. Timer 2. State Pattern 3. Disabling the button on JFrame lets go with the easiest one in the list, the Disabling of button one. I have an app with buttons, and I need …

Member Avatar for ~s.o.s~
0
640
Member Avatar for scheppy

I'm trying to right a statement that depends on 2 JButtons not being enabled I know how to tell if they are enabled like this [CODE] if(myJButton.isEnabled()) { } [/CODE] But is their also a simple way to check if a JButton is not Enabled

Member Avatar for scheppy
0
150
Member Avatar for hmartinez

Hello, I have a strange problem. I am trying to use the tesseract library in my own project. First, I have used it in a new project, just to test it, and everything has gone fine. After that, I have integrated in a bigger project in the same way as …

Member Avatar for hmartinez
0
502
Member Avatar for ahoysailor

Hi, I'm having a problem with using the streamWriter to write to a unicode file. Code as follows: [CODE] for(int i = 1; i < 1018; ++i) { std::wostringstream integer; integer << L"IDS_STRING" << i << L"\t"; wstring thisString = integer.str(); thisString = thisString + L"\"Spare String\""; wchar_t* SpareString = …

Member Avatar for thines01
0
227
Member Avatar for HB25

Hi I am using the fallowing code to give some information back to the user after running some queries. The information will be displayed in row only. [Code] $result1 = mysql_query("SELECT * FROM bookings WHERE bookingID='$last_insert_booking_id'"); echo "<table border='1'> <tr> <th>ID</th> <th>Firstname</th> <th>Lastname</th> <th>address1</th> <th>address2</th> <th>town</th> <th>postcode</th> <th>telephone</th> <th>email</th> <th>Arrival</th> …

Member Avatar for minilik
0
3K
Member Avatar for kikiwisaka

Hi... I am creating function searching on my web with drop down list, text box and button search. The following code: [CODE] <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem></asp:ListItem> <asp:ListItem Value="Pelanggan Rumah"></asp:ListItem> <asp:ListItem Value="Meter Besar"></asp:ListItem> <asp:ListItem Value="Kios Air"></asp:ListItem> <asp:ListItem Value="Pipa"></asp:ListItem> <asp:ListItem Value="Pembayaran"></asp:ListItem> </asp:DropDownList> <asp:TextBox ID="CariText" runat="server" Width="100px" Height="23px" CssClass="text_boxt_search"></asp:TextBox> <asp:Button ID="Find" …

Member Avatar for geniusvishal
0
325
Member Avatar for mk.hashmie

if(strcmp(s.name, stdname)==0) is this statment is correct? i am having an error while executing this statment.. i have givn its headerfile

Member Avatar for jumbowat
0
78
Member Avatar for manojreddy1710

I have to parse different fields of PAT table in this file... the file looks like this in hex editor... 47 40 00 10 00 00 B0 0D 00 00 C3 00 00 00 01 E0 21 63 0D 38 1E ...... ....... my code is [CODE] /*parse1.c*/ [B][COLOR="Green"] #include …

Member Avatar for manojreddy1710
0
593
Member Avatar for jackbauer24

What is the difference between [ICODE]inheritance[/ICODE] and [ICODE]object orientation[/ICODE] ?

Member Avatar for jackbauer24
0
100
Member Avatar for danielbala

Hi.. this is code to display the datas from db to web page .. im not getting the outputphp,mysql <?php $host="localhost"; $username=""; $db_name="dbname"; . mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); $query="SELECT * FROM database"; $result=mysql_query($query); $num=mysql_num_rows($result); mysql_close(); echo "<b><center>List Of Employees</center></b><br><br>"; $i=0; while ($i < $num) { …

Member Avatar for pritaeas
0
134
Member Avatar for vijayram

Hi everyone, how to create slideshow, user click album .all album picture display slideshow.

Member Avatar for WorksForWeb
0
80
Member Avatar for MissJava

Hi there, I have this coursework to do and I don't know why my code is not working. Could you help, please? Many thanks. Task 1 You are to develop a UDP server, and Client, capable of transferring a file (worth up to 60% of total available marks for this …

Member Avatar for DJSAN10
0
133
Member Avatar for justin6345704

Hi everyone. First time poster, brand new to java but I like it. I'm comfortable with the very basics but as we move forward I'm starting to struggle. My prof is not very good about explaining things so I've been teaching it to myself mostly. My most recent assignment involves …

Member Avatar for DavidKroukamp
0
134
Member Avatar for Mr.BunyRabit

Hey there. At the moment to close a form (like to go back to a previous form) i use this.hide(); But ive read things that some statements "Dont realy close the form, and it still runs or whatever" Is this the rigt way to close one of my forms? And …

Member Avatar for DavidKroukamp
0
195
Member Avatar for degroundshaker

I am working on a website where I have 2 php pages. 1st page: addfb.php 2nd page: fbadded.php Now, "addfb.php" contains a form with a text field and a submitt button with form action method set to "fbadded.php" Now whenever I click submit button on addfb.php, instead of going to …

Member Avatar for pzuurveen
0
333
Member Avatar for aldm

Hi, I'm trying to use Zen_Service_Amazon api but I have a problem. When I try to run this code on localhost: [CODE] <?php require_once 'Amazon.php'; //i've gor api key and secret key from my aws account $amazon = new Zend_Service_Amazon($api_key, 'US', $secret_key); $results = $amazon->itemSearch(array( 'SearchIndex' => 'Books', 'Keywords' => …

Member Avatar for pzuurveen
0
401
Member Avatar for TheWayEnd

Hi,everyone My project is scanner for example. Then This is my code... [CODE]Dim htmlele As HtmlElementCollection htmlele = WebBrowser1.document.GetElementsByTagName("h3") For Each htm As HtmlElement In htmlele Dim chld As HtmlElementCollection = htm.GetElementsByTagName("a") For Each ch As HtmlElement In chld ListBox1.Items.Add(ch.GetAttribute("href")) Label1.Text = ListBox1.Items.Count & " Bulundu." Next Next[/CODE] but here …

Member Avatar for TheWayEnd
0
301
Member Avatar for Alexis913

I am trying to launch a process using CreateProcess() I have to modify the Path environment variable as well as add some environment variables of my own. What I am doing is I get the parent's environment block using GetEnvironmentStrings(). I basically copy the parent env block and only modify …

Member Avatar for Alexis913
0
5K
Member Avatar for NetJunkie

Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the …

Member Avatar for Reverend Jim
0
199
Member Avatar for vissure

How to delete a node in a Singly Linked List using a pointer that points to the node? (Assume that you cannot traverse the list to find the previous node) -- With Regards Vishnu

Member Avatar for Sandeep Shetty
0
277
Member Avatar for geniusvishal

Guys plz have a look: I tried to update a particular column by using a dropdownlist while editing inside a gridview... I am getting the following Error on updating... Unable to cast object of type 'System.Web.UI.LiteralControl' to type 'System.Web.UI.WebControls.TextBox' [URL="http://s19.postimage.org/ftytfxkyb/Error2.jpg"]http://s19.postimage.org/ftytfxkyb/Error2.jpg[/URL] I am using the following code: [CODE] <asp:GridView ID="GridView1" runat="server" …

Member Avatar for geniusvishal
0
825
Member Avatar for srm2010

Hello there, I am using winform for printing a receipt created in vs2008.I have buttons that is printing my receipt.I have used pagesetupdialog,printdialog etc in my form programatically.What I want is to have icons of these controls which I have used the way they are availale in msword.I have got …

Member Avatar for Netcode
0
120
Member Avatar for Shreya J

Hi All, I am currently working in a project that needs Telerik Controls in it. But this concept is entirely new to me. Please guide me with its use and implementation in a Project. I need to know even the A B C's of the concept . Thank you in …

Member Avatar for Shreya J
0
185
Member Avatar for tarunfuture

Hello Friends i ahve a drop down in which all the values are coming from the database now i have used ajax and jquery for getting the sub categories in another dropdown and its working fine but the problem is when i am using the name of the select box …

Member Avatar for tarunfuture
0
158
Member Avatar for biojet

I am trying do it the script to put out data after compare two file. I make the script to do that but the result was not enough. in put 1: [CODE]Num posi base 1 14183 ATC 2 26657 GGG 3 49403 GCA 4 57244 GCA 5 58068 GCT 6 …

Member Avatar for biojet
0
138
Member Avatar for uva1102

Hi, I have three roles engineer,supuvisor and manager for my website and I have three master pages engineer.master , supervisor.master and mgr.master and i have some specific aspx pages for engineer,supervisor and manager. I want to use engineer.master page for an aspx page if engineer user is logged in and …

Member Avatar for uva1102
0
163
Member Avatar for scottymex

I keep getting this error from a working script since using Mysql 5.1 This data from the formshould go to the database with table called users and also sendconfirmation email with the details on using regmail. This works on other site but have to use 5.1 for this site and …

Member Avatar for diafol
0
140
Member Avatar for ebadi

Hi everyone: I am new with PHP, though I can do simple coding in PHP. I would like to create category section in the main page, as in some website you see as follows: Category-1 (20) Category-2 (13) Category-3 (5) 1- I want to use the similar technique, counting files …

Member Avatar for diafol
0
1K
Member Avatar for abhijeet P

Hello I have written a code for midlet where one form calls other and data from one form is displayed on another. But on back button the data isnt cleared and also on click back button and click ok tow sets of fields are generated on second form plz help... …

0
229
Member Avatar for EulavValue

Hello, I am pretty new to programming and needed some help with one of my programs. I am trying to have the user input how many numbers they want to plug in then they plug in x amount of numbers until they reach whatever they input. After that I am …

Member Avatar for EulavValue
0
232
Member Avatar for Contagious98

I am having a difficulty in this login form that I have made. The same as the premade template login in VB 2008 which I am using right now. Here's what happens when I run the program Log in form open > Log in successful > Main window appears *The …

Member Avatar for Contagious98
0
281
Member Avatar for aiioef

hello~ i just join in this discussion ....er i am Chinese,so my English is poor i search this problem in Google,but i can't find some useful information some people said PHP version cause this problem... i use PHP 5.3.3 but i saw PHP 5.2.1 books [CODE]<html> <title> test </title> <body> …

Member Avatar for mohamedasif18
0
2K
Member Avatar for triumphost

I read a LOT of tutorials on bitmaps. I learned that RGBQuad is for 32 bit bitmaps and RGBTripple is for 24 bit bitmaps.. I'm planning on getting pixel information from a bitmap that can be of 3 types. 24bit, 32bit, 32bit with alpha (Transparent). Thing is, I don't know …

Member Avatar for triumphost
0
202

The End.