199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for JBeginer7891
Member Avatar for javaAddict
0
153
Member Avatar for sonisuhas

how does the ramdomize function works?? does it have some formulae to bring out its output?

Member Avatar for Narue
0
137
Member Avatar for avirag

How can I convert a char that has this info in it "312,000" to a double? I know I can use atof but it doesnt work with the comma.. is there any way to remove the comma.. or to use atof when theres non numeric values in the char? Thanks

Member Avatar for Narue
0
2K
Member Avatar for jogendar

i have been searching about how to create an executable jar file, [url]http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html[/url] by seing the above site i have created a jar file,while double clicking the jar file an error saying that "jar file couldnt be loaded check for possible console errors" is being displayed,i had tried by downloading …

0
78
Member Avatar for Aritz R

Hi there! First off I´m new here, so, I'd say HELLO EVERYONE an thanks for years helping. I have the following problem: I need create a installation of a C# app that uses a SQL SERVER 2008. I am using INNO Installer because I thought it could be the best …

Member Avatar for sknake
0
266
Member Avatar for Wraithmanilian

Question to toss out to the group. I have on many occasions created a daemon for things like XML Sockets and Flash-based socket chat. My question is concerning sound and/or video. Are there any of the veteran posters here that have had hands-on experience with socket-streaming video or audio? I …

Member Avatar for Wraithmanilian
0
90
Member Avatar for Jellybaby

For my college I need to make a game called Lingo and I'm not even close to finding out how to do it since I was only given 2 lessons so far. If anyone has existing code or knows some functions or ways of helping I'd appreciate it.

Member Avatar for Jellybaby
0
196
Member Avatar for Tunernetwork

I was told to ask my question here, so bare with me as I am new here! C+ code and vbulletin question I hope this is the appropiate place if not I apologize now and move if need be. I need help on this. I am workin on a site …

Member Avatar for sknake
0
145
Member Avatar for jogendar
Member Avatar for masijade
0
56
Member Avatar for mohammadxxx

