64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for reet_bahl
Member Avatar for Auraomega

Returning back to asm and coding in general, got an issue with what's probably an obvious mistake but I'm stumped non-the-less. [CODE='c']kputs("Testing");[/CODE] [CODE]; ; Print a single character to screen ; kputchar: ; assumes the register ax will contain the character to print mov edx, [SCREEN] ; edx = screen …

Member Avatar for Auraomega
0
106
Member Avatar for ctpsolo

I've created a program that will process a file in a certain manner. The processing works fine, the problem I'm having is to open files that has a " " (space) in their dir or filename. See I wanted to be able to use my program in a easy manner …

Member Avatar for ctpsolo
0
446
Member Avatar for LloydFarrell

Hi everyone, I have been asked to help extract data from a xml file and use the data to input into html form designed in php I have read a few articles but im missing the point some how... On the file that im trying to get the data to …

Member Avatar for LloydFarrell
0
609
Member Avatar for ofir0803

Hi [CODE]$asking_price = "20"; $original_value = "100"; $discount = (1-($askingPrice/$original_value))*100; echo $discount;[/CODE] why $discount always equal to 100 ? it supposed to be 80.

Member Avatar for ofir0803
0
134
Member Avatar for Shantanu88d

I have Mozilla Firefox 4.0 Beta 12 I have written a small javascript to detect ' and avoid it from getting typed in textbox. This works in IE but not on mozilla. Any suggestion ??? If that is not possible then any other logic to achieve same results ?? [CODE] …

Member Avatar for Shantanu88d
0
247
Member Avatar for shazzy99

Hi, I'm doing the following code to connect to Access Db. The db1.mdb is placed in c:\db1.mdb. It giving me error "couldn't find file" [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System; using System.Data.OleDb; namespace CustomerDB { class OleDbTest{ public static void Main() { //create the database connection …

Member Avatar for shazzy99
0
237
Member Avatar for BobFX

Hi, I have a stream server application written in C, that I need to incorporate in a GUI C++ managed new program, but I am having trouble finding the equivalent of the C sockets function calls. The C apps initialize this way: [code] /* * Init socket */ if ( …

Member Avatar for BobFX
0
475
Member Avatar for didi00

Hi guys, I'm trying to use an individual CMS. But when I installed it it shows me this notice: NOTICE: UNDEFINED INDEX: _PAGE IN C:\WAMP\WWW\MYCMS.PHP ON LINE 16 The php file is this: [CODE] <?php if ($_SERVER["REQUEST_URI"]) { if (is_array($tmp = explode("?" , $_SERVER["REQUEST_URI"]))) { $tmp = explode("&" , $tmp["0"]); …

Member Avatar for didi00
0
204
Member Avatar for IndianaRonaldo

i need a command in c++ to scan the first keystroke the user enters ....(i.e) user doesnt have to press <enter> key...i need to scan as soon as he types....please help...thanks in advance....

Member Avatar for IndianaRonaldo
0
181
Member Avatar for RenanLazarotto

Hey guys! Its been a loooong while that I didn't come with any mess here :D I'm making a calculator app for a friend, and I want to make it the more complete that I can. I'm putting into it the basics: addition, subtraction, divison and multiplication. Also, I'm using …

Member Avatar for RenanLazarotto
0
131
Member Avatar for kimbokasteniv

All I am really trying to do is create a textBox where non-contiguous segments of text can be highlighted at any given time. From the experimenting I have done, it would appear that the System.Windows.Controls.RichTextBox is a good fit for this when customized slightly. Extending RichTextBox and getting multiple pieces …

Member Avatar for kimbokasteniv
0
265
Member Avatar for phpDave

Hello, I wrote a script to send out an email and it works except for the subject line. Not sure why. Anyone know? Is it the "" marks? [CODE] $to = ($_POST['e_mail']); if (!isset($_POST['e_mail'])) $subject = "Registration at MySite.com"; $message = "Welcome to MySite! Your user account has been created. …

Member Avatar for phpDave
0
93
Member Avatar for Xentiago

Hi, I have been left in the lurch with a few php scripts on my site and I'm the first to admit coding is not my strong point! I have managed to fix most of the issues, but I am stuck on the following. Basically, I want to query the …

Member Avatar for diafol
0
333
Member Avatar for eman 22

[CODE] list<int>* compare(){ list q; q.push_front(1); q.push_front(2); return &q; } [/CODE] this method returns a pointer to an empty list how can I do to return priority_queue contain 1,2.

Member Avatar for Moschops
0
128
Member Avatar for Fo.katia

I have to creat a program that draws squares instead of circles. It also has to draw additional squares for each mouse click, and at the end print a message "Click again to quit" after the loop, and wait for a final clikc before closing the window. This is what …

Member Avatar for vegaseat
0
471
Member Avatar for rapture

I get the error test cannot be resolved to a type here [code] test[] arrayOftest = new test[ 3 ]; [/code] - ideas or help? [code] public class Test { public static void main( String args[] ) { Point point = new Point( 3, 3 ); Square square = new …

Member Avatar for AztecShaman
0
6K
Member Avatar for write2diba

I am a beginner in C programming language.I have seen many compilers around but I cannot understand which one will be better to use.Plz help me. Thanks....

Member Avatar for rubberman
0
2K
Member Avatar for vishalbhavsar

Hi friends, I am trying to develop a web application in which I have provided a facility for login and logout. I can allow user to log in succesfully, but when user clicks on the logout link and comes to login page and after that if he presses the browser's …

Member Avatar for javaAddict
0
69
Member Avatar for MackSwagga

I am trying to write a small program to keep track of my movie collection but I can't seem to get the streamwriter(I think thats what its called to work). Right now I am working on writing to a text file. I had a couple of questions though, will I …

Member Avatar for Momerath
0
170
Member Avatar for sergent

I know I may not be ready for this but I want to make a client side application that will talk to a server and be able to inspect element. I know some Windows APIs and C++ but I am not sure how to log in the web-site with the …

Member Avatar for sergent
0
144
Member Avatar for Skeldave

Hi, I'm making a tv guide program and I'm letting the user select a start date and an end date and I need to output all the programmes which fall between those times. I'm using linq like this to filter the data [code]var result = from p in programmes where …

Member Avatar for Skeldave
0
107
Member Avatar for igho

I TRY TO MAKE CODE COUNTER WITH CODE [B]MR/IR/001[/B] IN MY APPLICATION USING VISUAL BASIC 2008, BUT WHEN THE CODE GET [B]MR/IR/999[/B] IT`S STUCK AND NOT INCREASING, I WANT TO MAKE THE CODE INCREASE TO : MR/IR/1000 MR/IR/1001 MR/IR/1002 MORE AND MORE ... FOR DATABASE I`M USING MS ACCESS 2007 …

Member Avatar for igho
0
194
Member Avatar for mossa

I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. …

Member Avatar for mossa
0
321
Member Avatar for sj5536

i amconfused that which layout do i used for placing noumber of panel in Frame in following ways 1) first variable lenght(heigth) with is fixed to width of frame 2) second panel in similar fassion 3) third panel in similar pasion and so on

