64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jazzycontact

hi i don't know it is wright place for it or not. i am new in javascript programming. i am try to implement find and replace functionality. in it i want to search keyword in particular div only. not other part of the page. i have implement following code function …

Member Avatar for Troy III
0
132
Member Avatar for destined2bbless

You have been asked to develop an application that will read book information from a text file to determine which publishers you use. The application will print a report of all unique publishers used. Johnny Smith xxxxxxxxxx Harper Collins Freedie Jones xxxxxxxxxx Harper Collins Lilly Laine xxxxxxxx Penquin Bobby Crosby …

Member Avatar for ~s.o.s~
0
110
Member Avatar for coollife

why crystal report displays empty fields with no data . Why dynamic binding is not happening . here in my case Cat_id cat_Name is displayed no values under it is displayed code: protected void Page_Load(object sender, EventArgs e) { SqlConnection con = oclsdbcon.Getconnection(); con.Open(); DataSet1 ds = new DataSet1(); string …

Member Avatar for Ezzaral
0
74
Member Avatar for bal_1991

okay..so here's the thing......i have a test comin up tmrw regarding stacks and queues using templates....but my knowledge abt templates is minimal...could you plz suggest some links so as to understand templates from the scratch??? thnkx bal_1991

Member Avatar for bal_1991
0
92
Member Avatar for arunkumars

Hi, In my current project, Am drawing a set of boxes, all at run time, and inside them i have called few bitmap images for each box, this also happens at run time. now i need to click that image, the image should be selected and that image shud appear …

Member Avatar for arunkumars
0
202
Member Avatar for cybershark

Hi, I'm trying to get the IF\ELSE statement within the foreach to print "keyword," or if it's the last element in the array just to print "keyword" [CODE=php]$key = "mykey"; $url = "http://access.alchemyapi.com/calls/text/TextGetKeywords"; $text = <<<EOD Barrier Logic The barrier logic is a reliable cost effective solution to barrier electronics. …

Member Avatar for cybershark
0
127
Member Avatar for MrNoob

hello i m doing some function for saving a structure of some employee to text but i want to do it using ptrs to struct normally i tried first using ptr to struct in some main function to test some stuff abt it but i get runtime error [code] #include …

Member Avatar for yellowSnow
0
128
Member Avatar for freelancelote

Hi, I'm trying to print a string on the center of a window using GridBagLayout. All I see printed is a part of the string I expect (the current month) instead of the whole string. I don't seem to be able to spot where the error is and I'd appreciate …

Member Avatar for freelancelote
0
209
Member Avatar for jrosh

When i run a java file through comand prompt it says.. "Unsupported class exception error"...Bad version number in .class file. (compilation is ok. this happens @ runtime) i checked the versions of jdk & jre . Both are same which is 1.6.0_01. When i compile and run the same code …

Member Avatar for peter_budo
0
108
Member Avatar for facadie

I basically new to C# and i need some help=) I have 3 combo box, 5 textbox and 3 buttons. One of the button[BTNAPPLY] is disabled and when we type in detail in textbox or change the selection in the combo boxx in runtime, it will be enabled. How do …

Member Avatar for sknake
0
175
Member Avatar for atch

Hi, guys. Just installed new borland c++ 2010 - I think it's quite cool. One question though, where can I find comment and uncomment command? Thank you

Member Avatar for atch
0
159
Member Avatar for dissident85

Hi all, I just had a simple regular expression question. Why does this only match the first character in the string? it should find the 'a' no matter where it is in the string, right? [code=python]C:\Python26>python.exe Python 2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)] on win32 …

Member Avatar for dissident85
0
90
Member Avatar for BlackPhoenix

I'm working on a project. It involves networked code, so I wanted to send it to a friend to test it with. I sent him only the .exe in my Debug folder, and it had an error on opening. It said something similar to "can not open because side-by-side config …

Member Avatar for BlackPhoenix
0
104
Member Avatar for nunos

