199,114 Archived Topics
Remove Filter ![]() | |
Hi All, I am coming from C++ world and working on some C# code. Currently working on a class with an ArrayList data member and would like to control which methods/behaviours get exposed to the client of this class. One of the functions in this class takes an index as … | |
Ok...I spent hours (I know, probably something you pros know already) trying to figure this out. I finally did and thought I would share it with others considering I found nothing (literally) out there on this. Feedback would be much appreciated! Most of the time string data written to a … | |
Hi I have below javascript code [CODE] <SCRIPT language="javascript"> function validate(){ if(document.r_requisition.r_project_name.value=="deny"){ alert ("You are not authorised to any project "); return false; } if(document.r_requisition.r_number.value==""){ alert ("input in req No."); return false; } if(document.r_requisition.r_delv_date.value==""){ alert ("input Delivery Date: "); return false; } } </script> [/CODE] Its working fine. But when … | |
How could i simulate the SJF(Shortest Job First) CPU Scheduling in Java? | |
Hi iam developing one application..in which i need to write code with port number and mobileno which shoul send a sms message to mobile.. here i connected my gprs mobile as a modem to my pc in nowsms gateay... now i want to write a program which should listen on … | |
I was told on another forum that my table was not set up properly. Specifically, two of my columns, "keywords" and "catagory" should be in child tables. I just dont see that, or I dont understand why I would need to do this for these columns. here is my info … | |
Hello I amm designing a website for my mom the site is to advertise her book. it has a message board in it. the message board works great locally but when i upload it t a server i get a: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result … | |
Can anyone provide me with a small code to [B]retrieve[/B] value either from [B]oracle 10G XE[/B] database or [B]MySql[/B] database using Java applets....... I searchd the whole internet but none worked fine for me.. Regardds Niks | |
Where can I find the best tutorial for teaching myself all there is to know about programming in C++? I have no money to spend on it and I am extremely new to programming (haven't written a program since BASIC, if you can count that). Any information you can provide … | |
Hey Guys, I'm just experimenting at the moment - I've made a small application in C# that uses a WebBrowser Control to navigate to a website (which is currently on my LocalHost using WAMP) using a custom UserAgent (HelloWorld) Now, when I echo the useragent, it tells me what I … | |
I'm doing my first C project in, maybe, 15 years, and have gotten stuck. I'm trying to link a 3rd party library into my project. I've installed the headers in ./include/ft and the libs in ./lib/ft Here's my compiler command and associated output: [icode] [root@wayne tele]# g++ -g lib/ft/libmbusmaster.a -lm … | |
Hi, I have a problem with my instance. I need to do a file read to extract all the numbers in the text file. However, when reading the file, I used String, and hence the file is read as a String. Later on I need to equate the output of … | |
error LNK2019: unresolved external symbol hi everybody i'm working under visualstudio2005 and i create a new namespase with some fonction ; after i have another class in a different file and when i call myfonction og my namespace i have this erreurs error LNK2019: unresolved external symbol "void __cdecl mynamespace::myfonction() … | |
Hi guys! I'm trying to access a remote database (MySQL) that is installed on my home computer. The code is: [CODE] public void initDB(String ipaddress, String databasename, String login, String pass) { try { Class.forName("com.mysql.jdbc.Driver"); db = (Connection) DriverManager.getConnection("jdbc:mysql://" + ipaddress + "/" + databasename, login, pass); statement = (Statement) … | |
hi all, i wanna ask some advice and suggestion from u guys about combination php and java application. i want to create a web base system.i wanna use php to communicate with database and my algorithm and calculation using java application.is it possible to do so?if yes,what should i have?such … | |
Hello,everybody.I want to write a program that change the color of blocks and text on each block in a web page by it.You know in a web page we have many blocks and each blocks we have texts and may be shapes.[B]So,I want to assign three(3) code to each block … | |
Hi, I have a problem sending values XML format using php. this is other website([url]http://www.ourmerchent.com/[/url]) sending values to Us example : $billAccountNo=10092417235315; $amount = 1020.00; using this values.. i need to send XML format to this [url]http://www.ourmerchent.com/[/url] url how can i convert to XML format and return those values to … | |
hello I have this programm [code] class zoeken() : pass def __len__(self): return 0 def __str__(self): return test2 def find(self, strng="", ch="", start=0, stop=0): index = start while index < len(strng) and index < stop: if strng[index] == ch: return index index += 1 return -1 test = zoeken() test.woord … | |
I have a client that wants a site for people who are potentailly being abused, often by partners they live with. He is under the impression that it is possible for there to be a "Button" that deletes the cache when the user presses it rather than going through the … | |
Hi guys, I have a form which has multiple drop-down menus using the standard <select> tags, but I can only get the results for the first drop-down menu. Does anyone know how I can expand the below code to support multiple variables using a querystring? Thanks, Julian [CODE]<!DOCTYPE html PUBLIC … | |
I'm trying to populate a select box with rows from a table, but it's not showing up properly. I've looked at the source of the page, and it looks like the option html is not being outputted. Anyone spot what's wrong? [CODE]<h1>Upload Picture</h1> <form action="gallery.php" method="post"> <label for="photo">Select file: </label><input … | |
[ATTACH]17390[/ATTACH] I've no idea how to solve this Q with C. help me~~ plz~~!! | |
hey, i want to create trigger on delete operation of table say t1...and i want to delete entries from another table say t2 which are related to removed entry in t1....so i tried to create another trigger on delete operation of t2 to store entries from t2.. here is the … | |
Hello, i have created two tables account1 and log_table and tried to create trigger as follows:: create or replace trigger acc_history after update of balance ON account1 for each row begin insert into log_table values(:old.c_name,:old.balance,:old.acc_no,:new.balance,timestamp); end; but its giving errors such as:: SQL> show errors; Errors for TRIGGER ACC_HISTORY: LINE/COL … | |
HI I HAVE ONE PROBLEM........ANY ONE CAN SOLVE IT .................... String s="void main() ' he is a \"good boy"; out.println("<input type=text value='"+s+"' name=s>"); IN THIS CODE , IN TEXT BOX THE VALUE AFTER ' IS NOT COMING , CAN ANYONE TELL HOW THE FULL STRING s CAN COME IN TEXT … | |
Hi! Good day, I am new here and I want to ask several questions about making graphs in vb6. I am working now on a project which gather samples from a remote sensor and transfer the data via SMS. My problem is I am a novice programmer specially dealing with … | |
someone knows how to launch an app in mac?? [CODE] import os class LaunchApp: def launch(self): os.startfile("/Applications/QuickTime Player.app") s = LaunchApp() s.launch()[/CODE] this code works on windows and [CODE]os.system('gnome-open ' + /path)[/CODE] on linux but in mac, it returns this error "AttributeError: 'module' object has no attribute 'startfile'" | |
![]() | Sorry if this is in the wrong section (PHP), but wasn't sure where to put htaccess issues.... Here's the deal - I have two domains, let's say domain1.com and domain2.com. On my web server, I have domain1 set up as the primary domain (/public_html/), and domain2 is an addon domain … |
Hi, this report is taking too long to run, there is alot of data in the tables. does anyone know a quicker way to optimize this: [CODE]<?php // This report outputs everything to excel format /** Error reporting */ error_reporting(E_ALL); ini_set('display_errors',TRUE); ini_set("memory_limit","1024M"); date_default_timezone_set('Europe/London'); /** PHPExcel */ require_once '../includes/PHPExcel.php'; include ("../../config.php"); … | |
hi All, how to save image in folder using javascript in asp.net.? I want to save image in folder using onchange method. So can any body have code for that? Thanks. | |
Hi, I'm brand new to the forum and am taking an intro to Java class and need tome help. I have never programmed before so go easy on me, lol. The problem is to get the exact change from a dollar amount that a user inputs. Example: $4.23 is 3 … | |
Hi,i have a java assignment that prints out the number of occrances of words in an entere sentence by the user. | |
Hi! I have written a function for passing a string into it and finding its length. When I pass a string it prints a correct value. But when I take two strings and passing them individual len(str1),len(str2) after scanning two strings it returns the wrong value. In the first case … | |
Hi, How do I check if a member of a struct is null? I've tried: [CODE]if(ErrorInfo->TestName != NULL)[/CODE] The above method returns true even when [B]ErrorInfo->TestName[/B] contains nothing (debug shows it as 0xccccccc, ""). [CODE](!(strcspn(ErrorInfo->TestName, "") == 0))[/CODE] The above method throws an access violation. I've tried other ways too … | |
i have a process that runs, but stops after about 3 minutes. It only processes some of the information (65 entries out of 500). i modified the php.ini, thinking this was the case. The process takes data from a mysql database and writes them to a file. register_globals = off … | |
Hi, Can anyone help on my code. i'm not sure whether i'm code in right way or not. I would like to do 1) read total value from a particular table in 2 database (MyAccount & DealerAccount)from the most recent transaction 2) read grandtotal from another database from the most … | |
wanted to know the difference between Page.IsPostBack and Not page.IsPostBack. what is the purpose of using these? where it is being used? | |
Hi guys I need a code that outputs the save as Dialog box. Just as simmple as that. Thanks. | |
I keep getting an error when I try to instantiate the ArrayIterator class within a name space [CODE]$a = new ArrayIterator; //works just fine namespace test; $a = new ArrayIterator; //get error //Fatal error: Class 'test\ArrayIterator' not found in /www/ on line 3[/CODE] I've been searching the web for hours … | |
Okay, I’ve got a noob question. It’s been awhile since I coded so I thought I’d start off at the beginning and create a template list and tree. Back in the old days I left the nodes open, but I wanted to keep the data private this time. My first … | |
i need the coding for running a cam, taking the picture from it save it in asp.net using vb coding plz help me with this thanks | |
Hello, I am a newbie in C++ programming. I try to write a C++ program to first read and split a hugh text file (that containing multiple small files inside it) into multiple small text files, then I need to write the first line of each small text file into … | |
[CODE=cpp]void BOARD_Unselect_All(System::Windows::Forms::Form^ Frm) { Frm.a1->BackgroundImage = Image::FromFile("elephant_pla.gif"); }[/CODE] a1 is a picturebox from the form. How do you use the buttons, picturebox, etc from the form being passed in? | |
how can i make a random number not to always appear every time i open the program my code always prints or present same number every time i open and terminate and open it again and again it always shows same number but if i click a button for random … | |
I have a string that I need to convert to int before updating it in my database, but haven't managed to figure out how it's done. Here's my latest try: [code=c] int iLager = Int32.Parse(TextBoxProdNumberOf.Text); SqlConnection conn = new SqlConnection(config); conn.Open(); string sql = "UPDATE Produkter SET iLager ='" + … | |
Hello! I have a table with some rows and cells (code at the end), and created a function which searches for text inside the cells and returns the row number where the text is (to simplify the example, only English Name is working). Then, it should set the grid cursor … | |
Hello, i need help please, i need to create an trigger in ms access 2007, probably by vb code, but don't know how. The issue: i created a database in ms access 2007 and i need to make an time trigger to show every time when opening the database (it … | |
Hi Daniweb, I am currently taking a computer science class in school, and was given an extra project(because I'm so far ahead of the rest of the class). I am stumped on how to get the of the slider bar to do what I want. In the project I have … | |
Can somebody help me formulate a VB program the would Record TIN numbers of a tax payer? With a sorting function and search function. The most basic of VB that could be formed. Any replies would be a great help! :D Thank you. | |
I have sstab with 9 tabs. Each tab have 4 text box. I have named all the textboxes in arrays. For eg. In first tab the array is txtbox0(0),txtbox0(1),txtbox0(2),txtbox0(3)... Similarly in the second tab, ihave six text boxes named as txtbox1(0),txtbox1(1),txtbox1(2),txtbox1(3)..... Each of this tab shows one table of my … |
The End.