199,114 Archived Topics
Remove Filter ![]() | |
Hi , i am working on vb forums and every thing was fine , but when i put the .htaccess file this errors comes : [B][COLOR="Red"]The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [email address removed] and inform … | |
Hi, I need to transfer data from file to fields... Can anyone help me? file: [CODE] name surname weight age male/female name surname weight age male/female marek mixa 70 23 M ... [/CODE] kód: [code] typedef struct lidi { char cl_jmeno[16], cl_prijmeni[21], cl_muz_zena[1],cl_vyska[3], cl_vaha[3]; } LIDI; LIDI lidi[6]; [/code] i … | |
I'm implementing a Timer for different cities using GregorianCalendar class of java.I got a Null Pointer Exception in the following code in ---- target.timeElapsed(this) line.After a lot of practices,I don't got it out.Plzz help me to sort it out.. Here's my code---------- import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.util.*; … | |
Hi guys! i'm using Visual Studio 2005 C#. I like to ask this question about GUI. How can i pass value from one form to another? For example, the user have to key-in the amount of money he/she needs to borrow in form1.cs Then on form2.cs, i need to get … | |
I am receiving a successful build msg, but I cannot get my program to run correctly. Hereis the msg. followed by the program:[CODE]init: deps-jar: compile: run: java.lang.NoClassDefFoundError: Inventory5_5 Caused by: java.lang.ClassNotFoundException: Inventory5_5 at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) Exception in thread … | |
I have a question to ask, please see attached images: [URL="http://www.killerinstinct.co.za/stats.gif"]stats1[/URL] [URL="http://www.killerinstinct.co.za/stats2.gif"]stats2[/URL] In the CMS, I have a stats page as seen (IMAGE 1), it captures all the necessary stats regarding the website and its entities. This stats page should be generated every month on the fly. Since all these … | |
Hello, I'm using below PDO connection class but didn't shows any result , [B]Pls reply if u found any bugs[/B]..- [code=PHP]//name connect.class.php class Connection { private $connection; private $username; private $password; private $dsn; /** * To connect to another database, change the "mysql" in the dsn attribute to * the … | |
hi every one i find this code and i read this descreption about it : code to call function after u click on it [CODE]<a href="<?php $_SERVER['PHP_SELF']?>?type=del"> <img src="del.png"/> </a>[/CODE] my qidtion : can i know any information about image when i call function using this code i mean can … | |
I thought I did perfectly but I want the histogram to like the graph: [code=cplusplus] #include <iostream> #include <cstdio> #include <ctype.h> #include <cstdlib> using namespace std; int main(int argc, char** argv) { int i, cols ; cols = 50 ; int line = 60 ; int c; int max = … | |
i need a prog to find the num of solution possible for n queen can anyone help???? waitin 4 a reply as soon as possible...... thx... | |
I want to update an access db with multiple records. They are property pictures. They may have the same listnumber, but all have a different ID#. There are not always a set amount of pics... may be 5 or 7 or 10, etc.. The DB fields are id, filedata (actual … | |
I have a detail view that is displaying information from a table called demos. I am currently displaying a hyperlink so that someone can click the link and go a page (intense, I know!) I would like to make the hyperlink go to different pages based on the value of … | |
I want an email application using php. The code is like this. [code=PHP]<?php $to = "example@mail.com"; $subject = "My subject"; $txt = "Hello world!"; $headers = "From: [email]abc@rediff.com[/email]" . "\r\n" . "CC: [email]abc@rediff.com[/email]"; mail($to,$subject,$txt,$headers); ?>[/code] but an error has occured Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" … | |
Hello, i have a database that came with MYSQL statements to get it working but we are using MSSQL and have managed to convert a large proportion of them but there are two statements we are having trouble with and wondered if anyone could help. The first is below: [CODE]SELECT … | |
Hi All Its my first time using LING in vs2008. Im pretty comfortable with do changes to the database (INSERT, UPDATE, DELETE, etc) using LINQ & the DataContext object. However I'm trying to do a little login page. A user will enter their login details (username & password) into textboxes. … | |
what is the equivalent function of len in vb6 in c #? example is: VB: string s; s = len(txt1.text) what is len's equivalent function in csharp? | |
I am replacing a single quote by double quote in a String I am getting an error Method replaceAll(java.lang.String, java.lang.String) not found in class java.lang.String. my jdk version is 1.2.2 Can anyone help me so that i can use the same function without changing my java version | |
[B]Scenario:[/B] I have 2 gridviews, clientgridview for showing the clients and the projectgridview for showing the projects. If I Click on the Client name on the the clientgridview i will be directed to the project gridview to show the different projects of the client [B]Problem:[/B] when i click on the … | |
Hello Guys Can you please help me, I'm getting an error message: [COLOR="Red"]Element 'html' cannot be nested within element 'div'.[/COLOR] I have been trying for a long time to fix this problem. One of the solutions I tried was to delete that linr completely but nothing was being returned upon … | |
Just want to check my code to see if I wrote them right. If wrong please correct me Create a cfif block that checks for the condition: IsDefined("url.productid") AND NOT IsDefined("form.productid") --- so I wrote [code]<cfif IsDefined("url.productid") AND NEQ IsDefined("form.productid")>[/code] Create a ciff block that checks for the condition: if … | |
pushl $3 pushl $2 call power addl $8, %esp pushl %eax pushl $2 pushl $5 call power addl $8, %esp where shall save the return value of function power after it`s second calling , i mean probably in %eax , but shall be overwritten the old value of %eax or … | |
The code below suppose to ask a user the person's name and compare that name with the names in the file and if found it must display the name's details such as Age and gender and ask the user if s/he wants to edit the person's details if the user … | |
Hi, I have a dynamically generated form, and each listing contains a checkbox named 'del'. The users checks the 'del' checkbox next to each listing they wish to delete, and click the submit button. If there are multiple listings/checkboxes on the page, then the script I have works quite well, … | |
[B]I have problem with dijkstra algorithm [/B] [B]I want to write it in c++ and can not describe it in c++ //[/B] [B]please help me[/B] | |
hello, I have to write a program that draws a chart from dictionary entries. I am able to make a draw a chart however it is unsorted. How can i get it sorted. Please help asap. THANKS in advance. [CODE]from random import shuffle from graphics import * def main(n): win … | |
Greetings, I have a form that uses a child popup form to generate data for some fields on the form. The same popup is used for several fields. The forms use php & javascript. An example of the field to be filled and the button that activates the popup is … | |
Hello guys. I wanted to know how I can go about writing what is selected in a Jcombobox to a datafile. This is an example of what I'm trying to do but when I compile i get an error. How can i correct the line "output.writeUTF(number.getSelectedIndex());" [code=java] String[] numbers = … | |
I've heard that pointers can be a pain in the butt to implement and now I know.. Basically, I'm supposed to input a last, first and middle name. Then compute the size needed for a dynamic array to hold the full name. After that dynamically allocate the array, check DMA … | |
I have a basic program that access a local Access database, reads data from it into a datagrid, and then allows me to manipulate it by using textboxes. I can add, delete, and search for records. I want to remove the textboxes from the equation completely. Is there any way … | |
can u spot the error in this code.. [CODE] Private Sub fncExcelExport(ByVal strSql As String) 'fncExcelExport("SELECT * FROM tbl_rop WHERE Name_User ='" & (TextBox1.Text) & "', Date_of_birth= '" & (TextBox2.Text) & "' , Hobbies='" & (TextBox3.Text) & "' , Phone_Number ='" & (TextBox4.Text) & "' where Name_User = '" & … | |
Hi, i am creating a project and i am having a problem i have created an image in a rectangle using the following code: [ICODE] Dim d As New Rectangle(Width - 127, 8, 22, 15) e.graphics.DrawImage(My.Resources.close, d.Location)[/ICODE] now the problem is that if the user click on the image, i … | |
I have to find the largest item in an arry as a recursive function. Can't seem to get it right. Any ideas. [CODE]#include <iostream> using namespace std; int maxArray( int anArray[], int n ); int main() { int anArray[4] = { 1, 6, 8, 3 }; cout << "the largest … | |
Ok, im almost done with my program all i need now is some scripts. I need to know how i can make a button open a second form in my project. I also need to know how to open notepad with a button. I really need help i will greatly … | |
I've added a treeview control <asp:TreeView.....> to a web application. The control is nested within a form tag, which itself is nested under an HTML div tag. It looks like this: [code=ASP] <div id="sidebar"> <form id="form1" runat="server"> <asp:TreeView id="TreeView1" runat="server" DataSourceID="XmlDataSource1".......> </form> </div>[/code] The control works fine except that the … | |
hey am still in high skool about to go in 5th year am looking for a ways to get in to games development i live in Glasgow any courses or recommendations? thank for having a look | |
Hi, I am trying to install Oracle 9i but when it comes to Java Runtime Environment, it asks me path for it. I have JRE installed in my Computer. What else do i need to proceed this installation? Thanks | |
I have a wondering. I am using something called ZedGraphControl to draw a Graph. I have managed to do all this work, to draw a Graph out of different values. The problem is that if I have drawed a graph and change some values and draw a Graph again, the … | |
os version =windows xp hi guys i'm having problems using pygame the following code just does not seem to work. Code: ( text ) 1. clock=pygame.time.Clock() 2. while True: 3. sound1.play() 4. clock.tick(60) 5. pKeys = pygame.key.get_pressed() 6. Eves=pygame.event.get() 7. villian.face() 8. villian.hert() 9. if Eves[KEYDOWN] and pKeys[K_UP]: 10. hero.moveup() … | |
Hey all! I am trying to build this code and I am running into a bit of trouble. Visual c++ gives me this error: >Profile.cpp 1>c:\users\janice\documents\visual studio 2008\projects\assignment6\assignment6\profile.cpp(101) : error C2027: use of undefined type 'Post' 1> c:\users\janice\documents\visual studio 2008\projects\assignment6\assignment6\profile.h(6) : see declaration of 'Post' 1>c:\users\janice\documents\visual studio 2008\projects\assignment6\assignment6\profile.cpp(101) : error … | |
I am still reading the learing python o'reilly book and not sure the best way to approch my problem. Given c:\dir1\dir2\dir3. I want to zip all files in dir3 if those files are older than 30 days using 1 zip file (ie. dir_3_files.zip). If all files in dir3 are older … | |
hi, I have this method [code=java] public void record() { Scanner input = new Scanner( System.in ); int sid; for ( int counter = 0; counter < length; counter++ ) { System.out.println("Student " + (counter+1) + " Record"); System.out.println("****************"); System.out.print("Enter SID: "); a[ counter ] = input.nextInt(); sid=a[counter]; if (isUnique(sid)) … | |
Hey, When quick googling didn't really clarify, I'd like to ask here. When declaring an N-dimensional array, 2D in this case, how to set them all to zero? For 1D arrays it should work with type name[n] = {0}; Is the same approach also guaranteed to work for N-Dimensional arrays … | |
sorry figured out i put my 1st post on wrong section ;s:S... put on java script.. heres a copy/paste.. Hey... I present myself.. Youssef, 17 years old and i'm currently on my second year of the IB Program ... Computer IB HL i took. As some of you might know … | |
Problem: here's the code. [code=pascal]program fun; Uses wincrt; var y:integer; ans:integer; function User(input:integer):integer; var x:integer; ans:integer; Begin readln(input); ans:=1; if (input>0) and (input<100) Then begin ans:=ans+input end else begin x:=User(input); halt; end; User:=ans; End; Begin ans:=User(y); writeln(ans); end.[/code] when run all work perfectly. when i entered 99 i got the … | |
So I decided that I wanted to make a Sudoku creator and solver for fun. My plan is to fill a sudoku board with random, however, compatible answers using brutefruce. I simply check random numbers against the two prerequisite rules for a legitimate Sudoku: a given cell cannot contain the … | |
alright, i'm just learning c++ and i've put a code in to find the square of a number this is the code i used; [ICODE]#include<iostream> void main() { char cReply; int iNum, iSquare; std::cout << "Do you want to find the square of a number (y/n)?"; std::cin >> cReply; while(cReply … | |
Hi, I use VB6 with Oracle database. I also use Adodc and datagrid for retrieving data from database. If i do search with [inlinecode]Select.....Where name IN(LIKE) '" & Text1.text & "'[/inlinecode] does return nothing. I have to type exact value be searched. Why do you think that IN or LIKE … | |
hey everybody I'm taking a computer class right now and one of the projects I need to do is create a very simple pizza-ordering menu. At this pizzeria, there is only one kind of pizza you can order: regular (cheese) with no toppings. Your choices are what size of pizza, … | |
firstly hi everyone. i made a calculator using mips assembly but it works with integer numbers. a normal calculator must be work with double or float numbers. i seek for it on the internet but i cant find how to use float double numbers in mips. finally i ask ,does … | |
hi i want to hide my URL ..i.e when the user uses my application i dont want to show my url but i want to store another url please do tell how to do tat |
The End.