64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for red_ruewei

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 …

Member Avatar for Manuz
0
131
Member Avatar for aladar04

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.

Member Avatar for aladar04
0
83
Member Avatar for god_like

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 …

Member Avatar for god_like
0
129
Member Avatar for prashanth s j

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 …

Member Avatar for prashanth s j
0
205
Member Avatar for Jennifer84

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 …

Member Avatar for jonsca
0
82
Member Avatar for samsons17

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

Member Avatar for samsons17
0
104
Member Avatar for kenny22

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 …

Member Avatar for kenny22
0
131
Member Avatar for b1izzard

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

Member Avatar for b1izzard
0
176
Member Avatar for renoua

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 …

Member Avatar for renoua
0
249
Member Avatar for Roses89

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]

Member Avatar for Roses89
0
108
Member Avatar for ubi_ct83

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 …

Member Avatar for ubi_ct83
0
105
Member Avatar for zilonox

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 …

Member Avatar for zilonox
0
295
Member Avatar for 68thorby68

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 …

Member Avatar for ppetree
0
126
Member Avatar for AbhikGhosh

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 …

Member Avatar for Thirusha
0
732
Member Avatar for cmsc

aside from itoa function, is there any other way to convert a string to an integer? itoa function won't work in my compiler.

Member Avatar for cmsc
0
81
Member Avatar for cmsc

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 …

Member Avatar for cmsc
0
89
Member Avatar for aMOEBa

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 …

Member Avatar for aMOEBa
0
4K
Member Avatar for sureronald

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 …

Member Avatar for mahesham
0
4K
Member Avatar for seslie

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 …

Member Avatar for seslie
0
102
Member Avatar for Diamonddrake

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 …

Member Avatar for Nivass
0
3K
Member Avatar for andydeans

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 …

Member Avatar for andydeans
0
568
Member Avatar for cVz

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 …

Member Avatar for vedantham
0
1K
Member Avatar for make11

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 …

Member Avatar for make11
0
164
Member Avatar for tiger86

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++; …

Member Avatar for rahul8590
0
236
Member Avatar for pritesh2010

This exaple show you how to insert image in database and how to retrive in gridview. see the attachments.

0
60
Member Avatar for paddy8788

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 …

Member Avatar for paddy8788
0
150
Member Avatar for fandango

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; } …

Member Avatar for Radical Edward
0
223
Member Avatar for SerjSagan

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&amp;diff=335&amp;oldid=prev">How to fix erection problems after prostate surgery</a></li> <li><a href="http://www.url.com/wiki/Wikipenis:Community_Portal&amp;diff=334&amp;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 …

Member Avatar for SerjSagan
0
163
Member Avatar for wiss.dev

i need to convert date format used from datetimepicker as(dd/mm/yyyy) to (yyyy-mm-dd) any ideas thanks

Member Avatar for jlego
0
918
Member Avatar for iqra123

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 …

Member Avatar for iqra123
0
80
Member Avatar for madhan

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 …

Member Avatar for madhan
0
107
Member Avatar for Alex_

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]

Member Avatar for masijade
0
236
Member Avatar for DaveTran

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

Member Avatar for nick.crane
1
202
Member Avatar for MDanz

it should display in the textarea "car1>>car2" instead it displays "car1&gt;&gt;car2" try this code... it doesn't work. put your mouseover "test". [code]<?php $sumz= "car1>>car2"; $textsearch = array('&amp;lt;','&amp;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; …

Member Avatar for MDanz
0
115
Member Avatar for sanagopi

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 …

Member Avatar for Ancient Dragon
0
136
Member Avatar for shubhamjain1

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?

Member Avatar for Graphix
0
77
Member Avatar for gidireich

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 …

Member Avatar for gidireich
0
211
Member Avatar for lm111

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 …

Member Avatar for lm111
0
124
Member Avatar for werks

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..

Member Avatar for wellsantos
0
120
Member Avatar for daniel88

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 …

Member Avatar for daniel88
0
114
Member Avatar for samuel_1991

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 …

Member Avatar for samuel_1991
0
447
Member Avatar for Pytho

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

Member Avatar for vegaseat
0
971
Member Avatar for Sarevok19

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 …

Member Avatar for genux
0
107
Member Avatar for abyan

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 …

Member Avatar for vb5prgrmr
0
103
Member Avatar for adcodingmaster

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

Member Avatar for adcodingmaster
0
171
Member Avatar for USSDeveloper

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&current=datagridpull.png[/url] This setup …

Member Avatar for Ketsuekiame
0
122
Member Avatar for jayreis

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 …

Member Avatar for rajarajan2017
0
162
Member Avatar for Kingcoder210

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 …

Member Avatar for kvprajapati
0
117
Member Avatar for TsadokBlok

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 …

Member Avatar for ghdfans2010
0
273
Member Avatar for tejasluvs

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 …

Member Avatar for tejasluvs
0
129

The End.