64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for shawnv100

I'm developing an Intrusion Detection System program....right now, I have written some of the code, but I'm having a lot of difficulty testing it, because I don't have any virus infected systems to test the code on....is there any way I can develop a worm just for testing purposes?...or is …

Member Avatar for shawnv100
0
99
Member Avatar for darthswift00

Hi i am trying to do a transaction. It's basically were a customer makes a booking of a particular ablum(dvd or cd). In my database i have a table called Transaction with the following colomun names: Trasaction ID , MemberID, AlbumID , issueDate and ReturnDate. Here is were the problem …

Member Avatar for darthswift00
0
143
Member Avatar for dilse4sk

Hi every one . Can you please tell me how i can change the text type field of datagridview to datetime pikcer or calender. if i click on edit columns in datagridview i can only see textbox column, combox, and button i want to change the date field in datagridview …

Member Avatar for dilse4sk
0
722
Member Avatar for don't give up

hello this my code : <?php $con=mysql_connect("localhost","root",""); if(!$con) { die('can not connect'.mysql_error()); } mysql_select_db("test", $con ); $others="others"; $sql="SELECT * FROM $others"; $result=mysql_query($sql); $num = mysql_num_rows($result); echo"<thead> <tr> <th>#</th> <th> id </th> <th>topic</th></thead>"; echo"<tbody>"; $i=0; echo"<table border='1' width='100%' id='table1'>"; echo"<thead> <tr> <th>#</th> <th> id </th> <th>topic</th></thead>"; echo"<tbody>"; $i=0; while( $i < …

Member Avatar for don't give up
0
137
Member Avatar for dwlamb

I am new to bash scripting. Is it possible to get a value returned on a nested variable? At the command line, the following code will generate desired ouput: while read line; do echo -e "${line:21}"; done < Albums-linux.txt It takes a list of directories for albums and returns a …

Member Avatar for JeoSaurus
0
460
Member Avatar for Srin

I want to create a java application where you can build simple logic circuits (just started learning java recently and it was just a random project idea I got off the net) Ultimately I want the gates as icons on a pane that users can drag and drop onto a …

Member Avatar for NormR1
0
550
Member Avatar for apals

Hello friends, I am working an a section of application which needs to Parse CSV Logs generated by PostgreSql server. - The Logs are stored C:\Program Files\PostgreSQL\9.0\data\pg_log - The Server version in 9.0.4 - The application is developed in C Sharp * The basic utility after Parse the Log is …

Member Avatar for apals
0
613
Member Avatar for gozo12

Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged If ListBox1.SelectedItem IsNot Nothing Then Timer1.Enabled = False Else Timer1.Enabled = True End If End Sub

Member Avatar for Jx_Man
0
141
Member Avatar for belber

hey all i have a problem here... i recently download xampp for windows, but when i go to phpmyadmin i got some error message : error #2002 The server is not responding (or the local MySQL server’s socket is not correctly configured). in addition i not using mysql service from …

Member Avatar for belber
0
102
Member Avatar for zachattack05

It just occured to me that when I go to create a new SQL query using VS's query builder, it pre-fills in a query based on the datatable I am building the query with. Normally I just delete the standard query (unless it's sufficient) and write my own, but this …

Member Avatar for zachattack05
0
108
Member Avatar for simplypixie

I am using jQuery and Ajax for some areas of a site and I cannot for the life of me work out how to only submit the Ajax if the form is valid. For normal jQuery validation I am using jquery.validate.min.js like this: $("#po-login-form").validate(); This works fine. I then have …

Member Avatar for simplypixie
0
211
Member Avatar for mehnihma

