199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for kralco626

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 …

Member Avatar for kralco626
0
116
Member Avatar for phpbeginners

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.

Member Avatar for phpbeginners
0
143
Member Avatar for gagan22

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 …

Member Avatar for Airshow
0
90
Member Avatar for sam023

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 …

Member Avatar for sam023
0
132
Member Avatar for nkarvi

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

Member Avatar for sknake
0
108
Member Avatar for shaikh_mshariq

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 …

Member Avatar for ashishchoure
0
169
Member Avatar for Chris_TDR

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

Member Avatar for sknake
0
144
Member Avatar for RECrerar

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 …

Member Avatar for RECrerar
0
278
Member Avatar for jp071

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 …

Member Avatar for jp071
0
213
Member Avatar for peterkroon

Hello, I would like to display the current URL from my address bar. How must I do this? Many thanks, Peter Kroon The Netherlands

Member Avatar for peterkroon
0
96
Member Avatar for the great

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

Member Avatar for Sky Diploma
0
179
Member Avatar for somada141

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

Member Avatar for Gribouillis
0
568
Member Avatar for avirag

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

Member Avatar for avirag
0
259
Member Avatar for schaef2493

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

Member Avatar for cwarn23
0
85
Member Avatar for NoID

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 …

Member Avatar for cwarn23
0
142
Member Avatar for beanboy

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

Member Avatar for beanboy
0
95
Member Avatar for mcco1

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 …

Member Avatar for JasonHippy
0
141
Member Avatar for NoID

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 …

Member Avatar for NoID
0
90
Member Avatar for TryingToDo

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 …

Member Avatar for stephen84s
0
139
Member Avatar for Clueless86

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

Member Avatar for samir_ibrahim
0
201
Member Avatar for ajri02

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

Member Avatar for sknake
0
187
Member Avatar for coollife

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 …

Member Avatar for sknake
0
250
Member Avatar for beanboy

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 …

Member Avatar for beanboy
0
124
Member Avatar for rajachandra

hello , can you tell me how to delete the previous contents in the file,while adding new contents in java????

Member Avatar for javaAddict
0
110
Member Avatar for hery

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

Member Avatar for sknake
0
153
Member Avatar for Ghouri

Pl;ease Any Body Help Me Out to send a Lnk so i can check code written in c,c++ about hamming algorithm.. please

Member Avatar for jencas
0
151
Member Avatar for Dalty80

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 …

Member Avatar for wilch
0
94
Member Avatar for Mnkyman1030

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 …

Member Avatar for jencas
0
129
Member Avatar for nicholasamh

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 …

Member Avatar for syen81
0
142
Member Avatar for ayesha789

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 …

Member Avatar for ayesha789
0
433
Member Avatar for nccsbim071

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

0
64
Member Avatar for culebrin

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

Member Avatar for sknake
0
134
Member Avatar for Derice

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

Member Avatar for sknake
0
1K
Member Avatar for nccsbim071

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 …

Member Avatar for nccsbim071
0
182
Member Avatar for Derice

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 …

Member Avatar for sknake
0
68
Member Avatar for biobee07

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 …

Member Avatar for sknake
0
191
Member Avatar for ggl0rd

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 …

Member Avatar for ggl0rd
0
105
Member Avatar for Ultratermi

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 …

Member Avatar for Salem
0
298
Member Avatar for deeptim

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 …

Member Avatar for deeptim
0
140
Member Avatar for shockwave_05

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 …

Member Avatar for chingkoysilog
0
2K
Member Avatar for stevenaseron

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

Member Avatar for stevenaseron
0
325
Member Avatar for BlackKite

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 …

Member Avatar for BlackKite
0
185
Member Avatar for especta

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]

Member Avatar for especta
0
454
Member Avatar for revatijadhav
Member Avatar for nunos

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

Member Avatar for nunos
0
666
Member Avatar for Nogat21

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 …

Member Avatar for Nogat21
0
282
Member Avatar for verbob

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

Member Avatar for verbob
0
114
Member Avatar for get2tk

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?

Member Avatar for and12
0
83
Member Avatar for gowth08

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 …

Member Avatar for CrazyDieter
0
94
Member Avatar for poliet

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

Member Avatar for poliet
0
112

The End.