199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dany12

Hello to evryone my name is Dany and I want to get involved as volunteer in web project that is based on php mysql xhtml html css or any other web thenologies with the ondition to have php in it. Any advice or contact with developers that need help is …

Member Avatar for cereal
0
196
Member Avatar for dantinkakkar

The problem is, that I want to read data and analyze it from a promiscuous network device programmatically using java. Using existing software like WireShark/DarkStat is NOT a solution. I wanna do it myself. Any hints on where do I start?

0
83
Member Avatar for vivekanandaan
Member Avatar for thines01
0
3K
Member Avatar for sha11e

What I want to do is 1. Take strings from the user and store it in a vector<string> 2. Loop through each string, typing each letter of the string How would I go about doing this? Robot r = new Robot(); [CODE]char letter = 'a'; r.keyPress( (int) letter )[/CODE] Won't …

Member Avatar for stultuske
0
3K
Member Avatar for niall86

Hey can anyone help me out with this code? Im am really stuck and need to complete it for my engineering degree but none of lecturers have any coding knowledge so im really in trouble. I have a GUI and in the GUI is 3 comboboxes with different options. Depending …

Member Avatar for niall86
0
193
Member Avatar for prasenjit_das

hi all, I do not understand how i concatination of two string using pointer in c++. please can you give sugestion how i implement.. thanks in advance

Member Avatar for L7Sqr
0
163
Member Avatar for tastybrownies

Hey everyone, I am pretty new to writing procedures that deal with this idea of recursion. I am trying to get into that certain frame of mind but I am having a little bit of trouble at the last minute. My goal was to implement a text operation called swap …

Member Avatar for jmichae3
0
228
Member Avatar for jmichae3

I am going to assume that gcc is the compiler people are using on their *NIX. so for that, I know that [CODE]#if defined(__GNUC__) [/CODE] will work. SO... for Centos, Solaris, HPUX, AIX, Linux, BSD, FreeBSD, OpenSUSE, Fedora, redhat, what #if defined()'s do I use to detect these OS's?

Member Avatar for L7Sqr
0
116
Member Avatar for LearnVBnet

Help me to format currency col(2) = 1.234.567 I have search any where can'not find answer [CODE] With Lv1 .Clear() .View = View.Details .FullRowSelect = True .GridLines = True .Columns.Add("Product Name", 250) .Columns.Add("Stock", 90, HorizontalAlignment.Right) .Columns.Add("Price", 90, HorizontalAlignment.Right) '.SubItems(2) = Format(Value, "#,##0.00") FillListView(Lv1, GetData(sSql)) End With[/CODE] tx

Member Avatar for LearnVBnet
0
1K
Member Avatar for dantinkakkar

Alright, so I tried to write a little short guide on Object Input and Output to files, since the worst situation one can find themselves is being unable to serialize files in a proper and readable format. One way to do so is to create an object of a class …

0
80
Member Avatar for wallet123

hi, our final exam will be on next week, i want our program to be different may i ask how to put colors on texts of JOptionPane on the background and how to change font size and style and how to put sound effects.. please make it easy to understand …

Member Avatar for wallet123
0
87
Member Avatar for gerchi152

what is the syntax for blank list view object... for example: [CODE]if classlistview is blank then <statement> else <statement> end if[/CODE] what is the syntax for classlistview is blank? as in no record(s) were retrieved... any help is appreciated... thanks :)

Member Avatar for gerchi152
0
149
Member Avatar for 47pirates

My server is in python and I'm trying to read and write to socket using ObjectInput/Output Streams whenever i write to socket there is some characters written in socket before my writeObject() command is executed and whenever i tried to read the data from socket using readObject() , it gives …

Member Avatar for dantinkakkar
0
221
Member Avatar for drico7041

