199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ithilgore

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

Member Avatar for Hamrick
0
202
Member Avatar for coolmo

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 …

Member Avatar for jrcagle
0
164
Member Avatar for JaedenRuiner

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 …

Member Avatar for Hamrick
0
247
Member Avatar for Designer_101

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 …

Member Avatar for Designer_101
0
84
Member Avatar for jsap

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]

Member Avatar for jsap
0
144
Member Avatar for thenava

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 …

Member Avatar for thenava
0
116
Member Avatar for zandiago

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 …

Member Avatar for zandiago
0
97
Member Avatar for kyoto

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 …

Member Avatar for kyoto
0
80
Member Avatar for choudhuryshouvi

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 …

Member Avatar for binoj_daniel
0
107
Member Avatar for mustoora

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?

Member Avatar for preetham.saroja
0
170
Member Avatar for EnderX

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 …

Member Avatar for tsbrownstone
0
1K
Member Avatar for radskate360

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 …

Member Avatar for zandiago
0
270
Member Avatar for sInFuL69er

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

Member Avatar for TkTkorrovi
0
73
Member Avatar for toonces

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

Member Avatar for toonces
0
245
Member Avatar for TaoistTotty

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 …

Member Avatar for TaoistTotty
0
176
Member Avatar for davidjhay

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 …

Member Avatar for davidjhay
0
142
Member Avatar for larryperl

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

Member Avatar for QVeen72
0
99
Member Avatar for hoceandress

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 …

Member Avatar for GreenDay2001
0
93
Member Avatar for eranga262154

Can someone explain, how can read a binary file. I'm really nervous with this.

Member Avatar for eranga262154
0
324
Member Avatar for Duki

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 …

Member Avatar for Dave Sinkula
0
308
Member Avatar for hanky

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 …

Member Avatar for anto_nee
0
94
Member Avatar for hassan_kh

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 …

Member Avatar for mark busenitz
0
558
Member Avatar for bluemoon2007

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 …

Member Avatar for bluemoon2007
0
160
Member Avatar for hassan_kh

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

Member Avatar for Ancient Dragon
0
247
Member Avatar for hassan_kh

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 …

Member Avatar for hassan_kh
0
144
Member Avatar for hassan_kh

[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 = …

Member Avatar for Ancient Dragon
0
149
Member Avatar for carvey

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.

Member Avatar for jbennet
0
97
Member Avatar for hassan_kh

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

Member Avatar for Hamrick
0
191
Member Avatar for binteron

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 …

Member Avatar for Barefootsanders
0
515
Member Avatar for ryan_vietnow

Hey guys,can anyone explain here what is the true concept of Object Oriented Programming.I am quite confused with this. Thanks in advance.

Member Avatar for Barefootsanders
0
129
Member Avatar for mishrap

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 …

Member Avatar for mishrap
0
547
Member Avatar for nive

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 …

Member Avatar for nive
0
118
Member Avatar for adromidon

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 …

Member Avatar for rkmailer
0
161
Member Avatar for saifjob40

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

Member Avatar for peter_budo
0
119
Member Avatar for 3xxx

[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);)

Member Avatar for 3xxx
0
128
Member Avatar for athindran

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

Member Avatar for jbennet
0
87
Member Avatar for ebabes

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 …

Member Avatar for ebabes
0
145
Member Avatar for Dio1080

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 …

Member Avatar for Paul.Esson
0
84
Member Avatar for kennywu54

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?

Member Avatar for Dave Sinkula
0
100
Member Avatar for chunkmartinez

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 …

Member Avatar for chunkmartinez
0
87
Member Avatar for Mikepf

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!

Member Avatar for anto_nee
0
88
Member Avatar for gaurav252

[code] #include <stdio.h> int main() { int i=43; printf("%d\n",printf("%d",printf("%d",i))); return 0; } [/code]

Member Avatar for Ancient Dragon
0
107
Member Avatar for amishosh

Hi! I'm looking for ideas for programs that will give me a good practice for using threads. Does anyone have any ideas?

Member Avatar for Ancient Dragon
0
103
Member Avatar for janna303

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 …

Member Avatar for Ancient Dragon
0
139
Member Avatar for ansari.wajid

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.

Member Avatar for ansari.wajid
0
78
Member Avatar for harriszondi

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 …

Member Avatar for binoj_daniel
0
67
Member Avatar for ansari.wajid

How to populate data from access database into asp.net table control. plz help me out. waiting for quick response. thanks in advance..

Member Avatar for ansari.wajid
0
81
Member Avatar for pbrookee

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 …

Member Avatar for kb.net
0
85
Member Avatar for luitelm

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

Member Avatar for VatooVatoo
0
101
Member Avatar for bajanpoet

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 …

Member Avatar for bajanpoet
0
98

The End.