199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Violet_82

Hi there, I am in a bit of a situation here trying to prevent the browser from following a link within a <a> This is the html code: <a href="#" onclick="changeImage(this,'/folder/images/23.jpg');"> <img src="/folder/images/23_thumb.jpg" alt=""> <span>this is it</span> <h3>This is it</h3> <p class="caption">lorem ipsum...</p> </a> and here's the script: function changeImage(calledFrom, …

Member Avatar for jwelsh
0
140
Member Avatar for 3e0jUn

Is it possible (without using any external modules) to make two computers, or Python programs communicate through an Ethernet cable? E.g. Sending messages, numbers, etc. And if so, how?

Member Avatar for 3e0jUn
0
159
Member Avatar for renjithdas

Hi I tried to resize image with file name ._DYK_RTH134_1000.jpg. I got the following errors Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg: JPEG library reports unrecoverable error. If I am using image with name like DYK_RTH134_1000.jpg then its working fine. Some of my filename have special characters. like . ( ' etc. Could …

Member Avatar for renjithdas
0
178
Member Avatar for ziyaddinsadigov

Hi, I want to make array with loading text file and display it in ListBox. I used this code: Dim strFileName() As String '// String Array. Dim tempStr As String = "" '// temp String for result. strFileName = IO.File.ReadAllLines("C:\zel.txt") '// add each line as String Array. For Each myLine …

Member Avatar for Pride
0
2K
Member Avatar for iamjose

Im creating a little practice commend line application that has to ask for passwords.This is a section of the code that is suppose to run if the user puts spaces in a password. It works fine up to that point but then no matter what the user inputs it always …

Member Avatar for iamjose
0
145
Member Avatar for jamojo

Hello Everyone, I am looking for an example on how to upload files in Java only. What I saw recently it requires JSP also. But I only wish to use Java only. Here is an example on what I used, but it seems does not work. Can you please provide …

Member Avatar for NormR1
0
912
Member Avatar for Suzie999

Hi I'm wondering if there is a simple win32 API to retrieve the current module filename (xxxx.exe) I know about GetModuleFilename which gets the full path. And I have read that argv[0] holds the exe name, but that also give me the full path. What I'm after is an API …

Member Avatar for Suzie999
0
313
Member Avatar for BARATUM

I would like to develop a SQL injection vulnerbility scanner. However, i dont know how to develop it, It is any module in python could help me develop this app? My app requirement User able to input the target URL and apply SQL injection scanning on target URL After that, …

Member Avatar for ryantroop
0
927
Member Avatar for GlenRogers

Ok, I have a websie built for a friend(simple/static). I want to add an amdin panel for him, so he can log in, put pictures into the gallery, change or update his stocklist and change or update his news section with special offer etc (he owns a reptile shop). I …

Member Avatar for GlenRogers
0
121
Member Avatar for XodoX

for i := 1 to n do for j := 1 to n do C[i, j] := A[i,j] + B[i, j] #include <iostream> #include <iomanip> using namespace std; int SIZE = 10; double Sum(double matrixA[SIZE], double matrixB[SIZE]) { int i = 0; int j = 0; double rows, columns; double …

Member Avatar for XodoX
0
130
Member Avatar for gilgil2

Hi am trying to delete a row from a mysql database and can't work out why it is not working. Here is the code $link = mysql_connect('', '', '') or die('Could not connect: ' . mysql_error()); mysql_select_db('') or die(mysql_error()); mysql_query("DELETE FROM gigs WHERE gigname='".$name."'"); mysql_close($link); The $link is working, and …

Member Avatar for phorce
0
498
Member Avatar for yunis.nabil
Member Avatar for Begginnerdev
0
144
Member Avatar for abhi415

Hello guys, I have made an application in which I want to make my application expired after 6 months. and then user enters a key to activate and then application again validates for another 6 months. My code is: Public Class Form8 Dim date1 As Date = #7/24/2012 9:00:00 PM# …

Member Avatar for Begginnerdev
0
2K
Member Avatar for shehnaz1991

hiii i hv tried updating a database table frm the form bt it is not getting updated can u suggest me some php code for updating the database values i hv used the following code <?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="project"; // …

Member Avatar for Squidge
0
113
Member Avatar for sania khan

//When i click the update button to update record in database,i get following error : " String or binary data would be truncated. The statement has been terminated." plz help me to solve this problem using System; using System.Collections; using System.Configuration; using System.Web.Configuration; using System.Data; using System.Linq; using System.Web; using …

Member Avatar for sania khan
0
248
Member Avatar for coroll

Hi all, I have givn a task to implement a game. It has ruls of texa's Holdem poker and the objective is to make words like scabble.So it is a blend of these 2 games. So i need to store (Only with 5 letters)words(I dont know whether it is a …

Member Avatar for JamesCherrill
0
192
Member Avatar for lj81

Hi there, I have developed a pool game for a project but am required to do some JUnit testing to finish it off but I have not been shown any in my course and as a result I am totally confused with how to do this. My lecturer won't give …

Member Avatar for SasseMan
0
283
Member Avatar for soham.m17
Member Avatar for levsha

I know it's a dumb question, but I can't figure it out. What's wrong with this code? - [CODE]$progress_report = curdate();[/CODE] It doesn't work. Thank you!

Member Avatar for anushathecoder
0
681
Member Avatar for naheedkassam

I am using Telerik RADupload component in my asp.net website. I have noticed a strange behaviour. Whenever the webpage loads for the first time a browser is opened, the first upload I do, the file does not upload (Though the progress bar shows that the file is uploading). From the …

Member Avatar for naheedkassam
0
140
Member Avatar for davy_yg

Hi, I am looking for a blur effect banner/ header script. Can anyone help me? Something like: [URL="http://www.ferron-pharma.com/?q=en"]http://www.ferron-pharma.com/?q=en[/URL] Automatically it should change the header every 3 seconds with blur effect. However the user can change it manually if they press certain areas.

Member Avatar for pritaeas
0
120
Member Avatar for Chrisstine

Get three exam grades from the user and compute the average of the grade. Get Output of the average of the three exams. Together with the average, include a happy face in the output if the average is greater than or equal to 75, otherwise output failed.

Member Avatar for sciwizeh
0
121
Member Avatar for ROSS679

Hi All. I am currently at work on this program and have came accross this error when i debug the code in ASP via Internet Browser it displays the following message on top of the webform "Command text was not set for the command object" I am also having problems …

Member Avatar for Momerath
0
136
Member Avatar for tapuwa2002

Could you guys help Is there a script or way you can use to check if a page has been view before with the users browsers with using the a:visited then change color on like any page you land on it will tell you which urls were visted hence changing …

Member Avatar for JorgeM
0
476
Member Avatar for mzeewashooo

i am using asp.net on vb 2010 to build a website. my database is mysql. iam trying to add a new data source, when i select mysql, then i enter the name of the server, it closes the window by it self. then it tell me that .net framework data …

Member Avatar for riteshbest
0
281
Member Avatar for rithish

#include<stdio.h> #include<conio.h> #include<stdlib.h> void main() { char a[100],b[50],c[50]; int i,n,j,k,d; printf("enter the string: "); fgets(a,sizeof(a),stdin); printf("enter the string to be removed: "); fgets(b,sizeof(b),stdin); printf("enter the string to be searched: "); fgets(c,sizeof(c),stdin); for(i=0;a[i]!='\0';i++) { if(a[i]==b[0]) { k=i; printf(" \n the first character is at %d",k); printf("\n lets see whelther searchstring is …

Member Avatar for deceptikon
0
270
Member Avatar for mzeewashooo

iam creating an online customer ordering system, and i will want to connect to a mysql dtabase that i have created.

Member Avatar for riteshbest
0
144
Member Avatar for catherine sea

Hi, I got error "No value given for one or more required parameters" error when executing the following code. I checked the value of the query and it seems correct. Does anyone know why? [CODE]string connectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\Catherine\\Documents\\LearningCSharp.accdb"; OleDbConnection myConnection = new OleDbConnection(connectionString); myConnection.Open(); int employeeNumber = int.Parse(textBox1.Text); string name …

Member Avatar for carrzkiss
0
9K
Member Avatar for mzeewashooo

iam using vb 2010 and i want to search for any record when i enter a text in the search text box. i mean, if my records are as follows: dan,daniel,edn,steven,mary. and i just inpunt 'd' in the search box, the datagrid lists: dan,daniel,edn because they have a 'd' in …

Member Avatar for mzeewashooo
0
380
Member Avatar for mzeewashooo

iam trying to save records in a form to my mysql database. but i keep geting an error on the cmd.ExecuteNonQuery line.

Member Avatar for mzeewashooo
0
111
Member Avatar for DanielPrasath

In my table view cell i need to display the contents of my array elements in a single cell and if i insert any new contents the previous contents are not to be overwritten.The previous content and my new content should be displayed in order.Here is my code #import "Carttable.h" …

0
110
Member Avatar for p34i

Could someone please give me a pointer as to why my use of appendText fails? This is my first bit of programming for 30 years - I'm sorry if its an idiot mistake :) The program has 2 text fields. You paste a list of url's into the first box …

Member Avatar for p34i
0
131
Member Avatar for SagarSe7en

Hey Friends, I recently came across a question which asks to approximate the data volume of a table which contains 10 Million records. Any idea on how to do it? Thanking You In Advance.

Member Avatar for SagarSe7en
0
120
Member Avatar for freesoft_2000

Hi everyone, Could some one please tell me or show me the entire codings of how to run external .exe programs in java. I want to do this because i have a lot c/vb programs that i want to run in my java program. Thank You Yours Sincerely Richard West

Member Avatar for JamesCherrill
0
2K
Member Avatar for damaritah
Member Avatar for hericles
0
108
Member Avatar for 3e0jUn

How do you make Python set an str from a file? For example, my file would contain these pieces of text: username=Eugene password=eugene How do I get Python to return this? >>> print(username) Eugene >>> print(password) eugene Any help is deeply appreciated. Thanks!

Member Avatar for 3e0jUn
0
246
Member Avatar for *sharath*

can i know how can we use a double touch on tabs in android. I found that onclicklistener and onlongclicklistener are not working for tabs. so now am in need of a double touch on tabs. Thanks in advance.

Member Avatar for *sharath*
0
154
Member Avatar for kaleem_ullah

I have devloped a contact form with PHP code. It work perfectly. when you submit the form all the information e-mail to you perfectly. After submitting the contact form it will take you back to you same contact page. Know want to make some changes in it. When some one …

Member Avatar for divyakrishnan
0
302
Member Avatar for elkowalski

im trying to access a webpage and it asks for my email in which it contains a "+" sign .example:"elkowalski+garbage@gmail.com" but instead it tries to write it as "elkowalski garbage@gmail.com" so it fails to log in successfully into the wepage. i would really appreciate if someone can take me to …

Member Avatar for ~s.o.s~
0
161
Member Avatar for happygeek

The results from what is claimed to be the most comprehensive global online job trends survey, the 'Fast 50' Q2 2012 report took data from 190,000 online job postings as an indicator of the global online employment economy. Some of the findings are surprising to say the least, such as …

Member Avatar for justinbob
0
771
Member Avatar for ayat abukhadra

Hello, I'm new in vb.net but befor a couple of days i've created a vb.net windows form application , my application works well it adds certain number of lines to access database and searches this database, my problem is when i minimize my application windows while doing some work it …

Member Avatar for ayat abukhadra
0
131
Member Avatar for reds8

I want to insert a "words file" into "ms access" which has a column with data type "attachement". Can anyone suggest me what the sql statement look like?

Member Avatar for Pgmer
0
99
Member Avatar for coroll

Hi, I want to implement an English word dictionary without the meanings. I have 51,947 words. I read many articles on the internet and sugestions were trie, Hashset Will implementing a trie provide better perfomance for serching or Hashset or anyother. Plz help me..

Member Avatar for coroll
0
100
Member Avatar for klars247

**In this code you must type the complete word in the textbox that stored in ur table to shows up in the listview. any1 can help me with this?? it should be base by letters not word.** Private Sub ListView1_click() Dim rs As New ADODB.Recordset Dim selected As String If …

Member Avatar for AndreRet
0
500
Member Avatar for umariyoob

I have been searching for a way to retrieve records from my database. I was able to find and create a function specific to my program, but it wont work. Will someone advise me on how I can go about this task? I catch error in binding source and error …

Member Avatar for G_Waddell
0
298
Member Avatar for louisdesouza

I created a javascript registration form and when the user submits the form, a 'sendemail.php' file will send the data in the form to my gmail email account. The code from 'sendemail.php' is shown below: Code: $mail->IsSMTP(); // Fixed. $mail->Host = 'smtp.gmail.com'; // Or Hotmail. $mail->Port = '587'; // Fixed. …

Member Avatar for pritaeas
0
628
Member Avatar for prancode

how do I set a shortcut key for 1 of the textboxes in vb.net. When I goto the textbox and press F3, then it should give the current date in the textfield...Can somebody help me with this?? Thanks in advance..:)

Member Avatar for Pgmer
0
293
Member Avatar for Angelic777

Excessive Image Resource Hi So I'm writing a program to clear old images out of some folders. I get the old and new folder paths from XML and then check each image against my database then I move it using MoveFile() if it meets my requirements. The one folder I'm …

Member Avatar for Pgmer
0
110
Member Avatar for schoolbus11

Hi, I'm new with the java world.. I have a homework assignment for my java class due soon and I'm quite stuck in the middle of it. I'm supposed to make an eight ball using GOval in the acm library and whenever I click on the black ball in the …

Member Avatar for schoolbus11
0
325
Member Avatar for loserspearl

I'm trying to have my panels overlap, but visual studio is placing my second panel INSIDE the main panel, I want them to be purely independent of one another. I have my main menu panel and when the user clicks a button that menu panel is disabled and changed to …

Member Avatar for crazyvonzipper
0
945

The End.