64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for smithy40000

I am doing my major work for SDD and i am making checkers, i have searched and tried many differnt solutions but nothing has worked, i am trying to make the window size set to 800x800 and have "Checkers" as a title and 4 buttons down the bottom, i would …

Member Avatar for jimothy
-1
229
Member Avatar for Mackeny

I have two tables 1) tblRequests and 2.) tblMainTags. The Fields in tblRequests are Tag_Request_No, Employee_ID , Accepted, Accepted_Date, and Accepted_Time. The Fields in tblMaintags are Tag_Request_No, Tag_ID, Completed, ... The fields 'Accepted' and 'Completed' are set to YES/NO. I want to display in a datagridview the two tables joined …

Member Avatar for Mackeny
0
2K
Member Avatar for alexRivera

i've been having trouble just figuring out the merging part of the code. here's the main. everything works except for the merge part that is at the end of the code. [CODE] main() { HeapSort heap1; HeapSort heap2; int one, two; int x = 0; int number1,number2; cout<< " Enter …

Member Avatar for GrubSchumi
0
116
Member Avatar for botaxsmaniz

dear all, i need help about asp.net. i'm making application with login form from visual studio and using loginname in every pages, my questions is: how to get username online into database when user insert/update? because i wont to know 'who create this data' best regards, martin

Member Avatar for Renukavani
0
176
Member Avatar for ceyesuma

If I run my program. a GUI shows. clicking the combox. calls a series of classes that produce what text needs to be in the textfields so one of the classes calls fillSetters which is in a class that extends the GUI so "this" should be an instance of the …

Member Avatar for ceyesuma
0
76
Member Avatar for jd_davis

Greetings, I'm working my way through the Head Start C# book, and I know that whenever I open a stream [CODE=c#]Stream reader = File.Open(filename));[/CODE] I [B][I][U]ALWAYS[/U][/I][/B] [CODE=c#]reader.Close();[/CODE] my stream. The book also lets you know you can use a using block [CODE=c#]using (Stream ...) { }[/CODE] and the stream will …

Member Avatar for MattBerry
1
846
Member Avatar for techie1991

Hello, I was trying to implement data structures using file operations. I am using a data structure of two integers, one being the index number and other being the value. My actual aim is to recreate the file containing the data using a log. But, the program isn't running as …

Member Avatar for WaltP
0
483
Member Avatar for Bart_sg

[CODE]#include <iostream> #include <iomanip> #include <string> using namespace std; int main() { double V,I,pf,Ib; unsigned short int choice; int In = 0; cout<<"Please choose power supply type\n"; cin>>choice; switch(choice) { case 1:cout<<"You have chosen a single phase power supply\n"; break; case 2:cout<<"You have chosen a three phase power supply\n"; break; …

Member Avatar for tkud
0
144
Member Avatar for nola_Coder

I have an animated sprite animal character that runs across the screen using the arrow keys. It is a series of 7 individual frames. The first frame is its "sitting" position, which is as of now only called when the program starts. I want the animal to return to it's …

Member Avatar for nola_Coder
0
147
Member Avatar for aravinda reddy

I want code to copy word text content into texbox using c# code in web application right now i have code for windows application. [code] using Microsoft.Office.Interop.Word; private void readFileContent(string path) { Microsoft.Office.Interop.Word.ApplicationClass wordApp = new ApplicationClass(); object file = path; object nullobj = System.Reflection.Missing.Value; Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open( ref …

Member Avatar for aravinda reddy
0
2K
Member Avatar for Rageagainst20

I am creating an application that has a thread which constantly moves the contents of one folder to another (Using Visual Studio, Compact Framework) I start the thread like this [CODE]public static class Program { /// <summary> /// The main entry point for the application. /// </summary> /// [MTAThread] public …

Member Avatar for kplcjl
0
7K
Member Avatar for emhmk1

Hello again. I'm looking for a way of displaying the results of a search facility on a site im creating. The site is based on an animal sanctury and the database holds two key tables for searching 'blog' and 'animals' respectivly. Now, how would i go about displaying the results …

Member Avatar for emhmk1
0
92
Member Avatar for abdulraqeeb33

Hi, I am very new to perl pgming. I have a weblog which has a standard format as the below example IP | remoteUser | authUser | Date/Time | Request | Status | Bytes For example, 74.6.72.229 - - [27/Jan/2007:00:00:36 -0500] "GET /~jking/ralph.html HTTP/1.0" 404 215 the fields are seperated …

Member Avatar for abdulraqeeb33
0
142
Member Avatar for riotburn

I am trying to find the yield of a bond given the bond price, coupon, and semiannual three yr bond using newtons method. The value for B in the output should about equal 101. I have checked everywhere for errors but cant find any. Any ideas? And yes I am …

Member Avatar for riotburn
0
149
Member Avatar for Masterace

hi need codes for displaying a negative value eg ($-1000) in the balance txt when a person pays more cash here are my codes Private Sub CmdCalc_Click() 'to declare variables Dim Nam As String Dim Unit As String Dim Amt As Currency Dim Bal As Currency Dim Tot As Currency …

Member Avatar for vb5prgrmr
0
85
Member Avatar for athar89

Provided freeware physics engines like Havok and a few others made by professionals in the field should some one take the headache of making one's own amateur physics engine. Aside from this if some one can manage to give me a reference of a book or a website which can …

Member Avatar for athar89
0
161
Member Avatar for Hanyouslayer

I have been working on a project in Intel assembly until I hit a bump and I can't seem to get myself out of a hole. I realize that this is homework, and I don't expect anyone to do my work for me. However, a little help would definitely be …

Member Avatar for Hanyouslayer
0
470
Member Avatar for Kitten84

I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() …

Member Avatar for Kitten84
0
2K
Member Avatar for crozbme

I am trying to count the characters in a linked list. I am receiving a compiler error when this function is tested... **invalid types `char[int]' for array subscript ** [CODE]int slist::count_c(char c) const { slistelem* temp = h; int count = 0; for (int i = 0; i != '\0'; …

Member Avatar for Ancient Dragon
0
126
Member Avatar for devs.dr

hi i m working on Student Database Management system, I have used button s for insertion, deletion, and update. Insert and delete button is working but update's click gives syntax error: Pls help as soon as possible: [code] Try Dim com As New OleDbCommand com.Connection = con com.CommandText = "update …

Member Avatar for devs.dr
0
111
Member Avatar for HelloMe

Hello everybody... I did a project in c++ about factorials. Now i will do it on VB6. But my problem is somehow my output is always 1. So i think my funktion i made take no action at all. Would be greate if someone can spott my error...Thank you [code] …

Member Avatar for HelloMe
0
105
Member Avatar for Compy

So, I'm still a beginner at python and OOP in general. But I had a question about the order of operations. Basically what I have is a module that contains a class that will reset all self variables for the object and give the object a card. The script I'm …

Member Avatar for Compy
0
147
Member Avatar for heliodoros

hello guys this is my first attempt in C++ and i am getting an error :( the programs is made to read 20 numbers and find how many of them are even (like 2,4,6,20,40) [CODE] #include <iostream> using namespace std; int c[20]; int s = 0; int i = 1; …

Member Avatar for heliodoros
0
115
Member Avatar for need

I have two classes. Student and StudentTest. My test class wil read the student info from the command line. I also need to check if the student already exists with equals() method. Can someone help me with this? Student [code] public class Student { private String firstName; private String lastName; …

Member Avatar for Ezzaral
0
174
Member Avatar for diafol

Anybody know how to do the following: id (PK/autoincrement) file_id (FK/int) - same file id pops up loads of times statement (varchar) - just some text from the file status (tinyint 0/1/2) - depending on the statement = 0 or 1 or 2 into a single record for each file_id, …

Member Avatar for diafol
0
1K
Member Avatar for emanicom

/* PRG/420 Week 3 Assignment: Mortgage Calculator Program Programmer: Eva Manicom Date: March 1, 2010 Filename: Mortgage Calculator Program Purpose: Modify the mortgage program to display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. The list would …

Member Avatar for emanicom
0
145
Member Avatar for clutchkiller

[code] void NewCustInfo(CustData &cust) { cout << "Customer Name: "; getline(cin, cust.name); } [/code] CustData is a structure that is declared, and the name data member of that struct is of type string. For some reason when I call this function(there are no compile errors), it displays the cout statement, …

Member Avatar for clutchkiller
0
89
Member Avatar for digital-ether

I have a page that is under SSL. However, in IE6, I get a notification: "This page contains both secure and non-secure items" etc. I've looked at all the HTTP requests for that page in both Firebug and Wireshark, and none of it seems to be sent over plain HTTP, …

Member Avatar for digital-ether
0
204
Member Avatar for pocix

hi everyone i need help how to -creates an array for 5 integers and store it in array -use the highest & lowest integer and cube it i stuck in array, i confuse how to input integers to array with JOptionPane so far for the input [CODE] import javax.swing.*; import …

Member Avatar for pocix
0
119
Member Avatar for solarb

hi first of all i want to create a linking with two tables in database: 1 table : id,name 1 nick 2 john 3 michael 2 table (i want to use this table for dropdown list) id,job 1 engineer 2 scientist 3 coder how can i link them both? the …

Member Avatar for diafol
0
82
Member Avatar for hawglinx

I am in my first java class and I am writing an amortization program. I have gotten every thing to work correctly thus far except when I try to put in an outer loop I get the following error: 1 error found: \gnixon00Lab3Test.java:116: cannot find symbol symbol : variable restart …

Member Avatar for hawglinx
0
473
Member Avatar for muralibobby2015

hello.... i am doing search concept. i am searching one word from all my web pages . actually i have only one table for 25 static pages. among this pages i want to search searching content. and also highlight the search content. how to do?

Member Avatar for ShawnCplus
0
123
Member Avatar for sblass92

Hi, I'm trying to create a vector array that contains pointers, and these pointers point to objects(particles) that have been created while the program is running. How do I use the appropriate de-reference operator to use functions of the class particle? ex. particle.move(); Here is what I have and my …

Member Avatar for sblass92
0
116
Member Avatar for PhiberOptik

Hey guys, I have two JPanels for my game, one jpanel shows my character, informational text and the other shows the map which is made up of a tileset. Is there anyway I can show the map behind the character and information without merging the two java files? the Map …

Member Avatar for cale.macdonald
0
852
Member Avatar for SchoolBoy

I am writing a program for school where the user inputs their age into a String which is then converted to an integer. When a value that cannot be converted to an int is input, an exception is thrown. I have written the code for this, but I am not …

Member Avatar for SchoolBoy
0
84
Member Avatar for bakwanyana

[code]#include <stdio.h> #include <time.h> #include <cstring> #include <iostream> #include <fstream> #include <sstream> using namespace std; int main () { ofstream file; stringstream ss; time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); char g[30]; char buffer[10]; itoa(timeinfo->tm_mday,buffer,10); strcat(g,buffer); strcat(g,"-"); itoa(timeinfo->tm_mon+1,buffer,10); strcat(g,buffer); strcat(g,"-"); itoa(timeinfo->tm_year+1900,buffer,10); …

Member Avatar for Ancient Dragon
0
213
Member Avatar for dawsonz

Hi, I currently have a dataGridView which is populated with data. However, I now need to be able to add or edit the data in that dataGridView and the changes then update my SQL database. My code for the dataGridView [code] private void main_Load(object sender, EventArgs e) { //create the …

Member Avatar for kvprajapati
0
147
Member Avatar for nitin2010

Hi, When I call a method(present in external DLL) through [B]reflection [/B]which having [B]no parameters[/B] and [B]void return[/B] ,it get called fine but in same DLL when I call a method which have [B]no parameters[/B] but [B]return type Datatable[/B] then I got the [B]'TargetInvocation'[/B] exception. Can anybody help me ?

Member Avatar for nitin2010
0
182
Member Avatar for drewangel

hi, i want to solve 3 equations, which has 3 unknowns like this: a x1^2 + bx1 + c = y1 a x2^2 + bx2 + c = y2 a x3^2 + bx3 + c = y3 can anybody suggest mw how can i do it in C? i tried …

Member Avatar for ninjasmith
0
3K
Member Avatar for vvashishta

dear all I am trying to send a mail using Web.Mail in vb.net. It is working fine but when I try to attach the file using Upload File Control of asp.net, event is not getting fired on which the function is getting called to send mail.. sending the code too. …

Member Avatar for vvashishta
0
282
Member Avatar for P.manidas

Dear Sir/Madam I have a program where I have used a small form as Input / Message Box in place of VB’s InputBox / MsgBox in a click event procedure i.e CmdSave_Click(). Though the code lines are executing in that procedure at a time, the global variable GblBox is not …

Member Avatar for P.manidas
0
309
Member Avatar for k1robert

I am trying to consume a web service using VS2008. The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle? 'Old code that works [CODE] Dim o As New MyWebService.Name Dim pr As New System.Net.WebProxy("100.0.1.1", …

Member Avatar for k1robert
0
924
Member Avatar for KPooja

Hello all, I am using IE. I have dropdown list with <select><option></option></select> on which i cannot provide custom tooltip on hover, because <option> will not support onmouseover event. so i am now supposed to create one custom dropdownlist [B]not using <select><option></option></select>.[/B] may be using combination of <table> and <textbox> on …

Member Avatar for KPooja
0
160
Member Avatar for hitro456

hi everyone, is there any way that I can programatically tell the user weather he/she is successfully connected to the database(SQL Server 2005). or connection failed. Code is written in C#. [code] string Connectionstring = "...."; sqlConnection con = new sqlConnection(Conncetionstring); con.Open(); [/code] how I can check programatically weather con.Open() …

Member Avatar for Renukavani
0
109
Member Avatar for lisles

I want to echo a message before redirecting.the message gets displayed but it disappears very soon.is it possible to increase the time of display before redirect.this is my code [code=php] if($result) {echo "Data has been edited"; redirect('edit.php'); } else { echo "<p>cannot update your data<p>"; } function redirect($loc){ echo "Reset …

Member Avatar for OS_dev
0
2K
Member Avatar for davegball

Hi I have two python lists. list1 is a \n delimited web proxy log file. list2 is a list of domain names. I want to cycle through the list of domain names and for every log file entry check if the domain name exists anywhere in the log entry. If …

Member Avatar for davegball
0
176
Member Avatar for lionaneesh

Hello/Hi, I m new to this pool of C. I wass just reading a book named "C TUTOR" this book is gr8.. but i cannot understand the subscripts of 2D arrays... I find them pretty hard.. Plz tell me wat exactly the below programme mean of suggest me some simple …

Member Avatar for WaltP
0
287
Member Avatar for OS_dev

I would like to be able to change the "wrap" attribute for a textarea with javascript. That is unless you can provide a cross browser solution in css2, giving me the ability to just modify the css attributes. Thank you in advance.

Member Avatar for OS_dev
0
266
Member Avatar for Web_Sailor

Hi, I am trying to compare 2 vectors to remove any kind of overlap. I have written a simple program but it gives a segmentation fault once I increase / decrease number of vector elements in both. Is there a better way of doing this. Especially suppose one of the …

Member Avatar for Web_Sailor
0
177
Member Avatar for ammadiqbal

i want that when i click NewToolstripbutton it run active child form newbutton procedure Note: newbutton is a userdefine Procedure. Help if any body known Ammad Iqbal

Member Avatar for ammadiqbal
0
1K

The End.