Can someone please tell me what I am doing wrong. I know this is easy, but I haven't managed to make it work properly. [code=python] overwrite = None while overwrite != 'Y'.lower() or overwrite != 'N'.lower(): overwrite = raw_input("Do you want to overwrite (Y/N)? ") [/code] It doesn't exit the …

Member Avatar for sravan953
0
1K
Member Avatar for tig2810

Hi again I thought I had this sorted until I realised the date I needed to convert was 91202 (YmmDD). Also, when specifying the format, I have no idea the relevance of the lower-case/capitalisation of the letters (YmD etc?) Any help appreciated. [code] private static string ConvertDT(string date, string informat, …

Member Avatar for ddanbe
0
121
Member Avatar for geoffy0404

I am just starting out in C, i am doing this from what i remembered from the class i take and i just cant find whats wrong with this[CODE]#include <stdio.h> int main() { char lol[30] = ("hello everybody"); printf("%c", lol); return 0; }[/CODE] when i compile, i just keep getting …

Member Avatar for geoffy0404
0
78
Member Avatar for hkseo100

Hey guys. This looks like the right place to ask this question. I just started Python, and I'm still getting familiar with syntaxes and such. Right now, I'm trying to make a program that will make an Isoceles triangle with Turtle module and math module I really don't know what …

Member Avatar for hkseo100
0
361
Member Avatar for nunos

I was googling for a way to reverse a string and I found this. [code=python] >>> 'asd'[::-1] >>> 'dsa' [/code] It works, but there was no explanation where I got if from. Can someone please be kind enough to explain it. Thanks.

Member Avatar for nunos
0
339
Member Avatar for javanub123

i started learning java yesterday and its my first programming language to learn. ive covered most of the basics and such but im stuck at one thing i have a program written that asks for a password i want it to compare the user input to the actual password using …

Member Avatar for javanub123
0
98
Member Avatar for khanalone1

Dear All, I have been stuck and confused while bringing changes in this program which i got from [url]http://www.dreamincode.net/code/snippet76.htm[/url] This program uses a simple 0xFACA character and adds and subtracts for doing encryption and decryption. Now what i want to use is asymmetric encryption technique or we can say part …

Member Avatar for khanalone1
0
528
Member Avatar for brando|away

Im trying to extract an icon from a resource file (.dll) and i need to use the function ExtractIcon() What namespace/class is it in? or is there another way to extract an icon from a dll file?

Member Avatar for Diamonddrake
0
120
Member Avatar for Lingson

Hi, I was trying to use Checkbutton widget from Tkinter and I searched here in the forum for example code how to apply it, and I couldnt find any. So I have to test it myself using some documentation of Tkinter. Since I couldnt find any relevant code in this …

Member Avatar for sneekula
0
4K
Member Avatar for karen.tao

When I enter a string that it not in the list, I get this error in my enum CrimeType class: IllegalArgumentException, no enum const class CrimeType.a(in java.lang.Enum [code] public void enterCrime() { Crimes crimes = new Crimes(); System.out.print("\t\tEnter crime: "); crimeName = In.nextLine(); if("murder".equals(crimeName) || "arson".equals(crimeName) || "assault".equals(crimeName)) { crimes.daysToStay(3); …

Member Avatar for masijade
0
275
Member Avatar for dgr231

Hey guys, I am still pretty new to C++ and am completely self-taught up to this point. I am currently learning about try, throw, and catch statements for exceptions and am trying to incorporate this into my programs. I know that normally when you allocate new dynamic memory, if the …

Member Avatar for gotorightway123
0
1K
Member Avatar for heels

Hi, I am facing problem with my coding but can't seems to find the problem with it. Can someone guide me? [code] //for loop for (line=1; line <=height; line++) { for(col=1; col <=line; col++) { if (line%2 !=0)// odd line { if (col%2 != 0)//odd line,odd col System.out.print(A); else //(col%2 …

Member Avatar for heels
0
221
Member Avatar for tig2810

Hi all I want to create a method that converts from one time or date format (as a string) to another by specifying the inputformat and the outputformat. I can do the output as below but I'm struggling on how to specify what the input format is. Can anyone help? …

Member Avatar for tig2810
0
181
Member Avatar for yonghc

After a brief and rocky relation, I have had jilted Borland 5.02 and found new love for CODE::BLOCK only to discover a while ago that Borland could compile a code snippet which CODE::BLOCK couldn't. In the working program produced below, CODE::BLOCK gave out an error message and failed to compile …

Member Avatar for yonghc
0
433
Member Avatar for manutd4life

hi all i need is the comments for this piece of code here it is: [code=vb.net] Private Sub populate() con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _ System.Environment.CurrentDirectory.ToString() & "\DataBase.mdb") ' con.Open() dAdapt = New Data.OleDb.OleDbDataAdapter("select * from Watches", con) dSet = New DataSet dAdapt.Fill(dSet) dBind.DataSource = dSet dBind.DataMember = dSet.Tables(0).ToString() …

Member Avatar for sknake
0
110
Member Avatar for nagatron

Hallo to all, I have a problem on how to test an existing data from the database. . .I have this registration form which displays an error if the user inputs a username and emai address which already exist in the database. Please help me, I can't find any related …

Member Avatar for nagatron
0
92
Member Avatar for fareast87

Hi everyone! I'm developing some kind of program of handling an images and someone suggesting to me to use PixelGrabber class. I try to use it but I don't know what its return value. Is it some kind of integer value on pixel number 1 or any idea? And where …

Member Avatar for fareast87
0
102
Member Avatar for babbu

this is my code [code] dataGridView1.Rows.Add() dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboColourCode.SelectedText.ToString dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = txtQty.Text.Trim.ToString dataGridView1.Item(0, dataGridView1.Rows.Count - 1).Value = cboQty.SelectedText.ToString [/code] only a blank row is added in the datagrid

Member Avatar for babbu
0
96
Member Avatar for DealthRune

When I use my php, and code it and such, for some reason when I use '<?' my php doesn't work. And I need it to go like that because I download a lot of scripts other people made and most of them don't use '<?php'. Can anyone help??

Member Avatar for DealthRune
0
179
Member Avatar for sravan953

Hey guys, I have made a program called 'tLapse', here's the code: [code='python'] import subprocess import time import os print("Welcome to tLapse...") time.sleep(3) os.system('cls') try: com=open("action.txt",'r').read() condition=True except: print("File error") raw_input("<Any key to quit>") condition=False if(condition): clock=raw_input("Enter time duration after which\nuser-specifiedaction will be\npeformed.\n\nFormat- [hh:mm][24- hour format]: ") def app(path): ext=path[-3:] …

Member Avatar for sravan953
0
139
Member Avatar for fafi_ali

Hello everybody, Is that posible to Add parameters to crystal report programmatically. [I]I mean adding not passing.[/I] Thanks.

Member Avatar for fafi_ali
0
854
Member Avatar for D.JOHN

To all the c++ experts, I have some doubt on how does the convertion works. If for instance, I want to convert a hexadecimal eg. 199 to to decimal, I use printf("%d",199); but what if I want the hexadecimal 199 to be displayed in binary? What must is use?

Member Avatar for D.JOHN
0
210
Member Avatar for F2guy

I am having a problem compiling my code. The following error is displayed: make mpixlcxx -c -O3 potentialqueue_local.cpp mpixlcxx -c -O3 eventqueue.cpp "eventqueue_remote.h", line 20.36: 1540-0063 (S) The text "eventqueue_t" is unexpected. make: *** [eventqueue.o] Error 1 I am fairly new to C++ and not sure if the problem is …

Member Avatar for F2guy
0
577
Member Avatar for TechSupportGeek

Hello guys, since I'm new here, I did some research to find similar problems but I didn't find what I needed. Well, my problem follows as this: I created a Picture Viewing application in VB.NET and I want to add two functions: a save function and a function that lets …

Member Avatar for sknake
0
153
Member Avatar for Muazam

Hey, htmlentities doesn't work in this code of mine, someone know why? Check line 11-14 Thanks. [code]<html> <head> <title> Welcome <?php echo $_GET['name']; ?> </title> </head> <body bgcolor="<?php echo $_GET["favcolor"]; ?>"? <h1> Welcome <?php echo $_GET['name']; ?> </h1> <br /> <?php foreach ($_GET as $key => $verdi) { $verdi = …

Member Avatar for Muazam
0
150
Member Avatar for nagatron

hallo to all web developers, I am having this problem. . .what does it mean? This happen everytime I put username and password on my sql database. . .[B]Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'admin'@'localhost' (using password: YES) in C:\xampp\htdocs\sample\index.php on line 2 Access denied for user 'admin'@'localhost' (using …

Member Avatar for nagatron
0
82
Member Avatar for Krstevski

Hey people... I have one problem... Find how many total cubes are there in the range from A to B, inclusive. An integer Y is total cube if it can be expressed as: Y = X*X*X, where X is also integer. The first total cubes are: 1, 8, 27, 64 …

Member Avatar for Krstevski
0
101
Member Avatar for mrnutty

I haven't ever used CLA so I had to ask. For simplicity sake, Say I have a program that takes in at most 5 arguments. The arguments from args[1] - args[4] has to be some numbers. These number will be used for something, say to calculate its average. How could …

Member Avatar for mrnutty
0
173
Member Avatar for oufa
Member Avatar for NotNull
0
73
Member Avatar for squallgoh

Hi all. I'm new to the forum, this is my first post =) I'm trying to create a list containing 3^10 lists, each list has 10 string. Each string can be of 1 or 3 types, for simplicity let them be 'a', 'b','c'. So basically I wish to generate all …

Member Avatar for squallgoh
0
142
Member Avatar for xenocide001

hi all i have some homework that i cant finish cuz i dont know how to print it the way my teacher wants it.. here's the thing *Print this in debugger [CODE] hello . . . 25 times[/CODE] in the right of the screen.... this is what i have so …

Member Avatar for xenocide001
0
215
Member Avatar for chathuD

I need to make a panal in a form to be visibale=falls in a one button click.and the next button click of the same button must be make the panel visibal = falls. and this is continuing. can some 1 help me..

Member Avatar for parthmishra
0
133
Member Avatar for foosion

Why does this make sense in 3.1? [code]>>> a = b'\x01\x02' >>> a[0] 1 >>> a[0:1] b'\x01' >>> a[0] == a[0:1] False >>> a = '\x01\x02' >>> a[0] '\x01' >>> a[0:1] '\x01' >>> a[0] == a[0:1] True[/code] Shouldn't we get True for both comparisons?

Member Avatar for foosion
0
205
Member Avatar for Susan.LK

I have a login form which redirects the user to a new page if the form is submitted, however it does not show the error messages on the same page as the form. Currently if nothing is typed in user or passwords fields, the same page is relaoded process2.php showing …

Member Avatar for Susan.LK
0
128
Member Avatar for kz07

Is there any way to convert String s = "1234" to int s[4] = {1,2,3,4}? and how can i check if it does not contain any non-numeric characters? thanks=)

Member Avatar for kz07
0
5K
Member Avatar for NguyenThai

Hello. My project required me to search the record inside the database. What I mean is I save the text field of a session like Session["Example"] = "ex". Then using this session to search inside the field of table of SQLDataSource. If the session match the field, then display the …

Member Avatar for reach_yousuf
0
117
Member Avatar for weblover

hi all ..how are u? i have a problem and i need ur help plz ...i downloaded Apache2.2 server and php 5.3 and now i'm downloading mysql5.1.37 ...but there is a problem ..when i start the Mysql Server Instance Configuration wizard it tells me to choose between 2 version ..and …

Member Avatar for vincent2085
0
132

The End.