hi i have this code (Latest Threads IN Marquee ) and want when click on any link that open in new tab . [CODE]global $db, $vbulletin; if($vbulletin->options['latest_Threads_order']==1){ $latest_Threads_order="order by thread.dateline Desc"; }elseif($vbulletin->options['latest_Threads_order']==2){ $latest_Threads_order="order by thread.views Desc"; }elseif($vbulletin->options['latest_Threads_order']==3){ $latest_Threads_order="order by thread.replycount Desc"; }elseif($vbulletin->options['latest_Threads_order']==4){ $latest_Threads_order="order by thread.lastpost Desc"; }elseif($vbulletin->options['latest_Threads_order']==5){ $latest_Threads_order="order by thread.dateline …

Member Avatar for mohammadxxx
0
162
Member Avatar for ktsangop

Hello everybody. I'd like some help with a query. I have a database named 'base1' which contains many tables. Some of the tables have names like 'track1' , 'track2' etc... which have identical columns. I would like to select all the tables beginning with track and show the data of …

Member Avatar for ktsangop
0
192
Member Avatar for takeshi

Hi..Good 'day! wanna ask that is there any code in uploading image in php..i wanna add field name in my [B]candidate table[/B] in my database..and i wanna add there[B] image[/B] but i do not know what's the right data type am going to use..as well as the code..

Member Avatar for takeshi
0
113
Member Avatar for takeshi

hi...My friend of mine told to use this code [CODE]if($session->isAdmin()) the check if the user is logged in & has admin privileges if($session->logged_in) to check if the user is logged in (simple user) [/CODE] in login system.but it doesnt work at all..i want that if i login into the system,my …

Member Avatar for takeshi
0
93
Member Avatar for Aamit

Hi, I my application lots of business name with their address store in DB. i want to show google map for them. [COLOR="Red"]How to show google map from address. Or add new column for latitude and longitude? [/COLOR]

Member Avatar for K0ns3rv
0
123
Member Avatar for ankush.mukherje

Hi experts I am supposed to design a VB application wherein the following requirement is needed: The user will select the type of software and information about who uses the software available in my database to be shown in flex grid. Now the user can choose one, two or all …

Member Avatar for ankush.mukherje
0
134
Member Avatar for jogendar

i am creating a text editor using java swings concept this is the code i am using to save a file jfr.setTitle(fname.getName()); FileOutputStream fop=new FileOutputStream(fname); fop.write(jta.getText().getBytes()); fop.flush(); fop.close(); where fname is the name given in save file chooser bye the user jta is the text pane in which the text …

Member Avatar for JamesCherrill
0
104
Member Avatar for suehoege

Hello everyone, While writing to the SQL Server database, I might encounter the below error message: “Error 823 I/O error <error> detected during <operation> at offset <offset> in file '<file>'” This error message may occur every time when I start SQL Server and access the MDF file. Thanks in advance.

Member Avatar for Davidpoul
0
80
Member Avatar for chienee

[code] <?php session_cache_limiter('private,must-revalidate'); session_start(); require_once("config.php"); include ("classes/db_functions.php"); include ("classes/display.php"); $dbf=new db_functions(SM_DB_HOST,SM_DB_USER,SM_DB_PASS,SM_DB_NAME); ?> <link href="style/report.css" rel="stylesheet" type="text/css" /> <?php if (@$_POST['Submit']=="Save Report") { $sql = "select * from customreport order by id desc"; $linkID=mysql_connect(SM_DB_HOST,SM_DB_USER,SM_DB_PASS); mysql_select_db(SM_DB_NAME, $linkID); $result = mysql_query($sql)or die(mysql_error()); $nume = mysql_num_rows($result); $row=mysql_fetch_array($result); if (!empty($nume)) $nume = $row['id'] + 1; …

Member Avatar for cwarn23
0
304
Member Avatar for Godflesh

I try again in a new thread, the other went out of hand. I use this code line to create a n value. n = random.randint(0, 99), i use this n value as a lap index to my while loop. The loop is in a function called "def run(self)" in …

Member Avatar for Godflesh
0
111
Member Avatar for Merosansar

The form consist of three textfields and two buttons(add and show buttons). User enters the candidate first name and last name and the respective number of votes received in textfields.On clicking the add button the candidate object is created and the candidate object is added to the arraylist object. On …

Member Avatar for javaAddict
0
104
Member Avatar for dua khan

Hiz every1. i m beginer, i have to make a program of PERFORMANCE APPRAISAL. Please any1 can help from where should i take start .. Waiting for your replies

Member Avatar for masijade
0
55
Member Avatar for aditi_19

Hi, I have uploaded all my php pages to the server and everything runs perfectly fine. There is just one problem. When i click the refresh button on any page, the user is automatically logged out (session destroyed) and is directed to the login page. When i was refreshing the …

Member Avatar for harshbavaliya
0
123
Member Avatar for D137Pi

Given a certain size, n, I would like to implement an array (of size n) which has an init, add object [in a location given by user] and remove object functions which work in O(1) time. In other words, I'm trying to create an array which knows where "Junk values" …

Member Avatar for Rashakil Fol
0
151
Member Avatar for shizu

Hi all.. I had a part of code like below.. CPropertySheet oPropSheet("Page", NULL, 0); oPropSheet.m_psh.dwFlags |= PSH_NOAPPLYNOW; oPropSheet.m_psh.dwFlags &= ~(PSH_HASHELP); oPropSheet.AddPage(&oPropSettingCriteria); oPropSheet.AddPage(&oPropAdvancedSetting); if(oPropSheet.DoModal() == IDOK) { } ... now I would like to hide or disable OK button..just left only CANCEL button there.. I tried using oPropSheet.GetDlgItem(IDOK)->EnableWindow(FALSE); but will have …

Member Avatar for shizu
0
704
Member Avatar for ebosysindia

hi I have a checkboxes on my page (.aspx) like checkbox1 - item1 checkbox2 - item2 checkbox3 - item3 etc what i want is that when a user selects certain checkboxes they should be inserted into a table called customer which has fields (customer id and actions) the data should …

Member Avatar for boycuoi
0
94
Member Avatar for Learning78

Hi; I have made a MCQ based game in Visual C++ using MFC. It runs fine but it shuts down when some key is pressed unintentionally. Like, if you click the options with mouse click, it works fine but even if you press ENTER key during the game, it quits …

Member Avatar for Learning78
0
202
Member Avatar for flipjoebanana

Basically searching all files in a directory and locating those that contain a certain word within them. For example, I want to know what files contain the word 'apple', if there is just print the filenames that contain 'apple' somewhere in the text. The only thing I really need to …

Member Avatar for thekashyap
0
128
Member Avatar for mona-lolly
Member Avatar for thekashyap
0
129
Member Avatar for thariqrasheed

Please explain about the Right and Left shift operators in java.. I am new to programming concepts.. So please explain me with examples.. Thank you

Member Avatar for mrnutty
0
112
Member Avatar for phoenix_dwarf

Hi, it's me agian... I was asked to do reasearch on how to upload a txt file's data into a MS SQL Database (corresponding columns etc.) I've searched a bit on the internet but don't find what i'm looking for... I just want to ask does anyone have an idea …

Member Avatar for vuyiswamb
0
2K
Member Avatar for takeshi

Hi..Wanna ask if someone knows how to retrieve records in database in PHP...I want that if i click the "retrieve button" all records will retrieve..I'll use retrieving when disaster occurs..tnx in advance.. :)

Member Avatar for harry_watson
0
157
Member Avatar for OmniX

Hi People I would like to know how exactly to setup the links you see below that are attached to the article so send to digg, facebook, etc. Also what is the offical term for these links? special links? special tags? ??? Thanks, Regards X

Member Avatar for OmniX
0
120
Member Avatar for ayesha789

Hi Dear All I have 1000s of JPGs Images. Names like S-KHI-1233 Now I need To rename all the images and new name should be last 4 numeric digits like 1233. For all 1000 JPGs I want to do this. if image name is S-KHI-1964 then new name should be …

Member Avatar for ayesha789
0
170
Member Avatar for takeshi

Hi.. i create a search button in my program..to search in a particular record in my database..what are the codes that i'll be using in order to search a record? tnx in advance..Godbless

Member Avatar for takeshi
0
474
Member Avatar for sdzahed

Hi, Iam very new to XSLT and XML. I am trying to invoke a javascript function from inside my xslt documen. The javascript snippet is as follows: [CODE] <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:js="urn:custom-javascript" exclude-result-prefixes="msxsl js" > <msxsl:script language = "JavaScript" implements-prefix = "js"> <![CDATA[ function compareCsvs (firstString,secondString) { var firstArray=firstString.split(","); …

Member Avatar for sdzahed
0
207
Member Avatar for makdu

Hi, My application needs to run without any window poping up. Also the application needs to detect the shutdown from computer. Based on the input from this forum, i have used a form in the appliction. But i want this form to be hide from the user. Is there a …

Member Avatar for makdu
0
248
Member Avatar for valleymorning

Hi all, The code below is to converts a tchar from lowercase to uppercase. Could you tell me if my code is correct or need to be fixed. Thank you very much. VM =============================== [code] tchar* MyToUpper(tchar *input) { static tchar buffer[1000]; tchar *s= input; tchar *t= buffer; while (*s!= …

Member Avatar for Sudar_Gudi
0
2K
Member Avatar for Nikhar

I have made a program to the follwoing problem:- [QUOTE] Another chessboard puzzle (this one reputedly solved by GAUSS at the age of four) is to find a sequence of moves by a knight that will visit every square of the board exactly once. Write a backtracking program that will …

Member Avatar for Nikhar
0
174
Member Avatar for andy999

hi all, I am completely stumped out but I did not find the solution of my query so far. so I am in hope posting this here in this forum. My query is: I have an application runs on my desktop. I want to take data from the desktop application …

Member Avatar for vb5prgrmr
0
144
Member Avatar for Civil Eng

Hello everyone! I am a geotechnical engineer and have been tasked with editing hundreds of excel files all in the same way so I decided to go back to my college intro to C days and make VBA do all of my dirty work! Anyhow, *I* think I am having …

Member Avatar for vb5prgrmr
0
99
Member Avatar for ramesh_natesan

Hello, I have a vbscript file whose file size is 0.9 MB. I opened this vbs file and copied all the lines in it and saved it into a new vbs file. And I noticed the size of this new vbs file became almost half reduced to 0.55 MB. Anyone …

Member Avatar for vb5prgrmr
0
70
Member Avatar for eva yang

Hi,there, assert pop == "berg", "Item removed from the stack was not \"berg\"." why using '...' can avoid syntax error ? Thank you :)

Member Avatar for eva yang
0
280
Member Avatar for ZidaneXero

Hello everyone I've been trying to google this and had no luck with this issue So i have this form where it prints a certain record i search, but im trying to do restaurant form and a print form that it will print the last order done. So I Know …

Member Avatar for ChrisPadgham
0
87
Member Avatar for david.1982

Hello, Web programmer in need of some windows app help. I have a simple little program that copies files from drive X to drive Y, and dumps the success/failure messages into a multiline textbox. The problem I'm having however is that the textbox does not update until all the copy …

Member Avatar for sid78669
0
121
Member Avatar for Amonod

This might be a bit of a silly question and I should probably know this anyway. I have tried searching for it but I have not found anything on this subject(or the more plausible reason, I have not been searching for the right things since I don't know much about …

Member Avatar for Ancient Dragon
0
168
Member Avatar for good_c_ryan_19

Hi, i need to know which is better in vb.net... BindingSource( such table adapter and etch..) or Hardcode( such as parameters,sqlcommand,sqlconnection that all your codes are programatically done)?.. Which is Which?:confused:

Member Avatar for good_c_ryan_19
0
107
Member Avatar for kplcjl

What is the benefit of a bool property that just gets and sets a bool? I know the benefit of only a get property or decisions that need to be made before you set a bool. I've seen examples using just get/set. I don't get it. What harm could making …

Member Avatar for kplcjl
0
87
Member Avatar for peck3277

Hey guys i'm pack for more help again! For a site I'm making I need a shopping cart. It's all working but for some added functionality I would like to be able to update quantity of an item using an input box. For an example see this site: [url]http://www.oonaghnaturals.com/ShoppingCart.php?[/url] I'm …

Member Avatar for JRM
0
2K
Member Avatar for lola_fcis

[code]void Delete(TreeNode* tree, ItemType item) { if (item.ComparedTo (tree->info)==LESS) Delete(tree->left, item); else if (item.ComparedTo( tree->info)==GREATER) Delete(tree->right, item); else DeleteNode(tree); // Node found } void GetPredecessor(TreeNode* tree, ItemType& data) // Sets data to the info member of the right-most node in tree. { while (tree->right != NULL) tree = tree->right; data …

Member Avatar for Narue
0
79
Member Avatar for foxmulder

Hi! I was wondering if someone might have an example of this that I might could take a look at, would really appreciate it since we have a test in about a week. Thanks in advance! Adam

Member Avatar for NathanOliver
0
137

The End.