199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
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...... | |
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 … | |
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 … | |
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 | |
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 … | |
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> … | |
I work with joomla and i want to build a module for tourism field. Anyone have a relative module ? | |
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] } … | |
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" | |
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 … | |
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 … | |
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? | |
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? | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 … | |
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... | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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++. … | |
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]/* … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Which type of license I need for a desktop standalone application developed on COLDFUSIONMX ???? | |
I i am new for .net any one can help me creating tables 1 to 100 using javascript |
The End.