64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for newMeg

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 …

Member Avatar for Josware
0
142
Member Avatar for patrick k

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, …

Member Avatar for patrick k
0
114
Member Avatar for MrNoob

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 …

Member Avatar for MrNoob
0
173
Member Avatar for DrDeadite

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 …

Member Avatar for NathanOliver
0
90
Member Avatar for sleign

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 …

Member Avatar for woooee
0
389
Member Avatar for Nathan Campos

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 …

Member Avatar for Nathan Campos
0
101
Member Avatar for tdeck

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?

Member Avatar for jlm699
0
107
Member Avatar for babbu

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

Member Avatar for hkb261
0
137
Member Avatar for papermusic

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 …

Member Avatar for diafol
0
908
Member Avatar for shea279

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 …

Member Avatar for shea279
0
119
Member Avatar for feoperro

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 …

Member Avatar for Troy III
0
100
Member Avatar for no1zson

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 …

Member Avatar for no1zson
0
192
Member Avatar for majestic0110

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 …

Member Avatar for majestic0110
0
232
Member Avatar for samaru

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 …

Member Avatar for cgyrob
1
530
Member Avatar for TheWhite

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; …

Member Avatar for TheWhite
0
1K
Member Avatar for nukabolhi

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 …

Member Avatar for peter_budo
0
250
Member Avatar for xVent

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 …

Member Avatar for Stevoni
0
102
Member Avatar for jonow

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 …

Member Avatar for jonow
0
111
Member Avatar for nverma

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

Member Avatar for Ramesh S
0
96
Member Avatar for Kracus

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 …

Member Avatar for jeremy.adamich
0
116
Member Avatar for kevin.cochrane

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 …

Member Avatar for kevin.cochrane
0
239
Member Avatar for derekn

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 …

Member Avatar for derekn
0
99
Member Avatar for NavyMan

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?

Member Avatar for NavyMan
0
191
Member Avatar for Stefano Mtangoo

After building wxWidgets, I need to free space for any unneeded files. Should I uninstall wxWidgets after buidling? and what exactly building does?

Member Avatar for Hiroshe
0
121
Member Avatar for Software guy

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++ …

Member Avatar for Software guy
0
2K
Member Avatar for whiteyoh

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 …

Member Avatar for whiteyoh
0
177
Member Avatar for MrNoob

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 …

Member Avatar for Dream2code
0
232
Member Avatar for Whilliam

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?

Member Avatar for Whilliam
0
121
Member Avatar for Nada_ward

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 …

Member Avatar for Nada_ward
0
165
Member Avatar for Nada_ward

How I can declare 2 -dimentional resizable array .. can I use array list as 2- dimensinal ??

Member Avatar for Nada_ward
0
3K
Member Avatar for Frederick2

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 …

Member Avatar for dumrat
0
1K
Member Avatar for jko2326

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 …

Member Avatar for jko2326
0
413
Member Avatar for ayuscomeyh

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 …

Member Avatar for arajapandi
0
118
Member Avatar for anindo87

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 …

Member Avatar for anindo87
0
96
Member Avatar for abu taher

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.

Member Avatar for abu taher
0
102
Member Avatar for bodikon

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 …

Member Avatar for Diamonddrake
0
353
Member Avatar for GDICommander

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 …

0
74
Member Avatar for kako13

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'>&nbsp;<font face='Verdana' size='2'>$path</font></td>"; …

Member Avatar for Airshow
0
168
Member Avatar for zeusofolus

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 …

Member Avatar for zeusofolus
0
138
Member Avatar for Leniel

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.

Member Avatar for Leniel
0
115
Member Avatar for ddanbe

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 …

Member Avatar for sknake
0
78
Member Avatar for penguin22
Member Avatar for kashn

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 …

Member Avatar for kashn
0
164
Member Avatar for dspnhn

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...

Member Avatar for johnly
0
103
Member Avatar for metalclunch

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" …

Member Avatar for metalclunch
0
91
Member Avatar for babbu

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]

Member Avatar for babbu
0
82
Member Avatar for CFROG

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, …

0
73
Member Avatar for KimJack

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 …

Member Avatar for KirkPatrick
0
124
Member Avatar for etm9413

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 …

Member Avatar for etm9413
0
152
Member Avatar for dorkwad

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 …

Member Avatar for dorkwad
0
105

The End.