Hey, I created a phone directory program. But I was wondering if I could get some hints on how I could create a txt file and add, delete names and numbers on the txt file. [CODE]import java.util.*; import java.lang.*; import java.lang.Object; import jpb.*; public class PhoneDir { private static LinkedList …

Member Avatar for dantinkakkar
0
3K
Member Avatar for bwaha

Hi, So here's what I have, Ive got a Listbox which displays a data/record from a SQL database, it displays "Amount" and only numbers would appear. it has a datasource. Goal: I'd Like to get the total sum of those numbers from the Listbox and Display it to a textbox …

Member Avatar for bwaha
0
11K
Member Avatar for linezero

Hi Programmers, Please help me, i was wondering on how to create a simple phone book program using struct array to insert a new contact, update an existing contact, delete an existing contact and to display the contact information

Member Avatar for zeroliken
0
958
Member Avatar for blake81

ChatBot class: A chatbot is a computer program designed to simulate an intelligent conversation with one or more humans. In this lab, we will establish the framework for our chatbot, which will be enhanced throughout the semester. The ChatBot class will define a name field that identifies the chatbot (name …

Member Avatar for dantinkakkar
0
492
Member Avatar for softDeveloper

Hi all, I have a text file saved as utf8 without BOM. I loaded it into MysQL database. An iframe is loaded with this data from MySQL. I need the caret position in the iframe in order to perform operations in the database. Everytime there's a new line the positions …

Member Avatar for smantscheff
0
152
Member Avatar for docgrid

hi ppl i need bit of help in my vb coding. I have a publish data onto datagrid and allow user to search for specific record by inputting no. everything going fine. however i was unable to inform the user if there is no matching record found. i tried to …

Member Avatar for M.Waqas Aslam
0
185
Member Avatar for qualt

I have a C-code written in turbo C. I want to make a standard exe file that can easily run on any other PC as well which doesn't have TC installed. I have to provide my client simply an exe file which continuously monitors the serial com port for some …

Member Avatar for qualt
0
348
Member Avatar for mynameisfish.22

I am currently developing a small site to keep me amused in the nights I can't sleep. I have decided to create a forum with php and sql using databases to store posts etc. I have been experimenting with different ways of having the forums get to certain point and …

Member Avatar for pritaeas
0
162
Member Avatar for dilse4sk

hi every 1. i am trying to make a logout message box where it says "Are you sure you want to logout" and the options are yes or No. If user clicks Yes it should logout and its hould show login screen and if user clicks No. It should show …

Member Avatar for pritesh2010
0
167
Member Avatar for gerchi152

my report show this way: surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 1 firstname1 middlename1 surname 2 firstname2 middlename2 surname 2 firstname2 middlename2 i want to display my those records this way surname 1 firstname1 middlename1 surname 2 firstname2 middlename2 …

Member Avatar for gerchi152
0
195
Member Avatar for SamuraiGhost

I believe that my program in the attached file is almost finished. When I try to run the program,there are two error message that pop up. The error are the following: 1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup 1>c:\users\usr\documents\visual studio 2010\Projects\NEWLDIST\Debug\NEWLDIST.exe : fatal error LNK1120: …

Member Avatar for DJSAN10
0
237
Member Avatar for nahmartin

Hi, I am having trouble outputting to many files [CODE] ifstream sim_dump; sim_dump.open("c_grain.sim_trj"); char dump_file[20]; int itr = 4000; sprintf( dump_file, "%d", itr); ofstream fout(dump_file); while(lammpsdump.good()) { //if(itr % 100 == 0) //{ fout.close(); sprintf( dump_file, "%d", itr); ofstream fout(dump_file); cout << "TIMESTEP " << itr << endl; //} ... …

Member Avatar for nahmartin
0
163
Member Avatar for jetlife76

Hi guys, i am currently working on a project that queries an inventory database through the use of radio buttons, for example; If the first button FOR THE Item(HAMMERS)is clicked, the output should be the name of the item, the number sold and the total profit(calculations) into a table. the …

Member Avatar for jetlife76
0
136
Member Avatar for mohamed moamen

How i can make my server receive data from certain client and send it to other certain one ? (Note : there is a lot of clients connected with that server) , that's alike private chat between two clients .

Member Avatar for dantinkakkar
0
445
Member Avatar for kishpopboy

pls help.. I have a to create a timecard calculator. it goes this way txtbox1 is for their 1st in txtbox2 is for their 1st out textbox3 is for the difference of txtbox1 and textbox2 txtbox4 is for their 2st in txtbox5 is for their 2st out textbox6 is for …

Member Avatar for kishpopboy
0
164
Member Avatar for dremes

Hi could anyone advise what I should change with the code below to stop these been treated like a pop up windows, it would be best if it openned in new tab or second use of browser on top of current window. $chat = "window.open( '" . SK_Navigation::href("private_chat", array("userKey"=>$pr_key, "oppUserKey"=>$opp_key, …

Member Avatar for dremes
0
141
Member Avatar for shean1488

Here is the code for the programm. My question is why this statement in SudokuValidator doesn't work? [CODE]for (Cell[] myPuzzle : puzzle) {[/CODE] it gives me errors: [CODE] Exception in thread "main" java.lang.NullPointerException at SudokuValidator.isSolution(SudokuValidator.java:54) at SudokuValidator.main(SudokuValidator.java:27) [/CODE] [CODE]import java.util.*; public class Cell { int value; public Cell() {} // …

Member Avatar for stultuske
0
268
Member Avatar for daino

I'm going to ask a very general question, I'll apologize now. I have no idea what to ask or where to start when building a Database Application. I'm using windows xp and do have office 2002 but don't want to use microsoft access. I want it to run on a …

Member Avatar for daino
0
312
Member Avatar for winnzor

When i click a button [CODE]<input id='delete' type='button' name='delete' value='Delete' onclick='deletePost(<? echo $id;?>);'>[/CODE] I want it to go to this function which is sent to my delete php code [CODE]function deletePost(id){ $('.content-num' + id).hide('slow'); $.ajax({ type: "POST", url: "/func/delete.php", data: "id="+ id, success: function(){ }}); alert(id); } [/CODE] Im new …

Member Avatar for vsmash
0
248
Member Avatar for ruval002

ok so first of all my following code its suppose to read input from user and seperate the strings into commands and arguments.For example if i input changeDir hello , the tokenizer(which i already implemented) will split it and put changeDir into tokens[0] and hello into tokens[1]. Now what im …

Member Avatar for ruval002
0
165
Member Avatar for jrosh

I'm working on Microsoft Dynamics CRM. I want to retrieve all the columns from an entity. When I use [CODE]Query.ColumnSet.AllColumns[/CODE] ..It indicates an error. So how can I retrieve all colunms..thankx in advance.

Member Avatar for jrosh
0
101
Member Avatar for bhagawatshinde

Hi Guys, How to use bigin trance, commit and rollback in c#, suppose i have inserted values in two tables while inserting i am getting error in table 2 but table 1 has inserted values successfully so in catch how i can rollback changes.....after successful insertion i want to commit …

Member Avatar for bhagawatshinde
0
515
Member Avatar for adamb0mb

[CODE]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Mortgage { private static double round(Double val) { // round the value to two decimal places int vala = (int) (val * 100); return (double) (vala / 100.00); } public static void main(String[] args) throws IOException { double loanAmount = 200000.00; // Loan …

Member Avatar for thines01
0
209
Member Avatar for tarunfuture

I am using javascript for form validation but after click on submit its showing me the alert but after cancelling the alert box it is processing and sending me to the next page

Member Avatar for tarunfuture
0
208
Member Avatar for scottd82

Hey everyone, I wrote some code to create a deck of cards, described the deck and randomly deals 5 cards. First, I want to let everyone know that this is homework for my C-II college class, so I am not looking for any answers, but solutions or guidance in figuring …

Member Avatar for WaltP
0
1K
Member Avatar for fr0st003

I read through all previous post regarding quicksort on a linked list. The trouble I am having is using a random element, it seems all the other post are using the first or middle element where I want to use a random element for the pivot. in anycase here is …

Member Avatar for fr0st003
0
651
Member Avatar for Fortinbra

Right now my company uses Crystal Reports for report documents. We are running into HUGE errors and limitations that we need to get rid of. Anyone have any suggestions for Crystal reports alternatives? We have a somewhat unique deployment patter, our customers all use our application on their own local …

Member Avatar for abhishek dutta
0
152
Member Avatar for Valiantangel

[ICODE]System.out.println("Extra credit\nRe-enter number of seconds:"); int j = input.nextInt(); int i =(j/60); int k = (j%60); System.out.println(j+" seconds is " +i+" minutes and "+k+" seconds.");[/ICODE] Hi when i key in 30 for j the correct answer should be [COLOR="Red"]30seconds is 0minutes and 0seconds.[/COLOR] However my above code gives me 30seconds …

Member Avatar for zeroliken
0
85
Member Avatar for free2move

I need to sort a series of 25 numbers, entered by the user from smallest to largest, then count the number of times the user entered the number "10". I can't use arrays and I have to use only for loops, can someone please help?

Member Avatar for free2move
0
2K
Member Avatar for LearnVBnet

Load from database to datagridview [CODE]Call ConnectAccess() Dim da As OleDbDataAdapter = New OleDbDataAdapter("SELECT ProductName,Quantity,UnitPrice,Extention, InvNomer,ProductId, InvDetId " _ + " FROM InvoiceDetail where InvNomer ='" & pbInvNomer & "' ", mConn) Dim ds As DataSet = New DataSet() da.Fill(ds, "InvoiceDetail") DGV.DataSource = ds.DefaultViewManager DGV.DataSource = ds.Tables("InvoiceDetail") Me.DGV.Columns(0).HeaderText = "Product …

Member Avatar for LearnVBnet
0
266
Member Avatar for martin11ph

Hi good day. I am currently using Spry Textfield Validation on my forms. Whenever there is an error, the error message does appear and the field goes red. However, the entire form is shifted to the left a couple of pixels. If the user corrects the value in the field, …

Member Avatar for martin11ph
0
224
Member Avatar for fredy91

hy all, I want to make code for download multiple file in php so I make in zip file. my code work and can create sip file but when I want to open the zip file appear error message like this " the archive is either is unknown format or …

Member Avatar for fredy91
0
3K
Member Avatar for ankit.pandey3

[CODE]<script> //function PlaySound() { var sound = document.getElementById(sound1); sound.Play(); alert("ok");} function playSound( url ){ var s=document.getElementById("sound").innerHTML="<embed src='"+url+"' hidden=true autostart=true loop=false>"; s.play(); } </script> <!-- <embed src="sound_5.mp3" hidden="true" autostart="false" loop="false" width="0" height="0" id="sound1" enablejavascript="true"/>--> <input type="button" onclick="playSound('sound.wav')" value="Play"/> <div id="sound"></div> [/CODE] Hi friends, I want to play sound from above code …

Member Avatar for ankit.pandey3
0
174
Member Avatar for EkoX
Member Avatar for fmjnax

Hi all, I'm sorry if the thread title doesn't make much sense; I'm quite new to AJAX (well, to web programming as a whole. I'm more of a SQL/client-server developer). Anyway, I'm having some trouble getting some code to work. What I'm doing is I am dynamically loading a list …

Member Avatar for fmjnax
0
257
Member Avatar for mechanicallogic

I simply cannot figure this program out (nor why I am going in debt paying professors to "teach" me). Our assignment begins with reading a data from a file and storing it in an object array and then displaying the contents of that array. When I compile the program in …

Member Avatar for Ab000dy_85
0
223
Member Avatar for Thisisnotanid

I was wondering, is it possible to do something like the following? The given code obviously doesn't work. [CODE] l = 5 (l == 5)*(k = 7) #Returns error message.[/CODE] The reason is, I'd rather avoid doing something like the following for the project I'm currently working on. [CODE] if …

Member Avatar for Thisisnotanid
0
181

The End.