199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for FallenPaladin

Hi, i am having a bit of trouble condensing some basic drag and drop code and i am hoping that someone can help me. to reduce code i have created a subroutine to handle the proces, however i still have a large number of event handlers calling this process. I …

Member Avatar for Ramy Mahrous
0
354
Member Avatar for a496761

I am creating a user control in ASP.NET 2.0 that includes a DropDownList. Does anyone know how to get the collection of ListItems that are hard coded between the opening and closing tags of my custom control into the DropDownList inside my user control? I feel like I should know …

Member Avatar for a496761
0
125
Member Avatar for sofia24

Hi there! I've developed a program in C# that calls a stored procedure in SQL server. Is it possible for a stored procedure to pass back a result set with multiple rows? If so how do I access these values in my application. Many Thanks!

Member Avatar for Ramy Mahrous
0
85
Member Avatar for aamirbabar

Hi: Hello everyone. At first you may be thinking so what is the big deal in implementing paging. But actually its not that simple. Here is what i have to implement. The main parent window where the user gets the records in a datagrid based on dates params in the …

Member Avatar for aamirbabar
0
73
Member Avatar for Alekhan

Hello All, I am developing one software in which i am reading from CSV file, And I am able to see that data in DataGridView and now i want to copy that data into a table Name customer from database name MainData.mdb. While I wanna check that the CustomerCode already …

Member Avatar for Ramy Mahrous
0
97
Member Avatar for aminit

Hello All: I want to make a timer (desiding) , appear in my form and I want to set it value(10 min,15min etc..) , any idea please ????? Thanks in advance......

Member Avatar for aminit
0
83
Member Avatar for Nick Evan

I have a problem with session in combination with DNS. I use have a webpage where some areas are restricted. So I use a log-in screen which sets the session username and writes the sessionid in a DB. When you try to access a restricted page, a script checks if …

Member Avatar for Nick Evan
0
130
Member Avatar for Grantmitch1

Hello Daniweb community, I am and probably will always be amazed at Java. I was just wondering where did people learn Java... I was thinking about taking it up in my spare time to learn Java, and as a college student its not like I dont have plenty of spare …

Member Avatar for majestic0110
0
90
Member Avatar for elanch

hi friends! I need to know how to create a graph in vbasic. please send the syntax.possible with eg. I also need to know how to link one form with another. Thanks in advance. elanch

Member Avatar for debasisdas
0
122
Member Avatar for toshibata

So i did my code, he asks for the string then i put it, then he tells me what string i put in but for some reason i dont understand he doesnt show the capitalized first letter for each word coverted string. Here is my code: import java.io.*; public class …

Member Avatar for stultuske
0
104
Member Avatar for kilermage

I need help on these errors I get, I don't know how to fix them. Can someone help me please. [B]errors:[/B] theiving.java:6: <identifier> expected public void theiving(playerId) { ^ theiving.java:8: illegal start of expression public int stealtimer; ^ theiving.java:143: illegal start of type if ((c.objectID == 4462)) ^ theiving.java:143: <identifier> …

Member Avatar for stultuske
0
156
Member Avatar for htcorp

I work with joomla and i want to build a module for tourism field. Anyone have a relative module ?

Member Avatar for lokeshsinghjado
0
120
Member Avatar for smiles

