64,152 Solved Topics
Remove Filter ![]() | |
![]() | Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not … ![]() |
hi here i wants to show the room numbers by using the following code but it is not working. here iam giving the code plese give the proper coding [CODE] Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) conn.Open() Dim da As New SqlCommand("select room_no from guesthouse where room_no not in(select room_no from … | |
Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' … | |
I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get … | |
Hello :) I would appreciate some help with these few areas, i do not intend to use any of this knowledge maliciously, and am just merely interested... 1) Does delphi have the ability to make a form partially or fully transparent / invisible? 2) I understand and have come across … | |
Im a total newbie here.. :) I have a file in [B]C:\Program Files beta.txt[/B] inside the file [B]beta.txt[/B]: ------------------------------- Line1 LineUser=12345 LinePass=1234 Line4 Line5 -------------------------------- I have two textbox.. Text1 is for LineUser input (fixed to 5 characters) Text2 is for LinePass input (fixed to 4 charaxters) Example: LineUser: [ … | |
Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& … | |
Hi guys, my lecturer has mentioned overriding the equals method before. Am I correct in saying that you override the equals method so that instead of checking if two objects have the same reference it checks their values? And therefore is it also right that there is only one code … | |
I wonder if it okay to write a big equation in System.out like this or Seperate [CODE]else if (earn>=200 && earn<=693) { System.out.println("Excess Earning" + (earn-200)); excess = (8.40+((earn-200)*.15)); System.out.println("Tax Withholding" + excess); }[/CODE] | |
Hello, I'm not much of a programmer and will probably never be, but am just curious. Can I initialize a pointer with a constant value different than NULL? I.e. can I tell my pointer to point at one particular memory cell? It's a number so why couldn't I? I know … | |
I am working on some assignment. I read the book, and did exactly as it said, but it came up some weird error I don't know how to fix. Please edit my problem, so I can continue my work. Thank you. [CODE]import java.io.*; public class Assignment4 { public static void … | |
Hey i been workn on this code for a few days now and im stuck!! i gotta make sum nested circles ... but the code i have here draws a bunch of circles but they are connected :'( and i tryed everythin T.up, T.forward, T.goto ... all of that .... … | |
Hey Guys, I have an If statement in one of my php files. I want to send an email to my client anytime it IsApproved. So how do I make it send an email to the client when it is approved? Here is some of the code, the first if($response->IsApproved … | |
can you help me on this code.. Private Sub cmdRead_Click() Dim target As String lstName.Clear target = txtIdTag.Text If target = "" Then MsgBox "You must enter a tag number" txtIdTag.SetFocus Exit Sub End If target = "id tag=" & target datStudent.Recordset.FindFirst target If datStudent.Recordset.NoMatch = True Then MsgBox "No … | |
I am trying to declare a Doublebuffered panel in C++ I can only find the declaration for this in C#. So I wonder how this could be converted to C++ ? [code] public class DoubleBufferPanel : Panel { public DoubleBufferPanel() { // Set the value of the double-buffering style bits … | |
I am trying to create an expression evaluator to expand my C++ knowledge. It is supposed to evaluate 5(x+7)-2. Here is the code: [code=c] #include <iostream> #include <stdio.h> #include <time.h> using namespace std; time_t now, later; void sleep(int delay) { now=time(NULL); later=now+delay; while(now<=later)now=time(NULL); } int main(void){ //It finds an error … | |
Hello Everyone i need your help in making this code kindly help <img src="http://i45.expamle.com/35i4o5t.gif"> i want this image to load in a page by calling it like http://www.example.com/tp.php?code=35i4o5t.gif but the problem making area is that the server information changes on every image can someone make it for me ...... <img … | |
Hi All, When I try to compile the code below, I get error message " error: ‘MAX_IMG_HEIGHT’ undeclared here (not in a function)". I tried to declare them in different ways but it does not work. Does anyone have idea ? I appreciate for helps, The code is: [CODE]/* ImagExper.h … | |
Hey, all I am currently doing an assignment and I am having a tough time with managing my output. What I am trying to do is that when the program ends it asks the user if they would want to try again if yes it loops back to the beginning … | |
How to read images from a given folder using C#? I want to display those images into a PictureBox. | |
![]() | Something odd going on with str_replace. When I replace a set of double characters with another set (double characters), I get a text length increase of 1. [CODE]$gw = array("ll","ch"); $gw2 = array("lž","cž"); $cw = array("â","`"); $cw2 = array("â","à"); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); … ![]() |
Hey guys, I'm almost done with my homework assignment in an intro c++ class. My assignment found here: http://faculty.cs.niu.edu/~byrnes/csci240/pgms/240pgm2.htm My problem is with the output of the roots. If you run my program with the same numbers as sample output #2 in the assignment, I only get one root to … | |
Hey guys, I have a problem, my process_transaction.php page was working fine before I added some code to it....but I need that code to work. I added an if statement that should send an email to my client's once my process_transaction.php has determined whether or not the payment has been … | |
How can I generate user's to my database using visual basic 6.0? | |
Hi, In our organization, there are lot of users who do not have their phonenumber in proper format. the correct format is : xxx-xxxx. Therefore, i've pulled out a all users report, consisting of two columns, one with name and other with phonenumber, the report is in csv format. Does … | |
I have a C# desktop application project for school that uses an Access 2003 database (not designed by me) and I am running into issues using OleDBDataReader. It has been awhile since I have programmed anything and I have never had to connect to an Access database before, so this … | |
Hi, I would like to know the idea behind one issue. In some sites, when you register using your email id, an automatically generated email is receieved in your inbox, which contains a link that you must click to activate your membership. How is this done? Can anyone help me … | |
Everything works great. But sometimes I get an Error message saying something about ip/port bindings. I don't have the traceback but this could cause problems down the road. Any suggestions? [code] #Backdoor Server #Version 0.3.0 #Every now and the I get an Error dealing with the ip/port bindings # seems … | |
I use MS VC++6 and when I type code I have problem...let's say I have 123456789 typed and I place cursor between 4 and 5 and than type "something" I get 1234something and not 1234something56789 so it deletes and wont shift right :S also enter doesnt brake new line,space,backspace.... I … | |
Dear Experts Table1 has following data date----------weight 14/01/2010------5 14/01/2010------10 15/01/2010------20 02/02/2010------35 I use followin query [CODE]str = "SELECT RANK() OVER(ORDER BY date) AS sno ,date, SUM(weight) AS weight FROM table1 GROUP BY Date" dt = GetTable(str) [/CODE] The query generates these results 1----02/02/2010------35 2----14/01/2010------15 3----15/01/2010------20 This is not order by … | |
I've been having problems figuring out a way to do this. I need it so that if the user opens form a and then later on buries that form under others, and they click the menu to open the form again that it just sets focus to it instead of … | |
I am getting this compiler error: gcc -g -Wall -O2 -c -o mybash.o mybash.c mybash.c: In function ‘main’: mybash.c:39: warning: implicit declaration of function ‘getline’ mybash.c:41: error: expected expression before ‘)’ token make: *** [mybash.o] Error 1 It probably has to do with something I don't remember about initializing and … | |
Hello everyone! I'm currently making my own implementation of java.util.List, and it's going pretty well. I've just run into a minor problem. I'm currently doing the 'addAll(int index, Collection<?> c);' method. But I can't seem to figure out how to make it start at the specified index.. this is the … | |
I am having a service which run using a batch file in command prompt, I want to read the whole information running in the console and want to write it to an another file but I am able to write it only when the service is closed completely. So I … | |
I have a code that plays fast _it's order is log(n)_.I have to meter it's play's elapsed time.I used from time.time() and time.clock() but they returned 0.I need a timer witch meter nano second. How can I do it? | |
hello please help me i have picture then i want to put on my JButton but the problem is that my picture is too big its jpg file how to make this bmp file so that it fit to my Jbutton..hoping for your positive responds | |
I'm a bit confused of the usage of the += operator. I understand that it is a compound operator that is used to both add and assign. However I've seen it used in the following manner. Class objectVar += new Class what is different about that vs Class objectVar = … | |
hello please help me on the sql statement on how to display in descending order example select*from my_table......please help whats the next of it i want to display in descending order....also please give me what are the sql statement so that i can be familiar of it ..hoping for your … | |
Hi, I have a pixel array grabbed with [I]PixelGrabber[/I]. I done some computation with it and now I need make a BufferedImage from it. The problem is I can't make it very fast, just slow. I made an Image type object from it then I converted it to a BufferedImages … | |
Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical application. wat do u people say about this | |
Hi I am a novice working with Java and the eclipse IDE. What I want to read words from a text file, store it as a list converting it to some uniform case. Then I input some word/sentence from keyboard and check whether it is present in the file. Well … | |
Hi All I have datagrid with a dopostback javascript, right now it looked click-able, when I hover with a mouse it select the entire row, except one thing when I click it doesnt do anything, I need to select a row in my datagrid and pass the values of the … | |
Hi All, I am currently programming Bill and Money Receipt Printing program. It is almost finished but struck with one problem. My problem goes here: I have created One MDI Form with 3 mdi Child forms namely, frmBillHeader, frmBillMain and frmBillFooter. BillHeader contains Company Name with Address and Contact No. … | |
I have a problem of reading a dateTime column from a database. I set a parameter which is a datetime, but it does not read it. I am wondering what could be wrong. This is how I have written a date and time in the database: [url]http://file.si/pthumbs/large/7216/C%23_datetime_Lista.JPG[/url] And this is … | |
Hi, I''m trying to learn how to send emails to registered users with php mail function. Been online a lot and getting confused. I was wondering if anyone could explain how the set up is done and what is needed to accomplish this task. Any input on this topic would … | |
I am having trouble with getting the math from paper to C++ code ... I am asking for user input for a numerator and a denominator .... the function then treats the variables as a fraction and reduces it to the lowest term ..... I had some math in the … | |
i don't want to use crystal report. i want to print a fromview or gridview in my printer by c# code in a webfrom. window.print() pint the whole page i want only the selected part will be print by pressing print button. .................................................thanks | |
Before I proceed with the code implementation, I need to find the error that this program initiates. I can't figure out the solution, I guess thats what happens after not using c++ for 4 years... The compilation errors I'm getting are all of this type (11 of them): Error 9 … | |
I cant find the error here.. [CODE]#include "stdafx.h" #include <deque> #include <list> #include <queue> #include <iostream> #include <fstream> #include <string> #include <sstream> #include <set> using namespace std; char file_name[15]; char links_file[15]; char alg[15]; char with_list[15]; char new_name[15]; int depth; long idstart,idgoal; class Action { public: long start_node; long end_node; int … | |
Hi guys, I'm new to C++ and I'm doing a small project, I got a little problem with reading a specific number from a text file. for example: size 2 3 I want my program to read the 2 to a and the 3 to b. Also I want the … |
The End.