199,114 Archived Topics
Remove Filter ![]() | |
Hi Friends, I have a web Application created, there is an option to Add/Edit the forms. My requirement is something like... When a user opens any record for editing, the details are displayed(binded) in texboxes,dropdowns,radiobuttons.. etc Here if the user modifies any data and clicks on any other link(within the … | |
Hi All, I want to convert any (current datetime differs in format depending regional setting) into 20090622172120 format. How do I do that? I want solution that work with any regional setting. many thanks, Jeet | |
Hi again my problem is i always make mistake in writing statement for update, here's the code [code=vb.net]Private Sub cmdUpdate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdUpdate.Click Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "update Watches set WatchBrand='" & txtWatchBrand.Text & "',WatchModel='" & txtWatchModel.Text … | |
i am using [B]VB.NET 2003 [/B]and i need to read some data from a cvs file and store it into a two dimensional array.... i couldn't find an example anywhere.. pls help :'( | |
Hello everone in this forum! Dear Friends, I have problems using javascript in firefox, many functions are not working in firefox like .focus and some ajax code also. I use html scriplets <!-- My script here //---> to hide it from browser that does'nt support javascript. but it is still … | |
I am new to PHP , I have developed about 12 dynamic websites. My question is how users can scsribe for a monthly newsletter on my websites. Which steps I have to follow. Thanks:) Ayesha Developer | |
Hello ALL i am new here so please be gentle. i have a problem i can quite solve. here is my table: id | Account | Dollars | Amount | date -------------------------------------------------------------------------------- 1 | JD001 | 45 | 5 | 2009-04-04 2 | JD001 | 78 | 8 | 2009-05-17 … ![]() | |
Write a Python program to show the temperatures starting at zero degrees Celsius, up to 100 degrees Celsius, in steps of 2 degrees, with the corresponding Fahreneit temperature shown in the next column. Temperatures should be shown as floating point numbers to two decimal places. Use a for loop for … | |
I am new to python program, don't know much about the syntax of python. I have written a program which will extract the csv data as below. <html> <body> import csv, sys filename = "inputfile.csv" reader = csv.reader(open(filename, "rb")) #rownum = 0 try: for row in reader: #if rownum == … | |
Well it seems that i have a textbox and a textarea under it. Both sizes are 20 but they don't seem identical. Is there a way to make them identical vertically? Thanks | |
Hi all, I need some help on parsing latin character, when i am applying stylesheet(XSLT) on source xml file this will give some target xml file but when transforming file those latin characters converting into "?"(Question mark). Please help me how to solve this problem... | |
can anyone show me the diffrence ? im still confuse i read about vb and net at wikipedia but i just dont understand vb.net and vb . | |
hi guys, i developed a site in php, and i dont want to give source code to the client, i want to encrypt the code and place it on the server or to give to the client, is it possile, please help me.... thanks in advance | |
Hi, PO-1-09/09 is a data stored in varchar column. When i do [inlinecode]select * from table myid='PO-1-09/09'[/inlinecode], it doesn't return any value. If i change PO-1-09/09 to 5, and search for it, 5 returned related data. Why PO-1-09/09 doesn't work? Thanks | |
[code] #include <iostream> #include <cstdlib> using namespace std; int main() { cout <<"enter the problemset and number""\n"; //problems represents name and numbers string problems , probtitle; string xx; bool x=true; char quote; string str1, str2; string begin; //gather name if(cin.peek()=='"' || cin.peek() == ''') { cin >>quote; getline(cin,problems,quote); } else … | |
Hello, I have a question to ask whoever can help me. I've have dev - c++. see I've been using C++ for a while now but i'm still sorta a newbie... i havn't had this problem before but i've been trying to do a password program just to play around … | |
Hi guy i a newbie in vb so i need your help from all of you. So Genius can help. I create a data grid and by default it have 2 column and two row. So now i need to add more column i check for the properties of the … | |
HI EVERYONE :D!! This is my first thread. Well today was my birthday! And I got my first computer! I have always wanted one and I have always wanted to start programming! I got a Microsoft Windows XP and a extra external hard drive!! Not the best computer ever but … | |
Hello All! Thank you very much for viewing this thread. My problem is I am trying to pass a number value between classes/thread of the same java project in eclipse. I have a java project of 9 classes with three threads. The Display Class/Thread needs to accept a value coming … | |
When i use the php mail function to send mail is can send easily but if i continuously let said 10 email suddenly it tell me can not sent the mail. Can anyone tell me why ?? | |
Is it possible to view the codes of an exe file using VB6 similar to ResourceHack found in google. download link: [url]http://www.softpedia.com/get/Programming/File-Editors/Resource-Hacker.shtml[/url] | |
So I have this function that is supposed to output an object (save an object) to a .txt file. It doesn't output anything when the program comes to the point where it runs this function. I am 99% sure this is where the program hangs. [code=java] public void saveSurvey(String txtFile) … | |
Hello all. I''m currently working on a a page which should be able to run a substitution cipher in order to do both encryption and decrption in Java script on the same page. But the problem is only the encryption part works. Right now this is what I have: [code] … | |
hello all. I have python 3 and want use mysql but i dont find mysqls modouls please say me a link. | |
![]() | Hey guys, I use Python 2.6.2, and have made a program; here's the code: [CODE]import subprocess import time def open_program(): time.sleep(s) print 'Opening the program...' subprocess.call(c) h=input("Time: ") c=raw_input("Enter the full location of the program you want to open after the desired time: ") s=(h*60*60) open_program()[/CODE] I also have some … |
When I enter the integer, I'm not getting the prompt that states if it is odd or even. I am new to this, so this stupid thing has taken me a week to do, but now I am just frustrated. Can someone help me out. [code=html]<?xml version = "1.0" encoding … | |
Take 3X12 matrix and it is represented usingsingle diemensional array. input: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 Output: 24 25 … | |
hi all - php.home Im trying to pass a varible of "MOBILE" from a form i have set up [code=html]<td><span class="style61">Mobile number</span></td> <td><span class="style61"> <label for="mobile"></label> <input type="text" name="mobile" id="mobile" />[/code] To a differnet .php called test.php On this test php i have the following [icode]$mobile = $HTTP_POST_VARS['$mobile'];[/icode] how do … | |
Hey guys, I'm trying to create a buy and sell program where I have two lists of numbers. Eventually I want to shorten the lists so that the program buys at a lower number, and sells at a higher number, ignoring all other numbers in between. The solution would be … | |
I got a question if i write a code to detect IP address can it automatic write down in to the php text field form and send it to the mail function. Can provide the code for more understanding | |
I'm supposed to make my class cloneable for class, but I can't get it to work... Here's what I have so far: [code] public class Employeex : ICloneable { // using properties instead of the constructor public int EmployeeID { get; set; } public string Name { get; set; } … | |
Hey guys, I have a problem printing out the contents of a list of objects, with the following code I loop through the list and call the displayInfo() method that it's responsible for printing out the different attributes of the object. I have tested the displayInfo() method and works fine, … | |
Hi I wish to write a program that will perform some action on a key press event but if there is no key press in a certain period of time say 10 seconds, it should display an error message and exit. I am working on windows and am using the … | |
I recently installed Ubunty Jaunty (Linux). I checked out the Linux version of the Codeblocks IDE. Obviously things like [code] system ( "pause" ); [/code] didn't work because of the operating system. Is there a library I can include -- or a package I can install -- that will give … | |
Hi All, We have beenn migrated from 9i to 10g and one of our python script is still pointing out to 9i libraries [B]import cx_Oracle[/B] when it's trying to import this library my script is failing [B]ImportError: ld.so.1: python: fatal: libclntsh.so.9.0: open failed: No such file or directory[/B] Could some … | |
I am getting this error.... Parse error: syntax error, unexpected '*' in /home/digital/public_html/administrator/components/com_myblog/admin.myblog.php on line 206 Here is the code: [I]<MOVED TO ATTACHED AS IT IS BREAKING VIEW IN FIREFOX>[/I] End of Code I am not sure why I am getting the above error any help would be great... Thaks | |
Hello any and everyone, I have a form inside of an HTML page. The result I want is that when the user hits the submit button that only the section of the page containing the form refreshes. Wen it refreshes it refreshes with a thank you message. Is that feasible. … | |
I coded an application that has 12 questions. Each question has 3 option buttons on a group. By using if statements i get to calculate 4 different results. Each result goes on a textbox and i also have other textboxes for name, date, stuff like that. In total 14 textboxes. … | |
Hi everyone! Have a few questions I hope someone may be able to help me with, because I'm really stucked here.. And sorry if I'm not explaining myself very good, because my english is not that good. Well.. I am trying to build my own blog with like a Content … | |
Hi Every one! i have a data gridview consisting of four column [B]total_time,Start_time,End_Time,Day[/B] all are of [B]date/time[/B] data types. i want to add the first to columns [B]Total_Time[/B] and [B]Start_Time[/B] and show the result into third column [B]End_Time[/B] and the coresponding day in the fourth column [B]Day[/B]. the[B] total_Time[/B] may … | |
i have a gallery SCript which i saw in tutorial sitepoint.com everything is working well except that i want to limit users,which means the albums will be opening accoding to user=name WHERE SHOULD I PUT THE WHERE CLAUSE LIKE THIS user='$user' in the script below. [code=php] query( "SELECT c.category_id,c.category_name,photo_filename,COUNT(photo_id) FROM … | |
Hello, How would I go about being able to use a URI of a binary class. For example, I need to be able to give the URI for a song, but the song comes for a SQL server which sends it in a binary form, which is on the memory. … | |
Hello all I have a string Im getting back from the database as follows: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') I need to break it down and drop into an array 'MCKINNEY','TX' 'ALLEN','TX' 'ANNA','TX' ..normally I get multiple records and just drop the resultSet into a Vector and do "elementAt(i)" to display, but I never … | |
Thanx for the help yesterday..I was able to break down the string from my database: ('MCKINNEY','TX'),('ALLEN','TX'),('ANNA','TX') using: [code] String strInput = userData.getMhtCityList(); String strProcess=null; String strOutputs[]=null; if(strInput!=null){ strProcess=strInput.substring(1,strInput.length()-1); System.out.println(strProcess); strOutputs=strProcess.split("\'\\),\\(\'"); } [/code] worked like a charm only problem now is those damn apostophies 'MCKINNEY','TX ALLEN','TX ANNA','TX' any suggestions on stripping … | |
Hello... I need to get data from one table while omitting data that exist in the other table. This is the query I am running but I keep on getting duplicates since there are more the one row in the second table. Table1 - 'countries' with fields 'Country_Code' and 'Country_Name' … | |
I'm looking forward to learn Core Spring and Hibernate. Which books would you recommend and some good online resources (beside their websites)? | |
Well, I posted a few problems here on daniweb and thank god that I did so. What I had been using till now was "rusted, naff,useless" code. But after today, I am more accustomed to what the new c++ is. Well, I am 16 years old and am studying in … | |
if it contains quote it cuts it out, then i am stuck on part when i just enter in a problemset without a quote or single quote. Then it doesn't gather numbers correctly but stores the entire string [code] int main() { cout <<"enter the problemset and number""\n"; //problems represents … | |
Hi I am new to unix and want to learn shell scripting. Right now I am use cygwin for windows but sooner I will switch to ubantu. So when I wrote my first script (just copied from the book I was reading), I came to know I have to give … | |
[code] public class Caesar01 { public static void main(String[] args) { String str = "NS BFW, JAJSYX TK NRUTWYFSHJ FWJ YMJ WJXZQY TK YWNANFQ HFZXJX"; int key = 5; String encrypted = encrypt(str, key); System.out.println(encrypted); } public static String encrypt(String str, int key) { String encrypted = " "; for(int … |
The End.