199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for NTxC

Hello, I need to write code which detects whether keystrokes are injected by applications (with SendInput, keybd_event) or are genuinely coming from the keyboard. I came across a possible solution: creating a WH_KEYBOARD_LL hook and checking the INJECTED flag. So I've made this so far: [CODE] HHOOK g_hHook; LRESULT CALLBACK …

Member Avatar for MonsieurPointer
0
442
Member Avatar for debuggger

Hey - I'm looking for something similar to using vectors and pointers that I've used before in C++; unfortunately, it doesn't seem like there's an equivalent function in VB.net. What I have is a copy of the array behind a multi-line Rich Text Box, and I need to separate the …

Member Avatar for Reverend Jim
0
186
Member Avatar for LordRiq

Ok, so I wondered if it was possible to create some kind of form with text boxes or something, and make whatever's in them be stored in variable (ie. $title) and then insert those values into a template on a new .php-page with the variables. I don't know if this …

Member Avatar for diafol
0
96
Member Avatar for muratgul

hi, u are so good at c, i saw some program that i looked for, but i dont look at result, i need a program, for beginner level of c programming (because i am beginner), converting binary to gray, gray to binary i only know while, if, for, a little …

0
52
Member Avatar for danthevan

Hello, this is my first thread in DaniWeb.. I'm still a VB.net beginner and I like programming so much. I had a problem when I was making Tic Tac Toe code, it was just for practicing so I have created a form and added 9 buttons and named them btn1, …

Member Avatar for Unhnd_Exception
0
153
Member Avatar for lbgladson

I have a problem to determine Easter Sunday based on the algorithm invented by Carl Friedrick Gauss in 1800. I have written my code and double checked the Math several times but not matter what year I type in it tells me that Easter is on April 9th so I …

Member Avatar for Taywin
0
289
Member Avatar for sha11e

If I need a string or an int from the user, how can I make sure that that is what they inputted? The lame way of putting EVERYTHING in strings and then somehow check? Or maybe throw-catch? I tried the try-catch but had a few problems. The examples I saw …

Member Avatar for NormR1
0
305
Member Avatar for sahilsinghi

i tried to make a executable jar file.a program as follows [CODE]import java.io.*; class studentmarks { String name; double engmarks,phymarks,chemmarks; double tot,avg; public studentmarks(String s,double p,double e,double c) { name=s; engmarks=e; phymarks=p; chemmarks=c; } void compute() { tot=engmarks+phymarks+chemmarks; avg=tot/3; } void display() { System.out.println("nameis:"+name); System.out.println("totalis:"+tot); } }[/CODE] i saved it …

Member Avatar for hfx642
0
185
Member Avatar for bostonselkirk

Hi all. As a hobby I've been working on making a website with PHP and MySQL, both of which I am new to. I'm having some trouble with the comments system as I can't seem to be able to insert a date into the database. After the "insert", when I …

Member Avatar for pritaeas
0
177
Member Avatar for sathya88

how to send mp3,avi(large) files via socket...small files with size less than 100kb is possible but how to send large file..

Member Avatar for NormR1
0
8K
Member Avatar for Ezzaral

Many of the software development forums have a sticky thread featured at the top for recommended resources on getting started with or improving one's knowledge of that language. VB.NET currently has no such resource listing. I personally do not work with VB.NET, but if those who do would like to …

0
105
Member Avatar for nikelin

Simple resources loader tool which help to find some file in classpath and load it's content with respect to sanitizing policies.

Member Avatar for JamesCherrill
0
410
Member Avatar for ivanichi

Hi friend, i have 2 files 1. ft.php and 2. inf.php [B] this is ft.php[/B] [CODE] <script type="text/javascript"> function setTXT(x) { opener.document.fmain.mms.value=x; window.close() } </script> <? include_once "conf.php"; $sql="select id,pl,inf from det_pl"; $data=mysql_query($sql); ?> <br> <table width="100%"> <tr> <td align='center' class="headlist" >no</td> <td align='center' class="headlist" <?=$colspan?> >code</td> <td align='center' class="headlist" …

Member Avatar for AleMonteiro
0
298
Member Avatar for DoubleZ

