199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for boyhenyo

hi please help me....can you give me a code for queue program??? the flow look like this: KEY FUNCTION E Enqueue D Dequeue H Hide implementation S Show implementation R Bubble sort *note 10 numbers to be inputed.

Member Avatar for polisure
0
202
Member Avatar for Awah Mohamed

Hey people wats up . People ... I need your help . I want to learn php , ok i know the basics of php from w3schools but in w3schools all the php lessons are not too advanced , so if you know a website where i can learn advanced …

Member Avatar for Awah Mohamed
0
83
Member Avatar for amras123

This is the error i get when im trying to Run my AccountServ.exe it pop ups an error DB LOG Connect Failed. SQLSTATE:IM002 error:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

0
51
Member Avatar for ujwaliyer

i want to insert rows one by one into a database in the sql server 2005. the problem is that i have tried all possible but the rows just dont get added to the database, i get an exception on executing this code, i get this exception Unhandled Exception: System.IndexOutOfRangeException: …

Member Avatar for safe2010
0
271
Member Avatar for queryme

Hi I have an Excel file with two columns. name and number and having some data in that excel file. Name Number kumar 9090090909 XYZ 900909099 ABC 1234512345 Now i want to get the data in to asp.net textbox controls. Can any one help me doing this in Asp.Net Thanks …

Member Avatar for mono_jit23
0
432
Member Avatar for Stefano Mtangoo

Hi, I have abstract base class with some kids deriving from it. I want its kids to be concrete classes But I don't want to implement the all methods of the class. I'm trying to find a trick to go around doing this and I'm running out of thought on …

Member Avatar for Stefano Mtangoo
0
130
Member Avatar for gsureshbabu

Hi Experts, I need to have a shell script to compare two directories and if new file is created in Dir1 it should be copied to Dir2. can some one help me, i am not aware of scripting Thanks & Regards Suresh

Member Avatar for garryamin
0
89
Member Avatar for wtf4096

My offline data processing tool (written in C++) is being wrapped under webservices so that it can be executed remotely. We did that already - meaning we have a webservice that can kick off the data processing. However, for some reason, the very same webservice should not grab the data …

Member Avatar for garryamin
0
145
Member Avatar for Kadafiz

i made a PHP page that calculating bill of medical institute. i need to print the bill from this page. bt using window.print command it print whole page with buttons also.. bt i dont need no buttons.plz help me to print bill.. thnkuuu

Member Avatar for Kadafiz
0
175
Member Avatar for nv136

Hello Everyone, I need some help with constructing a waveform in vb.net. Can maybe someone give me a hint of how to make one? (a bit of code would be nice) I already know that to generate a waveform, you need a timer, if there anything else? Help would be …

Member Avatar for nv136
0
332
Member Avatar for gangaloves7

hi i wanna combine all three column values in column... i want some thing lik this PartNo Stock Obsolute Replaced order part no 12345 10 12345 12346 10 12346 12347 11001 11001 12348 11002 11002 12349 12349 Empty 12350 12350 HELP ITS URGENT!!!!!!!!!!!!!!!!!

Member Avatar for kinwang2009
0
125
Member Avatar for AjithAnnadurai

i created one blog . In that i put other site links . When users clicked that link it opened in the same tab . i need html codings to open in another tab if users click that link . please help

Member Avatar for AjithAnnadurai
0
84
Member Avatar for vhea

... hello everyone... i'm a computer science student here in the Philippines and i just want to ask help on how to develop a game... honestly, i am very clueless on how can i start my program... i really don't know what to do. i need to make a program …

Member Avatar for Ketsuekiame
0
156
Member Avatar for tinamary

i know the concept of abstract class in java and this concept is used in interface, i.e all the methods declared in interface are abstract. i want to know how the abtract class is different from the normal class in java Thanks a million

Member Avatar for jon.kiparsky
0
155
Member Avatar for harris21
Member Avatar for Yaserk88

