64,152 Solved Topics
Remove Filter ![]() | |
[ATTACH]22040[/ATTACH] the following code displays output as in attachment.. it skips some of the value.. in the above output, am not getting group name for DTA. but if i add [CODE]where groupid='DTA' in query[/CODE], it displays groupname. what went wrong here? please help.. thanking in advance. [CODE] while($rowmain=mssql_fetch_array($resultmain)) { $course … | |
why my vb6 crashes whenever I add a label? I tried uninstalling and re-install vb6 but it seems not to fix the problem. How can I remove all vb6 files and components? | |
I can't seem to get my register page working with a password. This is the query I executed: [CODE]CREATE TABLE dbUsers ( id INT(10) NOT NULL AUTO_INCREMENT PRIMARY KEY, username VARCHAR(16) unique, password CHAR(16), email VARCHAR(25) );[/CODE] It only registers if there is no password filled.. | |
Hi Guys, There are unwanted character in my columns. this character is came from the bulk insert. How tdo i removed this character using scripts. Please see sample below. [CODE] ItemCode--Item Number ---------------------------------------------------------- 123--Phone power on but vibrate is too weak P300-3110-VX8575 124--place a test call. P300-1710-DROID 125--power issues.touchscreen not … | |
I'm making a simple box in the header of Joomla that displays the total quantity and total value of the cart. It works perfectly in VirtueMart, but once I leave the storefront the (Total) value is removed. How do I fix this? I would like to set a permanent super … | |
So I've been trying for about a month or so but been busy recently so couldn't address it then. Here is the code. [CODE]Public Class Form1 Dim CurrentTime As DateTime Private Sub ButtonStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ButtonStart.Click ButtonStart.Enabled = False ButtonPause.Enabled = True CurrentTime = … | |
I thought I'd play around with vPython so I wrote a 3D breakout game (I used to have one on my Amiga and I haven't seen one for Windows). Everything is done except for one wee problem. I want to idle while waiting for the user to click the left … | |
I am trying to insert a piece of html code into a web browser control in vb 2010. i have tried the [COLOR="Green"]webbrowser1.documenttext[/COLOR] function but cant seem to get the browser to run the html code. can anyone help? thanks | |
Hi I thought iI would try to teach myself how to program, so sorry if this has been asked before but I could find it. What I am trying to do is limit an input to of an int to 50 or less with out the program throwing up an … | |
I have a commenting system on my website which displays the date and time of when something was commented. I have used this method to do it at the moment: [CODE] date_default_timezone_set("Europe/London"); echo $date = "posted on " . date("Y-m-d") . " at " . date("H:i:s") . "<br><br>"; [/CODE] I … | |
Hello, like before, I'm still trying to make a register page with login and logout. Here's the link to my server (If I'm not allowed to share links please remind me.) [url]http://fifarulez.dyndns.org/hacks4all.wapzan.com/registration/[/url] After the registration it will give 2 warnings. ( ! ) Warning: mysql_query() [function.mysql-query]: Access denied for user … ![]() | |
I have a script written up that takes an image and displays it. I originally intended to have the image then have parts fall away, but I am having trouble getting parts of the image to move separate. Is there a simple way to do this or am I going … | |
Hey everybody,it's the c++ creator.I am a beginner at C++,and am getting confused at functions.I am learning from a site called cprogramming.com and this is what they say- [QUOTE]Lesson 4: Functions (Printable Version) Now that you should have learned about variables, loops, and conditional statements it is time to learn … | |
I'm creating a program that perform store data and retrieve data from the arraylist. I have no clue make the program find the data in Arraylist and display the data that user is looking for. If data is not in the list, the program would print the line say that … | |
I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure … | |
I'm used to c++ along with an open database (switched from mysql to postgres not too awful long ago.) A new job I'm looking at taking focuses heavily on .net along with SQL Server. As such, I've been looking into the .net framework and what I can't seem to figure … | |
I was wondering if anyone could help me compile code which will actually work for my comiler. I've found many examples and two good references for... keyboard [url]http://www.codeproject.com/KB/system/keyboard.aspx[/url] and mouse [url]http://msdn.microsoft.com/en-us/library/ms646260[/url] ...but have never actually gotten a working version to run and therefore haven't been able to fiddle around with … | |
Hello, I need to know how do i locate a form window on custom location at the desktop: At application start. EX: Screen: [url]http://img707.imageshack.us/img707/5653/56465ytyt.png[/url] Other question: is there any idea to solve the design bugs on other Pcs? P.S Im so newbie at VB.NET x) | |
I am trying to run what i thought was a pretty basic program to solve a problem concerning strings (besides the point). It turns out that my algorithm works properly but i am stuck on a detail; the following segment of code is the problem: [CODE] int cases; string line; … | |
Hi! I have this code that adds field when the user hit the "add new field" button. The problem here is, once you added an input field, then fill it out, then add a new field again, the info in the first field be erased. As how the code runs, … | |
code for bold,italic and underline in c# when button is pressed..... | |
Its providing me error................................ [code] insert into products_information values(1,to_timestamp(current_timestamp,'DD-MON-YYYY HH24:MI:SS'),1200,10,1000,12,1100,10) / ERROR: date format picture end before converting entire input string.... [/code] This is making me nuts... Please Help a bit.... | |
Hi All, I'm Trying to solve this puzzle for my script: Let's say we have 3 lists, A,B and C with the following elements 'A' = [5,3,1] 'B' = [6,5,2] 'C' = [2,0,-2] I want to go through all 27 combination sequentially, looking for a combination that is 'valid' AND … | |
I posted a while back ago on making directx work in classes. I'm having more issues now. On line 125 (system.cpp), when in debugging, it tells me that it has an access violation. I googled the issue, and someone had said something about initializing the pointer, but that is taken … | |
i wanted know the vb.net code that checks the password strength on the basis of length ,special characters ,both combined ,numeric,alpha-numeric.... >>contents of form may include: >textbox for password >label or progress bar or trackbar to tell the user the strength(good ,very >good,excellent,poor) >button to execute commands... | |
Hi, I am facing problem regarding the element wise comparison of two strings and finding the difference of two Strings where one sting is not sub string of other. More than that Strings are of different length. Let String 1= "1 2 3 4 5" String 2="3 4 5 6 … | |
Hi to Everyone, i want to filter my record in datagridview w/o database like a search. Is it possible?? anybody can help me please ^_^ | |
hi, everyone, i have a question abbout pdf and php. I use php , mysql and ajax in my page. After upload the pdf files i go in this page and get to data in table with paging. My question is hot to load the pdf files in same page … | |
Hello, I've always liked coding and lately I've learned a little but more of it. Now I also understand sql and db a little more. My problem is that my register.php file seems to give me a notice. Notice: Undefined index: op in C:\wamp\www\hacks4all.wapzan.com\registration\register.php on line 11 and Notice: Undefined … | |
Hi, I am new to ColdFusion , so i need so help from all.... I am going to do a form having multiple submit buttons in it . So how can i know which button was clicked. according to this i want different work... Like simple i want to do … | |
Hello, I am currenrtly trying to write a query in Microsoft Access 2010. This query retreives a list of values from a table I have called tblTable Some of the values are numeric and some are alpha numeric. I am trying to do the query so that when it comes … | |
Greetings. Ok so my problem is that I get a "Currency" formatted value from the database and this value sometimes comes as a whole number (without decimals) and sometimes it doesn't. But, when I output the information as "string" into an XML File, I [B][I]always need to show the 2 … | |
HI guys i have a little problem while i post the data that is class_id and subject_id to my db with it extra field is generated having zero in class_id and subject_id e.g below [B]Edit Delete 0 0 Edit Delete 315 1[/B] beside the original ids.here is my code below … | |
i've read many articles and discussions through google, i have followed and corrected all yet still nothing happens. they say that it does not appear if it has no data to display, yet it does have data. i also set AutoGenerateColumns of gridview to true i was using linqdatasource connected … | |
Greetings expert programmers, May i ask for a help on how to solve this error? " A network-related or instance specific error occured while establisihing a connection to sql server. The Server was not found or was not accessible. Verify that the instance name is correct and that SQl server … | |
Guys,i want to wait or sleep statement in a Java Desktop application when button press.I used thread.sleep & wait().But it doesn't work.I have a doubt that those functions are working only for console applications.Is it? or can i use it?Plz help me.... | |
did someone know Ms-Dos's dir command i need to take all contets of any folder for using my praggram how can i do that is any one knows? thx for replys | |
In my index.php file I have this $answer = $a + $b; echo '<iframe src="ianswer.php".....etc. etc. ianswer.php contains only the following line echo $answer; But the ianswer.php doesn't know what $answer is. If I change that line to echo "RUBBISH"; The word RUBBISH appears in the iframe. How do I … | |
After marking gofish up to a temporary loss I've moved back to my address book. The issue I'm currently having is that webbrowser is opening the wrong broswer. I've set my default browser to firefox (currently using windows vista), and yet the program is still opening IE, however when I … | |
I'm doing an exercise about pointers in this C book i'm reading. This code should traverse through a linked list and there's a function that removes an entry from the list. It works, and I don't know why. The function removeEntry is undeclared int the main() function. Here's the code: … | |
Hey, I'm having a problem executing the following code: [CODE] <?php session_start(); require('connect.php'); if($_POST['username'])){ $name=$_POST['username']; $checkUsername = mysql_query("select * from users where UserName='$name'"); if(mysql_num_rows($checkUsername){ echo 'Logged in successfully!'; $_SESSION['username'] = $name; } else{ echo 'The username or password you've entered is not valid!'; } } ?> [/CODE] | |
I am trying to create a program for the RSA algorithm. I have managed to get the public keys, but I hit a brick wall trying to figure out how to generate the secret key. I have tried, but the output is either incorrect or doesn't output at all. my … | |
$pimg="../pimages/".$_FILES[p_img][name]; move_uploaded_file($_FILES[p_img][tmp_name],$pimg); image does not move into image folder ![]() | |
Three files. A simple contact form. I am trying to get checkboxes & dropdowns to work, but so far, only (1) dropdown works, and after going at it for hours, have found no error in the <form> itself. Not a PHP genius, so maybe it has something to do with … | |
i have this 2 custome modules and when i try to call module turtle i get an error message and i dont know what it means or better said i dont know where seems to be a problem. i think it should work just fine this is the message i … | |
I don't know where did I do wrong here, but it is a compiler error. I was try to create an Arraylist that can store the double value. For some reason, I got a compiler error when I try to create an Arraylist. By the way, the assignment specifically ask … | |
how do I get the css and the html into the function? [code]<html> <head> <script type="text/javascript"> function myFunction() { return ("Hello world!"); } </script> </head> <body> <div style="float:right;"> <script type="text/javascript"> document.write(myFunction()) </script> </div> </body> </html>[/code] | |
Pls help me with this... [CODE] //FINANCE.PHP <form id="frmpay" name="frmpay" method="POST" action="finance_payment.php"> <input type="radio" name="seltour[]" value="<?php echo $tour_code; ?>"> <input type="submit" value="input" name="submit" /> </form> [/CODE] once submitted.. [CODE] //FINANCE_PAYMENT.PHP if(isset($_POST['submit'])) { for($i=0;$i<$numrow;$i++){ $code = [B]$_POST['seltour'][/B][$i]; $query = "SELECT tour_amount, tour_name FROM `tbl_tour_profile` WHERE tour_code = '[B]$code[/B]'"; $result = mysql_query($query); … | |
What will happen? Here's a code that i tried, it works but i don't really get what's actually happening or how many instances of the static test t are getting created. [CODE] #include<iostream> using namespace std; class Test { public: static Test t; void hello() { cout<<"this line shall be … |
The End.