199,114 Archived Topics
Remove Filter ![]() | |
hi i'm developing a webpage.page contains various fields like collegename ,studentname and so on.collegename field will be a dropdown box and it gets option from backend table collegedetails.every collegename will have a unique collegeid in collegedetails table.after selecting collegename and filling necessary fields in webpage the details should be stored … | |
Hello , I got this script that read directories, create a zip file with the date of the file, and put all files in that date inside Zip: dir=/iscsi/webserver231/; for subdir in "$dir"/*/; do find "$subdir" -type f -name 'ex??????.log' -exec bash -c 'for f; do f=${f##*/ex}; echo "${f%??.log}"; done' … | |
public class Test { public static void main(String[] args) { String line=".Raghu"; System.out.println(line); char[] h= line.toCharArray(); char[] f=null; int c=0; if(h[0]=='.') { for(int i=0; i<h.length; i++){ f[c]= h[i]; System.out.println(f[c] + h[i]); c++; } f[c]='\0'; } } } | |
Hello there, I am using the JTextPane in my Java Swing Application. How do I make it Handle Hypelinks. Like lets say the use enters [COLOR="Green"]\\some_foldername\some_subfolder_foldername\some_file.xls [/COLOR]or any other file type, It should Automatically, treat it as a hyperlink. Is it Possible to have such a functionlaity [B][U]JTextPane Hyperlink Functionality[/U][/B] … | |
Hiya, I was wondering if there is a need to change the database table names and script variables of an open source script to enhance security. A script I have has lots of pages and variables that are used throughout the site. I have changed database table names as I … | |
Hello, I have an assignment where i have to create few methods using linked lists. one of them is method that should create an integer singly list and return the head. While i know how to add a single node i am not sure how to create list of them. … | |
good time people I have a code like the one below: [code=c++] #include <vector> #include <stdio.h> #include "mymath.h" using namespace std; int main(){ int n; char a='y'; do{ cout<<"\n----------------------------------------\n"; cout<<"Enter a number for prime factorization : "; cin>>n; cout<<"\n----------------------------------------\n"; int *result=pfact(n); for(int i;result[i][0]!=0;++i){ if(result[i+1][0]!=0) cout<<result[i][0]<<"^"<<result[i][1]<<"*"; else cout<<result[i][0]<<"^"<<result[i][1]<<"=";} cout<<n; cout<<"\n----------------------------------------\n"; cout<<"Do … ![]() | |
hi i was wondering how should i tackle this problem as i got stuck on the delete feature, getting data is fine deteling is the problem since now i made the following: [CODE]<?php include 'cms/core/config.php'; include 'cms/core/opendb.php'; // get data $query = "SELECT id, name FROM ody_admin.templates ORDER BY id"; … | |
Hello, I have been fighting with this assignment for almost 3 week now and it's almost ready besides one part that I simply don't understand. I would appreciate if someone could maybe translate it into "simple English" for me and maybe give me a little guidance. Basically we are writting … | |
![]() | hi there! just wanna know why it is necessary to close the DataReader and database connection after use? what are the effects of just leaving it open? |
Hi, I have a coding problem. I know it is all over the place because I am confuse to what to do with it. The way that I had it in the first coding example if a customer chooses two items of the same product but in different colors my … | |
Hello guys, A Client walked upto me, and told me he wanna create a SMS portal where by user can by a Card from him and log in with a secret Pin on the card and they can login to the website and with th Issue Card and they will … | |
Hi all, I'm new to asp .net. I would like to get the value from a GridView when a checkbox is checked. I'm creating an HR eAppraisal System. Need to capture the Employee ID, the CompetencyID and the Evaluation Factor ID I had a checkboxlist in a GridView. The Checkboxlist … | |
i made a folder images in d:/wamp/www/images and uploaded photos to it and sent the path to of the images to the database e.g image_path = d:/wamp/www/images/apples.jpg now i want to create a gallery showing thumbnails of the images i created the script below ....its supposed to read the image … | |
Help please... I'm new member and this is my 1st post.. problem : I want to drag n drop an object (label n picturebox) in 1 form. what i means is the object that I drag can be free moving in 1 form n drop it on anywhere on that … | |
![]() | hi guys, any suggestions you have for a good source (online) of asp.net tutorials? thanks! :) |
HI Iam created project in visual studio 2008,and once I compile coding,it give me error meassagee.The Error Meassage is [COLOR="Red"]Error 1 The type 'Microsoft.Office.Interop.Excel.Workbook' exists in both 'c:\WINDOWS\assembly\GAC\Microsoft.Office.Interop.Excel\11.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Excel.dll' and 'e:\Test\Test\Test\obj\Release\Interop.Microsoft.Office.Interop.Excel.dll' E:\Test\Test\Test\Test.cs 13 67 Test [/COLOR] So what I did is I delete the Excel.dll in (\obj\Release\Interop.Microsoft\Excell.Dll,but once I complie it … | |
Hi There, I'm tinkering with an idea of a database structure for the company i work for, i'm currently compiling a client list using mysql and accessing it via php. The problem i have come across yet not solved is, when i search the database for a surname i would … | |
I think this will helpful for those who like delphi. :D Download,and read.This file contains the basics of delphi :) The file size is about 3 Mb. Thx for reading. With respect : FlamingClaw 2009.04.18. | |
hello, the title basically sums it up. how can i see if a word is in a url and then if it is, do something with it. thanks for any help billy | |
Hi, How to connect visual basic program with mysql database?I need a sample program of retrieving the data and also inserting the data into the table using mysql database..........I dont have any idea..... please help me ....... Regards, Santhanalakshmi. | |
Hi, I'm currently having problem with my proj. And really need helps.. I am currently in a proj that need to create an application that is able to hav Client (PC 1)'s data store to Server (PC 2 and it is also where the database is being stored.) PC 1's … | |
Hey, am having 3 radiobuttons, so if any of them is checked, then the price should be display on a label, but it has to be using array. I have started, but i got hooked at this point. Dim AccStandard() As String = {"5 Star", "4 Star", "Budget"} Dim cost() … | |
Hi All... I'm glad to be in this forum. I'm making a system to connect three applications in one and have a user register page. The register page sends an email to the user asking activate the account in order to use the system. I'm having some matters. First: I … ![]() | |
Is it possible to indicate that a class function you are calling is static? [code] class Point { std::string name; public: Point(){} static void DisplayName() { std::cout << "Point" << std::endl;} }; int main() { Point.DisplayName(); //this doesn't indicate the the member function is static //maybe something like this: //static_call(Point.DisplayName()); … | |
[code]string str=""; int no=Convert.ToInt32(str);[/code] | |
hey I am currently working on a Fraction program and the fraction needs to be in lowest terms i have been working on this for a while and I can't figure out what is wrong with it i think i have been looking at it for too long, but anyways … | |
I want to make a data report. I write a name (like: taher) in a text box then press a button and then (taher's) all data will show. how it possible? I want it many ways. like name, ID, date. I mean I write name or ID or date and … | |
Hi, I'm using C#.net 3.0 to develop an application on digital watermarking.I'm using FrameGrabber class which I have found on this site.What the class is doing-it is getting the constituent frames in the Bitmap format (*.bmp) from the given video file.Now the problem is that there is no way to … | |
Hi, I'm really struggling with creating an if statement with the content of a data repeater. I'm looking for somthing along the following lines... <%IF Container.DataItem( "fldExtraImage1" ) is not dbnull THEN <img src="images/Extras/<%# Container.DataItem( "fldExtraImage1" ) %>" alt="<%# Container.DataItem( "fldExtraTitle1" ) %>"> ELSE IF Container.DataItem( "fldExtraImage2" ) is not … | |
Hello, I am doing Login Screen in VS2008. When i logon with username and password in form it only checking the first field in database. How to do coding for checking all the fields??? This is my coding [CODE] Imports System.Data.OleDb Public Class frmLogin Private connstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data … | |
[code]<script type="text/javascript"> function counter() { var first; var number; if (first == ""){ var first = 42; var number = 0; }else{ var number = number++; } var full = 7; var length = strlen(number); var full = full - length; for (i=0;i<full;i++){ document.getElementById('counter').innerHTML = document.write('<img src="images/0.gif" border="0">'); } for … | |
hi, i'm having problems with my homework. I have to create a Base classes from which 2 classes have to be derived, then i have to write a program to test their function. The problem that i'm having is that i'm taking the input from the keyboard and passing it … | |
So this is a small part of a bigger project I'm working on. I'm having trouble with having a visual countdown starting from a value the user inputs. I have three elements on the form textBox1 where the user enters the value to start from and label1 where the visual … | |
Hello, I am using Visual Web Developer 2008. I am using menu control binded to site map. So when the user role is administrator, i want to remove the menu item from the menu. I used the coding but not working. [CODE]If page.user.isinrole("Administrator") then menu1.items.remove(menu1.items.find("Forums") End if [/CODE] | |
Hi everyone I've been trying to develop a mid-scale (size wise) application in the past few days. Something I'm doing for fun, to get some experience. My application is some sort of log system, it can have different users, each user has its own log entries (or records) and so … | |
I am considering using python to write a simulation program to display the motions of about 10,000 2d disks. The program doesn't need to calculate the positions of disks. It just reads the result file and displays disks on the screen. I wonder whether python has this ability for rendering … | |
Hey all, I found this script that i'm using to read a directory, show all the pdf files in it, then be able to click on one of the pdf files displayed and open the pdf. So far i can show the pdfs in the directory, but when I click … | |
A problem asks me to make a printf statement which will print out the members of the struct given, I wrote a program to make sure I would get the right printf statement. [code] #include <stdlib.h> #include <stdio.h> int main() { struct house { 5. char style[40]; int rooms; float … | |
this is part of my app where i ask a user if they want to do something. they need to either input a "y" or a "n" for it to do something and if they input something else like a j, 1, 2 , ; , " any other character … | |
[code=c++] void func(char*,int&);//A function returning no value and taking a char and reference to int as arguments. typedef void (*PTR)(char*,int&);//A pointer to function returning no value and taking a char and reference to int as arguments. void Func2(PTR);//A Function taking such a pointer as argument. PTR Func3();//A Function returning such … | |
Hey, I've been trying to understand what the hell I'm doing wrong with this code. At the beginning, I include the DDRAW.H, and the code compiles with no problem, but as soon as I try using a function from that header, I get a linker error. The function I used … | |
I'm just starting to get into some Service programming (WCF). I've successfully tried out the Microsoft WCF tutorial and got mathematical results from the service. Now I'm trying to set up a SQL Server Express database on the Service side so that it can allow the client to either retrieve … | |
I have 2 DLL , namely A.dll and B.Dll They both have a function called ShowHelp() How do I declare the two functions that have The Same name | |
Hi there, can anyone help me with this problem?. To improve the speed of operations we wish to replace an open hash table with B1 buckets by another one with B2 buckets. Write a procedure to construct the new hash table | |
I am using FileSystemWatcher to copy the contents of a text file after it has been updated but it is creating the same avent more than once i was wondering if anyone could tell me if there is a way to stop it doing that so it will only copy … | |
I need to REMOVE my Application from the Windows Process List. I do not want users to use Process Killers to Remove my Application or Shut it down. | |
using - python 3, python shell i've tried looking online and in a couple of books, but i can't find an explicit example of creating an exe. could one of ya'll share the steps? ty, frank | |
Good Day, I am also a newby to the JAVA world of developing. I am SERIOUSLY struggling with a homework assignment ... I have a swing program that is using a JFrame and the task is to calculate the average grade. First, a JOptionPane needs to be used to get … | |
Problems 1. Results for height and weight output fine but I am trying to have gender change the following boolean assignment statements. 2 different results for height and weight base on either female or male. exp. males height is [COLOR="Red"](height >= 62 && height <= 78)[/COLOR] but for the female … |
The End.