199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for badboy11

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 …

Member Avatar for badboy11
0
172
Member Avatar for zachattack05

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 …

Member Avatar for zachattack05
0
676
Member Avatar for arctushar

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 …

Member Avatar for Taywin
0
130
Member Avatar for faisal6621
Member Avatar for faisal6621
0
154
Member Avatar for mahaboob Basha

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 …

Member Avatar for sandeepsrikanth
0
359
Member Avatar for teedoff

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 …

Member Avatar for hielo
0
233
Member Avatar for jimdj

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 …

Member Avatar for jimdj
0
84
Member Avatar for niketh90

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

Member Avatar for niketh90
0
90
Member Avatar for DeShadow

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 …

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for brown23

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 …

Member Avatar for Stefano Mtangoo
0
91
Member Avatar for mainstreetmark

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 …

Member Avatar for mainstreetmark
0
305
Member Avatar for Sunshineserene

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 …

Member Avatar for vasu d
0
428
Member Avatar for nolife

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

Member Avatar for nolife
0
1K
Member Avatar for LianaN

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

Member Avatar for LianaN
0
4K
Member Avatar for ubi_ct83

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 …

Member Avatar for ubi_ct83
0
84
Member Avatar for bobyx

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 …

Member Avatar for bobyx
0
153
Member Avatar for swilliamrobert

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 …

Member Avatar for swilliamrobert
0
133
Member Avatar for Roelof Wobben

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 …

Member Avatar for snippsat
0
122
Member Avatar for maxelcat

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 …

Member Avatar for maxelcat
0
216
Member Avatar for julianmoors

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 …

Member Avatar for julianmoors
0
225
Member Avatar for bsewell

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 …

Member Avatar for bsewell
0
279
Member Avatar for cdh1944

[ATTACH]17390[/ATTACH] I've no idea how to solve this Q with C. help me~~ plz~~!!

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for Priyanka88

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 …

Member Avatar for debasisdas
0
168
Member Avatar for Priyanka88

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 …

Member Avatar for debasisdas
0
146
Member Avatar for kartiktiger

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 …

Member Avatar for Thirusha
0
72
Member Avatar for cristey

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 …

Member Avatar for debasisdas
0
105
Member Avatar for bettersaid

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'"

Member Avatar for nathan099
0
1K
Member Avatar for bthaxor

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 …

Member Avatar for pritaeas
0
162
Member Avatar for dmorrison

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

Member Avatar for dmorrison
0
103
Member Avatar for Pari13

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.

Member Avatar for Pari13
0
2K
Member Avatar for kchadek

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 …

Member Avatar for kvass
0
2K
Member Avatar for Kasanda

Hi,i have a java assignment that prints out the number of occrances of words in an entere sentence by the user.

Member Avatar for Jawahar prabhu
0
147
Member Avatar for challarao

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 …

Member Avatar for Banfa
0
112
Member Avatar for ftl25

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 …

Member Avatar for ftl25
0
10K
Member Avatar for danimal132

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 …

Member Avatar for drjohn
0
177
Member Avatar for swathys

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 …

Member Avatar for swathys
0
93
Member Avatar for divya.padukone

wanted to know the difference between Page.IsPostBack and Not page.IsPostBack. what is the purpose of using these? where it is being used?

Member Avatar for jay_gandhi
0
732
Member Avatar for fourty

Hi guys I need a code that outputs the save as Dialog box. Just as simmple as that. Thanks.

Member Avatar for AndreRet
0
136
Member Avatar for qazplm114477

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 …

Member Avatar for qazplm114477
0
213
Member Avatar for badllama

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 …

Member Avatar for Valaraukar
0
229
Member Avatar for mshravs

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

Member Avatar for rajansoni
0
221
Member Avatar for tongdl04

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 …

Member Avatar for tongdl04
0
560
Member Avatar for homeryansta

[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?

Member Avatar for Milton Neal
0
202
Member Avatar for Ghost34

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 …

Member Avatar for AndreRet
0
122
Member Avatar for BonaDrag

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 ='" + …

Member Avatar for BonaDrag
0
165
Member Avatar for acrocephalus

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 …

Member Avatar for acrocephalus
0
161
Member Avatar for mrthomasbkk

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 …

Member Avatar for AndreRet
0
247
Member Avatar for nerdthon123

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 …

Member Avatar for debasisdas
0
127
Member Avatar for wondering_ed

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.

Member Avatar for AndreRet
0
105
Member Avatar for prasadbby

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 …

Member Avatar for AndreRet
0
139

The End.