Hi I'm trying to create a random number generator with float values ranging from -1 to 1 i.e.. [-1,1]. The only problem is I can only find methods that do it from [0,1]. Can anyone help me with this? Here is what I have so far.... [CODE]Random r = new …

Member Avatar for tong1
0
98
Member Avatar for NewOrder

my goal here is to create a new array from the old array according to a Criteria that i set (all numbers above 100 and even).. however the program gives me 2 mistakes, and i dont know why? [CODE] public class Array { public static void main(String[] args){ Manipulate manipulate=new …

Member Avatar for jon.kiparsky
0
93
Member Avatar for John Sand

Hi! Still being an absolute beginner, I can't find a reason for why this program doesn't run properly (note that the program is not complete). It is possible to compile it but it encounters some kind of error when executing. The string saves the file properly I have checked this …

Member Avatar for John Sand
0
174
Member Avatar for W1ND0W5

Sorry about asking all of these questions, but I am making an app and I have had a request for when the user types into the text box he can automatically hit Enter and it will navigate to the specified destination. However I have tried EVERYTHING and I cannot get …

Member Avatar for W1ND0W5
0
105
Member Avatar for lgriess

How do I configure the PasswordRecovery object so that I can pull the password from the webservice rather than allowing direct access to the sql server database? Where does PasswordRecovery even do the sql for getting the users password from the database? All the examples I've found show the PasswordRecovery …

Member Avatar for Momerath
0
163
Member Avatar for dschuett

I have the following code to search my database, I would like to display the # of results found and display it in the line of code below that reads "Search Results:" - so it would look something like this... Search Results: 10 matches found. And 10 would be the …

Member Avatar for dschuett
0
133
Member Avatar for perryg30313

I have two forms. Form A and Form B. Form A has a datagrid that is populated from a SQL Database Table query. When a button is pressed Form B is launched that allows you to add a record to the database table. I need for the datagrid to be …

Member Avatar for perryg30313
0
194
Member Avatar for totalwar235

i am trying to review what C++ stuff i have learned last year before high school starts, but the code i am writing does not run properly after i compile it. the code compiles the code does not execute. the code does not execute after Recruit() runs C_Name() to get …

Member Avatar for totalwar235
0
110
Member Avatar for Jackk123

Hello there my second topic I need to write a function that writes 10 random numbers into a file. I came up to this point: [CODE]#include "stdafx.h" #include <iostream> #include <fstream> using namespace std; int main(){ ofstream outfile("C:\\Random"); //Random as in you can put any file you want for(int i …

Member Avatar for Jackk123
0
148
Member Avatar for mm77

hi everybody, greetings.. my thanks in advance for your help.. right now i a m involved sms -chat application vb.net. in this project i send the sms to mobile form pc.and get the reply as same. so i created client / server based program by tcp/ip based... because i put …

Member Avatar for krunal1089
0
304
Member Avatar for twistedphrame

Hi, I'm attempting to generate a new cipher key using a string that was negotiated earlier on. On running the code I get the error: Exception in thread "main" java.lang.IllegalArgumentException: Missing argument at javax.crypto.spec.SecretKeySpec.<init>(DashoA13*..) at shared.Cryptographer.makeCipher(Cryptographer.java:254) at client.Main.main(Main.java:60) Java Result: 1 the code is as follow: [CODE] public void makeCipher(String …

Member Avatar for twistedphrame
0
920
Member Avatar for Naveed_786

I want to display date and time on top of the form where normlly written form1 forms name i want to display date in formate of for example 23 August 2010 and time in this formate 12:33:20AM Please please help.

Member Avatar for krunal1089
0
126
Member Avatar for micial30

can anyone help me to construct the code: i dont know how to make the code of entering the operator ,the function of the operator when it was input and the output of the result . limit of the result is 500, Enter First Number:2 Enter Second Number:6 A=+ || …

Member Avatar for coil
0
163
Member Avatar for cnmsg007

It is Object-Oriented Programming(c++). I have already done part2a and 2b, I need some ideas for the rest,it is really grateful if you could give me some ideas about that. THANKS!! The following is the project: 1. Task b. Identify the objects and classes to be used in the program. …

Member Avatar for Lerner
0
118
Member Avatar for student_

this error keeps plaguing me with the code: [code=python] option = input('What would you like to do? ') if option == 1: newExpence = addExpence(totalBudget) totalBudget = totalBudget - newExpence elif option == 2: removedExpence = removeExpence(totalBudget) totalBudget = totalBudget + removedExpence elif option == 3: newRevenue = getNewRevenue() totalBudget …

Member Avatar for snippsat
0
135
Member Avatar for newbie_to_cpp

Hi All Can someone pls help me on this one. Under nested 'if' conditions inside 'case', i have 2 sections. If i choose to go to section 1 or 2, when i am done, how can i return back to the primary 'if'. Any help will be highly appreciated. This …

Member Avatar for newbie_to_cpp
0
125
Member Avatar for SKANK!!!!!

i am making a webstore and it has a table that has all the items in it. like each item has its own row in the table called like "items" or something right and each column is specific to all items. but im lost what to do with orders. i …

Member Avatar for SKANK!!!!!
0
794
Member Avatar for bsewell

Hi all, basicly, I'm writing some code so that when a user clicks on an image, a div will be displayed where the user has clicked. My jQuery code isn't working, so wondered if anybody knew how to fix it. All of this is in my document.ready() function. [CODE] $("img.image").click(function(e){ …

Member Avatar for hielo
0
152
Member Avatar for SBA-CDeCinko

The following function works fine. [CODE] public int AddRecord(String MsgTo, String MsgFrom, String MsgCC, String MsgBC, DateTime DateSent) { SqlParameter[] sqlParams = new SqlParameter[] { new SqlParameter("@MsgTo", MsgTo), new SqlParameter("@MsgFrom", MsgFrom), new SqlParameter("@MsgCC", MsgCC), new SqlParameter("@MsgBC", MsgBC), new SqlParameter("@DateSent", DateSent), }; return logContactUsMessage.insertMessage(sqlParams); } [/CODE] However, when I try and …

Member Avatar for Momerath
0
176
Member Avatar for dalip_007

Hi Guys i am working in a site say sample.com. which should have a search engine . this search engine should search videos from another site say sample2.com or youtube.com for example. it will only show thumbnail, views rating etc of the fetched video. and when user will click on …

Member Avatar for =OTS=G-Man
0
118
Member Avatar for =OTS=G-Man

Hello everyone, I am working on a C# app that uses the YouTube .NET API but have come up with an issue, and I'm not sure if its the .NET Wrapper or just something I'm Doing. Ok heres the problem, I request the list of videos the logged in user …

Member Avatar for =OTS=G-Man
0
560
Member Avatar for srikanth2321

Hi, I have a software which contains a jar file. To use it I need to type "java -cp IPC.jar ipc.IPC -c CCl4 -t > CCl4.txt" in the command line. I want to invoke this in C#. I used this following code but it is doing nothing, no errors. [CODE] …

Member Avatar for PierlucSS
0
1K
Member Avatar for GregMalick

I'm trying to write a Windows App that will let me write or draw in a window and still see what's below. Kinda a transparent Notepad with Borders. It's easy to create a transparent Window using: CreateWindow() with wndclass.hbrBackground = (HBRUSH) 0; But in the CALLBACK WndProc() where I'm drawing, …

Member Avatar for GregMalick
0
262
Member Avatar for bninja

Hi all My code for the server side : [CODE] Dim bmp As New Bitmap(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height, Imaging.PixelFormat.Format24bppRgb) Dim gfx As Graphics = Graphics.FromImage(bmp) gfx.CopyFromScreen(0, 0, 0, 0, My.Computer.Screen.Bounds.Size, CopyPixelOperation.SourceCopy) Winsock1.SendData(bmp)[/CODE] And for the client side in the DataArrival event : [CODE] On Error Resume Next Dim img As Image Winsock1.GetData(img) …

Member Avatar for bninja
0
180
Member Avatar for sara10mor

When loading my web page I'm getting this error "stack overflow at line 0" What can be the reason for that? Is it related to the images I'm using in my site? Thanks S.M

Member Avatar for 99MichaelB99
0
238
Member Avatar for Martje

Hi Daniweb users, I am attempting to make a database in c++ by saving the information to a class and then saveing it to a file. but i dont know if that is a good way to do it. Here is a example picture of the database i am making …

Member Avatar for mike_2000_17
0
169
Member Avatar for gameon

I am trying to make a c programe which will work like dos copy command. I am able to copy the one txt file but this programe is not working with other extension file. [CODE]Void main() { FILE *fp,*fp1; char c; fp=fopen("source","r"); fp1=fopen(" destination","w"); while((c=getc(fp))!=EOF) putc(c,fp1); fclose(fp1); fclose(fp); }[/CODE]

Member Avatar for Adak
0
82
Member Avatar for lacaroix

im a beginner in vb.net.im developing for myproject in windows application.my ques:how can i display data in textbox from choosen dropdown menu?user choose a item in combobox,then after click a button the meaning of data appear in textbox..i need some help..tq in advance

Member Avatar for dustinsierra
0
3K
Member Avatar for group256

Dear All, I'm trying to sort a list of structs using STL library. [CODE] struct myStruct { int i; string s; }; bool compare(int first, int second) { if (first < second) return true; else return false; } int main() { list<myStruct> myList; /* Pretend that myList has elements with …

Member Avatar for mrnutty
0
5K
Member Avatar for Stony

[COLOR=#000000]:sad: My teacher is killing me, he just graduated from Yale, and he hasn't been teaching long that is very apparent. I don't know, but I think this has something to do with the complexity of his assignments for this, the first class you take for Computer Science, C++.[/COLOR] [COLOR=#000000]In …

Member Avatar for dusktreader
0
244
Member Avatar for gaurav_13191

Hi coders,I have a small problem regarding pointers, I am a bit weak in pointers and need to understand why the following is wrong: [CODE] int main(void) { char *a; gets(a); return 0; } [/CODE] This causes an exception, please explain the error. I am using Turbo C as compiler, …

Member Avatar for gaurav_13191
0
109
Member Avatar for eawedat

hey all I have these lines [CODE] create table Singers(SingerName varchar(30),picture text,id int primary key auto_increment); create table Songs(id int primary key auto_increment,sid int,foreign key(sid) references Singers(id) ON DELETE CASCADE); [/CODE] In situation I want to delete a Singer for example who has the id->1 from Singer's table automaticaly to …

Member Avatar for eawedat
0
140
Member Avatar for BestJewSinceJC

[CODE] Integer i = 5; Integer j = 5; if (i == j) System.out.println("true"); [/CODE] ^ Prints true [CODE] Integer i = new Integer(5); Integer j = new Integer(5); if (i == j) System.out.println("true"); [/CODE] ^ Does not print true. I understand that in the second case, the == is …

Member Avatar for BestJewSinceJC
0
109
Member Avatar for danny4444

Hi there, I believe I am having trouble with the response that is received by the Ajax request. I have posted something similar to this but the response returned was XML not plain text (or html). I am guessing this should be easier but I can't figure out or find …

Member Avatar for hielo
0
240
Member Avatar for SKbirdie

I am writting a large if / else tree in an existing website. My include libraries have to be put into the html program using a scripting language called SpeedScript. These includes bring in the login data that I am testing in my if tree. Instead of using the if/else …

Member Avatar for hielo
0
183

The End.