64,152 Solved Topics
Remove Filter ![]() | |
Hi, I having problem to fix this problem. Already search for related thread, but cannot find a solution. The case is like this. I have 2 system that intergrate each other. Let assume as system A and B. User need to login from system A and can use system B … | |
Does anyone know how to use a prompt on java applet? I was to create a very simple calculator. Two prompts will appear asking for inputs. Then the sum, product, difference, and quotient will appear on java applet. | |
hello world. I dont can finish my project. can you solves the problems? I use code:blocks and every funktion and header is on a own file. [code=c] #include <stdio.h> #include <time.h> #include <stdlib.h> int main(void); void field(int paiOpen[][18], int iBig); int summe(int iGroesse, int paiFeld[][18]); int inputf(int *piFeld); void randgen(int … | |
Hi, I have got a utility "sock" which is C executable (under linux) on my machine. It acts like a server or client based on the arguments passed at the command line. I want to run it through a python script. I am using the subprocess call function to execute … | |
Hi, I am trying to call a MouseUp event. I usually do this with button events wich is my first example that works fine but I have compile error for the MouseUp event like shown below. I dont know if there perheps is a difference here that I am missing … | |
hi all.. I just want to ask,is it correct,in a class that we have built,PHP will first execute the constructor function before the others?? to make it clear is this is example : [CODE] <?php class database { public function __construct() { $this->open_connection(); } public $connection; public function open_connection() { … | |
Hi developing a video application which is almost complete and just getting rid of a few bugs, one i am stuck on is an auto updating list box i use filesystemwatcher to update contents of listbox and added a bit of code with a textbox to allow me to change … | |
![]() | Hi I need a help in choosing a combo box event for placing this code. I have tried with Lostfocus,leave,mousefocuschanged,displaymemberchanged like this but nothing works and Lable26(Default I set Visible:false ) is visible even after I select an Item. [CODE] If combotype.SelectedIndex = -1 Then Label26.Visible = True Label26.ForeColor = … ![]() |
Hello, I have this part of php code... [CODE] <?php $dom = new DomDocument(); $dom->load("anna.xml"); $xp = new domxpath($dom); $unitid = $xp->query("/ead/archdesc/dsc/c01/did/unitid"); foreach ($unitid as $check) { print '<a href="#" onClick="displayResult2(' . $check->textContent . ')">' . $check->textContent . ' </a>'; // I presented the unitid's of a xml file and … | |
Could someone please make me understand a line in the code? Ive commented it [code] class Circle { protected: double radius; public: Circle(double r = 1.0) : radius(r) {} //this part is what i dont understand double calVal(); }; [/code] | |
Hi guys... Thanks for viewing my thread and hopefully u could reply a thing. i have this: input: -i 2,3,4,5 [CODE] public class Main { public static void main (String [] args) { static int value[]; static no_of_parameter; for (int i=0;i<args.length;i++) { if (args[i].equals ("-i")) { String value_str = new … | |
I have an application that uses an *.accdb file as the back-end database. Connecting to and retrieving data from the access file is not an issue and is working quite well. However, as a precaution, I have the application first check to make sure the database file exists in the … | |
To all experts, I am trying create a page that allows users to view and reuse images returned from mysql. In the mysql database I have two columns "image_path" (which stores the path and name of an image stored in the file system) and "image_name" (a text name that the … | |
Hi I am not been able to receive URL parameters passed from my ajax code in my jsp. Here is the code [CODE] function showDetails() { document.detailsForm.sltdUser.value = selectedUserID; alert('selectedUserID' + selectedUserID); var httpRequest; var url = 'showDetails.jsp?sltdUser = ' + selectedUserID; if (window.XMLHttpRequest) { // Mozilla, Safari, ... httpRequest … | |
aside from itoa function, is there any other way to convert a string to an integer? itoa function won't work in my compiler. | |
i have this structure : [CODE] typedef struct nodetag{ char *employeeNumber; name mName; birthday bday; char *address; char *rank; int salary; hireDate *hdate; }*node; typedef struct nodetag1{ char *month; char *date; char *year; }birthday; [/CODE] but I don't know how to access the month in bday. i tried using node1->bday->month … | |
Really I am a PHP beginner, I am working on this code and I need help, kinda stuck. I have a database with 3 fields(id, date and venue). This is simply what I want to do; I want my script to go into the database fetch the date and compare … | |
I wrote a python program that gets input from an input file. It works fine for small input files since after opening the file I did this to get the data [code=python] data=fPtr.readlines() [/code] Since readlines only takes the input data and packs it into a list, it is clear … | |
Hi..I'm new here, posted my problem before but can't really keep track of it, don't know where it is so i decided to start a new thread,, i hope this is not a problem... I'm trying to create a database for a school..it should be able to incorporate virtually everything … | |
I am working on a picturebox that adds a in-depth cropping feature, I am a centered junkie, that is to say I don't find left justified images aesthetically pleasing. I just have to have everything centered. Add to this that the zoom mode of the picture box ensures that the … | |
Hi, been looking all night on net but cannot find ORDER BY Month anywhere. This is my query: [CODE]SELECT MonthPaid AS XLABEL, SUM(Amount) AS YVALUE FROM monthlycommission WHERE YearPaid= NOW( ) GROUP BY MonthPaid[/CODE] However when i display this it goes June, March then May I want to add an … | |
Good day I'd like to find out how to change the color of a row on a page startup in Delphi 7 pro with an Express Quantum grid 6 What i am trying to achieve is this if Quantity in stock = >10 row color should be green... if Quantity … | |
Hi all, I'm sorry my bad english. If don't understanding something, please ask. I have a problem with my calendar. Can somebody tell me why I can't mark day cell in my calendar. Do I miss something what I can't see or is my code failed? My calendar is full … | |
Hi, I am simply trying to output text to my project screen that has a counter which increments by one, than prints it. Here is my attempt. int abovemaxpoints = 1001; // this works for any scoring for the game. while(std::cin >> abovemaxpoints) { std::cout << "star points" << counter++; … | |
This exaple show you how to insert image in database and how to retrive in gridview. see the attachments. | |
I have to write an extension of basic_stringstream class, and I'm facing some difficulties with endl() function. Here is my code [CODE] class Logger: public basic_stringstream<TCHAR> { public: Logger(); }; inline Logger& __cdecl endl(Logger& _Ostr) { // Original code in ostream _Ostr.put(_T('\n')); _Ostr.flush(); return (_Ostr); } int main() { Logger … | |
I notice <vector> uses the constructor once and then uses the copy constructor for a class when creating all the other elements of a vector chain. So, if I have: [code] class MyClass { MyClass() { cout << "Constructor" << endl; } ~MyClass() { cout << "Deconstructor" << endl; } … | |
I am planning to use preg_replace to remove some unwanted stuff from dynamic string $mystring: <ul><li><a href="http://www.url.com/wiki/How_to_fix_erection_problems_after_prostate_surgery&diff=335&oldid=prev">How to fix erection problems after prostate surgery</a></li> <li><a href="http://www.url.com/wiki/Wikipenis:Community_Portal&diff=334&oldid=prev">Wikipenis:Community Portal</a></li> </ul> This string is generated from an RSS reader. (The url has obviously been replaced to make sure no one thinks this is … | |
i need to convert date format used from datetimepicker as(dd/mm/yyyy) to (yyyy-mm-dd) any ideas thanks | |
hii i am trying to write code for Login but its not working.. i have used this code for my another loginpage there its working dont knw y its not on working on my new page. when ever i click on Login button it goes in else statement that open … | |
Reference books says arrays are immutable. [code] int[] myArray = new int[3]; myArray[0] = 1; myArray[1] = 2; myArray[2] = 3; int[] myarray1 = myArray; myarray1[1] = 3; [/code] myarray and myarray1 both are showing result 1 3 3. but I thought myarray1=1 3 3 and myarray=1 2 3. Please … | |
I have a class that gets a JFrame as a parameter. I want to get a certain component from it and do some operations with it. Something like this: [code] class A { A (JFrame frame){ a_certain_Component jScrollPane = (a_certain_Component) frame.getThatComponent(); jScrollPane.setViewPort(new JTextPane()); } }[/code] | |
If two classes (Bar1 and Bar2) inherit from the same base class (Foo) [CODE] public abstract class Foo { public abstract void Spawn(Settings settings); } public class Bar1 : Foo { float a; int b; public override void Spawn(Bar1Settings settings) { if (settings == null) { settings = new Bar1Settings(); … | |
it should display in the textarea "car1>>car2" instead it displays "car1>>car2" try this code... it doesn't work. put your mouseover "test". [code]<?php $sumz= "car1>>car2"; $textsearch = array('&lt;','&gt;'); $textreplace = array ('<','>'); $textareatext = "$sumz"; echo "<div style='display:none;' id='1'>".str_replace($textsearch,$textreplace,htmlentities($textareatext))."</div>"; echo "<table><tr><td onmouseover='Test(1);'>test </td></tr></table>"; echo "<br /><br /><textarea name='reply' id='reply' style='color: #000000; … | |
hi ...i have registered for reliance power...the written test will be held on july 2010..now i have to prepare for that exam...will u please tell...what to study for the technical test..please help me thank you..please suggets me some books for technical...i have selected IT specialisation for technical written test...thank you,have … | |
I have a WebPage that needs to pass information to a PHP page. Now the task is easy but the problem is that anyone can see the source and edit the information to be passed but I want only my page to pass the information. How can i achieve this? | |
Hi all, Here [url]http://www.blackwasp.co.uk/VSRenameIdentifiers.aspx[/url] I read about a possibility to change identifiers automatically and consistently in VS. In my VS2008, I don't see the "refactor" menu item in any of the mentioned menus. Any ideas for what could be wrong? Any other ideas, how can I rename a class automatically … | |
Hi, I have a small application that reads an access database. I'm able to load the data, but it's in ascii. I created a function that does the conversion but for some reason I can't figure out how to implement it correctly. Where do I call the AsciiToString() function? Here … | |
Hi there. how can i limit the value of records in Access. Is there a LIMIT function in Access like in MySQL? tnx in advance.. | |
Hi guys, Well, it's World Cup time and it seems only fitting that I submit something related to that. I was intrigued by the whole "Group of Death" concept. Intuitively (for me), a group of death should be a very unlikely event - yet they are always found in the … | |
Hi, I got a question to check if a date time is within another date range (So as to check conflicting schedule) There are various possible types of schedule: 1: One time start - end event. Typically such schedules is like a tour / outing / camp event, and hence … | |
Hi! I'm doing software that controls my computer with a wireless navigator that includes Windows CE. I'm doing this with Python. Okay, so lets begin. One of those control options is audio volume controlling. I have a code, that can change Windows XP WaveOut volume on a scale of 0-255. … | |
Hello! I have a question about following code. I don't understand why workerList gets populated with just 1 record (row) from database (the last one). I used a debugger, and every time new worker is added to workerList in while loop all previous records in list get overriden with last … | |
Hi.. I've got a problem in how to connect atmega8535 to VB6 using MSComm... I've already build the program in VB6 and usart program in CodeVision,and it's already work in computer that use Windows XP. but when I tried it in computer that use Windows 7 it doesn't work...!! Any … | |
I always come to dani web whenever i have some difficulties. Thanks to all of you. I have a question regarding DLL's. A DLL file is to be written or we just write a CPP file and the compiler generates a DLL for this CPP? Please answer Thanks in advance | |
I have a four projects in a solution AllianceControl -MainMenu -BackflowControl -UMS -CounterReceipts MainMenu Serves as launchboard for all the different projects as refrences them all to get at the controls to launch in a tab control: BackflowControl -> MainMenu UMS -> MainMenu CounterReceipts -> MainMenu EX: [url]http://s1024.photobucket.com/albums/y307/USSDeveloper/?action=view¤t=datagridpull.png[/url] This setup … | |
Hello, have a page where I am going to be doing multiple queries on different databases. However I thought my below code would work but it does not seem to resurn any error message nore any result set. Here is my common database connection file <?php //database username and pass … ![]() | |
I need to know how can I make a program for specific hard disk? I have heard it that programmers use hard disk`s unique number to protect their program. So that user cant use this program there in another pc(hard disk). So would you please help me about it? I … | |
Dear Experts, I am building a program which needs to store an Image (any image type) in SQL Express 2008. I am able to read, and insert images into SQL Datatable, but I can't seem to update my images. The SQL DataTable contains columnname "picture" - Varbinary(Max) I am using … | |
Hi, Can we retain multiple checkbox selection upon refresh or using pagination for few hundred records? There is a page where user sees all the items which has search box on the field column to perform searches and select items using checkbox besides those items. While searching the items page … |
The End.