Member Avatar for sj5536
0
108
Member Avatar for vishalbhavsar

Hi all, i am writing a program which displays the data from the file on the applet. but i m not able to do it. I think we cannot access files through applet due to security reasons. is there any alternative to do this?

Member Avatar for JamesCherrill
0
118
Member Avatar for triple_A

Hey all, I'm new to VB.NET, and to programming altogether actually, and I need some help. I am making a program which stores the names and test scores of five students collected from input boxes into a two dimensional array; displays the data in a list box (student names in …

Member Avatar for triple_A
0
277
Member Avatar for wilch

Hi All I am looking for a new language to learn and add to my language set that already contains PHP & C# in much depth. Ruby is one language i was thinking of learning. Can you guys please give me practical uses and/or applications that use/may use Ruby. I …

Member Avatar for snippsat
0
278
Member Avatar for atfOnly

I'm a totally beginner in javascript. i need some chunks of code of it. i have a form. i'm going to store the field into mysql. there are 2 conditions : one or all fields empty OR none is empty. when there's no empty field, the data will be stored. …

Member Avatar for Akash Saikia
0
512
Member Avatar for South

For some reason it just jumps to the else statement instead of going to if and elif. Any input would really be apreciated. [CODE]a=raw_input( "What is your name: ") b= int(raw_input( "What year were you born: ")) c= int(raw_input( "What year is it now: ")) print "Hello",a,"you are",c-b,"years old." class …

Member Avatar for South
0
116
Member Avatar for ebanbury

Hi I've been using mysqli and recently moved a website to a new server hosting company. They have recently informed me that the version of PHP they use does not support mysqli. I'm not really sure about the why/why not's etc but could I just change all instances of mysqli …

Member Avatar for ebanbury
0
141
Member Avatar for jamesl22

Hi, I am writing an FPS game in C++ using OpenGL. I am trying to write the crouch system but I want to make the crouch more smooth. At the moment you press the crouch key the character immediatly moves down. Here is the code: Crouch Down: [CODE] entity[0].crouching = …

Member Avatar for jamesl22
0
282
Member Avatar for Whilliam

Hello guys, I have a very simple problem for you to solve. It's not simple for me but it's probably very easy to you guys. I've tried searching this but failed. Anyway, here is my problem. I have an image. When I call a function with onclick, I pass the …

Member Avatar for Whilliam
0
104
Member Avatar for KazenoZ

Hello, I've finally come to a point when I want to send my program over to some people to test, however, I've run into problems on that. This is my first time writing a program in managed code(C++\CLR), and so far, all I had to do was pack the redistributional …

Member Avatar for KazenoZ
0
254
Member Avatar for androidz

Hi guys its me again i have another problem this is related on my previous topic which is making a label during run time. Now that i have learned how to make a label at run time i also made a textbox during run time which is the same concept …

