199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for happymadman

Is there an easy way to handle input from an entry box, in my project I am working on I have to call functions twice which ends up making a large mess of everything. Like if I call the [code=python] import tkMessageBox from Tkinter import * def yes_no_ask(answer): guidisplay.actiondisplay.configure(state=NORMAL) guidisplay.actiondisplay.insert(INSERT, …

Member Avatar for woooee
0
180
Member Avatar for liferentsus

Is there a way to delay a function so that it doesn't run for a day or two later? I'm somewhat familiar with sleep(), but I really don't think that's what I ought to use. What I need is a text file to be processed over the weekend/holidays when there …

Member Avatar for ShawnCplus
0
68
Member Avatar for groogruxking40

hey all, I have a form that allows the user to input the information you can see it here- [url]http://www.christiancouriernewspaper.com/blogbase/form.html[/url] what I need it to do now is when the user clicks SUBMIT for all the information they just filled out be sent to me via e-mail any ideas/help? thanks

Member Avatar for almostbob
0
205
Member Avatar for lqdo

I have a textbox and two events. The first event selects all text in the textbox if there is any. The second event deselects the text. My to events... [CODE] private void Textbox_enter( object s, EventArgs e ) { TextBox box = s as TextBox; box.SelectionStart = 0; box.SelectionLength = …

Member Avatar for lqdo
0
111
Member Avatar for veledrom

Hi, When a web browser window is opened, only the menu options should be visible to users. I don't want other toolbars. Also, is it possible to blocking users add toolbar from the menu that will be visible to them. IE and Firefox please. Thanks in advance

Member Avatar for almostbob
0
106
Member Avatar for gsingh2011

I need to log in to a website with Java, its an https(SSL) site. I have some code that doesn't give me an error but it doesn't log in. I've tried a similar program in python and it didnt login either. I think I'm missing some basic concept about this... …

Member Avatar for gsingh2011
0
185
Member Avatar for jaque322

i have an arraylist, that stores objects from a class called prematricula and every object stored has name and province how i can do to pass the name of the province and the method return the names of the students sorted alfabethically... please if someone can help me....

Member Avatar for jaque322
0
114
Member Avatar for linsz

How to make with C language for Feistel Cipher coding... plis help me !!! im new bie

Member Avatar for Salem
0
410
Member Avatar for kangarooblood

Have created a simple bingo game, I'm going to add color later (why I have used the SetConsoleTextAttribute). The problem is that the X i replaced by 88, I know why (I think), it's becuse it's a int and not a char, but when i tried to put in (char) …

Member Avatar for wildgoose
0
2K
Member Avatar for krishnampkkm

Hiii..... when my program running this message comes.. Windows has triggered a break-point in mypgm.exe This may be due to a corruption of the heap, and indicates a bug in mypgm.exe or any of the DLLs it has loaded Actually in my operation I was copying files... Memory is deleting …

Member Avatar for Salem
0
250
Member Avatar for KirkPatrick

Alright my program is giving me a hard time and I will have to briefly explain what it does and when the exception is thrown to give you a better understanding. My program goes off and reads a csv file, once it reads it, it adds the information to my …

Member Avatar for KirkPatrick
0
132
Member Avatar for amer2812

hello everybody nice to be in the community i have question regarding micrsoft visual 2008 i'm using asp.net with c# and i want to connect asp.net with access db 2007 i used select command and it worked it shows the data from access 2007 but when i tried to use …

Member Avatar for amer2812
0
156
Member Avatar for suresh bangaru
Member Avatar for owofeminew
0
121
Member Avatar for dmanw100

Hello, I am writing a method which must open a file, read its contents, close the file, open it later, write to the file, and close it again. The method is failing at the first step and throwing an IOException when trying to execute: [CODE]FileInput Stream fileHandler = new FileInputStream("myfile.fil");[/CODE] …

Member Avatar for dmanw100
0
152
Member Avatar for johnray31

Hi guys, i am quite newbie to c++. Is there any way to know object class. I have a object and i want to know the exact class name for that.

Member Avatar for tux4life
0
125
Member Avatar for sravan953

Hey guys! I just wanted to make a simple Python Keylogger to know whether some on is fiddling with my laptop while I'm away or not...also, I want it to write the keys pressed to a file... Oh, and, do to this is pyHook easier or Threading? And, BTW, what …

Member Avatar for sravan953
0
270
Member Avatar for linsz

my name randy im IT student... in this semester i take computer network security, and i get the Feistel Cipher assignment... the lecture give the assignment is create feistel cipher program with any language... any other of you can help me with java language???? please thx

Member Avatar for tux4life
0
270
Member Avatar for tux4life

[B][COLOR="Red"]First:[/COLOR][/B] I'm not asking how to do this, just carry on... Hey, I found a nice link on how to read C/C++ declarations: [B][URL="http://unixwiz.net/techtips/reading-cdecl.html"]http://unixwiz.net/techtips/reading-cdecl.html[/URL][/B] I'm leaving it here for anyone... I hope it will be useful to you!

Member Avatar for xyzt
0
98
Member Avatar for walter clark

The .h file traditionally holds declarations and the .cpp file the definitions. The #include inserts the human readable ASCII code that is the .h file, right there at the top before compiling. The main purpose of the .h file was to gather together all the declarations (more even than you …

Member Avatar for walter clark
0
122
Member Avatar for happymadman

So I have this simple list and scroll bar combo and I have been trying to make it stay at the bottom of the scroll bar as the text is added so it looks like the scroll bar is just to look back over the previous text. Like in a …

Member Avatar for kolosick.m188
0
108
Member Avatar for linsz

public byte[] EncryptMyData (byte[] plainData, out byte[] encryptionKey)<-- what the mean of this??? { encryptionKey = Guid.NewGuid().ToByteArray(); int[] scheduledKey = AcedCast5.ScheduleKey(encryptionKey); long iv = AcedCast5.GetOrdinaryIV(scheduledKey); byte[] result = (byte[])plainData.Clone(); AcedCast5.EncryptCBC(scheduledKey, result, 0, result.Length, iv); AcedCast5.ClearKey(scheduledKey); return result; } public byte[] DecryptMyData(byte[] encryptedData, byte[] decryptionKey) { int[] scheduledKey = AcedCast5.ScheduleKey(decryptionKey); long …

Member Avatar for linsz
0
113
Member Avatar for Cheesey

Hi All I am attempting to install a low level keyboard hook using the following calls: [code]HANDLE hDll = LoadLibrary(DLL_NAME); LPVOID procAddress = GetProcAddress(hDll, "HookProc"); HHOOK wHook; wHook = SetWindowsHookEx(WH_KEYBOARD_LL, procAddress, hDll, 0);[/code] I have built a DLL containing HookProc define below: [code]__declspec (dllexport) LRESULT CALLBACK HookProc (int nCode, WPARAM …

Member Avatar for Cheesey
0
294
Member Avatar for praveen_dusari

hii all, i developed a shopping cart which has many features like grid view,list view and floating cart which is also dragable.now my problem is its taking to much time to load becoz of conditions and images now,i want to generate html pages of my php pages,i dont want url …

Member Avatar for praveen_dusari
0
918
Member Avatar for weblover

hi all ..i have a problem with my project and need your help plz ... i have this code [code] int [] exp = {32,1,2,3,4,5,4,5,6,7,8,9,8,9,10,11,12,13,12,13,14,15,16,17,16,17,18,19,20,21,20,21,22,23, 24,25,24,25,26,27,28,29,28,29,30,31,32,1}; int [] expword = new int [exp.length]; String s=toenc.getText(); if(s.length() < 32) JOptionPane.showMessageDialog(null,"Word must be 32"); else{ int[] e = new int[s.length()]; for (int …

Member Avatar for weblover
0
95
Member Avatar for kangarooblood

does anyone of you lot know a way to use colors in a program compiled in Dev C++, except for the [code=c++] system("color a"); [/code] function? and I'd also be glad to know another way to clear the screen, then the: [code=c++] system("cls"); [/code] function

Member Avatar for Tom Gunn
0
113
Member Avatar for Kusno

Dear all, I used to use pure ASP.Net code like this : [CODE] Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim S As String If TxtCustomerID.Text.Trim = "" Then S = "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w = screen.availWidth; h = …

Member Avatar for jbisono
0
2K
Member Avatar for George_E

Hey guys, I want to be able to insert data into text boxes and when i press the button store to be able to store the data into the database. Does anyone know the code to do this? Below is the code I have used so far, I know its …

Member Avatar for suresh bangaru
0
531
Member Avatar for razor1234

i have to get an integer out of the unsigned char string and assign it to unsigned int varable.... i mean if i have unsigned char array = { "123"}; i simply want to get either 1 or 2 or 3 out of it and assign it to unsigned int …

Member Avatar for Ancient Dragon
0
232
Member Avatar for bayangan

Background: I have many tables for ex: [B] Nominations: --------------- Type (there are 3 types) WorkOrders: ---------------- Type (there are 7 types)[/B] I have many typical tables like these. In designing database, I need to know which approach is wiser ie to make a control table for each, or to …

Member Avatar for timothybard
0
112
Member Avatar for Manak

hey everyone i am using a select query and showing input string is not in correct format ...plz help me...... here is my query..... int id = Convert.ToInt32(String.Format(@"SELECT Id FROM Student WHERE RegNo ='{0}' ", cmbRegNo.Text));

Member Avatar for Manak
0
257
Member Avatar for DjiXas

Hi all, I am wondering if it's possible to change the order of elements? Added few check boxes and then GroupBox. However, groupbox is under checkboxes which makes them not visible. How do I change that? There must be a better way than just recreating groupbox first and then checkboxes.

Member Avatar for DjiXas
0
87
Member Avatar for txwooley

I have written a poker game in Python and have it fairly well finished. My hang-up now is an option to play again. Most of the game is in a function called playHand() which re-runs as long as you still have money, but if you lose all of your money, …

Member Avatar for txwooley
0
332
Member Avatar for MONODA

Hello, I am not sure if anyone will understand what I am asking for, but here goes anyway: I am looking for a way to generate a list of tuples with random values; something like the range function except I want to have a list of tuples rather than integers. …

Member Avatar for MONODA
0
10K
Member Avatar for jaypaul

Hello, I've started work on building a 2d tile based platform game, and have just been wondering about how to store/distribute the games levels. this game allows you to load a 'World' which is made up of potentially up to 10000 map files (A 100x100 grid, though most of the …

Member Avatar for Cardboard Box
0
166
Member Avatar for silvia21

i am working as a website developer in php...i like to develop a website in tamil....could be please help me... i am expecting a favorable reply from all.

Member Avatar for kvprajapati
0
67
Member Avatar for cebubinary

Im just new in java and im trying to make a program that would copy a picture from a specified folder and paste it also to a specified folder. i know how to select the picture using the filechooser and my problem is how to copy it.

Member Avatar for vishal Thakare
0
101
Member Avatar for mvchandoo

Hi i created input type file elements dynamically by js the elements are not parsing by php in post method. if i removed the table tags around them, then its working. could anybody help me with this to go on. just copy the code and run in wamp and resolve …

Member Avatar for mvchandoo
0
101
Member Avatar for emporio

My Question : Suppose IA--->>>An Interface void func(); A---->>>Abstract Class implementing IA void func(){} B---->>Class extending A void func(){} C---->>Class extending B void func{} Now what i am doing .... i made an Object of C class..... C c = new C(); IA ia = c; now if i want …

Member Avatar for JamesCherrill
0
94
Member Avatar for cguan_77
Member Avatar for almostbob
0
81
Member Avatar for goody11

My friend and I are trying to write a program for my Spanish teacher so that she can just type Spanish words and English words into an application, those words get stored as an array somewhere, and then another program that tests the kids uses that array. The program gives …

Member Avatar for s_sridhar
0
118
Member Avatar for Nikhar

I'll try to get this as simple as possible. The problem is fairly simple. [code] long double a=100000000; cout<<a; [/code] Well, the output this shows is "1e+08" I do not want the output to be in exponential form. Rather, I want it to be printed as "100000000". What shall I …

Member Avatar for s_sridhar
0
109
Member Avatar for karisegraves

I want to design a game. I know how to write in html, so I'm hoping I can do games also. Either in flash or not flash. I want to make a puzzle or word game. I just don't know where to start? Any advice would be super! I'd really …

Member Avatar for shadwickman
0
108
Member Avatar for edenn1

i have an assignment: Write a recursive function that will compute the value of a representation of a number in given base. int base(char num[], int radix); For example, calling the function as base("1011", 2) should return 11, but calling it as base("1011", 10) should return 1011. i need to …

Member Avatar for s_sridhar
0
111
Member Avatar for tejashrideg21

Hi, I have a problem with cfldap tag used in CF8. I have a cfldap tag defined in my application which works fine on CFMX7. But the moment I installed CF8, it gives me an error - "Connection to LDAP server failed." My cfldap tag goes as below:- [code][CFLDAP NAME="qLDAP" …

0
129
Member Avatar for AhmedHussain

Hi every one, I never had done game development in my life befor but I want to do 3d java game development. can n e one tell from scratch where should I start from? Thank you, Regards, [B]Syed Ahmed Hussain[/B]

Member Avatar for shadwickman
0
179
Member Avatar for stevelk

Public Sub SearchUser() Try conn = New MySqlConnection() conn.ConnectionString = "server=localhost; user id=root; database=eps" conn.Open() sqlquery = "SELECT username FROM pass WHERE username = '" & cmbUserName.Text & "'" Dim myCommand As New MySqlCommand() myCommand.Connection = conn myCommand.CommandText = sqlquery 'start query myAdapter.SelectCommand = myCommand Dim myData As MySqlDataReader myData …

Member Avatar for GeekByChoiCe
0
73
Member Avatar for hughesadam_87

Hey everyone, I tried a site search but it turned up cold. Has anyone here ever written a small method to take a list of names and sort them in alphabetical order? If so, would you mind posting it up, or directing me to a tutorial that would explain this …

Member Avatar for lllllIllIlllI
0
96
Member Avatar for ankur shah

Hi every body I want to know how i can read a very large binary file in to a character array using c++. I can read the whole file by using fread function but when i go no searching anything in that character array. i cant search. i have used …

Member Avatar for tux4life
0
127
Member Avatar for nish123

hello frndz.. i have a function in javascript to add new cell in a table...!! tht work perfectly but now i want to create a span tag within cell tag..!! [code=javascript] var cellLeft = row.insertCell(3); chbk1.id = 'change'+iteration; var chbk = document.createElement('input'); chbk.type = 'button'; chbk.name = 'button'; chbk.value = …

Member Avatar for nish123
0
147
Member Avatar for srishekh

Respected Sir/Madam I need to find out the execution time of a fragment of code. For that I am using time_t structure, but it gives time in seconds. And the value of CLOCKS_PER_SEC in my comp is 1000000. Will you please me in getting the time in milliseconds Thanks & …

Member Avatar for WaltP
0
600

The End.