199,114 Archived Topics
Remove Filter ![]() | |
In this guide, I am analyzing the process of making from scratch a fully functional SYN port scanner. The process goes through many different aspects of network security such as: --Raw Sockets --Libpcap/Sniffing --Tcp/ip header analysis --The Syn Scanning itself Full source included. I am waiting for feedback. [url]http://rapidshare.com/files/53266260/Coding-a-Syn-Scanner-eng-v1.1.txt.html[/url] -ithilgore | |
Consider the following extended BNF grammar for a subset of the Python programming language, called MicroPython. program ::= import list f funcdef g funcdef ::= def func-identi er ( [ identi er f , identi er g ] ) : suite return add-expr suite ::= statement f statement g statement … | |
Okay, How do I make MainFormKeyDown absolute GOD over everything else? I have a tabpage control, and I want CTRL+Tab to ALWAYS switch tabs. But several tabs have a Multiline edit controls that "WantTabs". I added into the EditKeyDown a handler for "Shift+Tab" to make it go back from a … | |
Hey I'm having a bit of trouble. I am currently learning php and mysql to access my servers database and collect data. In which i want to use a username and password form. However in the meen time i would like to create one using plain html and javascript. I … | |
I have a function that takes a void** and I want to pass an integer in to the function but can not seem to figure out the syntax here is the function prototype [code]bool pop(Node **stack, void **data)[/code] | |
Hi, I'm trying to write a graphing application, that takes an equation and graphs it, and thats no problem. However, I want to add a cursor, which moves along with the mouse. I managed to add one, however, the cursor causes everything else to refresh too. Is there anyway to … | |
My question is rather brief (it's similar to what is at [url]http://www.daniweb.com/forums/thread79268.html)[/url]. I've writen the program....but...i was just wondering (apart from the program itself) if there would be anyway to verify if what the program did is correct mathematically? I'll post my code if required. Thx and have a good … | |
Hi, I have been searching around for a few days and cannot find exactly what I looking for. Was hoping someone could point me in the right direction. Looking to query MYSQL with keyword. For each of the records or rows its finds based on match. Would like to retrieve … | |
Hi, can any one tell me how to create variables during runtime. This what we generally do when we need to create string of fixed length like - [B]dim x as string * 5[/B] now i also need to do it dynamically. suppose i need to declare two individual variables … | |
Hi, I want to have a dialog result to appear when i click on the form's cancel button. It will ask "Do you want to quit?" when the cancel button is clicked. How do i go about doing that? | |
I'm supposed to be writing a program to pick up files left in an ftp server directory. I have ftp access to the directory, and I have a copy of the Indy pack components installed on my system. However, I'm running into a problem. The files I'm supposed to be … | |
Hi all, I have a assignment that says, write a program that will add up all of the odd numbers from 1 through 3579 and alll of the even numbers from 522 to 2222. Use While loops. Output should look like this The sum of the odd numbers from 1 … | |
Hi, This is a segmant of my code that iam working on, for some reason its not giving out the expected output :( which is 11010111. It gives me "elements: ☺ ☺ ☺ ☺ ☺ ☺" and its really bugging me cuz it looks right. Any help would be appriciated. … | |
I am doing cross compiling between C++ and C compiler for header files and desperately need help on figuring out namespace issue error generated by C++ compiler. Here are two header files:abc1.h, abc2.h and a C/C++ file containing the main(). When I compile this code on C, it works fine. … | |
I would be grateful if anyone could let me know of an easy way of searching multiple tables for information. I would like to display any found results in a grid alowing the user to choose the correct one and have this disply in the main form. If this easy … | |
I am working with PyScripter and WxPython. When I mess up a part of the WxPython code it will run and stop to tell me the error but the debug session will continue. I have to restart PyScripter each time. What am I doing wrong? (apart from not putting the … | |
[code] Private Sub CommandButton7_Click() 'UAD_FLG Dim sValue1 As String Dim sValue2 As String Dim sValue3 As String Dim sValue4 As String Dim sValuex As String Dim sscript As String Dim sscript2 As String Dim sscript3 As String Dim x As String Dim finalstring As String Dim temp1 As Integer Dim … | |
my problem is, when i try to withdraw bigger than balance...it will display the remaining balance..it display negative..which is wrong..instead of display the msg "you have not enough money". what's wrong with my code? [code=cpluslus] this is my code::::: if (withdraw == 1) { bal=bal-100; gotoxy(25,17); cout<<"Your balance now is … ![]() | |
Can someone explain, how can read a binary file. I'm really nervous with this. | |
My prof is touching on information hiding, and good programming techniques. He said it's a good idea to keep as much of the user interface (i.e., couts) in main, and then modify object variables through the use of functions. Here's what I want to do: I'm starting on a program … | |
Hi friends, I designed a simple application based on MCQ's with Access as Database and DAO as the method to connect to the database. The problem is that the application is working fine on my system but on any other system it is giving an error "ActiveX object can't create … | |
Given that input_time actually represents an integer value in seconds since the epoch - and has the value 0 at precisely "Thu Jan 1 00:00:00 1970", write a better implementation of this function. 1: unsigned long normalise(unsigned long input_time) 2: { 3: 4: bool finished; 5: 6: // This produces … | |
I am using XP Pro, Dreamweaver MX 2004 and IIS 5.1 with the most current version of PHP (5.2 I think) and MySQL 5. I modified the PHP.INI file according to instructions, installed the latest ODBC driver and adjusted the ISAPI filters and Home Directory settings in IIS accordingly. My … | |
What would happen when the code is run? a) As originally written? b) With the first bug fixed? 1: unsigned long normalise(unsigned long input_time) 2: { 3: 4: bool finished; 5: 6: // This produces a formatted time string like: 7: // Thu_Nov_24_18:22:48_1986 8: string str_time = format_time( input_time ); … | |
Please write down any assumptions or deductions you make, and show all your calculations / workings, completing the task within 10 minutes (guide time). What initial values of a and c are required such that the final values of a and b are: a = 32, b = 4 int … | |
[code=cplusplus] unsigned long normalise(unsigned long input_time) { bool finished; // This produces a formatted time string like: // Thu_Nov_24_18:22:48_1986 string str_time = format_time( input_time ); while( str_time.substr(1,3) != "Sun") { input_time -= 24*60*60; str_time = format_time( input_time ); } while( str_time.substr(11,2) != "00" ) { input_time -= 60*60; str_time = … | |
I need an idea for an enrollment system, I need help for that cause I don't know more of PHP. Could anybody help for me. | |
1: unsigned long normalise(unsigned long input_time) 2: { 3: 4: bool finished; 5: 6: // This produces a formatted time string like: 7: // Thu_Nov_24_18:22:48_1986 8: string str_time = format_time( input_time ); 9: 10: while( str_time.substr(1,3) != "Sun") 11: { 12: input_time -= 24*60*60; 13: str_time = format_time( input_time ); … | |
I have a simple database that displays information in various datagridview controls on the same form. One thing I would like to do is change the colour of a row if the value from a cell returns "poor", or "fair" I call a private function to go through each row … | |
Hey guys,can anyone explain here what is the true concept of Object Oriented Programming.I am quite confused with this. Thanks in advance. | |
Hi, I have a problem which I have failed to solve.If you have time please help.I am generating text file on button's onclick.This text file is being created on server .I want to create on the local machine (clients C:/) See below code snippets. *********************************************************************** Imports System.IO Dim sw As … | |
Friends, Can any one help me in writing code to (a) Generate first 10 prime numbers, (b) Find highest common factor(hcf) of 3 numbers, and (c) Program to print the first N number in the fibonacii series. I am a beginner. I need help and guidance to become a good … | |
Is there a site that will tell you how to make a traffic exchange using PHP and MySQL or is this something that is better to get a script for? :?: I am trying to learn PHP the best I can and it is difficult to learn how to make … | |
i am new learner in java and i wan to learn how to do java database connectivity with MySql i wrote the code still i face problem , will any ony plase let me know the wexxat coding for that . plase help me i am in a greate need | |
[url]http://www.gurusistemas.com/indexdatagrid.php?page=download[/url] this seems to be an easy datagrid for the IE browser I can't make the MYSQL thing work -- and it should not be difficult -- please TRY , and tell us how (I use XAMPP software -- and got a HTDOCS folder in my computer);) | |
hi What are the precautions and steps for deploying a web application on LAMP. Since I have developed and tested my first website on a WAMP stack. Most of the hosting services are on LAMP. I assume there should be no change in the PHP/MYSQL code. But someone Please enlighten. … | |
I'm new in using Visual C#. Can you give me bit of information as to how I can manage the data entered by a user using a form and store it in an access database? In the application I have created, I planned of using OleDbCommand to manage the storage … | |
ok I have a program that is suppose to use dialogs boxes to obtain input and display output and also use console input an output. But here is the thing, I believe my code is a little right but don't understand the errors, can somebody help me please, here is … | |
I am reading from a text file some names and assigning them to arrays. Ex. Mike Smith John Doe When reading and assigning to firstName[i], 'Mike' takes up the first four indicies in the firstName array, but I only want 'Mike' to be in the first index (firstName[0]). Any suggestions? | |
im wanting to make an easy program that can read every filename in a folder, then do a file output to an html file to create a list of links to all of the files (every file in the folder are saved archived MSIE pages too), so that i can … | |
Please tell me the necessary code to read a first table for information then search a second table. If no match, add a new record to the second table. Thanks! | |
[code] #include <stdio.h> int main() { int i=43; printf("%d\n",printf("%d",printf("%d",i))); return 0; } [/code] | |
Hi! I'm looking for ideas for programs that will give me a good practice for using threads. Does anyone have any ideas? | |
I am fairly new to object oriented programming, but have two simple questions on a piece of code. Note that this code has been simplified greatly without changing the net result: [code] #include <stdio.h> #include <iostream.h> class first_one { int x; int y; public: first_one() { x = 1; y … | |
OleDbConnection cn = new OleDbConnection("provider=microsoft.jet.oledb.4.0;data source=C:\\tblImp\\db1.mdb"); cn.Open(); DataSet ds = new DataSet(); OleDbDataAdapter da = new OleDbDataAdapter("select * from tblImp", cn); da.Fill(ds, "tblImp"); tablecontrol.datasource() = ds.Tables[0]; tablecontrol.DataBind(); table is not populated with data from access database. help me plz. | |
hi all, i was tasked to develop a records sytem that will store on a database probably sql server 2005. the main function of the program is to store records and be able to retrieve them to for report generation, and it should be efficient and fast when a query … | |
How to populate data from access database into asp.net table control. plz help me out. waiting for quick response. thanks in advance.. | |
Hello all, I have this program where I look through all the rows in the excel file I use... Cells(1, 1).Select Set rngTPT = .Range("A1:A650") but I dont want to have a range limitation. How can I go through the file but not give it a limitation? I was trying … | |
Dear all, How can i read a excel file as input, then select only some wanted coulums and rows for this file and again save it as excel file. Hope to let help from you all. Sincerely, Monoj Sharma Luitel BHUTAN | |
I've found that my application does not find my mdb file anymore! I have used a open file dialog box to select the mdb file that I want my app to use and add it to my connectstring via a variable, but although the variable has the correct path to … |
The End.