199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for reno02

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

Member Avatar for mitchems
0
119
Member Avatar for neoangin

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 …

Member Avatar for Freaky_Chris
0
88
Member Avatar for serkan sendur

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

Member Avatar for jencas
0
1K
Member Avatar for Skorpion

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 …

Member Avatar for Skorpion
0
80
Member Avatar for k2k

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 …

Member Avatar for ddanbe
0
721
Member Avatar for headedtomexico

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 …

Member Avatar for Comatose
0
157
Member Avatar for localp

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

Member Avatar for mitchems
0
148
Member Avatar for datenshi

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

Member Avatar for Freaky_Chris
0
171
Member Avatar for Laidler

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

Member Avatar for Laidler
0
116
Member Avatar for aparna balkwade

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 …

Member Avatar for mitchems
0
1K
Member Avatar for Grub

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 …

Member Avatar for Grub
0
152
Member Avatar for inked

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 …

Member Avatar for mitchems
0
89
Member Avatar for perl1user

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]

Member Avatar for mitchems
0
140
Member Avatar for gagan22

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 …

Member Avatar for mschroeder
0
140
Member Avatar for jimwall80

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 …

Member Avatar for mitchems
0
162
Member Avatar for Ronen444

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

Member Avatar for Ronen444
0
77
Member Avatar for perl1user
Member Avatar for mitchems
0
92
Member Avatar for sk8te320

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 …

Member Avatar for mitchems
0
117
Member Avatar for kdee

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 …

Member Avatar for Uncle Gizmo
0
162
Member Avatar for drew7py

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 …

Member Avatar for drew7py
0
17K
Member Avatar for Sunny28525

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 …

Member Avatar for Comatose
0
163
Member Avatar for campuzcrazyness

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

Member Avatar for stultuske
0
132
Member Avatar for helloise

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 …

Member Avatar for LizR
0
94
Member Avatar for NiravVyas

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 …

0
70
Member Avatar for tavy88

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!

Member Avatar for tavy88
0
102
Member Avatar for chetan_8187

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

Member Avatar for chetan_8187
0
513
Member Avatar for Bob Arctor

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

Member Avatar for Bob Arctor
0
459
Member Avatar for Slovig

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 …

Member Avatar for vuyiswamb
0
323
Member Avatar for juzzy

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 …

Member Avatar for Stefano Mtangoo
0
139
Member Avatar for leegeorg07
Member Avatar for leegeorg07
0
111
Member Avatar for vivek_ck

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.

Member Avatar for LizR
0
107
Member Avatar for dragon@dragon64

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

Member Avatar for dragon@dragon64
0
263
Member Avatar for asif786

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 …

Member Avatar for samir_ibrahim
0
167
Member Avatar for javac

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 …

Member Avatar for masijade
0
110
Member Avatar for metalla_nz

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 …

Member Avatar for metalla_nz
0
78
Member Avatar for firoz.raj

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 …

Member Avatar for firoz.raj
0
86
Member Avatar for PradeepChandra

i am trying to place a bitmap image on a cbuton by using setBitmap() function, it is not showing up. kindly assist.

Member Avatar for PradeepChandra
0
71
Member Avatar for glycerine

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

Member Avatar for glycerine
0
123
Member Avatar for MyRedz

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 …

Member Avatar for VernonDozier
0
99
Member Avatar for kiddo39

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

Member Avatar for kiddo39
0
67
Member Avatar for toko

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 …

Member Avatar for toko
0
133
Member Avatar for scru

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 …

Member Avatar for vegaseat
0
153
Member Avatar for sillyboy

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 …

Member Avatar for sillyboy
0
138
Member Avatar for gshock2006

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 …

Member Avatar for gshock2006
0
112
Member Avatar for Logi.

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 …

Member Avatar for xitrum69
0
253
Member Avatar for Alishaikh

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 …

Member Avatar for Alishaikh
0
116
Member Avatar for danielernesto

Sorry, I'm a newbe here so ... I got to ask, what's the diference between those 2 things?? Can anybody help me!!.

Member Avatar for danielernesto
0
141
Member Avatar for sonia sardana

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 …

Member Avatar for silambharasan
0
99
Member Avatar for rapture

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 …

Member Avatar for rapture
0
119
Member Avatar for kiddo39

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 …

Member Avatar for kiddo39
0
127

The End.