199,114 Archived Topics
Remove Filter ![]() | |
I need to have a script where the date will be entered using numbers and forward slashes. The month and day numbers can be entered using one or two digits, and the year number can be entered using either two or four digits. The date should be displayed, for example, … | |
Quick one about API: There is advice in MS Visual Studio 2008 Documentation: "To enable the user to draw filled shapes, include the following popup menu in your application. POPUP "Filled &Shapes" { MENUITEM "&Ellipse", IDM_ELLIPSE MENUITEM "&Rectangle", IDM_RECTANGLE MENUITEM "R&oundRect", IDM_ROUNDRECT } " Hm... where? In WinMain or between … | |
Hi guys, i want to achieve the same thing below in C++ and C, is it doable? Dont get me wrong, i dont want to create a web application, i just want to get an index number of enum by specifying a string value. [CODE]//Default.aspx : <%@ Page Language="C#" AutoEventWireup="true" … ![]() | |
HI can some one figure out my mistakes in this program? [CODE=C]#include<stdio.h> #include<conio.h> void main () { int num,i; clrscr(); printf("\nprint any number:"); scanf("%d",&num); for (i=2; i==num; i++) { if (num%i==0) printf("\nprime number"); else printf("\nnot a prime number"); } getch(); }[/CODE] i want that it tell the user whether the … | |
hi, the book always have code like this for the beginner .. [code] String status="yes" do{ ...... }while(status.equalsIgnoreCase("yes")); [/code] what if the user enter y? or mistype "yes" to "yse"? the program crash... we can of course use if and else if and else or the switch statement's "default" to … | |
im working with some perl code, and im really unfamiliar with the language, and I have a situation. I'm working with a package of perl scripts for a game, there are about 4000 of them and counting. They are release constantly, and altering their contents isnt really an option, it … | |
i want to create a perl /CGI program Cookie, where the username can be remembered even if the browser is shut down and restarted. i am new to Perl programming, and i have no clue from where to start on this, but i am aware on how to set cookies, … | |
Write a program that immplements a pointer based linked list with the following functions: a. Construct/ constructor b.empty c. dispaly a node/ search d.display all nodes e. delate a node f. delete all nodes g. insert a node The program displays a menu of operations below. string AuthorTitle; int BookCode; … | |
im trying to program a JAVA GUI but after i compile the code and try to run it i get an error message. i then downloaded a program i made at college and i get the same problem even though it ran at the university. [B]Heres the Code[/B] [CODE]import java.awt.*; … | |
i m using perl script to do something where i want to change my current directory to mnt in c: only.. bt using function system("cd c:\mnt"); is nt working. system("dir"); is working properly ,also some other command using systems function in perl script is working fine bt dnt know what … | |
Hi, I am sending a oval shaped ball across a screen and use the repaint() method controlled by a timer to move it. [ICODE]public class Court extends JFrame implements Runnable { private int x = 10; private int y = 200; private int r = 3; /** Creates new form … | |
hi ive got this assignment to do, ive got to write a perl program that analyses a text file to obtain statistics. Need some help with this particular section when run the program should check if an argument has been provided if not the program should prompt for and accept … | |
how do I retreive query string in perl ? let's say I have [url]http://server.com?name=foo[/url] how do I get the value of 'name' thx [email]cvv3@yahoo.com[/email] | |
Hello everyone, I want to use two radio button on a html page (buy.html) . I want that when we click on first radio button then it will show one form which have two or three text box on that page (buy.html) . When we click on second radio button … | |
Hello all, Greetings! Question: How does one run a perl program without it being a cgi program? Can I write a script in perl as a stand alone program and run it without uploading to the http server? if so How? I have saved my files with a .pl file … | |
Hi, I'm trying to create a TextBox control with Auto Tabbing... Example: If the user types in "goodbye", the application will insert a "//", than enter and than "//" again. Can someone guide me to do that..? I'm stuck here... | |
Hi, i'd like to know how to get hex code of an ASCII char. Ex: 'a' => 61 | |
Hi to All, I am I guess for lack of a better word, A Newbie when it comes to Perl. I was given a project to accomplish the following; 1. write a perl executable script that will execute a SQL query. 2. then I need to take the data retrieved … | |
Hi! A bit of a stuck-up. I have a problem which is probably simple to manage (not for me though - my brains work 24hrs/day and don’t come up with nothing). I want to show several different values from one field (in query) on the report - now check this … | |
I have this code that manipulates many list (which are a mix of numbers and words) and I need it to print to a text file in rows without brackets. here is the code: ingroup = open("C:\Python25\Drew\subgroup.txt", 'r') outgroup = file ("dID.txt", 'w') ct = 1 rcw = ingroup.readlines() cID=0 … | |
i have created add-in for Outlook 2007 . but when i run outlook the commandbar button which should be appear on standard bar , does not appear. i think there is a problem in register of Add-in. the code are as follows : [code] imports Extensibility Imports System.Runtime.InteropServices Imports Microsoft.Office.Core … | |
:) Hey Guys, I'm a newbie poster here and I'm new with java. . I made a GUI of a simple calculator,the problem is I don't know how to put events on the buttons of my simple calculator. . Can you please help me with this problem? Here's my code … | |
i have a checkbox(chkBoxMgr) on a windows form that i have already linked to a bindingsource(staffBindingSource). the value on the Staff table for the Mananger field is a "Y" how do i get the chkBoxMgr checkbox in a CHECKED state seeing that the value of the Manager field on the … | |
HI I had been in trouble from last three days.Here is my problem:I allow user to upload a image of his/her choice, then I resize it to a 45 X 45,Then make a copy of that in transparent.Till here all things were going fine. Now I want it to cut … | |
I need someone who can tell me where can I get proposed Java project for online practice. Please..I read many theory books and now I want to learn practicing. Thank you! | |
I have the following code it works for mpg files But it grabs every frame of video I want to grab Single particular frame or/at particular time plz help me and post the modified code Its urgent Code: import java.awt.*; import javax.media.*; import javax.media.control.TrackControl; import javax.media.Format; import javax.media.format.*; import java.io.*; … | |
Hello all, If I use a "typical" href - No problems I see the session value being passed to the page (populating a form field). Using the pop up link not surprisingly nothing gets passed. My lack of experience is letting me down here. Any solutions or an alternative ? … | |
Hey. I'm pretty new to ASP.NET and coding it in VB. I'm working on some tutorials on how to view and edit data from a SQL Data Source. I'm using the GridView feature, but I'm getting some errors. The major one, is that it requires me to declare a scalar … | |
im thinking about how i could manipulate gui windows, so that if I were to have, say two separate programs running in two separate windows and i were to drag one the other would follow. does anyone know how i would begin to go about doing this? I'm actually using … | |
![]() | |
i'm working with C# .In my prjt there is one class library added.My problem is how to get reference of objects tat of my project in my class library. | |
Hi All I am trying to create a page to delete records from a database, but i cannot seem to get the right code in hereunder please find my code [code=php]<?php require_once('Connections/conn.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() … | |
I am constructing an array in Vb .NET for a voting simulation program, i want it to store numbers which are being generated these will be unique numbers to each voter and then perform a check to see if the number input by the user matches those stored in the … | |
I am new to java and need some help.How do I write a java program to develop a server which logs into another machine using ssh? I have to develop a server that logs into another machine using ssh and executes a command- "free". This server, running on a linux … | |
Hi everyone. Here is my first app, [url]http://code.google.com/p/snippet/[/url] Its a code snippet management program. Would love for people to check it out, offer any suggestions etc. and see if you can break it. Each language is controlled by an XML file in the languages folder, see the included c Sharp.xml … | |
can anybody help me .[B]if not help at least suggestion[/B].i will remain grateful to all of you.any help would be greately appreciated.[ATTACH]9063[/ATTACH] i have taken all the information of listbox1 in strreq.which is a string type variable.since it is a string type variable. That is why i have split strreq … | |
i am trying to place a bitmap image on a cbuton by using setBitmap() function, it is not showing up. kindly assist. | |
Firstly what a great forum and site alot of the threads on here have helped me over the past couple of months create and update alot of sites. So here is my problem, I have a importer which imports a feed (csv file) from a supplier (no problem importing it) … | |
hi i got my second assigment here for oop in c++. but i don't understand clearly. can anyone explain it to me? [QUOTE] ASSIGNMENT 2 INTRODUCTION TO CLASS [15 marks] Objective: 1.Learn how to write class which uses dynamic memory allocation 2. Learn how to invoke member function/send message to … | |
I know python has math functions like 5+6 and 5*6 and 5/6 etc...but I have something like this: x=575124357 and need to add them all together: 5+7+5+1+2+4+3+5+8=40 | |
I am trying to make a program that scans the pixels in the screen for certain colors and if it finds it sets the mouse location to that spot. Now i need your help to see if something like this is possible with vb and if it is possible point … | |
This function is supposed to take an integer that contains an rgb value, extract the value of each channel, and then return that calculated luminance of the pixel. As it stands, the performance of this function is not fast enough. Looking at it, I can't think of anything else that … | |
Hey all, I haven't had a lot of experience with VBA (Excel), but I think I have done enough research, so now I'm coming here for assistance. I need my VBA macro to use a keystore, so I was going to use System.Security.Cryptography.X509Certificates.Import. My issue is however, I cannot add … | |
Right now, I want to handle data file in the following format: apple 1234 coke 2344 some grape 2345 null .... as some lines consist of 3 element while some other have 2,I want to use the expression as follows to get the first two elements in every line and … | |
Hi there, I am trying to write a program to send an HTTP request (eventually to view the raw HTML page) but i can't seem to get my requests to send or receive properly, intially when i ran this it would receive about 4190000 bytes (rough guess) but after running … | |
I have to make a program that simulates a shopping cart, I have it done, it's just that the shopping cart wont print. Please help me in fixing this, this is due for me tomorrow and is worth 40% of this chapter grade. The files are attached below. The main … | |
Sorry, I'm a newbe here so ... I got to ask, what's the diference between those 2 things?? Can anybody help me!!. | |
Can i know hoe to find the CPU Usage of individual Process in %. I found the following code thru the net- But I not getting it. [code] Private m_PerformanceCounter As New System.Diagnostics.PerformanceCounter("Processor", "% Processor Time", "_Total") Dim cupcount As String = CInt(m_PerformanceCounter.NextValue()) & "%" [/code] Here m_PerformanceCounter.NextValue() will gives … | |
Hello, I need help on this project for school. My instructions are "Write a program called OfficeAreaCalculator.java that displays the following prompts using two label components: Enter the length of the office: Enter the width of the office: Have your program accept the user input in two text fields. When … | |
I have a randomly generated list of which contains letters, symbols, and numbers and need to separate it into 2 lists -one of numbers and one of the remaining chars. Then I need to separate the numbers into 2 lists-one of composite numbers (4,6,8,9) and one a list of prime … |
The End.