199,114 Archived Topics
Remove Filter ![]() | |
Hi Guys, I am very new to Databases and keep getting this error in VB6 : "Syntax Error in FROM Clause" I'm using a MS Access database connected to my project via the Adodc control which has it's recordsource properties set to my table (Clients), I am trying to filter … | |
[code]#include<stdio.h> #include<stdlib.h> #include<string.h> struct name { int *a; char b[10]; char c; }; int main() { struct name *p; p = ( struct name * ) malloc ( 3 * sizeof ( struct name ) ); char *n; n = ( char * ) p; *n = 275; strcpy ( … | |
Hey guys, I am working on a assignment. I am 90% done with the code. However I stuck on the part where i have to flip the output(vertically and horizontaly). I tried I everything i could. I tried setting the row up side down that way it would help and … | |
hi........ I want display data from database. I done it. but some fields have null values. it display empty field . I attached screen shot with this. If you know the solution pls say to me. | |
[QUOTE]hi all, i had a users page in which the Admin can add users.so while adding a user i am able to restrict the duplicate entries(same names).Those users will be displayed in a table, and there is a edit button, so Admin can edit users account(like active,inactive etc). here is … | |
hi, i work on a windows application and i have a principal form which show another form in its load event: [CODE] private void FormPrincipal_Load(object sender, EventArgs e) { FormR fp = new FormR(); fp.Show(); } [/CODE] the form FormR contain this code in its load event: [CODE] private void … | |
hi, I have a string that has duplicates like "SbS"I want to replace one the first "S" and the other time,the other "S",so the output for it would be: "Sb" and "bS" but as I do it with Replace to just get one result that is : "b" what is … | |
Hi, I m having problem with accessing one form (project1) value in another form(project2). I m using VC++ 2008 express edition and i m doing my project pure vc++. I have to store the the project1's textBox value in project2's textBox.. Please help me to resolve this problem. Thanks in … | |
hi friends, I used following code for automatically incrementing value and stored in database. This working but it have small problem. when I submit value then only incrementing. ex, i entered details for invoice number 2, but it showing invoice number 1. <?php mysql_connect("localhost","root","") or die(mysql_error()); mysql_select_db("menus") or die(mysql_error()); $query2=mysql_query("select … ![]() | |
Hey , Have a task i want to do I have a .txt file with mispelt words and a .txt file which is a dictionary and has correct spelling of words now i know that i need to split both of the .txt files into words , i need to … | |
I started out with RMS lately(well last hour only) and laid out methods for my class to use RMS for data persistency. The MIDlet works fine both in my S40 Nokia cell & the emulator(Sun Java) as long as the App is not closed. [U]Steps[/U] 1. I add record to … | |
Would it be safe to assume that if I had a synchronized DAO for each model that implements an interface too each with access to XML resources. So when my JDesktopPnane builds each JTabbedPane with the corresponding view GUI panel that I could have the code in the in each … | |
Hello, I'm trying to make a circular list by modifying an existing simple-linked list. I'm having a problem when testing whether or not a node is valid. The old code looked like this: [code] return (elem == NULL); [/code] Now with a circular list I have my sentinel node and … | |
Am new to java.How can I solve this small problem? Am using database based authentication to enable mi logon.Am trying to compare the username and passfield fields but I dont know the best conditional operator/logic operator to use. Here is my sample code that contains a red wavy underline in … | |
Hi, I've got a input sheet where start and end dates are saved to a access database, I do have the access database dates field as Date/Time with a short date format. On my output page the start date's month and day are swapped but only if the actual day … | |
Hi, I am putting an upload function in my project. I need to upload only images that is, .jpeg, .gif. But I am not being able to do this, all types of files are being uploaded. Below is my code: [CODE] include("db_connect.php"); //set where you want to store files //in … ![]() | |
I would like to include .swf file in a vb 2005 program. I have no idea how and where to include the .swf file. It is inside the picture box? Please guide me, I am new in vb and have no idea how 2 do it. thx | |
Hello, I'm researching in image processing and need to develop a Gabor filter in C++ and openCV. I found a good sample on which I'm basing my code. Problem is, while I've tried to emulate much as possible the other code, mine is not producing correct results. I changed a … | |
[B]Please Help Me With the codes Im currently having a problem with code[/B] // Im trying to Transfer the Item Collection properties of te LisBox1 to ListBox2 but im having an error of result. Here is the code C# [CODE] ListBox2.Items.Add(ListBox1.Items); [/CODE] Plese help with me the code! Thank you! | |
Hi friend, I want passing the selected text from list into text. i dont know how to do nu. I attached screenshot with this thread. if you can say to me. Thanks...... | |
Hello I have a jsp document,and a java class with some functions,i want that a button that located in the jsp document,will execute a function from the java call on click. but i don't really know how to do it,and i am stuck on it for a week now. If … | |
As part of a program I'm making, I have a class, and have 5 different instances of this class declared globally for accessing by anywhere else in the program. The class has a list associated with it, that should be different for each of the 5 instances of the classes. … | |
I keep getting this error when trying to load this page: [B]Parse error: syntax error, unexpected '=' in /home/xxxxxx/public_html/rma/view.php on line 28[/B] I've been trying to check it, but it looks fine to me... [CODE] <?php $username="xxxxxxxx"; $password="xxxxxxxx"; $database="xxxxxxxx"; $con=mysql_connect(localhost,$username,$password); if (!$con) { die('Could not connect: ' . mysql_error()); } … ![]() | |
Hi I Have 100 Picture Box(PictureBox1-100) And I want to use Each PictureBox with loop like [CODE]Dim left as Integer Do while left > 1 PictureBox 'Picture Box number i used left = 'My Procedure Left += 1 Loop[/CODE] How Can I use Each PictureBox From 1 to 100 Thank … | |
I have a datagridview and i basically click a button that goes through all the rows in the table looking at two particular columns: quantity and re-order level. After every row the code checks to see If the re-order level is greater than the quantity of that particular row. if … | |
I have some web page which contains accented words (in french/italian etc) which I need to parse/extract and display. But the internationalization is not being taken into consideration so crazy characters are being shown. I searched in google for ruby internationalization but came up with rails internationalization. As you know … | |
in global.asax: i given this code [code] public static int count = 0; void Application_Start(object sender, EventArgs e) { // Code that runs on application startup Application["myCount"] = count; } void Session_Start(object sender, EventArgs e) { // Code that runs when a new session is started //count = Convert.ToInt32(Application["myCount"]); count … | |
[/B]hello guyz .. !! i came across this interesting problem and have been trying to figure this out since... here it goes.. We are given 8 similar balls. 7 of them are identical in weight and 1 is defective. This one defective ball can be either heavy or light. We … | |
My friend is building something (in fact, he already built it) that requires an embedded device. The requirements are that it be as cheap as possible and be able to run a GUI that allows the user to select a drink or create a drink and have a little bit … | |
I have a small problem. I have got a fileupload control inside the update panel. and when i upload a file in it,it doesnt contains the file. if(fileupload1.hasfile) { } this statement doesnt get execution. the condition doesnt satisfies. so i got one solution for it.. Make the fileupload control … | |
I need some help with you plz . In class we have to describe the hardware compnets in a computer by relating them with objects, processes, or analogies from the real world. Well I suck with computers and I have read the chpt but im not sure how to relate … | |
Hi everyone, Just a quick question please. Its it possible to MOVE index.php files to a different location ?? if companyA registers to advertise would it be possible to move the index.php i have created to [url]http://websitename.com/companyA/index.php[/url] so the complete URL would read [url]http://websitename.com/companyA[/url] Id like to do the above … ![]() | |
Hi, I am trying to send html mail() to a number of people at once but it appears as spam in gmail, does not appear in yahoo and appears as jibberish in outlook. I need help in this area as am new to it and am hoping for some correction … ![]() | |
i want to create a successful file upload component in a site and i have used and gone thru countless tutorials but it does not seem to work. here is the code i am using [CODE]<html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" /> <br /> … | |
hi guys! a quick question about good coding practice! is it safe/good to break from php and call a js function in the middle of a class? my code kind of looks like this: [CODE]class users{ function login(){ ///other login code ?> <script type="text/javascript"> $.cookie('cookname', '<?php echo $username ?>'); $.cookie('cookpass', … ![]() | |
Hi friends, How we check text box data with database data in php. If suppose we entered any one number in text box, it compared with database , this already available means give any error message. how we do this. | |
The function that my timer carries out: 1) changes the text of buttonX4 from "Copy To Clipboard" to "Your Bio Has Been Copied" 2) after 2 seconds (timer steps in) it changes from "Your Bio Has Been Copied" to "Copy To Clipboard" Problem: After it completes step 2 when i … | |
This code crashes, unless the indicated line is commented out, then it works beautifully. I cannot understand this because it is the 3rd in a series of 4 repetitions of the same thing. Any help is appreciated. Thanks [CODE] int x=0; int y=0; int lp=0; for(lp=1;lp<=4;lp++) { y=0; x++; y++; … | |
this code works but it doesnot display multiple records.. like if i search for Andrew, i want my code to display all names similar to Andrew, Alex, Adam..etc can anyone please help me with the code. Mu code is listed below. thanks [CODE] Private Sub Find_Load(ByVal sender As System.Object, ByVal … | |
Can anyone give me any insight on how to perform a [B]lookup[/B] on a key/definition hashtable? This is the method that I am trying to use to perform the lookup: [CODE] const Object & lookup( const HashedObj & key ) const { return theLists[ hash( key ) ]; } [/CODE] … | |
am new to php. my question is: i have 5 items in adrop down list box . i have items related to that list in mysql database. i want to list those items in textbox from database when user selects an item from drop down list box. example; i have … | |
Hello. I've been trying to learn PHP for the past few days so I hope this isn't a silly question. [code=php]<?php $var1 = 'lol'; $var2 = '$var1'; $var3 = eval("\$var2;"); print $var3; ?>[/code] Basically I'm trying to eval the variable name from a string and then return the value of … ![]() | |
Hi, I have the following J.s and Html code: [code] //function for mandatory function validatebox(field,alerttxt) { with (field) { if (value==null||value==""||value=="Please Choose") { alert(alerttxt); return false; } else { return true; } } } function validate_form(thisform) { with (thisform) { if (validatebox(Givname,"Given name must be filled out!")==false) { Givname.focus(); return … | |
Hi, I would like to have some rotating sequential images on my home page of my website. I do not know how to do this and have found code on the internet for only displaying random images. The main problem is this. Every time the page loads I get a … ![]() | |
I'm trying to make a basic online javascript calculator. I've got the css/html down, and I've created my own images in paint! Only problem is that, when you click the calculate button it says "NaN" for the result for everything i try, and when I do the delete last character … ![]() | |
How to download a pdf link? suppose we have a pdf url (like "http://images.apple.com/support/itunes_u/docs/iTunes_U_User_Guide.pdf") now i have to create a button on click of which it downloads that pdf. i have tried window.open() method in javascript but it opens it in another window. is there a way to download a … | |
hey guys, im doing a databases project and im a little stuck this statement wont work(its part of a jdbc) and i get the following error messahe, any suggestions as to why? [CODE]stmt.executeUpdate("CREATE TABLE LOCATION (" + "serial VARCHAR(10)," + "notice TINYINT(10),"+ "intransit ENUM('T','D')," + "dtnoticeissued DATETIME," + "lat NUMERIC(8,4)," … | |
| |
I have an iframe that is used to access the server so the entire page doesn't reload. The frame works great the first time but after the frame has preformed the query and reloaded, if the script tries to access the frame, I get a "permission denied" error. [CODE]server = … | |
![]() | i have this code but this only prints the line number in the incorrect word *text1*. however i want it to print the line number of the incorrect word located in the text file called words. what can i add to it or arrange? # text1 is my incorrectwords # … ![]() |
The End.