64,152 Solved Topics
Remove Filter ![]() | |
Hi, I have a table in which there is a field for mobile no. Currently the data in the field has been entered with a dash(-) after the code. eg- MobileNo (this is the field name) ------------------------------------- 1. 6016-2880537 2. 6012-3137200 so there is about 400 records in the table … | |
Hey everybody. I'm writing a program that simulates rolling two dice and adds them up, eventually printing out the number of times each possibility (2 - 12) was rolled. The number of times the two dice are rolled is specified by the user. The code I've got so far compiles, … | |
Hey its me again i dunno this string stuff gonna drive me insane really been doing since yesterday exercises on string did half of them but i have this program which should remove chars that i specify and when i test with putchar it does remove them but The string … | |
Ok, I have a program I'm trying to get to work, but I'm struggling to get right. I suspect its when it reads the data from the .txt file. I have to get the average of column 1 and the average of column 2, and get the highest of column … | |
I've been trying to figure this out for a few days, and my teacher can't really answer my question, as he is just as stumped as I am. Python is supposed to be pass by reference, but I keep getting pass by value when it comes to returning a bool … | |
Hello, I'm learning C++ and i want to know how i can develop a program that reads a file like a database, but the program don't know how many lines or columns the file have, and the file is like this: [CODE]"Name Test" "1901" "email@test.com" "John Google" "6673" "john@test.com"[/CODE] And … | |
I'm wondering if there's a way to open standard I/O as a stream, so I can write and read character by character. Something like [code] handle = open(stdio) [/code] Any ideas? | |
hie i want the user to inset the email id in correct format. so i thought of using a masked text box. there are some predefined masks but none for email. plz help | |
update.php [CODE] <?php session_start(); if (!isset($_SESSION['user'])) { die ("Access Denied"); } if ($_POST['submit']=='Update Information') { $name_box = $_REQUEST['name_box']; while (list ($key_check,$val_check) = @each ($name_box)) { $value_check .= $val_check.","; } $all_value_check = substr($value_check, 0, -1); } ?> <?php include 'dbc.php'; $user = $_SESSION['user']; $query = "SELECT * FROM student WHERE user_email … ![]() | |
so, I have a program that uses a keyboard hook, but starts it in another thread so that it can continue executing. The problem is, the only way I have to stop the mouse hook right now is to just kill the thread using TerminateThread(). However, this does not enable … | |
![]() | Hi, I'm having problems with aligning my header.html - I'm using a frameset with 2 rows, one for the header and one for the main area of the page. The problem is that I'm trying to use vertical-align to move my links in the Header page to the bottom of … |
Hey guys, maybe I am just worn out today, but can somebody look at my IF loop (the first one for selcting 1-3) and see where I am going wrong? Everything else seems to be pretty good I think, but this is aggravating me to no end. Thanks [code=c] #include … | |
Hi all, I hope you are well. I am in the process of building a small Java application that reads data in from a unicode text file (.txt) and processes it into a jTextArea. The trouble I am having is that the unicode file contains some Greek characters, most of … | |
This is a very important issue to consider when you're using form/url variables in databases. A user can cleverly put in SQL statements and manipulate your db server as he sees fit if you don't take the necessary precautions. I get the feeling that there are several people that aren't … | |
This is the snippit im having a problem with. I've tried playing with the preferred size of both the JList and the JScrollPane with no luck/mixed results. I want to be able to size it to exactly 1 size so it never changes. [CODE=JAVA] import java.awt.BorderLayout; import javax.swing.DefaultListModel; import javax.swing.JFrame; … | |
HI, I am beginner in j2me. Trying to store the data[array] into next form. It will be helpful if you provide edit and delete the records from the form2. Can you suggest easier way to store the values in j2me [code] import java.io.*; import java.util.*; import javax.microedition.lcdui.*; import javax.microedition.midlet.*; public … | |
Hi guys , i got a problem ,i have some radio buttons in my vb.net project and when i select one for the first question and go through the second question to select its answer the radio button changes to the latest one .. i want it to remain on … | |
Hi, first of all i am not sure if this is the correct place to post this question. I am trying to get the information from a certain div on a website and dynamically display it on mine. Also when the content of the div is updated it will update … | |
Hi I m using asp.net as front end and MS Access as backend,,,,,and most of the help on internet is regarding asp.net and SQL Server,,,,,from where can i get help reharding asp.net and MS Access | |
Yes I'm quite noobish I've been learning C# by myself reading various material I can scrounge online but I've run into a small issue while trying to write a small program. I'm simply trying to use a menuitem as a toggle between various instructions. The basic idea is simply to … | |
Hi Guys I am using C# to make an app that will read an excel file, edit the data and then generate a graph for me using said data. The program works well, but when I open the graph in excel it is incredibly slow and sometimes crashes excel. I … | |
Please help me. I have a site which we'll call "mysite.com" that contains 3 frames. Frame 1 is stuff that never changes (header image, counter, etc). Frame 2 is a menu. Frame 3 holds the contents of whatever link is clicked in Frame 2. The problem is that I don't … | |
I am using Eclipse release 3.4.2 and am getting a popup error saying: "Could not find main class. Program will exit." In the console the error says: "java.lang.NoClassDefFoundError: Inventory" "Exception in thread 'main'" Is there any other information that would be needed to help with this? | |
After building wxWidgets, I need to free space for any unneeded files. Should I uninstall wxWidgets after buidling? and what exactly building does? | |
Hi guys, i am working on this project, which has a C++ program for image processing. I have used Java and matlab for image processing in past so i never had to deal with Magick++ or ImageMagick. At the moment one of my main problem is i cant find Magick++ … | |
Hi All, Im busy working on a practice area for a CMS. I have it set so on a click, the edits are saved to mysql, but what im really after is a pop up window to show how it will look. ive tried java script, but the likes of … | |
Hello i m suppose to make a function that fetch the strings according to num and it will stop when num is finished or it encounter , or ' ' or newline i made the function but its acting weird as if there is a \0 placed in [code] #include … | |
Hello. Im new to Java and I have a question. I wanna access another class (e.g. the name of the class is Person) from class Main. I wanna access specifically, the main of class Person. How do I do that? | |
the text of dynamic label is not complete , why??? I create graphics variablt to measure size of text , than, I set the width and heigh , ?? [code=vb .net] Public Class Form1 Dim counter As Integer=3 'suppose counter=number of columns in 2-dimention Dim g As Graphics Dim d … | |
How I can declare 2 -dimentional resizable array .. can I use array list as 2- dimensinal ?? | |
I can't figure out for the life of me how to import a class declared, defined and implemented within a dll into a host app using any GNU build systems. The two compiler suites I have are Dev C++ and the newer Code::Blocks. I have no problem with this using … | |
I've been working on an assignment: Write a program that produces a bar chart of population growth for a small town, at 20 year intervals during the past 100 years. It should read the populations rounded to the nearest 1000 people. for each year it should display the date and … | |
update.php [code] <?php include 'recipe2db.php'; // get value of id that sent from address bar $id=$_GET['id']; // Retrieve data from database $sql="SELECT * FROM recipe WHERE id='$id'"; $result=mysql_query($sql); $rows=mysql_fetch_array ($result); ?> <form name="form1" method="post" action="update_ac.php"> <table border="1" cellspacing="0" cellpadding="3"> <thead> <th>name</th> <th>ingredient</th> <th>how to cook</th> <th>category</th> </thead> <tr> <td> <input … | |
hiii everyone, I'm novice to this technology. I'm facing a problem in project development, in which I'v to collect the data temporarily during a form fill up which need to contain different details about a person which will be classified as personal details, academics details, project and internship details, achievements … | |
my form window sate (property) is maximized. this is run maximized before. but today it run normally. but when I manually maximized it then it would maximized. what problem with it. | |
Hey All! I have searched around on Google and have found nothing! I want to know how to make custom controls in C#. But customly designed. For example I don't want to use the custom c# 'Button', but design my own in Photoshop, and bring it in giving it all … | |
Hello everyone! I'm having a bad time trying to find a solution to my problem: I'm developping a client-server application. On the server side, I am calling a method, Recoit (receive), that calls internally msgrcv(), a UNIX system call for message-passing purposes. The problem is that I always receive a … | |
Hi, In [B]search_results.php[/B] I have a variable named [B]$path[/B] which display something like: [I]C:/documents/personal/home.doc[/I] I would like to create a [B]button[/B] that link to a new window which is going to display: [I]C:/documents/personal/home.doc[/I] Right now is being displayed in search_results.php like this: [CODE=php] echo "<td align=left bgcolor=$bgcolor id='title'> <font face='Verdana' size='2'>$path</font></td>"; … | |
I have a table with entries for ItemID and Amount ... I am querying this table and displaying the contents from the previous date by itemID and amount. I have the array grouping the items by Item ID what would like to be able to do is to get a … | |
The problem ask to enter numb of students up to 100. but the user enter let's say 10. how do i manage to do that in arrays. Sorry if is a bother but i'm a newbie lol. | |
First I thought it had something to do with that new "automatic properties" feature of C#, but when I used the normal scheme for properties I got the same error message : [COLOR="Red"]Cannot modify the return value of 'AxisTest.Form1.Axis.XOrg' because it is not a variable [/COLOR] Wonder what is wrong … | |
hi i need a list of command line arguments for flash cs4 | |
Hi, I have made a DLL coded in C#, and and executable in C#. I've already have the DLL referenced in my Exe project, so i cannot reference the DLL back to the Exe because it won't let me. Now what I need to do is, call a function within … | |
hello all, Is there some way that i could create a menu just as we all use in various applications that pops up on mouse right click event with loads of options.......it would surely help me save a lot of buttons... | |
Can anyone please tell me what does the this Function do? I understand everything till the "(n * GetPower(n, power - 1))" part. I just can't understand it. I do realise what the "n * " does, it multiplies N to the other side, and I also get what "GetPower" … | |
hi i just installed windows 7 version and i am getting this error while running my vb project [code] The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. [/code] | |
I'm working on a script that lists the number of additional records associated with a record id and returns the number as well as a link to each additional record. It works fine for the first record ... it tells me "4 additional records: and lists the links 1, 2, … | |
Hi, I really hope that someone can give me a little advice. I am working on a program that reads a text file formatted as follows: Bike, Schwinn, 45.00 Car, Mercedes, 98,000 ... I am writing a program that will read this text file and write each item in a … | |
Hi, I am new to this Forum and I hope my question is not out of scope. The following 4 lines of C# code allow me output specific fields from my XML to an HTML file (result.html). The code works fine when I have an XML file (sample1.xml) and an … | |
i am a real noob in php i have a php url say [url]http://xxxxxx.php?chat=[/url] if i give zzz at the end of the url like this [url]http://xxxxxx.php?chat=zzz[/url] the output is yyy i want a script to get the zzz from another script using $_REQUEST['msg'] and the final output of the … |
The End.