199,114 Archived Topics
Remove Filter ![]() | |
Hi, i am having this problem with c structure pointers. this is snippet from a larger program in which i use temp* to assign values to different other pointers but whenever i update temp* it automatically updates the value of all other assigned pointers as well. pointer b points to … | |
Hello, Because of licensing constraints, we're allowed a single Development server where our application will be installed. Supposing I have the tomcat server running on a remote machine in the company's network, let's say that multiple developers should be able to remotely debug that application. Is it possible?? How could … | |
Hi, This is an exercise I solved it, I want to know, is my solve is the best solve or there is notes, if there is a notes, I'm glade to hear it: [B]The Exercise:[/B] [CODE]Make a program that calculates the sum, mean, minimum, and maximum of a series of … | |
Hi, I'm a developer with little experience in J2EE. I'm working with an Application called Enovia Matrix, which is an N-Tiers System composed by an oracle database, an RMI server, some "thick-client" applications and a Web-Based interface. I develop using Eclipse, in which I imported the War File generated for … | |
hi, i have a datagrid view in VS 2008 standard edition,how can i check if there is no value entered in the cell, how can i write the code.??? please give me and answer someone, thanxxx | |
hi, how can i make the form to disable resize the from at run time in C# hey does anybody know the answer? thanx | |
Hello ... I have a very annoying problem just now, MySQL server in my office is not stable. This morning it has stopped for more than 10 times. :'( FYI, the version of MySQL is 3.23.54 running on redhad 9. When I tried to restart it, it showed like this: … | |
Hello everyone! So I am still coding this game and every time I make progress somewhere I take a step back somewhere else. I know that it is late but I am re-writing from scratch. Anyway, the basic concept of how I am doing this now is as follows: I … | |
Hi, Can somebody please advice me on raising/throwing custom exceptions? Here is what I'm trying to do. [CODE] //MainFunction() will call SubFunction() to perform some ADO function. MainFunction() { try { SubFunction() //OtherFunction1 //OtherFunction2 } catch(...) { //to catch custom exceptions raised by me in SubFunction() so that it will … | |
Hi, I'm new to Python, and although I've quite some programming experience, I wasn't able to find an answer for this problem: As a first project, I am trying to create a small text game. All is going well (since it's very basic), except for my inventory system. At the … | |
Guys, I could really use some direction in getting this console program working for a C++ assignment. I'm in my 8th week and although I've been doing good on past projects, this is a multiple file assignment and I'm confusing myself the more I try to understand. I feel like … | |
Hello everyone, I have searched for this high and low but could not find a solution. To elaborate on the heading. I am trying to figure out a way to do this: 1. I have a text file with one line paths and file listing in it, for example: [CODE] … | |
Hey guys, I want to know how you guys parse html. I'm writing a program to compare products on a website. I already have a system that scrapes the websites. I looked at HTMLParser, I'm a little confused on how to use it, I was thinking about writing my own … | |
Hi fellas..this is my first post here..I am new to this 'hardcore programming' and all..I came across a problem for which I killed some time..with no fruits..It might be simple,trivial or even 'famous' for you guys..Any assistance is appreciated much.So here it goes.. Given an integer,the problem is to find … | |
I have the same problem with multiple joins. Here is the query: Data data = (from scr in entities.SponsoredCharitableReportsSet from company in entities.CompanySet.Where(c => c.ID == scr.CompanyID) from user in entities.UserSet.Where(u => u.MemberID == scr.MemberID) where scr.ID == DetailsID orderby scr.DateRequested, company.CompanyName, user.FullName select new Data { ID = (company … | |
hey, does anyone know how to handle this exception? please help me [CODE] //Retrieves all the contract numbers from the Contract table public String[] getPhaseNumbers(String TopicNo) { db.openConnection(); String query = @"Select Phase From Topic Where TopicNo = @topicNo"; SqlCommand command = new SqlCommand(query, DB.getConnection()); command.Parameters.Add("@topicNo",SqlDbType.Int).Value = TopicNo; SqlDataAdapter da … | |
I have this program, is working good but i got error when the rows are full because stop and not keep going...can some one help me please..:) import random class Rack(object): def __init__(self, cols, rows): self.rows = rows self.cols = cols grid = Rack(7,6) def returnStartRack(xLen,yLen, blank): grid = [] … | |
yes im kinda new to vb and hoping someone can help me, i'v tried google with no luck. so i am creating a database program using access SQL statements to load the data, everything works perfictly except i cant figur out how to upon first install of the program the … | |
Hi All, I am new in programming, and currently learning from some samples. From a[URL="http://www.c-sharpcorner.com/uploadfile/sthangaraju/tcpclientserverst11182005014316am/tcpclientserverst.aspx"] page[/URL], I tried to implement a TCP client server with the following page in WPF (visual studio 2008) [CODE]using System; using System.Text; using System.Net; using System.Net.Sockets; public class serv { public static void Main() { … | |
Hi, I'm trying to count the number of unique IP addresses present in an apache log file. I am using a text file to store the unique IP addresses as this needs to scale to large numbers of IP addresses (upwards of 100 million) so using a dictionary or any … | |
Parking lot simulation This program simulates the operations of a parking lot. This particular parking lot consists of two alleys, each of which is wide enough for only one car and is closed at one end. You must use a Link List. Alley A Alley A is the primary parking … | |
Has anyone there got any experience of using ASP (not ASP.NET - but I'll come to that) with VS2008. The debugger dies whenever you change anything or stop it - which seems inelegant. Microsoft's response is to sniffily tell me that they don't support ASP beyond VS2005 and certainly won't … | |
I tried to use some online resources. All of them covers this much: 1. How to create xmlHttpRequest in cross-browser fashion. 2. How to define onreadystatechange function 3. how to call open and send 4. how to receive and use responsetext and responsexml 5. how to do the server side … | |
hi frnds.. Here i m trying to attach the file from my webpage..it is working..but when i checking on the mail, the attachment is corrupted and it is not giving any file format [CODE]<?php $e_mail=$result['EmailAddress']; $fileatt = $path; // Path to the file $fileatt_type = "application/octet-stream"; // File Type $fileatt_name … ![]() | |
i was make aproject with desktop application and make the form but i cant to connect the form with my code thanx | |
I'm currently writing a code for a dynami image generating script to return XBox Live gamercards. I've got everything working almost perfectly apart from imagecreatefromjpeg (which I am using to return the thumbnail images of recently played games). My code is below along with a sample image for you to … | |
Hi, I want to left outer join 2 tables called a and b.In the Where clause I want to check properties from both tables i.e like this [CODE] var query = from a in data.A join b in data.B on a.id == b.id where a.marks = 1 && b.archived == … | |
hi , i have a multiline text box in one form when i write information on it in the run time, it goes on without showing the scroll bar, how can i add the scroll bar controll to the textbox?? this is in C# Any one know the answer?? please … | |
Hello. Is there someone who might be able to show me how to adjust a insert for a prepared statement sent to a derby embedded db? [code] run: driver name from xml: org.apache.derby.jdbc.EmbeddedDriver in bCreatedTables: created table: createAdminTable created table: createPayeeTable created table: createStudentTable created table: createInstructorTable created table: createBookingTable … | |
I can't figure out what the problem is with my code. What I want it to do is add a new sandwich to the database when all fields are filed out and an image is uploaded. If product name field is not entered, the sandwich selected in the dropdown box … | |
I'm trying to make a form with a thermometer painted on it. I want the thermometer to go up each second. I tried the code below and it sorta works, but not really. It does the For... Next loop okay and shows the message box, but then does NOT Exit … | |
Is there a safe and legal way to go from a pointer to a member of an object to a pointer to that same object? | |
Hello friends, I've been working on a program that extracts the data from a database, then when I query the database the data is displayed on a listview, and then only the items that are selected are added into another listview(checkbox), now my problem is that i need to calculate … | |
I am trying to use pow(2,a); and I am getting a error 'pow' ambigous call to over load function. I don't understand why, I added the cmath libarary. Here is the code. [CODE] #include <iostream> #include <cmath> using namespace std; int binaryToDec(int); int main() { binaryToDec(1110); return 0; } int … | |
Hi Everyone, I need help understanding how these traversals work :s [url]http://en.wikipedia.org/wiki/Tree_traversal[/url] On this page they have the code for these tree traversals, but I don't quite get it. For example, printing using the in-order traversal (using the example tree provided on the site) should give: A, B, C, D, … | |
hi, i am facing strange behaving of my application. i have developed one simple application, which will fill up some fields in webbrowser control webpage. this webpage has iframes in it. domain of both iframe are same and fields which i am filling with my code is in iframe. but … | |
I have a 480 x 480 Panel in a Form upon which I draw. However, only things I draw in the area between (0,0) and (200, 100) appear. The application records the actions I perform outside this area, but their results do not appear. It seems as if only the … | |
I have recently being interested in Web security and I have some reading. I then found [URL="http://www.developertutorials.com/tutorials/php/secure-website-login-060817/page1.html"]this post[/URL], and it is great. I would like to hear what do you think is missing or what isn't necessary a.k.a overkill. It is not criticizing as such but discussing security ;) | |
i need help in asp.net i use vb.net to build awebsite and i need to link to external websites ex: i want to open google.com from my website please if any one help me thanks alot | |
Okay my syntax highlighter works very well, I only have on problem, Sometimes GetWords() adds "\n" to operatorless although there isn't pressed an enter I think the problem is within the GetWords() function, but I give all functions to be sure.. Main function is OnKeyUp, colorize prints the text colored … | |
Hey folks, Probably a stupid error on my part, but I'm having trouble with this. Using ioctl calls to get adapter info on a linux box. I've got it working using a fixed size array (of struct ifreq) but it's not working when I try to use a dynamic array … | |
Hi all, can someone tell me if it's possible do search like this: Mysql database: test Mysql Table: something Mysql rows: id name1 name2 name3 name4 Where [CODE] id name1 name2 name3 name4 1 roger mac phill chill 2 roger chill dubs lee [/CODE] The idea is do a search … ![]() | |
Hi Would anyone know if there is a book explaining all the various C++ Libraries and what features they encapsulate? I'm thinking in terms of, for example: iostream -- then a list of features and functions in iostream etc. Could anyone suggest any books or good reference material for this … | |
I am trying to add two matrices and get error when I add two matrices in the line rslt = m1+m2 using operator overloading. Both m1 and m2 are matrix classes. Here is the code: [CODE] int main(int argc,char *argv[]) { matrix * rslt; //matrix *m1 = new matrix(); matrix … | |
Hi, I'm developing this query for a dashboard using System Center Config Manager Dashboard. The query needs to produce a table which shows the number of computers which have Office 2007 Standard edition in one row, and the next row should show the number of computers which do not have … | |
Hello friends. Can anybody tell me how many ways exist to create the instance of class. i know only two ways to create the instance of class. 1. using new operator 2. using Class.forName() can anybody tell me more method. someone told me that there is more than 5 method … | |
I was digging through my old codes to get this, still could not find. Hence when I wrote it, just made a note here such that later it wont be difficult to find atleast for me. [B]Format filesize, php filesize human readable[/B] | |
hi, how the below code is generating out put as " -1 < ( unsigned char ) 1 ". i read in many books saying when we do operation with singed and unsigned value always the resultant will be data type that has more width . i understand that -1 … | |
Hello in the below PHP Code Everything seems fine but it did not posts to the site when i use it Can any one spot out what type of error it is Also here the XML RPC is enabled and the when i access it directly it works(i mean the … | |
Hi every thanks for taking the time to read my thread. anyway i had an idea of doing a car diagnostic program which would then store results and act as a car library for my final year project but im not sure if this is possible and if it is … |
The End.