199,114 Archived Topics
Remove Filter ![]() | |
Hi i have my INSERT and DELETE command working fine my data gets saved to my database to deleted, my problem is my UPDATE command. i have a form which displays 'employee' information the form includes text boxes i.e forname surnam etc and this is where the data is displayed … | |
Hello all : Is there any way to save all the status of (controls) inside tab control which it's inside a form, while I press save button I want to save all the status of the controls, the other thing I want to ask is how can I move between … | |
Hi there, I'll try to be brief, In short im trying to add together a variable, (name = STRFinValue) within a For loop, I think the syntax should be: STRTotal = STRFinValue +STRFinValue(f) But I am very wrong. [code] Private Sub btnLBTotal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles … | |
I am working on a project for college that involves bluetooth. I was required to use .Net. I have only programmed in C before, and therefore have started to teach myself C#. I have written all of the program already, including sending the data over a bluetooth connection. The only … | |
I am a student in my first python programming class in college and I am trying to figure out how to do my latest lab assignment. Could anyone just give my a hint on how to get a file (I know how to import it into the program) into dictionary … | |
Hey guys, this is probably a really simple question for you experts so I hope you can help..! Basically I have three separate html fields for the user's date of birth: "year" "month" and "date" All I'm trying to do is to take these three from the form and insert … | |
[CODE]import java.util.Scanner; public class ticTacToe { public static char[][] board = new char[3][3]; public static getMove(int turnNumber) { char choice = ' '; if (turnNumber % 2 == 1) { //x's turn System.out.println("X's Turn."); char choice = 'x'; System.out.println("Which row and column would you like to choose? (enter number for … | |
I need to know about Add Edit Delete on VB v6. code form and desin sample as a Company record or class student record! Visual Basic v6. | |
I am having problem with saving and retrieving information from a file, program saves info to a flight.txt file its in the file, but debugger breaks as soon as i am trying to display content here's the code: [code] #include <iostream> #include <cstring> #include <string> #include <iomanip> #include <cstdlib> #include … | |
hi all i have news publishing script. every script has own id ([url]www.example.com/index.php?id=12[/url] (for ex) who can help me Make comments script i want that let it possible to add comments each news when whatever news selected let it comes with its comments Thanks for attention | |
error LNK2005...already defined While building my code in VS2008 I am getting a build error: error LNK2005...already defined in .... 1>Linking... 1>Main.obj : error LNK2005: "unsigned char * X1" (?X1@@3PAEA) already defined in BC.obj 1>Main.obj : error LNK2005: "char * X2" (?X2@@3PADA) already defined in BC.obj 1>Rs.obj : error LNK2005: … | |
Ok so i need to sort the data from a struct that has to be set out like so [CODE]struct Record { char name[30]; int age; int phone; double salary; }; [/CODE] Simple enough to fill the struct with the data from a file called records.txt but it isn't ordering. … | |
[B]Please help me with this problem i need a tab control on a web page , pls guide me how to design it and if possible with a short example , thanks in advance to everyone [/B] | |
Hi, I am new in Spring. While trying to create aspect using AspectJ annotation, I am getting following error. My configuration file is as follows: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop" xsi:schemaLocation="http://www.springframework.org/schema/beans [url]http://www.springframework.org/schema/beans/spring-beans-2.0.xsd[/url] [url]http://www.springframework.org/schema/aop[/url] http://www.springframework.org/schema/aop/spring-aop-2.0.xsd"> <bean id="audience" class="src.com.spring.Audience"/> <bean id="steve" class="src.com.spring.Juggler"> <property name="beanBags"> <list> <value> "1" </value> <value> "3" </value> </list> </property> … | |
Good afternoon, I am having a hard time understanding how to use the "Friend" function prototype and the Friend function to move my rectangle. My programm with just the constructors, the properties and the functions work corectly until I put the "friend" function prototype and function. I would so much … | |
Morning I have a question here How do I go about it in Access say if I want to split a line (row) into different lines like these fields? Drug name1 Drug name2 Drug name3 Drug name4 Drug name5 Drug name6 So what I want is to split the Drug … | |
i am getting a Resul to large error when i try to connect a client to a server in windows,anybody knows why ? | |
I cannot select a row to edit in the repearter. How can i update correctly to the database? Thank you [code] <?php do { ?> <tr> <td height="42" bgcolor="#FFFF99"><div align="center"><?php echo $row_Recordset1['student_e']; ?></div></td> <td bgcolor="#FFFF99"> <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>"> Present <label> <input <?php if (!(strcmp($row_Recordset1['present_time'],"1"))) … | |
For my project, we're supposed to read data from a text file (circlemath.txt) and the program should output data for the circle to a text file (circoutput.txt). The input file contains data specific for class Circle (x-coordinate, y-coordinate, radius, ascii character), and each line has the form (Circle1 data, operator … | |
Hello, and thanks in advance for any help I can get. This is part of a larger program for homework. Things were working when I called "addVacantStore" the first time before I wrote the search function. I then called it twice more to set up to test the search function. … | |
Hi, I have written a program just to check the behaviour of the compiler. i expected an error in function call statement. but its not generating any error. the declaration of function we include to check the type of args and no of args and return value of function. but … | |
i want to asign different actions to my jsp page | |
Hi thanks for reply, I just tried that and it does the same - both phrases on the same line in the RTF memo field Ive used vbnewline in a msgbox before and works fine, but it stumped me as to why its not working in memo field. once i … | |
hello every one i'm trying to send emails via my application i used smtp, but it throw exception someone told me to login using pop3 first, but it throws the exception "'220 servername ESMTP" here is my code [code] static void DoPopAuth(string host, string user, string passphrase) { TcpClient cli … | |
Friends I m workin on vb.net ado.net oledb, I have also added datagrid Control to my form for retriving database from .Mdb file i used following code [code] 'decleared Name Space Imports System.Data.OleDb 'Dicleared Variabls in Class Form1 Dim con As New OleDb.OleDbConnection Dim ds As New DataSet Dim da … | |
i try to make a crawler that crawls a web page & retrieves the stock information from google,but can't do it . so plz help me 2 make that type of crawler. urgent plz... | |
I'm trying to get live feed for my server from this page [URL="http://dkm.inx-gaming.co.uk/stats/server.php"]http://dkm.inx-gaming.co.uk/stats/server.php[/URL]. As you can see, when it first loads, it says "Querying Server x, Please wait.." for a fraction of a second.. And that's what the [B]openConnection[/B] function returns, too. Is there any way I can tell it … | |
I am trying to merge two vectors, alternating elements from both vectors. And if one vector is longer than the other, alternate as long as possible then append the remaining elements from the longer vector. This is what I have so far: [CODE]#include <iostream> #include <algorithm> #include <vector> #include <iterator> … | |
i really need help with this error. it is an unexpected types error [CODE]public class ticTacToeDemo { //use a 3X3 array for the game board. private static char[][] board = new char[3][3]; public static void main(String[] args) { int turnNumber = 0; System.out.println(board[1][1]); newGame(); while(!winner()) { turnNumber += 1; if … | |
hi could you please tell me the command to insert values from the dropdown list into sql using c# coding | |
Hi!, I want a simple code for a login system in php where users should be able to login in between 9.00 Am & 5.00 PM. Otherwise it should not allow users to login. Can anyone please help thank you Santosh | |
I need to find the difference of 2 sets. below are my functions for the union and intersection of sets in my driver-file. Is the difference set a combination of the two? [CODE] IntegerSet IntegerSet::unionOfSets(IntegerSet b) { IntegerSet c; for ( int i = 0; i < 101; i++ ) … | |
[CODE] I am finishing up my atm program and have an issue with my program. When I withdraw more than 300 it does not return an error message or show the amount withdrawed in my program. I am not sure if this is related or not but the deposit and … | |
hello expert: got 2 basic questions: 1.don't know how to review php.ini content to check if register_globals is set "on" or "off". i know php.ini is on the server end. how to pull i up? 2. i see a paragraph says..."assuming register_globals is turned off"for this reason, we assume that … | |
This is my first website so please be kind. My form in my index.php has method="post" action="mailer.php" in my mailer.php I have the following code which I had hoped would take care of single and double quotes which may be entered into the message textarea $message = $_POST['message']; $message = … | |
Hi, I have some 100 xml documents on a sharepoint website and I would like to replace the value of a particular attribute inside each XML document on the server. To do this: I would like to run a command line tool developed in Javascript which will ask me the … | |
Public Class Form1 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim quantity As Integer Dim quanarr(20) As Integer Dim item As String Dim price As Double Dim x As Integer = 0 Dim counter As Integer counter = QuantityList.Items.Count quantity = Val(QuantityBox.Text) item = ItemBox.Text … | |
Hello, I run a website and just today, it gave me an error: 403 forbidden error and i was told it was the permission of some of the directories at ftp. I used my filezilla to reset the permision to 755 for directories but still i'm getting the errors.Also, I … | |
how do i connect access 2007 to vb6 | |
So I have to write a program to output whether a point is inside or outside a circle, but I can only get the program to ask me for one set of coordinates. [CODE]#include <iostream> #include <cmath> #include <string> using namespace std; bool promptYesNo (string question); int main () { … | |
Write a program to process bowling scores for players on a team. Calculate each player's series (the sum of his bowling games) and his average game score. Sum the players' scores for each game, and calculate the team's total for each game, the team's series, and the team's average game … | |
Hi.. :?: I have written a program that reads a file and loads it into the 2D matrix but the problem is that it only loads the first line into 2D Matrix and duplicates the same. Can somebody point out the mistake. Here is my input file[CODE]14 12 5 4 … | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="process-definition"> <xsl:element name="decomposition"> <xsl:attribute name="id"> <xsl:value-of select="@name"/> </xsl:attribute> <xsl:for-each select="task-node"> <xsl:element name="task"> <xsl:attribute name="id"> <xsl:value-of select="@name"/> </xsl:attribute> <name><xsl:value-of select="@name"/></name> <xsl:choose> <xsl:when test="not(transition/@to=//process-definition/task-node/@name)"> <flowsInto> <xsl:element name="nextElementRef"> <xsl:attribute name="id"> <xsl:for-each select="/process-definition/decision" > <xsl:value-of select="descendant::transition/@to"/> </xsl:for-each> </xsl:attribute> </xsl:element> </flowsInto> <flowsInto> <xsl:element name="nextElementRef"> <xsl:attribute name="id"> <xsl:value-of select="//process-definition/decision/transition/@to"/> </xsl:attribute> </xsl:element> </flowsInto> … | |
I am a biology student taking a required C++ class. As a result, I am very unfamiliar with programming but I definitely have gained a new appreciation for it. We just finished cin and cout objects two weeks ago and this is our assignment. I have some of it finished … | |
I have a project where i need to create a C++ class that will use very long integers. The software should handle additions of integers of up to 50 digits. I already finished creating a class for sequence that we have to use too store the numbers. But my question … | |
![]() | Hi, My program keeps coming up with an Access Violation after I moved the code manipulating my linked list from the main function to a sub function. Looking at it with the debugger, I found that the sub function destructs the linked list, and then the main function attempts to … ![]() |
[code]#include <iostream> #include <cmath> double f1(double); double f2(double,double); using namespace std; int main() { double dx, dy,x=1.0, y=1.0,xnew,ynew,eps=0.0000001,err=1.0,m=1; while ( fabs(err) > eps ) { dx= -f1(x)/(3.0*sin(x)+cos(x)); dy= (f1(x)*sin(x)+f2(x,y)*(cos(x)-3*sin(x)))/3*sin(x)*(cos(y)+cos(x)*cos(y)); xnew= x+dx; ynew= y+dy; m = (xnew*xnew)+(ynew*ynew); err=sqrt(m); } if ( fabs(err) < eps ) cout<< "dx= " <<dx<<endl; cout<< "dy= … | |
I am brand new to all this and I can't get my program to read the file from input. Here is my code. It says segmentation fault (core dumped) I'm assuming because fp is not getting the file information. Can anyone help? [code]#include <stdio.h> #include <ctype.h> #include <stdlib.h> #define getchar() … | |
I would be very happy if you could explain to me clearly to understand the insertAtRear function. I want to make an insertation like [CODE] void insertAtRear(int i, string s, string n) { //??? } [/CODE] and than also need to disply the inserted data by using printList() with and … | |
I would be very happy if you could explain to me clearly to understand the void insertAtRear() function. I want to make an insertation like void insertAtRear(int i, string s, string n) { //how can i implement this function // i need to } |
The End.