199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for angiesavio

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

Member Avatar for angiesavio
0
152
Member Avatar for davy_yg

Hello, I am looking for a free cms for uploading file like 4shared. Is there any?

Member Avatar for pzuurveen
0
85
Member Avatar for gaurav23

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

Member Avatar for gaurav23
0
225
Member Avatar for Paul_15

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

Member Avatar for Paul_15
0
145
Member Avatar for Paul_15

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 …

Member Avatar for Paul_15
0
117
Member Avatar for remyajames

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

Member Avatar for Armand_1
0
442
Member Avatar for jagvllead

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

Member Avatar for JamesCherrill
0
1K
Member Avatar for daniel.leowteckleong

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

Member Avatar for bradly.spicer
0
309
Member Avatar for caixadelixo

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

Member Avatar for Ketsuekiame
0
171
Member Avatar for shelexelex

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 …

Member Avatar for bradly.spicer
0
318
Member Avatar for pc20912

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)

Member Avatar for pc20912
0
295
Member Avatar for devianleong

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

Member Avatar for devianleong
0
674
Member Avatar for fuhanspujisaputra

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

Member Avatar for ss125
0
218
Member Avatar for andrew.mendonca.967

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 …

Member Avatar for nitin1
0
187
Member Avatar for somjit{}

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 …

Member Avatar for somjit{}
0
4K
Member Avatar for <M/>

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 …

Member Avatar for somjit{}
0
164
Member Avatar for damuzu

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 …

0
164
Member Avatar for davy_yg

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 …

Member Avatar for davy_yg
0
471
Member Avatar for dreking6

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

Member Avatar for dreking6
0
2K
Member Avatar for nikki05

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 …

Member Avatar for kRod
0
302
Member Avatar for ProDev7

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

Member Avatar for ProDev7
0
207
Member Avatar for mbarandao

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 …

Member Avatar for iamthwee
0
280
Member Avatar for nikki05

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 …

Member Avatar for nikki05
0
1K
Member Avatar for willscarlet

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 …

Member Avatar for XtrmJosh
0
632
Member Avatar for paramesh23

Which Is simple To learn Php with mysql or python with mysql ?? php or python with some other database...??

Member Avatar for aVar++
0
115
Member Avatar for jelly46

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?

Member Avatar for jelly46
0
135
Member Avatar for nikzer

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

Member Avatar for NathanOliver
0
219
Member Avatar for kRod

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 …

Member Avatar for kRod
0
495
Member Avatar for tlangelani

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 …

Member Avatar for rubberman
0
136
Member Avatar for icedome

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 …

Member Avatar for <M/>
0
353
Member Avatar for nirbilcahn

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.

Member Avatar for vijayan121
0
412
Member Avatar for mathewsp.jacob.7

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 …

Member Avatar for BitBlt
0
604
Member Avatar for jelly46

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 …

Member Avatar for jelly46
0
271
Member Avatar for Trap910

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 …

Member Avatar for vegaseat
0
283
Member Avatar for RinzLove

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 …

Member Avatar for JamesCherrill
0
202
Member Avatar for durgesh1

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 …

Member Avatar for durgesh1
0
242
Member Avatar for BadManSam

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

Member Avatar for cereal
0
112
Member Avatar for nikki05

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 …

Member Avatar for Reverend Jim
0
3K
Member Avatar for Ahmed.C

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 …

Member Avatar for tinstaafl
0
780
Member Avatar for Rampee

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 …

Member Avatar for JamesCherrill
0
125
Member Avatar for davy_yg

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 …

Member Avatar for Zagga
0
184
Member Avatar for docgrid

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 …

Member Avatar for kRod
0
800
Member Avatar for saadi06

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 …

Member Avatar for saadi06
0
203
Member Avatar for StatiX

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 …

Member Avatar for gever
0
74K
Member Avatar for PriteshP23

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 …

Member Avatar for PriteshP23
0
202
Member Avatar for babyluxe03

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 …

Member Avatar for babyluxe03
0
1K
Member Avatar for techyworld

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) { …

Member Avatar for techyworld
0
152
Member Avatar for kidcameo

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

Member Avatar for almostbob
0
2K
Member Avatar for MasterHacker110

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 …

Member Avatar for MasterHacker110
0
276
Member Avatar for searchacar

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 …

Member Avatar for angiesavio
0
9K

The End.