199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for defender_

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 …

Member Avatar for defender_
0
68
Member Avatar for gaudi_br

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 …

Member Avatar for gaudi_br
0
203
Member Avatar for iammfa

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 …

Member Avatar for chiwawa10
0
165
Member Avatar for gaudi_br

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 …

Member Avatar for gaudi_br
0
367
Member Avatar for krishnisilva

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

Member Avatar for bords
0
126
Member Avatar for krishnisilva

hi, how can i make the form to disable resize the from at run time in C# hey does anybody know the answer? thanx

Member Avatar for bords
0
100
Member Avatar for agongpor

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: …

Member Avatar for agongpor
0
7K
Member Avatar for Chris_Giarla

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 …

Member Avatar for Fbody
0
203
Member Avatar for mrnobody

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 …

Member Avatar for caut_baia
0
84
Member Avatar for Lapixx

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 …

Member Avatar for snippsat
0
8K
Member Avatar for BLKelsey

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 …

Member Avatar for BLKelsey
0
270
Member Avatar for xheavenlyx

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] …

Member Avatar for xheavenlyx
0
116
Member Avatar for PhiberOptik

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 …

Member Avatar for PhiberOptik
0
93
Member Avatar for Rexzie

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 …

Member Avatar for Rexzie
0
168
Member Avatar for davidsimmonds

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 …

Member Avatar for davidsimmonds
0
355
Member Avatar for krishnisilva

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 …

Member Avatar for Ionelul
0
90
Member Avatar for gabyallheart

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 = [] …

Member Avatar for TrustyTony
0
89
Member Avatar for Daocsm

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 …

Member Avatar for Ionelul
0
100
Member Avatar for reza.adinata

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() { …

Member Avatar for reza.adinata
0
469
Member Avatar for voolvif

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 …

Member Avatar for TrustyTony
0
2K
Member Avatar for d34dw4rd

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 …

Member Avatar for Lerner
0
288
Member Avatar for spherecons

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 …

Member Avatar for jimib
0
146
Member Avatar for johndoe444

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 …

Member Avatar for johndoe444
0
119
Member Avatar for virspy

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 …

Member Avatar for muaazab
0
129
Member Avatar for lola_fcis

i was make aproject with desktop application and make the form but i cant to connect the form with my code thanx

Member Avatar for Stefano Mtangoo
0
77
Member Avatar for euantor

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 …

Member Avatar for euantor
0
308
Member Avatar for Dimansu

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 == …

Member Avatar for davidsimmonds
0
746
Member Avatar for krishnisilva

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 …

Member Avatar for ddanbe
0
124
Member Avatar for ceyesuma

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 …

Member Avatar for ceyesuma
0
302
Member Avatar for gymangel812

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 …

Member Avatar for sourcebits
0
124
Member Avatar for OldQBasicer

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 …

0
64
Member Avatar for trantran

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?

Member Avatar for trantran
0
130
Member Avatar for doomfrawen

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 …

Member Avatar for doomfrawen
0
192
Member Avatar for aaronmk2

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 …

Member Avatar for aaronmk2
0
94
Member Avatar for DrueY

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, …

Member Avatar for DrueY
0
467
Member Avatar for bhavin12300

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 …

Member Avatar for bhavin12300
0
730
Member Avatar for clownContagion

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 …

Member Avatar for clownContagion
0
93
Member Avatar for Stefano Mtangoo

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 ;)

Member Avatar for Stefano Mtangoo
0
90
Member Avatar for rami2005

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

Member Avatar for dnanetwork
0
137
Member Avatar for Kruptein

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 …

Member Avatar for Kruptein
0
112
Member Avatar for babzog

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 …

Member Avatar for babzog
0
129
Member Avatar for rogerkore

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 …

Member Avatar for diafol
0
414
Member Avatar for daino

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 …

Member Avatar for daino
0
220
Member Avatar for vihrao

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 …

Member Avatar for vihrao
0
232
Member Avatar for sdimantova

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 …

Member Avatar for sdimantova
0
166
Member Avatar for pankajagar2002

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 …

Member Avatar for pankajagar2002
0
142
Member Avatar for jhbalaji

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]

0
163
Member Avatar for Iam3R

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 …

Member Avatar for Iam3R
0
121
Member Avatar for jhbalaji

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 …

Member Avatar for jhbalaji
0
142
Member Avatar for Superstar288

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 …

Member Avatar for Superstar288
0
315

The End.