Suppose I have a function like that [CODE]char OnRelease() { int i,j,k; int row[4]={PIN_A0,PIN_A1,PIN_A2,PIN_A3}; int col[4]={PIN_D3,PIN_D2,PIN_D1,PIN_D0}; char array[16]={'1','4','7','<','2','5','8','0','3','6','9','>','C','&','E','M'}; set_tris_a(0xff); set_tris_d(0x00); k=0; for(i=0;i<4;i++) { output_d(0xff); output_low(col[i]); for(j=0;j<4;j++) { if(input(row[j])==0) { do { } while(input(row[j])==0); return array[k]; [B][COLOR="Red"]//// will jump out of this function with the value I got ??? [/COLOR][/B] } …

Member Avatar for VernonDozier
0
106
Member Avatar for Dani

How can I invoke a shell script with parameters from within a PHP script? For example, from within my web-based PHP script, I want to execute the command "/home/cscgal/script.sh -f foo"

Member Avatar for carobee
0
177
Member Avatar for ashishparihar

Hello All I have two classes 1. Employee 2. Project both classes have a create function create function of Employee class creates a new Employee it takes object of Employee class as input parameter and return bool create function of Project class creates a new Project it takes object of …

Member Avatar for Ramy Mahrous
0
111
Member Avatar for Prince89

Hi Friends, I am new to this forum as well as new to shell scripting. I have a problem here and i need someone to solve this. Let us consider there are two processes(abc & def).There is a script which kills these two processes(i.e killtheprocess abc). Here abc is the …

Member Avatar for chunchuwar
0
114
Member Avatar for ili82

Hi I'm triying to develop an application to read barcode (from laser scanner) and manipulate the string with mysql. I've read something about serial port but i'm not sure how to do it. Could somebody give me a piece of advice?

Member Avatar for raghusan
0
109
Member Avatar for asif08

I want to write a string named output to the console screen. How do i do that? string output= "hello world" How can I write the output to the screen?

Member Avatar for srinunarra
0
103
Member Avatar for abidbhat

Hello friends my program (.exe file) is running cool in my machine but when i try to run it on other machines it does't work ................ i made it in VC#.......................can anybody tell me how to make an exe compatible with all the machines ..................... Reply is Must Thankyou

Member Avatar for Killer_Typo
0
191
Member Avatar for torbecire

I am having a problem with nested loops. When I run the program it gives me the first 16 results want then it prints out more values than I require. I want it to print out 16 values then stop. I also do not know how to change the foreground …

0
63
Member Avatar for mukund_007

I have Used following code to Insert Values in the table: <%@ Import Namespace ="System.Data" %> <%@ Import Namespace ="System.Data.SqlClient" %> <script runat ="server" > Sub Create(ByVal obj As Object, ByVal e As EventArgs) Dim ConnString As String Dim SQLstr As String ConnString = "Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\ERL.mdf;Integrated Security=True;Connect …

Member Avatar for saeed262626
0
126
Member Avatar for Dj Saturn

Hello, I'm new to these forums. So I know how to program from I/O operations to making your own headers files and.. i was wondering if anyone could point me in the direction of beginner programming tutorials for windows applications? i want to implement the stuff i know to actual …

Member Avatar for Ancient Dragon
0
106
Member Avatar for cometburn

i have a group header on a data report(Section6), ill use this section to view the Comp. Name, Ip Add.. etc... while the detail section(Section1) will be used to view the applications used by each comp. obviously, each has thier own tables. my question is, How am i going to …

Member Avatar for Jx_Man
0
449
Member Avatar for RexxX

Back to where I was, now I'm learning how to use fgetc properly. Does fgetc read in a character? If so I can't find my error in my code and I'm getting a a segfault. Can you help fix it and explain why it doesn't work? Thanks [code]#include<stdio.h> //declare variables …

Member Avatar for Aia
0
221
Member Avatar for BBallAsh23

Hello DaniWeb users, I hope one of you can assist me. I did search and found nothing to help me. So below is my code and I am hoping that someone can please tell me what on earth I am forgetting. I have been playing with this for quite some …

Member Avatar for BBallAsh23
0
133
Member Avatar for allsenseless

I need help I am pretty new to JavaScript... I try my best at it but I am getting lost and need some help. What I want to do is grab an elements width and height and apply it to a window or a popup window. In my case this …

Member Avatar for DangerDev
0
110
Member Avatar for Delta424

I am a begginer at python and only know the very basics. I was wondereing if anyone was experienced at Python and had any time to help a begginer. As far as first projects go I wanna make a program that can generate random numbers, letters, or words (in 3 …

Member Avatar for Delta424
0
82
Member Avatar for csteverun

I have a program which uses the SDL library. Here is my function which updates the input state: [code] int SDL_UpdateControls () { int qevent = 0; while(SDL_PollEvent(&event)) { qevent = 1; switch(event.type) { case SDL_KEYDOWN: SDL_keydown = event.key.keysym.sym; break; case SDL_KEYUP: SDL_keyup = event.key.keysym.sym; break; case SDL_MOUSEBUTTONDOWN: SDL_mousedown = …

Member Avatar for csteverun
0
176
Member Avatar for amanda4help

I have a homework assignment to create a program to calculate the full date of Easter Sunday between the years 1900 and 2600. The following is the error I receive: error C2784: 'std::basic_ostream<_Elem,_Traits> &std::operator <<(std::basic_ostream<_Elem,_Traits> &,const std::basic_string<_Elem,_Traits,_Alloc> &)' : could not deduce template argument for 'std::basic_ostream<_Elem,_Traits> &' from 'std::basic_istream<_Elem,_Traits>' My …

Member Avatar for zandiago
0
501
Member Avatar for Sroxx

heyy everione this is ma first post here ive been readin sum posts here for i guess for a month, i want u guys to suggest some codes or features in vb to make the layout of the forms attractive thx in advance...

Member Avatar for cometburn
0
291
Member Avatar for zclevenger

I have just started using python and am stuck on a particular project. I have been stuck staring at my computer not knowing what to do. I will post details below. What I am trying to do is use a CSV file named country.csv in which information about countries is …

Member Avatar for jrcagle
0
173
Member Avatar for lkk2116

I am new to python. Infact started yesterday and feeling out of place. I need to write a program which would transfer files under one folder structure (there are sub folders) to a single folder. I was going through COPYTREE in shutil. But some how I am not able to …

Member Avatar for jrcagle
0
101
Member Avatar for sudane

Hello all, this tools is used to load CSV files to SQL server table. all the tools that i found on the internet are not free, i have developed this tool so it can help you. regards download link here: [url]http://www12.sendthisfile.com/d.jsp?t=J8hEGXcRYqej3qrjku3N63Eh[/url]

Member Avatar for Jx_Man
0
255
Member Avatar for edchabz

I thought I knew what I was doing but I obviously don't. I have to make a file that takes numbers that the user inputs and converts them into fractions. I have most of the work done. I have constructors and return methods that create fractions and change some numbers …

Member Avatar for edchabz
0
104
Member Avatar for CaffeineCoder

I'm getting an error message below and can't figure out why. The message is as follows: Exception in thread "Thread-3" java.lang.StackOverflowError at java.awt.geom.Ellipse2D$Float.getX(Ellipse2D.java:92) at java.awt.geom.EllipseIterator.<init>(EllipseIterator.java:25) at java.awt.geom.Ellipse2D.getPathIterator(Ellipse2D.java:405) at java.awt.geom.Path2D$Float.<init>(Path2D.java:215) at java.awt.geom.Path2D$Float.<init>(Path2D.java:190) at sun.java2d.pipe.LoopPipe.fill(LoopPipe.java:249) at sun.java2d.pipe.LoopPipe.fillOval(LoopPipe.java:123) at sun.java2d.SunGraphics2D.fillOval(SunGraphics2D.java:2158) I'm getting this on the specified line of the code below (`explosion[i].paintSprite(g);`). If …

Member Avatar for CaffeineCoder
0
245
Member Avatar for justted

Hello everyone and happy christmas, I have a virtual pet website which has multiple level users, or if you like, different ranks from 1 - 10. 1 is suspended and 10 is master admin. I have worked out how to give access to an admin page for users with the …

Member Avatar for justted
0
172
Member Avatar for gopi kannan

i have wamp server 2.0...iam new user of php..i wrote my script in notepad and saved it in the directory i created in www folder with extension php..but when i tried to run my script using wamp..the script file is with extension .php.txt and the server just displays my entire …

Member Avatar for richie513
0
288
Member Avatar for sourcecode

Hi All, I am web developer with some experience in PHP programming. I am keen to learn java technologies like JSP, servlets, struts and so on. Was wondering if i can get some working sample projects in jsp, preferably small well written projects with some description on how it works. …

Member Avatar for bugmenot
0
110
Member Avatar for chocl8drop

I'm trying to write a solution to the 8 queens problem. I am trying to start with a empty board. I keep getting the following error "error C2664: 'SetQueen' : cannot convert parameter 1 from 'int' to 'int [][8]' Conversion from integral type to pointer type requires reinterpret_cast, C-style cast …

Member Avatar for Dave Sinkula
0
127
Member Avatar for PaKmAn

Develop a C++ program to determine a student’s letter grade based on a given integer test score. If the test score is 90 or more, the grade is ‘A’. If the score is between 80 and 89, the grade is ‘B’. If the score is between 70 and 79 the …

Member Avatar for PaKmAn
0
140
Member Avatar for Azurea

Hi there. I'm pretty new to the C++ language (came from Python :lol: ) and I was wondering how to create a library. In Python I used to create files with functions that can be used in other programs, and I want to know how to do that in C++. …

Member Avatar for Dave Sinkula
0
130
Member Avatar for karinmorena

I have been trying to work on this calculator for a while and I need help. I'm getting "12" errors. I'm very new at this and I really need the help of someone that can please take the time to explain what I'm doing wrong. I would really appreciated. [CODE]/* …

Member Avatar for karinmorena
0
333
Member Avatar for firebirds98

I am new to SQL and I am making an asp.net page in which is a small airline service for a project for scool. For one of my tables I have: AccountID, CustomerName, FrequentFlierMiles, FrequentFliernum for my column names. The acount AccountID column can not have duplicated values and FrequentFliernum …

Member Avatar for SheSaidImaPregy
0
92
Member Avatar for cosmos22

Using the code below, I tried to implement a second line of code to delete another file in the same folder. I got an error message as a result. I'm using messenger as an example: I tried to replecate this line: const char * pFileToDelete = "h:\\MSN Messenger\\myfile.txt"; into something …

Member Avatar for cosmos22
0
96
Member Avatar for matt999tye

I keep getting operand size conflict errors when I run this program I cant seem to get it right! Write an assembly language program that will use multiple precision arithmetic to add the following defined word (dw) numbers in defined 16-bit registers (like ax, bx, cx and dx). (hint: use …

Member Avatar for Duoas
0
173
Member Avatar for cj-read

I have a .csv file of data which has the following format: int,string,float,float,float,float, where the string is always 3 characters. I want to read the file in and sort column 5 relative to column 1. i.e. 1,b,1.11,2.22,3.33,200.00 3,c,1.11,2.22,3.33,100.00 becomes 3,c,1.11,2.22,3.33,100.00 1,b,1.11,2.22,3.33,200.00 etc. I'm a novice programmer and I don't quite …

Member Avatar for vmanes
0
270
Member Avatar for eddy556

I have a JSP which inserts date into a MS Access database. But I keep receiving the error: 24: statement.executeUpdate("INSERT INTO Questions WHERE ID ='"+ID+"'(\"Question\", \"Answer\", \"Timestamp\", \"Author\", \"Customer_Useful\", \"Customer_NotUseful\") VALUES ('"+Question+"','"+Answer+"','this has been updated','"+Author+"','0','0')"); I have checked and checked all the values are there and correct and that the …

Member Avatar for masijade
0
404
Member Avatar for foundsheep

I have two drop downs (the 1st pulls from 1 db table then populates the second which pulls from a 2nd db table) with the idea of having them both populate fields of a form on autopostback. The user will then fill out the remaining empty fields. I have not …

Member Avatar for SheSaidImaPregy
0
270
Member Avatar for gpptst@email.it

Which type of license I need for a desktop standalone application developed on COLDFUSIONMX ????

Member Avatar for gpptst@email.it
0
86
Member Avatar for srinukatkam
Member Avatar for katarey
0
248

The End.