199,114 Archived Topics
Remove Filter ![]() | |
![]() | Hello, i want to search date greater than particular date but my date column datatype in text, How could i do,i used following query SELECT * from $table Where postedDate>='21-August-2013' and postedDate<='22-August-2013' ORDER BY modified_date DESC this not working properly ![]() |
Hello, I am looking for a free cms for uploading file like 4shared. Is there any? | |
#include<fstream.h> #include<conio.h> #include<string.h> #include<stdio.h> void main() { clrscr(); ofstream fout("a"); fout<<5<<"\n"<<3<<"\n"<<2<<"\n"<<4<<"\n"<<1; fout.close(); ifstream fin("a"); int i,j,k,l=0,m,n,o; while(fin) { fin>>i; l++; } l--; fin.close(); fstream fin1("a",ios::ate,ios::in); fin1.seekg(0); for(i=0;i<l-1;i++) { for(j=0;j<l-i-1;j++) { o=fin.tellg(); fin1>>m; fin1>>n; if(m>n) { fin1.seekg(o); fin1<<n; fin1<<m; fin1.seekg(o+1); } } } } //file sorting is not working if anyone … | |
I am developing an application which I have added 2 combobox's (possibly not the best way but it works fine in the most part) which I import data into from a CSV file. I have added code in so that users can add to this file, again this works fine. … | |
I have created an application (in VB Express 2008) which allows me to distribute some useful web pages to users. The problem I'm experiencing is sorting on ComboBox1 (renamed to PageName) and this then throws the URL Address combobox (ComboBox2) out of sequence. Any help on this? Tried using the … | |
Hai, I am doing a project in VB.Net and SQL Server 2000. When I try to execute my queries in the crystal report it gives a query engine error and in other cases it shows the report with each row repeated. The SQL Query works perfectly in the query analyser. … | |
import java.io.Console; public class ConsoleDemo { public static void main(String[] args) { Console cnsl = null; String name = null; try{ // creates a console object cnsl = System.console(); // if console is not null if (cnsl != null) { // read line from the user input name = cnsl.readLine("Name: … | |
**Problem Statement** During the tax season, L&T Accounting Firm provides assistance to people who want to prepare their own tax returns. The company only services personal (individual) taxpayers. Your task is to write a program to do the tax calculation for each of the personal clients. Your program should get … | |
Hi!!! Somebody knows whats the problem???? If i remove OpenFileDialog and pass the string direct pathDiskCover = @"C:\Documents and Settings\Administrator\My Documents\someImage.jpg"; it works fine private void toolStripButton2_Click(object sender, EventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.FileName = String.Empty; dlg.Title = "Open Images"; dlg.Filter = "Image Files(*.png; *.jpg; *.bmp)|*.png; *.jpg; … | |
I'm a newbie to this. Hi, i've been trying to display all database records on an html table i still cant think anything out. I only know how to display a predefined number of rows but i need it to display all db records. I know it has to do … | |
TabControl1.SelectedTab.Controls(4).Text =”Test” Control and Tab Pages created in runtime. (No of Tab pages depend on user input) How to handle this control without control Number. ? (Is any way to handle with Control Name) | |
Anyone can tell me how can I rewrite my url from www.example.com/user.php?id=1 and id=1 will get the name from mysql. Like example id=1 user name is "abcdef". Now the parameter(id=1) will get result from database and display "abcdef" to url(www.example.com/abcdef). | |
The NewForm did not close itself when every time i called a "New Form", but the Main Form does Hi everyone, i have a problem. I already can closed the MainForm when i called the FirstForm, but when i called a "NewForm" again in the FirstForm, it called the SecondForm, … | |
![]() | Write a program to read the coefficients of a series of quadratic equations from a text file and print the associated roots, or appropriate errors if there are no real roots, to another text file. The coefficients of a quadratic are the a, b and c of an expression of … |
whats even more is that if i create any new file in the "src" folder of the project , it doesnt create any new bin folder to place the class file. i dont know where the class files are of the compiled source code . only when i manually `javac … | |
I have been reading the head first book about C and I am having a bit of problem with one of the given examples. The example is shown talking about a "code magnet" for a game of blackjack. I went to try out the code and tried to make my … | |
screenshot for edit gridview : http://img829.imageshack.us/img829/2304/06v6.png screenshot for update gridview : http://img801.imageshack.us/img801/3417/j4p1.png this is my code inside tag <body> : <form id="form1" runat="server"> <asp:GridView ID="GridView1" runat="server" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowUpdating="GridView1_RowUpdating" OnRowEditing="GridView1_RowEditing" OnRowDeleting="GridView1_RowDeleting" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" onselectedindexchanged="GridView1_SelectedIndexChanged"> <RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> <Columns> <asp:CommandField ShowEditButton="True" ShowDeleteButton="True" /> <asp:BoundField DataField="p_user_name_id" Visible="false" HeaderText="p_user_name_id" /> <asp:TemplateField … | |
Hello, I wonder why I see blank screen on CI. controllers/page.php <?php class Page extends CI_Controller { public function index() { $this->load->view('index'); } } ?> views/index.php <html> <link href= "<?php echo base_url(); ?>assets/css/style.css" rel="stylesheet" type="text/css" media="screen"> <script src="<?php echo base_url(); ?>assets/js/jquery.min.js" type="text/javascript"></script> <script src="<?php echo base_url(); ?>assets/js/chili-1.7.pack.js"></script> <script src="<?php echo … | |
newbie question, but please i need help i just started learning gui programming on python, been getting this error on a code am writing concerning uising the get() method to read an integer from my entry box from Tkinter import * root=Tk() var=StringVar() label=Label(root, textvariable=var, relief=RAISED) var.set("converter") label.pack() L1=Label(text="x:") L1.pack(side= … | |
Hi, I have multiple Controls grouped in Groupboxes. I want to select the control from groupbox dynamically. For example, I am able to select the controls from GroupBox1 with the code below. However, I want to make it dynamically so that users can select any controls from any GroupBox. Would … | |
Hello guys could anyone explain what is the point in: #define DEBUG and #define NDEBUG? when should we use them and how?? I'd like to see some examples any help is highly appreciated | |
Hello All: I need help constructing a mysql statement to post data from the following form to db <form id="updateHrs" name="updateHrs" method="post" action="process_updateHrs.php"> <table align=center class="ebc-table" cellpadding="0" cellspacing="0"> <thead> <tr> <th colspan="7"><?php echo $SBS_LANG['time_title']; ?></th> </tr> <tr> <th class="sub">Days</th> <th class="sub">Opens</th> <th class="sub">Closes</th> <th class="sub">Day Off</th> </tr> </thead> <tbody> <?php … ![]() | |
Hi, I read many articles about this, but I still couldn't manage to solve it. I want to select the item of a listbox with MouseEnter event. It should be something similar like this Private Sub LBox_MouseDown(sender As Object, e As System.Windows.Forms.MouseEventArgs) Handles LBox.MouseDown If e.Button = MouseButtons.Right Then Dim … | |
Hi guys, im new to these forums and new to C++. I love games (mainly RPG's) so I figured I would learn C++ by making a little text based RPG. Anyways, I read through a few tutorials and an olc C++ for dummies book and this is what I cam … | |
Which Is simple To learn Php with mysql or python with mysql ?? php or python with some other database...?? | |
Hello If you go to this page https://www.barnardos.org.uk/donate/cashdonation_iframe.htm?customDonation=1.00&ref=131021&source=b&don_amount=1.00&submitButton=Single+Donation and enter a donation amount and then click on the yes box you will see the percentage of the gift aid is worked out. Can anyone help with a JS way to do this please? | |
**hi! i need help on fixing this program i made it seems that i can't let it run. Can someone give me some advice on what errors i have made and how i can fix it. thanks ** #include <iostream.h> #include <conio.h> void main () { int i; int j; … | |
Good Day all, My question is When I get the schema of an EXCEL worksheet with Column headers I get what's expected the names of the columns but when I get the schema of a worksheet without headers I get the first row of data as the Column Names. The … | |
write a program that simulates the energy use of a house hold based on mainly the geyser's energy consumption. This is the first in a series of assignments improving on the model for this simulation. As a simple model the yearly consumption is based on a sinusoidal function approximating annual … | |
Hi, I'm looking for a support chat system that I could integrate with my own web application. I've searched for a while and just found these two options: * http://cutesoft.net/Live-Support/Purchase/ * http://www.dotnetlivehelp.com/download.aspx As the first one has a developers license, it seems to me that the product is quite old … | |
http://ideone.com/H7YIwR Here's my code to find palindrome in string..But surely it's too slow..Is there any good algorithms for such problems..And for some cases it's not giving the right answer.Thanks for the help. | |
How to check if email id already exist in db using vb6 r.Open " select count(*) from login where username = '" & Text1.Text & " ' ", c, 3, 3 If Count > 0 Then MsgBox " already exist " Else MsgBox "valid" End If r.Close plese help this … | |
I have some javascript that will not work in IE, can anyone help? It works fine in Mozilla and Chrome. Thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>test</title> <style type="text/css" media="screen"> .hide{ display:none; } </style> </head> <body> <div id="tabs"> <div … | |
I am new into the computer Science..I just completed reading and understing the C programming language..I think am quite decent in it..Now I want to start studying a new programming language this semester, before I start, I want to get some advice from the experts, should I choose Java or … | |
Hi all, Really appreciate your help if my function on dijkstra algorithm is correct or wrong? Many thanks... Function Dijkstra(Graph, source): Graph randomGraphGenerator = new Graph: Source V0 = new Source: for each vertex n in randomGraphGenerator: // initializations weight[n] := infinity // Unknown path // function from source to … | |
hello all i tried to fetch data from databse and try to stored it in an array and i want to compare new value that come from database with array if this new value is already stored in this array i like to executed new query if not in array … | |
Hi, I have a really simple mailing script.It works, but it sends the message twice. How do I send the mail once. <?php $email = 'example@domain.com'; $subject = 'MESSAGE FROM DOMAIN!'; $message = 'The Message Was Successfully Sent!'; $headers = 'From: noreply@domain.com' . "\r\n" . 'Reply-To: reply@domain.com' . "\r\n" . … | |
Hi, I have one form with multiple controls (e.g. Button,Textbox, RadioButton, ComboBox, etc.). I want to set the focus dynamically on a control using key F4 to highlight that control. Scenario: 1.Suppose the user clicks on any control 2.Press Key F4 to highlight that control so that the user will … | |
Hi. I've been working on this FTP client for a while and in it is Show selected image. I'm currently using this code: PictureBox1.Image = New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(ToolStripLabel1.Text))) I added it to the Form load event. The picture I'm acquiring is from an FTP server but each time it … | |
Hi Dude, I need to design an application similar to windows media player. Many suggested to me JMF but my actual need is it should be exactly same as windows media player. In my swing window, I should have the capability to add/edit playlists. If double click it should get … | |
Hello, How to create a contact us form like: [Your Message](http://www.indonusa.net.id/contact.html) When you place a cusor on your message, the cusor align to the left. When you type a text on it, the whole previous text like Subject etc disappeared. This is a similar contact form that I create: <div … ![]() | |
dear friends, icreated small project to open excel using vb. everything works fine with one exception. i used VB express 2010 in xp OS when developing the project. when it runs on the windows 7 platform the opening excel file goes behind the my application. the VB form topmost function … | |
Hi, I have a table in which there are two columns. One column is id and the other is value. When I try to retrieve the data that is not empty it gives me unwanted error. I have to apply join to some tables as well. My query is something … | |
Im trying to display data in a datagrid then once a row is selected show a different column of the database in a text box. I use the unique primary key in the datagridview as not visible so once the row is selected, i can get that integer and populate … | |
This query is not working. I need urgent help. Thanks a lot in adv. **ROWS affected: 0** I have cross checked the data in the table for the given condition. $sql = 'UPDATE LTE_noria_cellule cel_bk_up SET cel.NAP_'.$site->ur().' = '1' '. 'WHERE cel.nidt IN ( select gn from LTE_noria_candidat_bk_up can INNER … | |
Hi.. i have created a tic tac toe game in vb net 2010.. im almost done with my project but there are still some errors. Can somebody pls help me with my code? A big thanks to whoever will help me.. my errors are: buttons remaining are still clickable when … | |
Hi i need some help, how to unit test a DAO? here my code: @Transactional public class ProjectDaoImpl extends HibernateDaoSupport implements ProjectDao { Log logger = LogFactory.getLog(this.getClass()); private String message; /** * {@inheritDoc} */ public List<User> retrieveAll() { return this.getHibernateTemplate().loadAll(User.class); } /** * {@inheritDoc} */ public boolean saveOrUpdateUser(User user) { … | |
Delete install.php file for security reason please! How can I delete this and how to find it..I keep seeing this message when I go to a site I usually visit. only saw it first time today | |
I am trying to read all the files in a folder, if the file name == that of the name the user entered, the text of a button (that when on clicked will open the file) will be set to the file name. But my code for some reason doesn't … | |
Hello, I am doing some search in which my requirment is to search between specific dates. Like user can put start date and then end date. Once submit then it should find result between these two dates. [QUOTE]Select from table where date1>2001-01-05 And date2< 2001-02-05.[/QUOTE] Will this above statement will … ![]() |
The End.