199,114 Archived Topics
Remove Filter ![]() | |
I am trying to do this with sql code without using a cursor. I have table A with two cols and no PK ID Data I have table B with three cols the first two make up the PK ID PK SEQ PK Data If I have the following data … | |
Hi to all keen folks, can you help me to query the first 4 letters and the last 4 letters in one field. example: AAAABBBBCCCCDDDD how to query AAAA and DDDD. thank you. | |
Hi all, I am making a form in which i am using two radio button.Now i want that if i click on first radio button and after that i will click on submit button then page should go different page . If i click on 2nd radio button and after … | |
the more i deep to javascript more i got confused..!! . . i have put a autocomplete texbox in a row.. which have two more buttons Add/Remove..!! . . With add u can append clone row under original row... and withy delete u can delete the row..!!!! . . Problems … | |
Hi everybody In an application I have, I had to start a word app. Because it took ages to load, I put it in the class constructor, but on exiting the app is not killed. I am trying to kill it by creating a destructor [code=csharp] ~MyClass(){ appWord.Quit(); } [/code] … | |
Hi All, I need to create one application which can be install on windows platform. After installation it should add custom menu item in windows right click menu. When we click on this custom menu it should do certain things as per my requirement but it is secondary thing. I … | |
Our website is split into 13 host countries, each with language data and (eventually) individual prices on products, to stop people viewing other country's prices we use the ip2nation database to determine the user's IP location (or proxy location) then a server-side filter redirects them to the relevant homepage 'shop' … | |
Hi, I'm trying to do a paste special (values) of Excel data into an Excel sheet but coding it from word VBA. I can get a normal past to work however with the paste special the 'Paste' argument is not recognised. I have tried the following (only the paste special … | |
Hello, I am doing embedded system programming. i want to read data from device through the COM1 port. I have already a software that for access the device through the COM1 port and generate data for the device. I wrote a program in c++ that could open the port and … | |
Hello, I would like to display the current URL from my address bar. How must I do this? Many thanks, Peter Kroon The Netherlands | |
Hello! I have made a program that prints a diamond shape. But my program should read an odd number in the range 1 to 19 to specify the number of rows in the diamond, then it should display a diamond of the appropriate side in which it is at present. … | |
![]() | Dear Pythoneers, I have been reading really good answers on this forum so I thought I'll give it a try and see whether someone can help me. What I want to do: "I want to embed Python in C++ and use Python's capabilities in order to create a expression evaluator" … |
Hi!!!!!! I have made an application and made its exe file also............ But I don't know how to inbuilt .NET framework with my application to distribute my application to clients....... When the user is online then .NET framework automatically installs but in offline mode its giving error for .NET framework........... … | |
I'm converting an old Smarty template setup into strict HTML/CSS + PHP. Can someone explain what the snippet of code is doing? [CODE]$grading_periods[gps].grading_period [/CODE] Here is the line of code that assigns it. [CODE]$tpl->assign('grading_periods',$grading_periods);[/CODE] Thanks | |
Hello Guys, I have bult a php site, and going live soon some questions first of all from what i read i need to have a .htaccess file in which it has turn of register_global and disable errors do i need to put anything further? I also have a admin … | |
chunk of code... [CODE] public void init(ServletConfig config) throws ServletException { Map map = new HashMap(); } protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { response.setContentType("text/html;charset=UTF-8"); [U]map.put("one1","two2");[/U] [/CODE] compiler says 'map' cannot be resoled......why so? wht shd i do? thanks, BeanBoy | |
I have this piece of code [CODE=C++]// some function int px; void SomeFunction( void *dummy ) { ... RECT rect; GetWindowRect(hWnd, &rect); px = ((rect.right - rect.left) / 2) - 60; ... // Terminate thread _endthread(); }[/CODE] And my problem is px doesn't get assigned.. it stays 0.. although in … | |
Hello Guys, i have the following .htaccess file, [code] php_flag display_errors Off php_flag display_startup_errors Off php_flag log_errors On php_flag magic_quotes_sybase Off php_flag magic_quotes_gpc On php_flag register_globals Off php_value error_log /home/sites/mydomain.co.uk/public_html/err_ors/php.txt php_value error_reporting 2147483647 Options All -Indexes php_value disable_functions phpinfo ErrorDocument 404 /404page.html [/code] I then did a test error so … | |
Before you killing me, I know about the: [url]http://www.daniweb.com/forums/thread141776.html[/url] , but for the moment, I DON"T have the time. Secondly, I'm new to Java platform and JSP. I'm trying to make a simple application, but I don't get it. I'm using Intellij 8, Tomcat 6, MySQL I have a java … | |
Ok, I mostly used Python to learn programming.. I am now trying to learn VB.. This is my problem..It seems that tutorial after tutorial I read has no examples as I am trying to do.. 1. Dim x As Integer = 100 # this should make x = 100 right? … | |
HÃ! I develop my website by Asp.net and I insert Google Analystic code inton Default.aspx file. But I can't see its report? Anyone experience with Google Analytic please help! Thank in advance | |
I have a table with 2 fields category_ID Category_name 1 india 2 china 3 japan 4 africa 5 france I bind these data into grid in aspx page and in that i have given delete command and when i perform delete operation and if i delete china and japan i … | |
hi helper, i'm trying userlogin web app....where logged in user ID's are sent to a hash map .....so that admin can view logged in users list... my problem is... hash map is creating new map (which replaces the old map) when ever a user logs in.... so admin is able … | |
hello , can you tell me how to delete the previous contents in the file,while adding new contents in java???? | |
Hello, How can input number to database where my field in database data type money.. This is my code: [code] Private Sub SaveData() Try If adcLEDGER.State = ADODB.ObjectStateEnum.adStateOpen Then adcLEDGER.Close() adcLEDGER.ConnectionString = strCONNECT adcLEDGER.Open() Catch ex As Exception MsgBox(ex.Message) End Try Try Dim vANSWER vANSWER = vbYes modPY.LookUpST(adcLEDGER, "SELECT * … | |
Pl;ease Any Body Help Me Out to send a Lnk so i can check code written in c,c++ about hamming algorithm.. please ![]() | |
Hi, I'm creating a basic CMS using PHP and MySQL and i'm struggling to get the checkbox information from my html page across into the database. I want the values to appear as binary 0 or 1 values, any help would be greatly appreciated thanks html document is written as … | |
Hi, I am trying to count the number of iterations that the heap sort goes through but for some reason when my program hits an error and aborts at the end. I don't know if I have my count in the wrong place in the for loop either. I would … ![]() | |
Hi, I am new to C++. I am using Visual studio 2008, MFC application. I need to do a GUI program using C++. I have come out with the GUI and now i need source code to communicate to external deivce like hard disk using serial port communication. My GUI … | |
This is a page name search.php [CODE=html]<form action="/ap/demo_paging1.php" method="post"> <input type="text" value="Enter Site ID" name="a" class="textfield_effect" maxlength="30" onfocus="this.value=''"> <input type="submit" value="Search ID " /> </form> [/CODE] and I post value a to another page name demo_paging1.php when I put Query [ICODE]WHERE SiteId REGEXP '$a'[/ICODE] It does not show me the … | |
Hi, i successfully created the JAVA Applet and embedded it in the HTML page. The applet class is as follows: [code=JAVA] import javax.swing.JApplet; import java.awt.Graphics; public class HelloWorld extends JApplet { @Override public void paint(Graphics g) { g.drawRect(0, 0, getSize().width - 1, getSize().height - 1); g.drawString("Hello World !", 5, 15); … | |
Hi, I have 2 projects, the business entity, there I have all the classes mapped from the database and the web project where I fill those business entity classes. Then, I need to store in a DB. I have the globalization set in the web.config on the web project. (VS2008, … | |
When a host request a page from server, the server will 1st bind a encryption key to the host's mac address. Data provided by host will be encrypted at the client side using the same encryption key. The encrypted data submitted by the host will be decrypt by the server. … | |
Hi, I am new to java programming. I have been creating a simple applet. Which is as follows: [code=java] public class HelloWorld extends JApplet { public void paint(Graphics g) { g.drawRect(0, 0,getSize().width - 1,getSize().height - 1); g.drawString("Hello world!", 5, 15); } } [/code] This code is saved in a file … | |
Let say i hv two textbox, i.e. TextBox1 and TextBox2 and a button. Is it possible for me to write text into either Textbox1 or TextBox2 when the focus is at the textbox and button is clicked subsequently? For example my focus is now at TextBox1 then i clicked on … | |
Hello, I am trying to write a bash shell script that does the following: I would really appreciate if someone can help me correct my code that i have written below: 1.Finds all *.txt files within my directory of interest (files are in sub-directories) 2. reads each of the files … | |
i got problem to refresh my database when : save= i already save but need to restart vb to find that data again. delete= when i delete and try back to menu then find that data, the data not delete yet..same with save need to restart vb.net then the data … | |
Hey, i need your help :(. Im working on a mail-downloader but it wont work (pop3) :(. mail provider:[url]www.gmx.net[/url] It always say "Wrong ID+PW" why? here is the code: [CODE=C++] #include "stdafx.h" // includes are there ;) //Prototypen int startWinsock(void); int main() { char buf[256]; long rc; SOCKET s; SOCKADDR_IN … | |
Hi, ASP .net is totally new area for me. I am trying to build one web application to be accessed internally by my team through local network. So, I am trying to add one login page in my project asking for user's username and pwd. Now, I want my application … | |
Use a two-dimensional array to solve the problem. A company has four sales people (1 to 4) who sell 5 different products (1 to 5). Once a day, each sales person passes in a slip for each type of products sold. each slip contains: a. The salesperson number b. The … | |
Cashier 1.0 is a C++ program that displays on the screen item codes with corresponding item description and price (at least 10 items). It asks the user to enter the code of the item purchased by a customer. Then, its description and price are displayed on the screen too. Also, … | |
Alright so im trying to write a simple temperature conversion but i can't seem to get it to work 100%. My problem seems to be that I want to check to see which field has had a number entered in it, and then run the correct conversion function accordingly. I'm … | |
hi i have problem to use doscommand haw to install an use plise help. hire is doscmd [url]http://maxxdelphisite.free.fr/doscmd.htm[/url] | |
i want source code for chat in php and mysql | |
Hi. I need some help here with a unicode string I want to use with strptime. [code=python] >>> date u'\xa08/15/2009' >>> datetime.strptime(date, "%m/%d/%Y") Traceback (most recent call last): File "<pyshell#75>", line 1, in <module> datetime.strptime(date, "%m/%d/%Y") UnicodeEncodeError: 'ascii' codec can't encode character u'\xa0' in position 0: ordinal not in range(128) … | |
Hi, im trying to write some information into a mp3 file. The information i'm trying to introduce into the file must begin 128 bytes from the end of the file, and this block of information is identified by the string "TAG" at that position (128 bytes from the end). After … | |
Heres my code, which is in the head section of the page(yes, its saved as .php): [code] <?php if (isset($_GET['category'])) { if ($_GET['category'] == "property" ) { $property_link = "<span>Property</span>"; $rentals_link = "<a href="listingstest.php?category=rentals">Rentals</a>";} else { $rentals_link = "<span>Rentals</span>"; $property_link = "<a href="listingstest.php?category=property">Property</a>"; } } else{ $property_link = "<a href="listingstest.php?category=property">Property</a>"; … | |
pls i need to change the image on a Jlabel to another image when a user inputs a string word "change". How do i go about it? | |
hi people...was working with hashtable's.... code is as follows : [CODE]public class X{ int a; int b; X(int a, int b){ this.a = a; this.b = b; } public static void main(String a[]){ Map map = new HashMap<X,String>(); map.put(new X(1,2),"some value"); System.out.println(map.get(new X(1,2))); } }[/CODE] gettin o/p as null...is there … | |
Hello, I was hinted for my cause in using a mastertemplate. I did and I swear my little programm was up and running late night just the way I wanted it. This morning, however, I did some other corner stuff and now it does not compile anymore.. just like that... … |
The End.