I have problem , I only get program to write the frist line but how to write the whole string? When I print that string I get correct ouput? It has 10 lines String fileName = "System.err"; File newFile = new File(fileName); try { if (newFile.exists()) { FileWriter fos = …

Member Avatar for mehnihma
0
118
Member Avatar for mehnihma

I have a problem with writting this program I need to read a csv file and write it to binary then read it again. I has to be written in this way: Field name Data type Name First Text Name Last Text Birth Day Whole number Birth Month Whole number …

Member Avatar for mehnihma
0
2K
Member Avatar for ak47carbon
Member Avatar for rotten69
0
141
Member Avatar for Gus_19

I'm a noob to the .net world and I was wondering how I would go about creating a rich text box by triggering a click event button. I am trying to shrink the data currently in my form. One way of doing this would be to take away the two …

Member Avatar for Mitja Bonca
0
257
Member Avatar for minghags

hello, i wanna ask if somebody can help me with this problem. First code: #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]){ if(argc>1) { int i=1, zmnozek=1; zmnozek=atoi(argv[1]); for(i=1; i<argc; i++) { zmnozek*=atoi(argv[i]); }; printf("Rezultat: %d\n",zmnozek); }else { printf("Nepravilen vnos!\n"); }; return 0; } And there is the problem: …

Member Avatar for minghags
0
123
Member Avatar for belber

Hey all.. i wan't make project with vb6 and database using mysql. did i've use mysql odbc connector ..??? i need some refrences.. Help me plizzz...

Member Avatar for belber
0
120
Member Avatar for shahbaz13

I need to convert this code to web.config file. Plz Help.. #Fix Rewrite Options -Multiviews RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d Rewriterule ^(.*)$ $1.php [L,QSA]

Member Avatar for shahbaz13
0
218
Member Avatar for sharathg.satya

this is my broadcastreceiver which will be invoked on receiving a message. <code> package com.dummies.castsBroad; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.util.Log; import android.widget.Toast; public class BroadcastsActivity extends BroadcastReceiver { /** Called when the activity is first created. */ @Override public void onReceive(Context arg0, Intent arg1) { // TODO …

0
79
Member Avatar for flywheeljack

I've been able to write a thread into my app which basically does a loop in the background perfroming detection for a device being added or removed. works great! i am trying to implement another thread to check for a file on the found device...but i still haven't figured out …

Member Avatar for flywheeljack
0
86
Member Avatar for flywheeljack

Hello, I am using XMLReader to look thru and XML file that I have. While I have been able to play around with it and get it to pull some of the information I want, I am wondering what commands to use to do what I really want. For example, …

Member Avatar for flywheeljack
0
562
Member Avatar for Bowsan22

So ive been trying to get an average of this array needed, and I seem to be having trouble with it. So far, my current code just adds the numbers up, but doesnt really average them out at all: [CODE]import java.util.Scanner; import java.util.Arrays; public class Grades { public static void …

Member Avatar for Xinen
0
329
Member Avatar for RickCJ7

I have an application that is writen in PHP and connects to a MS SQL Server 2008 Database. I'm using ADO recordsets. There are cases where specific IDs and years in the table returns nothing. How do I test for when there are no results? I searched and most of …

Member Avatar for RickCJ7
0
2K
Member Avatar for Sonia11

Hello there, I am a newbie in MySQL and I am extremely confused about one thing. I am currently creating four tables. There's a primary key I have specified for the first table which is a foriegn key in the second table. Now the problem is that I want the …

Member Avatar for BitBlt
0
293
Member Avatar for obb-taurus

I'm having some problems with the server side and client events on my web form. What I found is that client side events fire before server events. This is problematic for me because I have a jquery function that clears the form when it's submitted but the form is cleared …

Member Avatar for obb-taurus
0
165
Member Avatar for Stjerne

Hello, I'm pretty new to SQL and I have only worked with one-two table(s) at time. I got an assignment now against multiple tables, and the queries it wants me to solve is really hard. I was just wondering if you could help me to solve and understand these questions? …

Member Avatar for Dani
0
85
Member Avatar for Darkone

I am having a problem and that is I have buttons to read text to speech like play pause and stop I have created 4 buttons Play,Pause,Stop,Resume but now I dont want the Resume button, instead when I click on the pause button it should pause the speech and later …

Member Avatar for Begginnerdev
0
963
Member Avatar for vinnitro

Hi friends, I am a student of BScIT and I want a project which is to be done in VB.NET language. I surfed the internet but not found anything new... So, Is there anyone who can give me good suggestion??? & also help me give some objective i.e. what the …

Member Avatar for vinnitro
0
135
Member Avatar for james chaco

Hello, I was looking for a way to post multipart/form data to a servlet using java standalone application. Any information would be helpful.

Member Avatar for james chaco
0
160
Member Avatar for miramiey

I have a problem to make a selection by using combo box(cbChoice). if I have 2 item [name], [age], [id_number]. After click SEARCH button, the data from database will display to textbox. this my code but its not work myCommand = New MySqlCommand("SELECT * FROM daftarpelajar WHERE " & cbChoice.Text …

Member Avatar for Begginnerdev
0
138
Member Avatar for sharathg.satya

can anyone help me to get a clear idea what broadcast recievers mean and how they are used.. (i understood that when we want any event to be happened when we recieve any data from any other mobile these broad cast recievers are used. But i am not clear with …

Member Avatar for sharathg.satya
0
100
Member Avatar for miramiey

Hai, I have 2 question to ask about vb.net. Now i'm using Visual Studio 2005 with connection MySql... 1. how if I want to passing the data from database to the textbox by SEARCH button. I Have 1 SEARCH button and 3 textbox [txtname],[txtage],[txtaddress] and to pass it also on …

Member Avatar for Begginnerdev
0
348
Member Avatar for dyingatmidnight

I'm a total noob to using mod_rewrite and I'm reading tutorials and trying to wrap my head around it but it's not quite coming together. What I need to accomplish is this: take a bunch of urls structed this way: yoursite.com?index.php?id=# and rewriting it so it becomes yoursite.com/whatever depending upon …

Member Avatar for dyingatmidnight
0
162
Member Avatar for TarkiB

Hi there, I've been learning C lately, and in one of the exercises I've encountered a bit of a frustrating issue. The exercise is to accept a string of characters that are answers to a multiple choice quiz, and then compare them to the correct answers which are in another …

Member Avatar for TarkiB
0
220
Member Avatar for richprich

When user post a comment, i strip all the html tags in the comment before insert into my database because i do not want them to post external links(SPAM) in the comment. But i only want to strip external links, i want to display my own website URL as normal …

Member Avatar for richprich
0
356
Member Avatar for kww228

I am stuck on trying to figure out a few questions. The questions are listed below. 1: Given the data below, design IA-32 instructions to find the octal string for X and save it in Y. .data X word 200 Y byte 6 dup (' ') 2: Given the data …

Member Avatar for kww228
0
259
Member Avatar for Kashaku

Hi. Sooner or later I had to go into the depths of C. Today was the day I tried my first things with C. However, I am having a problem although I do not know what actually causes it. The goal of the pogram is to combine the parameters into …

Member Avatar for Kashaku
0
158
Member Avatar for poojavb

Hello Friends, I want a small help... I have created a text box....a button and a date time picker control I have showed the calander control on click of the button event....when a value is selected in the datetimepicker the value should be showed in the text box... I have …

Member Avatar for Mitja Bonca
0
248
Member Avatar for vinnitro

Hi friends, i was recently started writing a program on java needed for my practicals but as i started i found an error which deletes last element of queue actually i want to delete first element of queue anybody can solve it import java.util.*; class VQueue { int size; int …

Member Avatar for vinnitro
0
178
Member Avatar for cheiL

I'm working on a *soap message *to send to a client system. I must use the client's predefined data types specified on their soap to send my message. Theres alot of arrays and enumerators used and my code gives the following error: > Error 1 Cannot implicitly convert type 'UpdateRatePs._Default.Rate.AvailAppType' …

Member Avatar for cheiL
0
265
Member Avatar for LastMitch

I'm new to this forum but I do read posts as a non-member and I learn a lot from reading other posts from other member. I'm having problem understand how to write the code correctly. I can't seen to figure out the international shipping cost but for domestic it works. …

Member Avatar for LastMitch
2
200
Member Avatar for jdgieschen

I've got a project I'm working on where people can search using checkboxes, sliders, and an input box. The search works, but I've got issues here, especially when using IE as the browser. Haven't even tried Safari and Opera. Even in Firefox, there are minor issues. First, the lagging of …

Member Avatar for jdgieschen
0
624
Member Avatar for CelestialTeapot

Hi, I am trying to create a simple program to rename a bunch of files #include <stdio.h> int main(){ int count; for(count = 1; count <= 95; count++){ if(count >= 10){ system("rename \"C:\\wamp\\www\\anime\\kenshin\\Rurouni Kenshin - %d.mkv\" \"%d.mkv\"", count, count); } /* For the episodes that have 0 before the number …

Member Avatar for CelestialTeapot
0
156
Member Avatar for while(!success)

Hey, guy I'm having some trouble with my function see below: bool tryAgain() { char answer; cout << "Do you want to enter another number? (Y/N): "; cin >> answer; answer = toupper(answer); while(answer != 'Y' || answer != 'N') { cin.clear(); cin.ignore(10, '\n'); cout << "Input invalid." << endl; …

Member Avatar for while(!success)
0
170
Member Avatar for Gazzmonkey

Hi, this does compile but I only want results that have the same amount of characters as the input! Can anyone shed some light on this as I can't figure it out myself! thanks. import re # opens a .txt file and searches for matching letters in words that are …

Member Avatar for TrustyTony
0
153
Member Avatar for codemonster

I found an error in my c++ textbook and I can't find a way around it without re-writing the author's stuff completely. An error pops up when I don't use parentheses in the expressions that I enter. "Expression: string subscript out of range" is the error. Again, this is the …

0
88
Member Avatar for beastpanda

Hi all, I am new to php and I have a problem that I am looking into it for 1 day and can't understand it please help. here is my html code : <html> <head> <title> Calculation Form </title> </head> <body> <form action=calculate.php method="POST"> value one: <input type="text" name"val1" size=10 …

Member Avatar for broj1
0
190
Member Avatar for BeeKeeper18

Right guys, I'm really new to this but I'm getting along ok, but I've hit a block. I need to be able to know how to search a text file in VB for a particular line and then display it. the files I'm trying to use are set up as: …

Member Avatar for BeeKeeper18
0
3K
Member Avatar for Rasool Ahmed

Hi guys, what's up? Is native applications familiar to you? I'm right now building an anti-virus, and as you know the viruses can be active or passive, the passive is easy to remove but the active , well.... it's hard to remove but I finally found the solution is by …

Member Avatar for mitrmkar
0
704
Member Avatar for mkaynutty

I am having trouble formatting my output into columns. Some of the the names are longer than others so it pushes the whole line out instead of lining up evenly. I cannot use the printf function, we haven't learned this in class yet, I'm only familiar with setw and setfill. …

Member Avatar for mkaynutty
0
190

The End.