199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for chwong

Hi I am new of ERD design. I have drawn the diagram but for the supertype, subtype and entity associated part, I am not confirm the way I presented is correct or not. I hope to get some advises from you all. ERD 1. A distribute places an order 2. …

Member Avatar for chwong
0
786
Member Avatar for GregMaClean

Hello, I am new to printing in vb.net. I have a project (not from school) where I need to be able to print content that is entered by users. The rest of the app is already made. I need to print the following: A [B]Title[/B] with a line under it, …

Member Avatar for GregMaClean
0
266
Member Avatar for onako

After I performed some operations on the vector of structs, I need to free the memory. I suppose clear() will not be sufficient, but I'm not sure how to perform individual delete. [code] typedef std::vector<VertexRAM> VecVertexRAM; // definition of a vector of structs template <typename type> void freeFromMemory(std::vector<type>& myVec) { …

Member Avatar for mike_2000_17
0
4K
Member Avatar for wolfrain63

So in my class we are working with Arrays this week. We have to create a driver license exam program. It has to use multiple forms. First form the user inputs the answers then once he clicks the score button a new form pop's up stating the correct answers and …

Member Avatar for wolfrain63
0
111
Member Avatar for Bijaya123

Please Help me. 1. In a LoginForm1 two textbox are present and a button also. 2. first user enter username & password in these field of LoginForm1. 3. After enter username & password by click the login button in the loginForm1 and a new form2 is open. 4. when the …

Member Avatar for Geekitygeek
0
217
Member Avatar for Jazerix

Hey there I'm quite new at c#, nevertheless today I tried to make a little application and I ran into a little problem. Well, I got this form that i want to close when i click the button and then open a new one, not just hiding it. first I …

Member Avatar for Jazerix
0
7K
Member Avatar for priyanka.js28

if i want to dereference an object(using delete operator) of DERIVED class which is being referenced using a BASE class reference, which destructor would b called automatically?? BASE class destructor or DERIVED class destructor??

Member Avatar for arkoenig
0
264
Member Avatar for WildBamaBoy

In this program I have a lot of game directories in a list like so: [CODE]base = "C:/Program Files/Game" expansion = "C:/Program Files/Game/Expansion" Games = [(base, "Base Game"),(expansion, "Expansion 1")] Installed = [][/CODE] The program then sees if they are installed like this: [CODE]for path, name in Games: #For every …

Member Avatar for WildBamaBoy
0
117
Member Avatar for Fluffybunny

