64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … ![]() | |
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, … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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? | |
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 … | |
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); … | |
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 … | |
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 … | |
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? … | |
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 … | |
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() … | |
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 … | |
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 … | |
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 | |
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?? | |
![]() | 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:] … ![]() |
Hello everybody, Is that posible to Add parameters to crystal report programmatically. [I]I mean adding not passing.[/I] Thanks. | |
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? | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
could any one tell me is ax bx 8 or 16 bits cuz i am gettin crazy | |
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 … | |
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 … | |
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.. | |
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? | |
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 … | |
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=) | |
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 … | |
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 … |
The End.