199,114 Archived Topics
Remove Filter ![]() | |
Hi All As a beginner, I design a small programm using netbeans(6.1). Actually I designed one class and connected it with several JDialog ,but I find some difficulty with search engin and creating the LinkedList.(how can I connect between them ) main question : if I search fort he customername … | |
Hello, I need to decode certain packets which I need to split first. They are splitted using '@@@' (in this example I only use one '@'). I'm having this code now: (It's basic C code for a NDS platform) [CODE="C"]char buf2[256] = "test1@test2@test3@"; char packets[30][256]; int main(int argc, char ** … | |
I am trying to read my database from mysql. I have two fields author and books. I need the author field to be in the drop down list and then when I choose an author I need it to display below on the same page all of the books by … | |
i already have a "def show hand" section, which shows winning hands. but i need it to do wht i have written below here is a black jack code, i want it basicialyy show score for each game detailing the users total, the computers total and the winner and When … | |
Can we add Two Users with Same Name in Active Directory......?? | |
Hi all Web 2.0 is yet to peak and we have Web 3.0 upon us with cloud computing and all, ain’t it exciting? Open source, the delivery of IT over the Internet as services, what a total smashing idea and what is more awesome is the golden opportunity to learn … | |
Hello, I need your help for the following application The app has to do with polynomial manipulation and my question is how can i manipulate both letters and numbers. in other words how can i collect together terms , e.g., (x + 1) + x → 2x + 1 rather … | |
Hey guys, I have a problem with a game me and a friend are creating... We have just set up a Server and Client through the use of Sockets... My friend (at an external location to me) can connect to my server when I forward the port we choose (in … | |
Hey all. I'm new to this forum so I'm a little confused... but hey who! Anyway, straight to the point, I'm currently in 6th Form in school and we are learning Pascal in computing. For one small activity, I need to get the information from a file and sort it … | |
Hey, I have a quick java question. I am building a Java application that uses an SQL database. I was wondering if it was possible to have this desktop application use the internet to connect to an SQL database setup on a remote server? This way the program data would … | |
Hello all, Wondering if someone can direct me to a regex component and some code that I can use to strip out certain links from an HTML file (loading in a StringList). Example: <a href="../foo/23134.htm">bar</a> The result I'm after is: bar I only want to strip the link here, but … | |
[code=c++] class tvShow { public: string name; string dayofweek; int lengthInMin; double rating; } [/code] write a sequence of statements that will do the following: If the show is scheduled for wednesday and the rating is above 20, print We Have a New Hit Show. if this is not true … | |
Hello, i Recently Tried to copy a simple txt File To my Pc From My apps resources, But i get errors ect, Is this even possible? i was using [CODE] System.IO.File.Copy(svchost.Properties.Resources.Textfile, @"C:\", true); [/CODE] | |
I use this code to open a FileDialog, choose a file and press OK. It works fine, but when I press OK in the fileDialog, the FileDialog doesn´t close after pressing OK the first time. The dialog blinks one time and are still open. The second time I press OK, … | |
Hi All, I am trying to read pixel values of a PNG file using turbo C. I use lingpng library files. I started with following code FILE *fp = fopen(file_name, "rb"); if (!fp) return; fread(header, 1, number, fp); is_png = !png_sig_cmp(header, 0, number); if (!is_png) return; when complie this, it … | |
hello frds, i want to change text of textbox1. and that text taken from other textbox or other control. but problem is to fill textbox1 i have certain condition like first text should contain 6 digit, second 10 third 1, fourth 8. textbox1's text should be appear in this format … | |
Does anyone know how to Detect Mouse Click Anywhere on Window, Not just on form? | |
I have recently downloaded the latest version of ''Open Web Spider'' (OpenWebSpider# v0.1.3) from here: [url]http://www.openwebspider.org/download[/url] and have extracted the zip file, but when I looked into what I've got, I could hardly figure out what to do. No ''install'' file or anything like that. Can anyone please tell me … | |
i got one root folder containing my main.cpp and four folders named cmnlib(for static library), include(for headers), sourcefiles(.cpp), dbdes(mydatabase). i want to create a make file and it will first create object files from the .cpp files into sourcefiles folder and then it will create a libLibrary.a to cmnlib folder … | |
![]() | Really new to python and maybe I am just missing something that is quite easy. I am trying out a simple recursive function that you would assign to a freshman CS class and I am trying to do in in Python in an attempt to learn the language. I can't … |
Good morning. I would like to replace line 178 with a statement which would simply open a new url and close out the page that calls the new url. Can this be done with one line of code? Thanks sin advance. [code=syntax] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); … | |
hi all, can you help me find a way to start a new internet explorer window in a new process? for the moment i am using window.open in javascript but its using the same process no matter how many windows i open while what i need is one process for … | |
i have done a read() and a write()... after running write() the read() won't read the newly wrote data until i compile again. my guess is that the newly written data doesn't get saved until i compile again.. please if anyone knows how to make it saved so the read() … | |
Hi guys my first post here so I houpe I get some help :) I'm learning VB6 at collige and as part of the project We been asked to make Program that shows contect of the website in VB app coppys selected section text so lets say This Site [url]http://top.forumcommunity.net/?skinid=43[/url] … | |
I am making a python script to extract files on mass which are stored in sub folders. The whole script works fine except when I pass the command to the system using os.system() [code=python] command = '"C:\\Program Files (x86)\\unrar\\unrar.exe" x ' + '"' + ch_dir + "\\" + File + … | |
Hello gurus! Hoping someone can help me out. I am building a calendaring program for items with php/mysql. Each item will have an entry into a table, listing a starting unix timestamp and an ending unix timestamp. What I'm trying to do is build a query that will search all … | |
Hi, I am learning python CGI programming but got stuck with some issues. I would really appreciate if you could help me out. Problem: I have made a web page using Python CGI scripts; from one of the menu items on the web page, I am trying to call another … | |
I have just started learning the c language,can anybody provide me help as to how to get started with it | |
I've converted a project from VB6 to vb.Net, with visual studio 2008 and I'm experiencing difficulties with the addressOf operator. I have an application which uses an external dll to communicate with a payment terminal, through callback functions. I understand that in vb.Net, you have to use delegates. Before I … | |
Hi guys, I pretty new to c++ and I have a problem with getline. I am supposed to call in a text file into a 2d character array and the text file is a maze. Here is my code: [ICODE] void maze::open() { ifstream file; int row=0; file.open("standard.txt"); while (!file.eof()) … | |
i want to include next page option in my web application | |
Hello everyone, I have an ASP chat inside an IFRAME. The ASP file is hosted on a different domain than the main website. When the user logs on by entering their name, the chat stores a cookie so the user can start posting messages. However since the cookie is stored … | |
Hello, I am having problem with fgets accepting string from the keyboard. I have this statement : [ICODE]fgets(T , sizeof(T) , stdin);[/ICODE] in the code, but this thing is not accepting anything. I mean I have 2 strings to accept where I used fgets for the first, and then scanf … | |
Hello Dev, I want to change font colour in wx.RichTextCrtl, but I find the way it is used in wxDemo is complicated with no code to explain. Is there simple way to do it? If there is no other way, can someone explain the way it is done in demo … | |
Hello everyone, I have written the folllowing scripts, just want to output "Foo is true." when the property foo is set to true. But when using Eclipse to run the simple script, there are something wrong. Could anyone help to check what is the wrong with my shell scripts? Source … | |
Hey guys, I'm trying to use MySQL and I have a server setup and ready to go and I'm 100% sure it works. I read a tutorial page and tried to find more but I couldn't. What I did was drag the .jar file that came in the Connector/J.zip (3.0) … | |
Hi, I'm new to the forum and just saying hello. | |
Hai everybody!I'm trying to implement a program to implement Quine McCluskey algoritm.While trying to compile with the following code,I got an error which says " no match for 'operator[]' in '((Table*)this)->Table::isMarked[r]' " . Attached are the files: Table.h,Table.cpp,Term.h,Term.cpp Please help!!! | |
what's the simpliest code to display a PDF file inside a JTextArea?? | |
Hi All, I am using the following code for form validation but i am getting an error saying that unexpected T_variable in line [code=php]<?php include("menu.inc"); include("tiki-setup.php"); ?> <div id="centerContent"> <p class="first-letter">Please fill the following form in for any enquiries that you may have:</p> <p> <?php // if the form has … | |
Ok, I just learned the basics of Python yesterday, and because of other programming knowledge, I picked it up pretty fast. So then I decided to try out pygame, and I installed it directly to my Python26 directory. But none of the example code I paste from any website doesn't … | |
hi, i had got a script from some resource that demonstrasted outlook and php. but i had done perfectly but getting the following error. I request members to help me with this. [COLOR=DarkRed][I]Fatal error: Uncaught exception 'com_exception' with message 'Parameter 0: Type mismatch. ' in C:\apachefriends\xampp\htdocs\outlook\COutlook.php:112 Stack trace: #0 C:\apachefriends\xampp\htdocs\outlook\COutlook.php(112): … | |
I need to replicate data from server A to server B, server A is for transactional use, while server B is for reporting, where we do some database modification, for example posting, the problem is everytime the replicate agent run, it reset the modification into the original data. and when … | |
how can i call a 1 command button in another form? for example i have form1 in the form 1 i have listbox, in my listbox i have item Customer, Product and etc if i double click my Customer i want to click my command 1 button in form 2 … | |
Hi experts, I am writing a window application in C# which requires to format user selected hard drive programatically. Any help or suggestions please? | |
Hi 2 all This is Gowtham. I am new to PHP. So could any one please tell me " how to send data to server Using URL with out using AJAX". Please send me some examples. and explain how it works. Thank you | |
it is like that if user click on product_id cell product name and unit come automatic when user enter on quantity user allow to enter quantity and cursor go on next row Kindly find the attachment. | |
hi guys I want help in solving this question the power series for In(x) ( 0<x<2) for up to 1000 terms is: In(x)=(x-1)-(x-1)^2/2+(x-1)^3/3-(x-1)^4/4.......-(x-1)^1000/1000 write the C++ code of the tWo functions GetValueofvar() and GetLogofVar(var) in the following main program: void main(){ double var; double x; var=GetValueofvar(); x=GetLogofVar(var); } where get … | |
I have a problem that I have "solved" in that it now does what I want, but I'd like to know why it works. I have a JFrame. Within that JFrame I have three JPanels, which I'd like the user to be able to adjust. I would like to be … | |
We are building a query to count the number of events per hour, per day. Most days there are hours that do not have any activity and therefore where the query is run the count of activities per hour show up but there are gaps and the query excludes these. … |
The End.