Hi I am sending a text file to a remote app using urllib2. It all works well, but it just seems to take a very long time to send the data. My code is basically doing : TxData = open('OutputFile.txt') data = {'name': 'value', 'file': TxData } f = urllib2.urlopen(url, …

Member Avatar for TrustyTony
0
2K
Member Avatar for nick3592

hi i have done a header redirect to stop from the resending data in most browser but seem to have a problem with showing messages after that's done. After the user finishes doing something he or she gets redirected and there[s a message in a session either error or success. …

Member Avatar for Zagga
0
129
Member Avatar for sanv

Hi, I have written a script that checks whether a line has been added to a file. Whenever, a line gets added to the file a thread is created to process that line. And if a certain conditions holds for that read line, the thread should sleep for 1h and …

Member Avatar for woooee
0
131
Member Avatar for jenunique

First of all, yes this is for an assignment. I need to know HOW to do this so that I can perform this operation in the future. I have two list boxes that I am sending the data selections to ONE text box. My problem comes along when I am …

Member Avatar for finito
0
118
Member Avatar for cocoll

hello. i need help with combobox in vb.net. i try to add several columns in the combo,so i want when i select one item in the combo (this item is composed from 3 words for example),so i want the text in the combobox not to be composed from these 3 …

Member Avatar for Oxiegen
0
93
Member Avatar for codedude

I have developed a vb.net database application(desktop application with sql 2005).I managed to create setup files(.msi) which is running on my pc.but when i install this application on my client system the application is running but all database operations fails.Pls any one suggest a solution. Thanks in advance.

Member Avatar for Oxiegen
0
283
Member Avatar for GigsD4X

I tried making a For iterator to check the values of an array, but it checks them 2 times!

Member Avatar for GigsD4X
0
66
Member Avatar for Jacobah

Hi I have a fundamental question, about new projects using wizard • For File/New wizard Win32 projects the applications include the message queue and message loop. • For File/New wizard MFC Application Dialog Based there is no message loop and message Queue How can I add message loop and message …

Member Avatar for Jacobah
0
69
Member Avatar for Shreya J

Can someone help me in connecing the windows using java...? I am doing a project in virtual class..So i need to link the windows. Please help... Thanking u all in advance. Regards, Shreya.

Member Avatar for NormR1
0
68
Member Avatar for imso

Because i had to transfer my project to my lecturer but what the file location that works for my computer does not necessary work for my lecturer computer. Althought i transfer my wav file to the project workspace Alarm clock in the bin section. So how to allow my wav …

Member Avatar for Alexpap
0
380
Member Avatar for kdgeiger

I am trying to create an array of 20 values the have 4 methods that 1st will create a total of all values listed, 2nd search the array and return all values less than 5.00, 3rd return the average of the values using the output method from the first method …

Member Avatar for kdgeiger
0
203
Member Avatar for linuxoidoz

I need to show a '&' symbol on a button and I don't understand this - how come [CODE] self.l1 = QLabel("&", self) self.l2 = QLabel(unichr(int("0026", 16)), self) [/CODE] both of these show it on a label but [CODE] self.b1 = QPushButton("&", self) self.b2 = QPushButton(unichr(int("0026", 16)), self) [/CODE] none …

Member Avatar for -ordi-
0
2K
Member Avatar for nocookies92

I'm relatively new to Java and I was trying to make one my programs more accessible to my non-computer savvy friends with java web start. I took my .class file and archived it with the command: [TEX]jar -cf TabbedLatinHelp.jar TabbedLatingHelp.class[/TEX] I then created a .jnlp file and uploaded the .jar …

Member Avatar for nocookies92
0
2K
Member Avatar for cosmos22

Hello, I have recently been able to delete files using this code(With the aid of others from the forum) And I was wondering how you can change this, to suit deleting a folder [code=cpp]#include <iostream> #include <windows.h> int main(int argc, const char * argv[]) { // Get a pointer to …

Member Avatar for nicesiddeeq
0
219
Member Avatar for intes77

here's my code, i wanted to add another button that would have its own ActionListener. NOTE: its in object oriented style. i wanted to add these codes in my main class for my additional buttons, but my problem is i dont know how to make their ActionListeners. [CODE]myButton2=new Button("GET DIAMETER"); …

Member Avatar for JamesCherrill
0
220
Member Avatar for Dimesh

[B]Al salamo Aleekom And Hi..... <= Thank you for reading my topic. ---------------------------------- I read this statements from C++ book but i can't understand it....!! Can anyone help me to understand it In short....[/B] [INDENT][INDENT]The Stack and the Free Store (Heap): .................................... In the section “How Functions Work—A Peek Under …

Member Avatar for Narue
0
188
Member Avatar for punchinello

I am trying to write a program using vb6.0 with sapi's speech recognition support. When I tried English everything came out alright. But when I swithed to Chinese, there's always this error when loading grammar and rules from an xml file. Why could it be? Anything to take special notice …

Member Avatar for punchinello
0
81
Member Avatar for mrkaran

how can i read character by character from a text file using isrteam. i use : istream s; char *next; next=new char; s.open("example.txt"); s.read(next,1); but this gives me each character with some dummy symbol.

Member Avatar for mrkaran
0
99
Member Avatar for Jb2481

Hello, I'm trying to figure out this method were i add courses to a student. and then call it in the main method . [code] public ArrayList getCourseList(){ return courseList; } public boolean addCourse(EnrolledCourse courseName){ for (int i = 0; i <= courseList.size(); ++i ) if(courseList.contains(null)){ courseName.getCoursename(); this.courseList.add(courseName); return true; …

Member Avatar for jon.kiparsky
0
755
Member Avatar for darknessamman

Hi ppl,,,,how r ya...hope u r fine.. Just have a lil problem with my program. Im studying civil engineering . And i have problem with my registrations So my friend creatred a program for me ,,but there is something missing in it The main job for this program is to …

Member Avatar for darknessamman
0
135
Member Avatar for murid

I need to lock label position. so, my label can't move at all.. now, i'm using label1.Enabled = False.. but, my label.forecolor become gray.. can any help me to lock label position without changing label forecolor to gray?? thanks...

Member Avatar for MindFreaks
0
317
Member Avatar for arunmani4u

Hi frinends, I am Arunkumar I have to write a code to fetch every information from a computer including Hardware ,Software and every thing from system....i wrote code to get hardware information but i need help to fetch software information from system..please any one can help me

Member Avatar for NormR1
0
196
Member Avatar for backendcode

hello friends, Help me plz.any body can tell me how to pass a value from one page to another page by using a session. After login page. Help me plz login.php <form name="join" action="check_login.php" method="post" onsubmit="return validate_form(join)"> <table border="0px"> <tr><td align="left">E-mail: </td><td><input type="text" name="email" value="" class="form_field" /></td></tr> <td>&nbsp;</td> <tr><td align="left">Password: …

Member Avatar for backendcode
0
113
Member Avatar for vulcano224

Hi Guys, I am currently working on the following project: Write a PYTHON function that takes the time as three integer arguments (for hours, minutes, and seconds), and returns the number of seconds since the last time the clock “struck 12.” Use this function to calculate the amount of time …

Member Avatar for vegaseat
0
206
Member Avatar for Dave Sinkula

This code uses a structure to map a letter to an equivalent representation of Morse code. It simply loops through either a string to encode or decode looking for text to substitute with a replacement string or character. Output is presented to the stdout.

Member Avatar for Quagmire232
0
377
Member Avatar for fizzle

As I posted before I'm totally new to C. In bash i can use [CODE]IP = "`wget -O - -q icanhazip.com`" echo $IP[/CODE]= and it returns my ip. However I'm trying hard to get this via curl although I don't quite understand how it works yet. I determined it is …

Member Avatar for mitrmkar
0
184
Member Avatar for afaquaholic

I am running a service that queries on regular intervals. I initially set it up so that the connection formed onStart, and closed onStop. This of course leaves a connection open all the time, which isn't what I want. So I moved the open and closed to inside my timer …

Member Avatar for seahmadmom
0
301
Member Avatar for KadajXII

Hi all, I wish to construct an text editor with linear link list. Now I am writing a function to add a sentence into it and display all. My problem is I can only input a string as it will not take whitespace as input. And I don't understand what …

Member Avatar for KadajXII
0
104
Member Avatar for lewashby

file = hfmix2.py error is on line 3 [CODE]# imports from Tkinter import * from sound_panel2 import * import pygame.mixer # create gui app = Tk() app.title("Head First Mix") # create mixder mixer = pygame.mixer mixer.init() # call functions panel1 = SoundPanel(app, mixer, "50459_M_RED_Nephlimizer.wav") panel1.pack() panel1 = SoundPanel(app, mixer, "49119_M_RED_HardBouncer.wav") …

Member Avatar for vegaseat
0
190
Member Avatar for anuj_sharma

[CODE] #include<iostream> #include<conio.h> #include<string.h> using namespace std; int main() { char ch; do { char str[80]; cout<<"\nEnter The String\n"; gets(str); int len=strlen(str); for(int i=0;i<len;i++) cout<<str[i]; cout<<"\nContinue?\n"; cin>>ch; } while(ch=='y' || ch=='Y'); getch(); return 0; }[/CODE] On executing the above program, the loop asks "Continue?" only once and after that it …

Member Avatar for anuj_sharma
0
100
Member Avatar for ITGeEk2020

I have a project due at the end of the quarter. This is my first quarter in programming and we have to create a single player game with at least three modules. I want the game to ask the user to choose heads or tails, then a coin flips and …

Member Avatar for vegaseat
0
462
Member Avatar for prem2

Hi, Can any one say what is hte difference between contains and containsValue in hashtable. Thank you, With Regards, Prem

Member Avatar for prem2
0
661
Member Avatar for madhusingh123
Member Avatar for vijeta sharma
0
90
Member Avatar for KilluaX

Hi, all Can anybody tell me how to get the current date in a java program? And, I want to insert the date into a database with a date/time format, is there any difference from insert a string? thanks for reply

Member Avatar for sangeetha.cse
0
366
Member Avatar for Zinderin

So I have this program that involves the user using FolderBrowserDialog. And it works fine ... but the rub is, when the user comes back around and uses the dialog again, the directory is highlighted, but not expanded, and he's asking that it be expanded. LOL! For the life of …

Member Avatar for ghimangi
0
6K
Member Avatar for Xufyan

Check my program....i want a decrement of 10 for the value of K, how can i do this ? [CODE] public class arrey { public static void main (String [] args) { int i, j, k = 100; int [][] TwoDArray; TwoDArray = new int [4][]; TwoDArray [0] = new …

Member Avatar for Xufyan
0
117
Member Avatar for therstonsplace

HEEELLLLPPPP!.... i am stumped.... i am a student and have access to the server at my college.... on this server they have installed javac and i am running my java on vi text editor in a virtual server. okay i can import all kinds of things... but i cant import …

Member Avatar for therstonsplace
0
132
Member Avatar for pritz01

Hi newbie here I’m currently making a hotel booking system in mysql/php, but I’m having problems with overlapping dates/double bookings. For example if a user attempted to book room1 from the 1st august to the 5th august, but the room is already booked on the 3rd and unavailable on the …

Member Avatar for tesuji
0
863
Member Avatar for johndoe444

Hi, I was trying to j2ee web service example helloservice. When I was building the simpleclient I got the error: [CODE]wsimport-client-generate-nosecure: wsimport-client-generate-nojvmargs: [echo] C:\glassfishv3\glassfish\docs\javaee-tutorial\examples\bp-project\ma in.xml/../../../../../../glassfish/lib/endorsed [echo] helloservice.endpoint [echo] build/generated/wsimport/client [echo] build/jar [echo] http://localhost:8080/helloservice/HelloService?WSDL [wsimport] Consider using <depends>/<produces> so that wsimport won't do unnece ssary compilation [wsimport] JDK's tools.jar was not …

Member Avatar for peter_budo
0
216
Member Avatar for ceyesuma
Member Avatar for mansurimn@gmail
0
70
Member Avatar for Cabrakan

Hi, look I've been with a very frustating problem for like 2 or 3 days now, I have advanced but think I've gotten to point where cannot go any further I need some help and the sdn (business objects) forum regarding this topic simply suck, there's only one guy answering …

Member Avatar for musthafa.aj
0
436
Member Avatar for priyanka.js28

if i want to dereference an object(using delete operator) of DERIVED class which is being referenced using a BASE class reference, which destructor would b called automatically?? BASE class destructor or DERIVED class destructor??

Member Avatar for JamesCherrill
0
149

The End.