199,114 Archived Topics
Remove Filter ![]() | |
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, … | |
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 … | |
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 | |
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 = … | |
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 | |
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... … | |
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.... | |
How to make with C language for Feistel Cipher coding... plis help me !!! im new bie | |
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) … | |
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 … | |
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 … | |
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 … | |
hi, I want to display data in to form(form contains textbox,combobox,datagrid) from database. | |
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] … | |
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. | |
![]() | 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 … ![]() |
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 | |
[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! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 = … | |
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 … | |
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 … | |
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 … | |
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)); | |
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. | |
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, … | |
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. … | |
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 … | |
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. | |
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. | |
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 … | |
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 … | |
hi, how to detect if the file has downloaded completely? thanks. | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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] | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 & … |
The End.