199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for AngelicOne

I need to have a watermark on both of my form using this [CODE] public static class TextBoxWatermarkExtensionMethod { private const uint ECM_FIRST = 0x1500; private const uint EM_SETCUEBANNER = ECM_FIRST + 1; [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = false)] private static extern IntPtr SendMessage(IntPtr hWnd, uint Msg, uint wParam, …

Member Avatar for Momerath
0
136
Member Avatar for NOVICE3

I think that I have captured the file name from a file on my hard drive and I think I have loaded the contents of the file into an array. The code I used is: public void openFileDialog1FileOk(object sender, System.ComponentModel.CancelEventArgs e) { string fullPathname1 = openFileDialog1.FileName; FileInfo src = new …

Member Avatar for Momerath
0
343
Member Avatar for darshini.dayal

When the button is clicked the desired calculations are not been calculated. After the Tax paid variable eis entered in the text box, no further calculation taking place. In the result textbox getting the same data as eneterd in the Tax paid Text box.Can anyone tell wat is the error.. …

Member Avatar for darshini.dayal
0
156
Member Avatar for tekboi

I'm trying switch the twitter javascript widgets out depending on the time. So in the day, the twitter widget will be colored differently than at night. I used the code that twitter gave me and came up with this code. But I get a syntax error in DW on the …

Member Avatar for Taywin
0
195
Member Avatar for Khoanyneosr

So, I need to find a way to create a way for the computer to ask for input, for this example lets make it 1 and 2. 1 for yes and 2 for no. [CODE] int yes; int no; cout << Do you like orange chicken?" << endl; cout << …

Member Avatar for Khoanyneosr
0
427
Member Avatar for rena0514

Write a program that simulates the “heap” using a linked list. This program should take one node of size 9096 kb. Assume all request will be made in kb. The user should request a size of memory from the system, then the system should find memory that can be allocated …

Member Avatar for caut_baia
0
242
Member Avatar for m1234ike

[code] Dim myPathsix As String = IO.Path.Combine(My.Computer.FileSystem.CurrentDirectory, "Cleanup/Programs") IO.Directory.CreateDirectory(myPathsix) Dim count As Integer = 1 If Not IO.Directory.Exists(myPathsix) Then IO.Directory.CreateDirectory(myPathsix) '// create if it does not exist. For Each foundFile2 As String In My.Computer.FileSystem.GetFiles _ (My.Computer.FileSystem.CurrentDirectory, _ FileIO.SearchOption.SearchTopLevelOnly, "*.exe" & "*.pl" & "*.jar" & "*.zip" & "*.rar") count = ++count …

Member Avatar for Huntondoom
0
225
Member Avatar for m1234ike

I am making application that sends all the programs (.exe) into a created folder on the current directory. The application is setup by first creating a folder at the push of a button. Next, a try catch is used to send all of the .exe files into the new folder. …

Member Avatar for Huntondoom
0
143
Member Avatar for Evesy

Hi, I've created an AIO tool in Visual Basic and i need to create some code so when the application is opened it places itself in the computer startup folder. I know i can do it manually but i want to do it on school computers (restricted access) Thanks in …

Member Avatar for Huntondoom
0
263
Member Avatar for Huntondoom

Do you have to clean up and sort your computer files? But do you rather want to play some game and not sort everything out. Well then here is something for you: Clean Up! The Application for sorting en cleaning up your Directory's Just give the directory you want to …

0
422
Member Avatar for Huntondoom

[left][size=18pt][b]Advanced Internet Search [/b][/size][/left] [b]Coded & Design By Huntondoom[/b] Advanced Internet Search or AIS is an program that speeds up the search process this program goes to Google and looks want you gave it to search then collect a number of results (number may differ when using different settings), each …

0
329
Member Avatar for rajeesh_rsn

Hi I had a mysql data base and had a date column in it. Date is like : date("Y-m-d"), I need to search in the data base between two days, select users who registered between 2009-12-13 and 2009-12-25. Please help me thanks in advance

Member Avatar for Sorcher
0
88
Member Avatar for visom

Hi, my homework problem is to convert minutes into hours AND minutes ex. 124 minutes = 2 hour(s) and 4 minute(s) (there will be some if statements for plurals of hours and minutes if possible) This is my code so far but I'm getting an error [CODE]#include <iostream> using namespace …

Member Avatar for visom
0
3K
Member Avatar for gunnerone

Hi, I am trying to create a simple program thats reads banking information from a text file. The text file is layout out line by line. I know that there is definitley 14 lines for each customer but the amount of accounts the customer has is dependant on the 14th …

Member Avatar for ddanbe
0
302
Member Avatar for mgranger96

I'm working on generating SEO friendly URLs from data taken from a database. I've been successful for the most part. The only issue I'm having is when I stripped the spaces and made them dashes, I lose the data being pulled from the database. If I leave the spaces in …

Member Avatar for mgranger96
0
228
Member Avatar for Joshua Kidd

Hello All, I am trying to figure out how to create a custom Button. I know how to paint an Image in paint shop and add that Image to the Button and Remove the Text, But how do I change the Image Shape and Border? Or is there any possible …

Member Avatar for Joshua Kidd
0
161
Member Avatar for raghujosh

Are dynamic insert statements possible in MySQL. I am creating an application that generates a database driven web application with minimal human intervention. Briefly, a user is allowed to build an HTML form(by adding HTML form elements) on a web portal and then he/she submits the form. Once the form …

Member Avatar for smantscheff
0
1K
Member Avatar for toritza

hello. I am quite new in python so i have a question. I have a csv file in which i have names of 30 cities and their coordinates(lat and long). i want to generate a distance matrix for these cities. How can i do this ?

Member Avatar for Gribouillis
0
2K
Member Avatar for MaddTechwf

I'm trying to turn the Maximize & Minimize buttons off on my Child forms but it doesn't seem to be working. I have set the Max and Min on the form to false but that doesn't seem to work. Also, how can I make the child form fill the available …

Member Avatar for Unhnd_Exception
0
174
Member Avatar for jayzee1989

So yeh, I'm kind of new to c :). So, as far as I know, and array initialized to 0 will stay at 0 unless something is stored by some other function or command. so I have and array here(imgSet) that when I tell my program to print out elements …

Member Avatar for jayzee1989
0
146
Member Avatar for sbcro

Hi, I am trying to draw some rectangles by pressing the mouse button and dragging. Each time a new rectangle is being drawn, the previous one disappears. The question is how can I avoid this? I am programming in C. Thanks!

Member Avatar for orwell84
0
187
Member Avatar for tj0101

[CODE]/* Problem 3 Writing User-defined Methods Programmer: Date: March 10,2011 ProgramName:Tuition.java */ import java.io.*; import java.text.DecimalFormat; public class Tuition { public static void main(String[] arg) throws IOException { //declare and construct variable int hours; double fees, rate, tuition; //call methods displayWelcome(); hours = getHours(); rate = getRate(hours); tuition = calcTuition(hours, …

Member Avatar for jon.kiparsky
0
349
Member Avatar for .It.

Hi all, what is the best way to obtain all the possible 3-items groups out of 8 elements (0-7) with repetitions? This would be D'8,3 = 8^3 = 512 groups. I want to save them in an array, like [CODE]unsigned int array[512][3];[/CODE] What is the best approach?

Member Avatar for biswajit_cs07
0
123
Member Avatar for sarge66

I need help with a program for a class. I got all the issues taken care of but this one: error C3861: 'menu': identifier not found My program code is (I know it stupid but I can't see it) [CODE]#include <iostream> using namespace std; int main ( ) { int …

Member Avatar for Ancient Dragon
0
256
Member Avatar for georgegra

I'm getting the old "Validation of viewstate MAC failed" error when I click the submit button on my form. (See [url]http://blogs.msdn.com/b/tom/archive/2008/03/14/validation-of-viewstate-mac-failed-error.aspx[/url]) The thing is I'm getting the error even when the page is completely loaded (it can be sitting there for five minutes before I hit submit but I still …

Member Avatar for georgegra
0
144
Member Avatar for newgeekintown

Hello guys, I am doing my final year project on data mining using the privacy preserving techniques of genetic algorithm. I am struck on how to implement the crossover of the chromosomes(transactions). Anybody having the idea of the code in C# ,please please send it.

Member Avatar for cale.macdonald
0
100
Member Avatar for vn412

Hi, I have a login form with username and password authentication . It works fine. But I want to give option to remember login info option in the form. Please help me with the code. Thanks

Member Avatar for darkelflemurian
0
712
Member Avatar for ywong89

Hi. This program is pretty much working. I just can't figure out how to compare the higher hand when each player get a pair/three a kind. CardDeck.h [CODE]enum Suit {clubs, diamonds, hearts, spades}; //---------------- C L A S S C A R D ----------------------------------------- class Card // this class describes …

Member Avatar for ywong89
0
5K
Member Avatar for LizAE

This site's instructions seem so straightforward: [url]http://sonspring.com/journal/easy-random-css-backgrounds[/url] "1.Go download rotator.txt from A List Apart. 2.Put the images to be rotated in the same directory as rotator.php. 3.Upload all the files via FTP." However, the "A List Apart" link doesn't work. I can't get much further if I can't do #1. …

Member Avatar for LizAE
0
155
Member Avatar for yncee_11

ERRORS: 8 C:\Documents and Settings\csc182\Desktop\devc++\ellipse.cpp `main' must return `int' C:\Documents and Settings\csc182\Desktop\devc++\Makefile.win [Build Error] [ellipse.o] Error 1 what does this errors mean?? here is the code.. #include<stdlib.h> #include<conio.h> #include<graphics.h> #include<dos.h> void main() { int x,y,i; int g=DETECT,d; initgraph(&g,&d,"\tc\bgi"); cleardevice(); x=getmaxx()/2; y=getmaxy()/2; settextstyle(TRIPLEX_FONT, HORIZ_DIR, 3); setbkcolor(rand()); setcolor(4); outtextxy(30,100,"Press"); outtextxy(30,130,"any"); outtextxy(30,160,"key"); outtextxy(30,190, …

Member Avatar for Caligulaminus
0
188
Member Avatar for geoffy0404

if the answer is 90 through 100 it displays an A if the number is between 80 and 89 it will Display a B, but if its any number less then that it wont work. what am i missing? [CODE]if((int) total >= 90 && total <= 100) { printf("%c \n …

Member Avatar for jephthah
0
141
Member Avatar for mangopearapples

Hey people, How could I make it so when I right click and file and click 'Open With..' and choose my program so it loads the file? I already know how to load the file from when the program is already running and you click 'load' ect... [B]But,[/B] I tried …

Member Avatar for mangopearapples
0
178
Member Avatar for chaithanyap

#include<iostream.h> class A { public: read() {cout<<"read"; }}; class B:public A {public: readb() { cout<<"readb"; } }; class C:public A { public: readc() {cout<<"readc"; } }; class D:public B,public C { public: readd() { cout<<"readd"; } }; main() { D d; //d.read(); d.readb(); } am getting error for this...

Member Avatar for Ezzaral
0
875
Member Avatar for 99samsta

Im using Microsoft Visual C# 2010 Express Basically I am making a simple slot machine game. The application currently works perfectly using the debugger however the sounds do not work properly after publishing. Heres an example of the interface: [url]http://img811.imageshack.us/img811/9304/examplepn.png[/url] Reading the .wav files from the resource file: [CODE]namespace YolkRoll3._0 …

Member Avatar for Momerath
0
306
Member Avatar for ctpsolo

Hey. I need some help with getting a record from a mysql database and compare it with data already stored in a php variable. If they don't match then I want to save the record in the database under another field and then update it. Here is my code: [CODE]$query …

Member Avatar for ctpsolo
0
451
Member Avatar for drogba123

Hi, Currently i have an array list listing some bigram. and i would like to have the array list to be formatted like this [am] - [amazing, amber] and so on [bi] - [big, bigas] and so on how should i go about it?thanks for the suggestions. Thanks much

Member Avatar for drogba123
0
121
Member Avatar for csam0003

Hi all! Your thoughts please on the following. I have a php script to be run on the server every 10minutes or so. Depending on some condition, I want an image at a particular url to change. I then have a webpage in which a link is always pointing to …

Member Avatar for nquinlan
0
149
Member Avatar for xxreenaxx1

Hello I am using for loop on a form and posting these to the next page and I can echo the array and print 1 if there is value. If there isnt any value nothing print but I want 0 to be printed. I have tired few ways and so …

Member Avatar for xxreenaxx1
0
236
Member Avatar for xxxtian

my problem is how can i format the columns to fit the page because i have many columns and when i preview the page for printing. the page become 2 because there is one column that is excess .. tnx in advance ..

Member Avatar for ddanbe
0
90
Member Avatar for Fresco Vivir

Greetings i'm going to work on project thats a script for MCQ quizzes the requirements are: 1- the instructor can make quiz and save it to the database. 2- the instructor can select specific quiz from the database and allow the students to take it 3- the quiz should be …

Member Avatar for smantscheff
0
203
Member Avatar for mani2
Member Avatar for shauzi158

Hello all. I am new to c++ and and our teachers have started Object oriented programming.. I am facing real trouble in understanding the concepts of constructor and destructor. Why are they used and how are they used.. Please post...

Member Avatar for floatingDivs
0
222
Member Avatar for vass1

Hello, I have just started to learn C++, and so I got my self a copy of "TEACH YOURSELF C++ IN 21 DAYS". 1/ Could someone pls say if this book is suitable for a new a newbie. 2/ And what about it's counterpart, " TEACH YOURSELF C++ IN 24 …

Member Avatar for txwooley
0
128
Member Avatar for carlitosway17

Hi guys am trying to create a calender that can output the date in three multiple formats In the first case the constructor should receive three integer values. In the second case it should receive a String and two integer values. In the third case it should receive two integer …

Member Avatar for carlitosway17
0
244
Member Avatar for churva_churva

[CODE] <html> <head> <title> User Registration</title> <body bgcolor="000000"text=ffffff> </head> <table width="20%"height="50%"border="2"> <div align="center"> <table> <h1>User Registration<h1> <form> Username: &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <input type="text"style="color: #ffffff; font-family: Verdana; font-weight: bold; font-size: 12px; background-color: #72a4d2;name="username"size="30" /><br><br> Password: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="text"style="color: #ffffff; font-family: Verdana; font-weight: bold; font-size: …

Member Avatar for javaAddict
0
178
Member Avatar for JBeg

Hello, I am a complete beginner with writing java beans. I am supposed to be making a connect four java beans class.The game logic has already been implemented in the form of a Java class called connect4.GameBoard. My professor has provided me with the jar file and javadoc for this …

Member Avatar for end3r
0
202
Member Avatar for TheDocterd

Hi All I really had some awesome feedback on my problem and finally I came to the last bit. I want to add/modify my code to make sure that multiple emails aren't added due to my selection method of my list box. AndreRet helped me with this and also monarchmk …

Member Avatar for AndreRet
0
147
Member Avatar for Pgmer

Hi all, can anyone tell me how to write the .net code for vb6.setitemdata for combobox or listbox item?

Member Avatar for Jx_Man
0
156
Member Avatar for zachattack05

Quick question: Is this valid, or am I missing a potential deadlock in the future: [CODE=C#] static readonly object _LockThis = new object(); private static bool _Status; private bool Status { get { lock (_LockThis) { return _Status; } } set { lock (_LockThis) { _Status = value; } } …

Member Avatar for zachattack05
0
134
Member Avatar for khattak24

how to write a bash shell script called which outputs the calendar for the current month and the following month?

Member Avatar for masijade
0
46

The End.