Member Avatar for androidz
0
3K
Member Avatar for flynismo

The title is probably confusing, but here is what I am trying to do and failing miserably at: I want to display all the items from my db table named 'inventory'. Then, a user would select one item by clicking a 'Add to cart' image button. When the button is …

Member Avatar for flynismo
0
122
Member Avatar for Violet_82

Hi there, I have a really quick question about a shuffling and dealing cards program I found in a book. here's main: [CODE]// Fig. 8.27: fig08_27.cpp // Card shuffling and dealing program. #include "DeckOfCards.h" // DeckOfCards class definition int main() { DeckOfCards deckOfCards; // create DeckOfCards object deckOfCards.shuffle(); // shuffle …

Member Avatar for Violet_82
0
4K
Member Avatar for Sturdy

Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that?

Member Avatar for Sturdy
0
5K
Member Avatar for moonL!ght

hi i want to be a web developer, im studing javascript right know but i didnt now how to studey it actually the book im using is awful any recomendation other that w3school thanks for any one that want to help me.

Member Avatar for Airshow
0
101
Member Avatar for Chubbymouse

Hi there, I have a very basic CMS system that I wish to update within itself and on the same page to cut down the amount of pages it gives me. At present I have a content box and an edit button, this box is validated by JS and if …

0
76
Member Avatar for wildplace

hi, i have the following codes, is there any way to check if the user entered a character instead a number? btw, i dont want to change the input type from long to char thanks =D [CODE] long input; printf("enter a digit to your list: "); scanf("%ld",&input);[/CODE]

Member Avatar for Narue
0
156
Member Avatar for zachattack05

Looking at examples online, all of them seem to have: [CODE=C#]int read = s.EndReceive(ar); if (read > 0) {//Some code}[/CODE] The question I have is...why? Why bother with the [ICODE]if (read > 0)[/ICODE] when the MSDN says that EndReceive blocks until data is received? If you call [ICODE]int read = …

Member Avatar for zachattack05
0
165
Member Avatar for aispg8

Is there an easy way to schedule a webservice that was created in vb.net. Would I need to create a .asmx file or do I create an executable in vb that calls a webservice? Or....I have created a webservice using SOAPUI 3.6.1. would it be easier to schedule that instead …

Member Avatar for Oxiegen
0
166
Member Avatar for karthik_ppts

Hi Frendz, I have a latitude and longitude points of particular place namely X. Now I want to check the given latitude and longitude point of a place namely Y is within a circumstance of a particular radius from that point X. How to check that? i'm using google map.

Member Avatar for karthik_ppts
0
161
Member Avatar for emanfman

Hi, I am a little bit troubled. I want to call a function in a separate file on a windows form. Here is my header file: [CODE]private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { String ^OriginalText; String ^ConvertedText; OriginalText = this->textBox1->Text; ConvertedText = ParseBBCode(OriginalText); this->textBox2->Text = ConvertedText; }[/CODE] This means that …

Member Avatar for emanfman
0
317
Member Avatar for jhonilson

Hi. I am using TinyMCE editor in my web but when I submit the form the text is save in the database without format. Could you tell me please How I can submit formatted text with JSP?? NOTE: *i am using netbeans 6.9 *the form is "multipart/form-data" *the tinymce version …

Member Avatar for jhonilson
0
74
Member Avatar for Olivis

Hey! So i just started reading through some Database tuts, because i needed it for a project that i am making. I am using the HomeandLearn tutorial. So i have a database called "AdressBook" and then this code. [CODE]Public Class Form1 Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As …

Member Avatar for Olivis
0
231
Member Avatar for TechySafi

Hi guys! How you doing? Well I'm having a little headache...here is it :D [CODE]$emaillist=mysql_result($checkemail, 0); print_r ($pieces = explode(",", $emaillist)); //printing values for debugging $useremail_array=mysql_fetch_array($useremail_query); extract($useremail_array); print_r ($user_em); //for debugging if(in_array('$user_em',$pieces)) { ?> <div class="discussposttext"> <form action="more.php?id=<?php echo $id; ?>" method="post" id="jstest"> In reply to ID:<input type="text" name="inreplyto" /> …

Member Avatar for TechySafi
0
163
Member Avatar for sumprit

Hi, i am still stuck in SQL query about how to retrieve data from two tables. I have two database tables- Forecast [CODE=text]------------------------------------------------------------------- TimeStamp | Temperature | Rainfall | Wind | City_Code ---------------------|-------------|---------|-------|------------- 2011-03-13 10:00:00 |22.2 (degC) | 0 | 7 | 1 2011-03-13 11:00:00 |23.1 (degC) | 0 | …

Member Avatar for debasisdas
0
176
Member Avatar for Jake.20

Please guys i need help in log in form, i'm newbie at php and tomorrow is the submission of our case study. can somebody help me in log in form. i'll post a code below and tell me if this is correct, if no please provide the right answer, and …

Member Avatar for Jake.20
0
195

The End.