199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for salmap

How to get rid of this error? [code] private static void edvPOAllLines_EpiViewNotification(EpiDataView view, EpiNotifyArgs args) { // ** Argument Properties and Uses ** // view.dataView(args.Row)("[FieldName]") // args.Row, args.Column, args.Sender, args.NotifyType // NotifyType.Initialize, NotifyType.AddRow, NotifyType.DeleteRow, NotifyType.InitLastView, NotifyType.InitAndResetTreeNodes if (args.NotifyType == EpiTransaction.NotifyType.AddRow || args.NotifyType == EpiTransaction.NotifyType.Initialize || args.NotifyType == EpiTransaction.NotifyType.DeleteRow || args.NotifyType …

Member Avatar for kvprajapati
0
165
Member Avatar for jmcginny5

I have to "re-write" the program that I wrote before. Here is the prompt of what to do: Overview For this assignment, re-write program 7 so that rather than using multiple arrays to hold the player information, it uses a single array of structures. The structure that will be used …

Member Avatar for damm
0
400
Member Avatar for shyla

i am trying to figure this exercise. i just started, but i dont understand what do i need to put where ? [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ShapesDemo { abstract class GeometricFigure { int height; int width; double area; /* public GeometricFigure(int Height, int Width) { …

Member Avatar for shyla
0
352
Member Avatar for sas1ni69

Hi guys, I'm trying to build a query that involves two tables, the course table and the studentsLink table. The StudentsLink table describes the link between students and the course. The tables are as below; Course courseID(bigint) - PK courseName (varchar) courseInstructor (varchar) StudentsLink courseID(bigint) - PK StudentID(bigint) - PK …

Member Avatar for sas1ni69
0
124
Member Avatar for swathys

hi, i would like to create an uniqueID where it must add +1 behind the CurrentTranxDateTime for the transaction 1 to 10....I have coded as below but the problem is the number doesnt +1 for each transaction.....any1 have idea to solve this..... eg: 300111 01:45:29 AM 1 300111 01:45:29 AM …

Member Avatar for swathys
0
371
Member Avatar for DaniwebOS

I'm getting a "IntelliSense no default constructor exists for class "Person" line 71." Also am getting error c2512: 'Person:' no appropriate default constructor available... There is a constructor there which confuses me on why I'm getting an error? [CODE]#include <iostream> #include <string> using namespace std; class Bio { public: Bio(); …

Member Avatar for DaniwebOS
0
21K
Member Avatar for isumasama

hi how to do insert ignore in access? is access support this function? [CODE] CurrentDb.Execute "INSERT IGNORE INTO FullDB (IDProc, IDOp, IDTech) VALUES (" & IDProct & "," & IDOpt & "," & IDTecht & ")" [/CODE] or how can i do a search for duplicate record first before insert? …

Member Avatar for isumasama
0
1K
Member Avatar for hous3aholik

Hi! Im finishing up a lottery number generator and the only part im kinda lost in is the binary search part. I have two strings = input[], random; I have to go through each subscript and check if it matches my already random generated number. Thanks in advance to those …

Member Avatar for VernonDozier
0
195
Member Avatar for isumasama

hi all, How to check if a particular row is exist before inserting it? my table has ID as Primary key, and 2 other columns, say Process and technology.. thank you

Member Avatar for isumasama
0
94
Member Avatar for rom.

Jquery's .not() and :not doesn't seem to work in this particular scenario. Any corrections or alternatives would be REALLY appreciated! As you see from the code below, when you click on the green box, the purple box will either slide up or down. How can I exclude the checkbox from …

Member Avatar for rom.
0
235
Member Avatar for scriptkiddy

I am making a C# program that talks to people using AIML, it is using networking so it can talk to multiple people at once. Here is my get message handler: [CODE] private void MessageRecieved(UserMessage message) { if (message.getMessageType() == Enumerations.UserMessageType.incomming_text_message) { conversationHTML += online[message.getUsername()].FriendlyName + " says: " + …

Member Avatar for scriptkiddy
0
718
Member Avatar for klemme

Hi, I my admin area, where the administrator can create a new page, it is also possible to decide the position of the link. It is a menu in the left side of the screen, one link on top of the other, very simple nav. I have a dropdown list …

Member Avatar for smantscheff
0
178
Member Avatar for rockerjhr

globals.h [CODE] #ifndef _globals #define _globals #define DATA( L ) ( ( L ) -> datapointer ) #define NEXT( L ) ( ( L ) -> next ) typedef enum { OK, ERROR } status ; typedef enum { FALSE = 0 , TRUE=1 } bool ; typedef void *generic_ptr …

Member Avatar for rockerjhr
0
141
Member Avatar for cossay

The program below crashes anytime I run it, can anyone tell what I have done wrong?. [CODE] #include <iostream> #include <cstring> using namespace std; class Human { private: char *fname; char *srname; char *phone; public: char * getFirstName(); char * getLastName(); char * getPhone(); Human(char *fn, char *sn, char *ph); …

Member Avatar for Tomi1988
0
145
Member Avatar for Silent Storm

Good afternoon, I'm trying to alter an application that calculates the area of a square using the following guidelines: For the Square class: 1) Add a Private variable named _area 2) Associate the _area variable with a Property procedure called Area 3) Change the CalculateArea method to a Sub procedure. …

Member Avatar for Unhnd_Exception
0
139
Member Avatar for manofhouse

Program is suppose to convert binary to hex.. it says that i need a class/struct/union to the left of ".substr" but im pretty sure convert should be working.. [CODE]#include <iostream> #include <string> using namespace std; int main () { string convert [8]; string bin[16]= {"0000", "0001","0010","0011","0100","0101","0110","0111","1000","1001","1010","1011","1100","1101","1110","1111"}; string hex[16]= { "0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"}; …

Member Avatar for Tomi1988
0
421
Member Avatar for Armanious

This code highlights all instances of keywords in a JTextPane. I don't think it is very CPU efficient (it has three loops per LINE) It splits all the lines, creates a Matcher for each keyword, and iterates through those, which consequently means slow execution with larger files. The thread is …

Member Avatar for VernonDozier
0
153
Member Avatar for shauzi158

People, i have downloaded a game cod from the internet and it wont run.. it always gives a linker error and i don't know what to do. i am new to allegro game development and i really need help.

Member Avatar for gusano79
0
75
Member Avatar for rookanga

I tried to get help on this on a different thread, but I didnt get any help on specifically for this, so im just making a thread just for this. The first problem is im trying to make a five digit string, it needs to be 5 digits long basically …

Member Avatar for Unhnd_Exception
0
173
Member Avatar for NvIs

My professor gave us an assignment to Convert the following 2 numbers to binary, octal and hex. 3.567, 0.032432 which would be easy if the numbers given weren't in decimals. I'm using the % operator and that can't be used by float... I'm lost. Can someone give me an idea …

Member Avatar for NvIs
0
124
Member Avatar for gambit_1607

Hi I have a select list on my form as the following [CODE] <form name="source_form"> <select id="sel_source_zero" name="sel_source_zero"> <?php $sources = _ajax_get_news_sources(); foreach ($sources as $key => $value) { print ("<option value=\"$key\">$value</option>\n"); } ?> </select> <input type="submit" value="Submit" /> </form> [/CODE] When the user selects a value from the list, …

Member Avatar for Airshow
0
101
Member Avatar for darkbreaker

I am developing a network chat application, I am using Winapi, my main window is a dialog (created from a .rc file). I am looking into a way of doing an text box where my outuput text can be like this: [QUOTE] [COLOR="Green"]Welcome to ##### chat server![/COLOR] [COLOR="Red"]Person1[/COLOR] says: Hi …

Member Avatar for darkbreaker
0
277
Member Avatar for mrbungle

Greetings, My app saves a bunch of stuff to an XML file. This is my line of code- [CODE] Using writer As XmlWriter = XmlWriter.Create("C:\vdx2k\MWS\RE\EXTReportsInbox\TK" & frmCitation.txtCiteNumber.Text & "Traff.xml", settings)[/CODE] So that saves it at that specific location. I need to duplicate the XML and have it also save in …

Member Avatar for mrbungle
0
114
Member Avatar for kodera

here is the error message: Exception in thread "main" java.lang.NullPointerException at DriverClass.DriverExam.questionsMissed(DriverExam.java:48) at Chapter7ALabDemo.main(Chapter7ALabDemo.java:33) program is to read a answer key txt and a student's answers txt, then the number of questions would be entered to correspond with the txt file. and here is my code in two files: [ICODE] …

Member Avatar for kodera
0
111
Member Avatar for CrazyMisho

Hello how to read from a file,which contains only nimbers(int) and to record them in an array.It's sounds easy,but i can't do it:( for file example: 1234 4353 2345 2345 2312 1267 I mean they are in collom. Thanks in advance.

Member Avatar for Momerath
0
302
Member Avatar for VilePlecenta

Hi all, Ive been trying to find a seek method for StreamReader. I want to be able to reverse the file buffer by a couple characters at a time. How I have everything set up. [CODE] private void SortThread() { string[] lines; string line, totalLine = null; char[] fileInput = …

Member Avatar for Momerath
0
7K
Member Avatar for fabio.bozzo

Maybe it's a noob question ... anyway, I create a dynamic number of PictureBox controls. I keep them inside a List. What I want now is to make them clickable: same event handler for all (opening of the image source file) with a parameter. The question is: how can I …

Member Avatar for Luigiview
0
259
Member Avatar for drjay1627

Hello, I want to create an application that can make selections from a webpage. I did an assignment for school and now I want to extend my program. The assignment was to parse a webpage and display the data. The webpage's exact URL was given to us. The URL was …

Member Avatar for drjay1627
0
161
Member Avatar for DRzBklynite

I have an important assignment to do but I am new to assembly programming and I understand some basics but I don't exactly know how to put together some of these codes. Please help? I really am trying. It would be appreciated if you could fill in some of the …

Member Avatar for DRzBklynite
0
291
Member Avatar for guccitan88

New to Java! We have to create a "sales" 2D array and initialize it with 100.00. Then we have to up the 3rd quarter by 500.00 and then lower the 4th quarter by 50.00. I know there's something simple I'm missing, but I can't quite figure it out. Any help …

Member Avatar for guccitan88
0
131
Member Avatar for Mike Bishop

i have the following code [CODE] Dim i As Integer i = Me.GridDomains.CurrentRow.Index Me.lbdomainid.Text = GridDomains.Item(0, i).Value [/CODE] when i have complied it in visual studio 2010 (debug) i get a error saying system.data.sqlclient.sqlexceptions conversion faild when converting varchar value LBdomainID to data type int. in sql the datatype is …

Member Avatar for hercx
0
76
Member Avatar for jamshed ahmed

i have code in which datatable values will be given in crystal report of vs2008 iam very surprised when i run my application in debug mode by pressing f10 key value all the value loaded perfect but when i start application in normal mode only one value of datatable is …

Member Avatar for bklynman01
0
127
Member Avatar for dunderMiflin

I am a 22 year old college gal currently enrolled in a c++ course, and we are on the topic of recursion. I understand how it works and have completed several other exercises on the professor has listed in the book, but this one has me stumped. Is there anyone …

Member Avatar for Insensus
0
235
Member Avatar for TinhornAdeniyi

[CODE]void maximum(double *max, double x[]) { int i; for( i = 0; i<100; i++) { if(max < x[i]) max=x[i]; } }[/CODE] Why isnt this working Im probrably missing one syntaz that i cant think of at the moment Thank u

Member Avatar for TinhornAdeniyi
0
104
Member Avatar for Awilson089

Hi, I have a program which needs to accept a date, it can only accept under 30 days, and the entry has to be over 0 My problem is that it accepts anything, it doesnt make sense because i have used the exact layout on other bits of code which …

Member Avatar for Awilson089
0
103
Member Avatar for GhostMonkey

Hey, I've got this code that scans a 3x3 section of a 9x9 array. Heres the code: [CODE]for (j=x; j<x+3; j++) { for (i=y; i<y+3; i++) { if (array[i][j] == value) { cout<< "Number already used in Section" << endl; } } }[/CODE] It works fine if you start from …

Member Avatar for GhostMonkey
0
96
Member Avatar for dashure

if anybody can help me with this code...plz [CODE]#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> void * scrambleArr(void * arr, int numElem, int elemSize,int (*func)(void*)); int func(void *x); void main( ) { int a[7]={1,2,3,4,5,6,7}; int i; int *p = NULL; p = scrambleArr(a, 7, sizeof(int),func); for (i = 0; …

Member Avatar for dashure
0
128
Member Avatar for ndiiie

Hi all, I want to ask a question about replacing specific word in a string for example I have a string of: input = a fast nope e i want to replace word "a", if I use method replace which is: input.replace("a", "hello"); the character a in fast will also …

Member Avatar for dononelson
0
183
Member Avatar for Protoroll

I have to read in a file and do dot product calculations on two arrays but I get an error whenever I try to run it. Here is my code, [CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> int main() { FILE* input; FILE* output; int product=0; int length=0; int* …

Member Avatar for Protoroll
0
243
Member Avatar for chiefpf

I need to write several algorithms and one is giving me trouble. The one giving me issue requires the use of recursion to produce a summation for an integer. For example summation(4)=0+1+2+3+4=10. The code I am working with is: [CODE] public long recursion(int N){ if (N <=1) return 1; else …

Member Avatar for masijade
0
2K
Member Avatar for McLaren

Hi, I have one question: I am programming with PHP, CodeIgniter. But it may suit for other tools as well. I need to delete something from the table and I want to be sure that there will be deleted row from another table. In short - delete to rows, each …

Member Avatar for McLaren
0
443
Member Avatar for Labdabeta

Is there any way to implement a scope change for the template keyword? I have a templated class with almost 100 different functions and my code looks disgusting with my external declarations. Is there any way to implement a scope increase for template? EG: [CODE]template <typename Type> class TypeClass { …

Member Avatar for Fbody
0
204
Member Avatar for kent5244

Hi, I have some basic knowledge in programming however it is not enough to solve the problem I faced currently. So I would like to ask for the pros for guild and help. I have attached the print screen of my program's GUI 1)From the GUI, the combobox next to …

Member Avatar for kent5244
0
2K
Member Avatar for xjustin

Im trying for a message box to pop up but this code gives me always "Absent".How can i fix this. [CODE] Dim time As Date Dim CurrHour As Integer Dim CurrMinute As Integer time = DateTime.Now CurrHour = time.Hour ' Get current hour value CurrMinute = time.Minute ' Get current …

Member Avatar for xjustin
0
106
Member Avatar for banannamoofin

One part of my program requires that the user enters a date and this date is then checked against each product in the dictionary to see if the date the product arrived plus its shelf life causes the product to expire before or after the date entered by the user. …

Member Avatar for woooee
0
2K
Member Avatar for webdesignservic

I try to convert a javascript object into string, but i just cannot get the solution after Google on it. Can someone help me about it? Thanks first...

Member Avatar for hielo
0
115
Member Avatar for Khoanyneosr

I'm REALLY angry! I've been trying to get this stupid code to compile for way too long now. I've spent 30 bucks on this book and the first code it tells you compile doesn't work! Here's a link to the code... [url]http://d3dcoder.net/d3d10.htm[/url] I'm sorry that you have to download that …

Member Avatar for Khoanyneosr
0
157
Member Avatar for Climber Ty

So this is my final project for my class. The idea is to use my RationalNum class (which is complete and works fine... I just didn't attach the .cpp since it was only the driver) and use it to add, sub, & multi polynomials (RationalNum being the coefficients i.e. 1/4x^3 …

Member Avatar for Climber Ty
0
477
Member Avatar for 54uydf

I have 2 places I'm stuck on with my DB design.. 1************************************************************************** how to translate ERD that looks like this into real tables? [URL="http://schemabank.com/sites/default/files/images/notation_self_relationship.gif"]http://schemabank.com/sites/default/files/images/notation_self_relationship.gif[/URL] my entity is "Course", if before student wants to take some course he must take few pre-courses then how should I model this? tableCourse- [U]id[/U], name …

Member Avatar for 54uydf
0
192
Member Avatar for netroxy

Hello guys. I am trying to build a games website using PHP for database to store game information. I'm trying to learn how to fetch ID information. For example: www.blabla.com/games.php?id=12345 As you can see, right after games.php, there is '?id=12345'. Anyhow, when a user clicks or types this link, that …

Member Avatar for diafol
0
30K

The End.