Hello, I`m just starting to get into the basics of C++ and I have to create a following program - basically the user has to input an integer and a digit of their choice and the program has to check whether the square of that integer contains that specific digit …

Member Avatar for DoubleZ
0
2K
Member Avatar for hszforu

i have to convert a string into ascii format and then into it's binary. I know how to convert between int to binary using toBinaryString, so how to convert ascii to int. Or is there any other way to convert string characters into binary form. In short suppose there is …

Member Avatar for hszforu
0
812
Member Avatar for Triarius

Hi! It's me again :) I have failed with my C++ code once again. This time it's with vectors. [CODE]string show_actions(){ vector<string> actions; actions.push_back("end"); actions.push_back("hunt"); vector<string>::const_iterator iter; cout <<"All of the possible actions are : " << endl; for(iter = actions.begin(); iter != actions.end(); ++iter){ cout << *iter << endl; …

Member Avatar for Triarius
0
190
Member Avatar for david_wislon

Hello, I have been looking at using Beautifulsoup python module to make changes to some static html files a total of 167 files, but being a newb in programming was wondering first how to open, read/process the file, then write it, close it and then open the next file thus …

Member Avatar for paxton91
0
709
Member Avatar for mimah1

ok so far i got this!!! but what i realized is that when i run the ouput 1 2 3 4 5 it gives me the correct output but if i put the value as 3 6 7 8 4 !!! it arranges the number as 3 4 6 7 …

Member Avatar for mimah1
0
176
Member Avatar for hujiba

I'm new at this so sorry if my vocabulary and stuff is totally off. With the following syntax, my goal is to call the choose_number function, which, when given two arguments (integers), returns one of those two at random. I run it multiple times with a for loop but it …

Member Avatar for doug65536
0
170
Member Avatar for megansims07

I'm attempting to create a program where the login and password will be verified on an SQL database of user information. I keep getting the error "SQL Execution was unhandled" I marked the code that was causing the error in red. I'm using Visual Studio 8. Keep in mind I …

0
117
Member Avatar for h3rb

hi all, i have a problem with multiline json file that i wish to insert into an sql db. my problem arose as i went from one data set to two in the JSON file. the one data set was sucked from the json file to the sql db via …

Member Avatar for cereal
0
237
Member Avatar for SCass2010

Hi everyone, I was wondering if anyone could help - at the minute I have a program that records how many bytes are received over a set interval (for example, 500 milliseconds). How would you calculate how many megabits have been received per second if the sampling interval will always …

Member Avatar for doug65536
0
754
Member Avatar for aadi_capri

hello every1 i would appreciate if any1 cud help me with setting an image to label what i want is a label with no text jst an image display on the label... thanks in advance!

Member Avatar for aadi_capri
0
114
Member Avatar for stoopkid

I'm really no JavaScript expert, and I have absolutely no idea what exactly is causing this error. I am using a Photo Gallery script called Galleria which uses jQuery/JavaScript to display photos. On my index page load (only in Internet Explorer), a message box pops up saying "Message from Web …

Member Avatar for Taywin
0
150
Member Avatar for k8f1

Hi all, I would be extremly graeful if you could cast your eye over the following problem and give me some advice if possible. I'm ok with the basics of html and css, but and fairly new to it, so have been stumped by this latest problem. I built a …

Member Avatar for Taywin
0
220
Member Avatar for kevvek

How do i write these in a flowchart: ConverterMenu1 cm1 = new ConverterMenu1(); CurrencyConverter cc = new CurrencyConverter(); MeasurementConverter mc = new MeasurementConverter(); Please help me quick!

Member Avatar for NormR1
0
215
Member Avatar for m1n1m3

Hi! I have a function that i like to move 2 image objects around. (it works with 1) But im getting errors while im trying to pass multiple object id-s. I believe example will tell you more. [CODE] <script> function Init() { document.getElementById('pilt_kivi').style.left = x + 'px'; document.getElementById('pilt_kivi').style.top = y …

Member Avatar for m1n1m3
0
241
Member Avatar for dwayned

Hi Guys, I have imported an excel document into MySQL to tidy up and make better use of the data but I am having problems running an update. All tables used as examples below; [U]Tables[/U] asset_register phone sim team The asset_register contains the following cols; [CODE] id INT, serialNo VARCHAR, …

Member Avatar for dwayned
0
17K
Member Avatar for amulgarg

I am having trouble finding the real trouble in my program to insert into a Binary Search tree. [CODE] //BST #include<iostream> using namespace std; class bst { public: int data; bst *lnext,*rnext,*root,*prev; public: bst() { lnext=rnext=root=NULL; } bst* addBST(bst *p) { if(root==NULL)//if tree is empty { root=p; cout<<"\nRoot Inserted!"; return …

Member Avatar for Taywin
0
126
Member Avatar for cheeseboy

Hi there pleasse help. I get the warning C4700: uninitialized local variable 'BottlesLeft' used. [B]Here is what the CalcNrCases is supposed to do:[/B] A value-returning function called CalcNrCases( BottleType, NrBottles, BottlesLeft ) that will calculate and return the number of full cases (NrCases) as an integer. It will also calculate …

Member Avatar for mike_2000_17
0
545
Member Avatar for Bosterk

hello great community of developers, I have a problem with my code. I am new ... wx.panel want to put () to the main mdi window code. and I would like to know how to open and close a main module is mainly run and then open medi.py nada.py and …

Member Avatar for Bosterk
0
514
Member Avatar for Arun.Emm

Hi , i'm doing a project which invovles time and attendance management. When i download datas from the biometric reader , i got the records in the following format, empCode date time 5001 12/09/2011 09:05:34 5002 12/09/2011 09:33:13 5001 12/09/2011 13:05:53 5002 12/09/2011 13:22:24 5001 12/09/2011 14:05:22 5002 12/09/2011 14:33:53 …

Member Avatar for lolafuertes
0
140
Member Avatar for SagarSe7en

Hello Friends! Want to Post something i know might be very weird but this is how it goes. In Java we use [CODE]RS.getString("FirstName");[/CODE] to get the value of the column FirstName from the database. If the valueis not detected then it shows null in the Text Box. [CODE]RS.getInt("StudentID");[/CODE] to get …

Member Avatar for SagarSe7en
0
392
Member Avatar for Feriscool

This is giving me a nullpointerexception: [CODE] public static final int[][] ARRAY = { { NUMBERS } }; public static boolean method1() { for (int[] data : ARRAY) { int numberOne = data[0]; } if (numberOne != numberTwo) { method2(numberOne); } } public static boolean method2(int number) { int count …

Member Avatar for JamesCherrill
0
153
Member Avatar for divyam_shukla
Member Avatar for tapandesai007

I have one Access Database and in one of the column I need to store image file, how can I do that? Can anyone help me. I know how to do this is MS SQL Server Database but not about Access Database.

Member Avatar for tapandesai007
0
138
Member Avatar for fire eaters

[U][B]textbox to search for employees[/B][/U] [CODE]<div id="searchform"> <div id = "courses"> <form id="searchempform" name="searchempform" method="post" "/> <li> SEARCH <b>EMPLOYEES</b> &nbsp;<input type="text" name="searchemployees" class="textbox" [COLOR="Red"][B]onkeyup="searchemp();[/B][/COLOR]" /> </li> </form> </div>[/CODE] ======================================================= [U][B]typed characters sent ... ajax call to another page look out for data[/B][/U] [CODE]<script type="text/javascript"> function [COLOR="Red"][B]searchemp()[/B][/COLOR] { if (window.XMLHttpRequest) {// …

Member Avatar for Taywin
0
139
Member Avatar for 54uydf

this is the problem- my program is linked to another website. we arranged that the website would have a link to my program and pass along a parameter that holds an X value. I have many scripts and some of them need to use that value and some don't..so I'm …

Member Avatar for NinjaMediaD
0
110
Member Avatar for manutd4life

Hello every1, i create a mdiparent form and a form1, all i wanted to do is to close the mdichild form(form1) with a close in the menustrip. Sorry i cant explain this clearly When i want to close the opened childform with menustrip (i create a button close in the …

Member Avatar for skyusb
0
484
Member Avatar for walid86

Hi, i have these two methods which work as designed, but the original image still shows behind... These methods are to resize an image, one is increase and one is decrease size. Upon [B]smallerByToolStripMenuItem_Click[/B] the image is resized, but the original shows behind it. Upon [B]largerByToolStripMenuItem_Click[/B] the image is also …

Member Avatar for walid86
0
160
Member Avatar for ktab

How may I filter a bindingsource between 2 numbers? Obviously "column_name BETWEEN Num1 AND Num2" does not work, since between is nor supported. Any ideas?

Member Avatar for ktab
0
2K
Member Avatar for zachattack05

I have an issue where two text labels are on the same horizontal line on a form. The label to the left expands to the right and down and is anchored to the bottom left of the form. The label on the right is anchored to the bottom right of …

Member Avatar for Momerath
0
559
Member Avatar for lynnb86

I have all my code done, but it keeps saying no suitable constructor found (close to the bottom on the first code- ProduceInfo pInfo section- line 150) and cannot find symbol (line 62). I have read over this code, searched the errors on the net, and watched videos to try …

Member Avatar for lynnb86
0
159
Member Avatar for deepmala8

Hi I am using cli parser script to build a user interface, in pythin script i want to use the linux system calls but facing problem. I am calling system("./abc.sh'); please help!!!

Member Avatar for TrustyTony
0
148
Member Avatar for Nakeo

I need to get the outputs of each process to strictly alternate. however after i select which process to out put first my program gets stuck. Any help would be much appreciated i have been stuck for awhile. code follows. [CODE]#include <stdio.h> #include <iostream> #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> …

Member Avatar for Nakeo
0
175
Member Avatar for cak

Hi!!This is Chetana... I m TE IT student. I need some good topics 4 the mini-projects in dbms considering vb as front end and oracle as back end(apart from the library,railway,hotel management etc ). Plz help...:S

Member Avatar for chetan gaikwad
0
535
Member Avatar for dirnthelord

I searched but couldn't find a proper answer for this...may be I didn't look deep enough. Anyways, little insight from you guys will only make things easier. So hear me out. this is for my final year research project. I just need concepts and if any links I can read …

Member Avatar for dirnthelord
0
176
Member Avatar for shena

Hi, I wrote a vb script in text file to send an automated email as a reminder to 36 recipients. I'm loading recipients from access database. I can send out email when i tried with test db, whereby there's only one recipient for each category (TO, CC, BCC). However, i …

Member Avatar for lolafuertes
0
455
Member Avatar for breaker14

This is my vbscript to read the text file .. I want to know how to split some of the chinese characters. In my code it prompts the Text Line by Line with chinese characters my problem is how to split the chinese characters and the open and close pharenthesis …

Member Avatar for lolafuertes
0
507
Member Avatar for garu525

Good day to all, I'm doing a project about inverse permutations from an array of permutations. It's my first time coding on permutations so I don't have any experience on this. So I came up with a solution to just swap the array and the element number as the inverted …

Member Avatar for mbundgaard
0
943

The End.