199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for debasishbasak

hi i am from bangladesh and read in ruet.i want to convert two dimensional array into one dimensional array.pls help me

Member Avatar for csurfer
0
125
Member Avatar for siri_ajay

Hi every body i want to send youtube embedded code through php mail function. embedded code is: [code=php]<object width="500" height="380"> <param name="movie" value="http://www.youtube.com/v/<?=$_GET['url']?>&amp;hl=en&amp;fs=1&amp;rel=0&amp;showinfo=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" /> </param> <param name="allowFullScreen" value="true" /> </param> <param name="allowscriptaccess" value="always" /> </param> <embed src="http://www.youtube.com/v/<?=$_GET['url']?>&amp;hl=en&amp;fs=1&amp;rel=0&amp;showinfo=0&amp;color1=0x006699&amp;color2=0x54abd6&amp;border=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="500" height="380"></embed> </object>[/code] Pls reply as early as possible. Thanks …

Member Avatar for diafol
0
161
Member Avatar for sab786

can anyone help please? i have a snip of my file below can the the numbers be sorted as in excel? 27 4 220 16 0.76151102 1.06059456 27 4 220 17 0.61465055 0.90107796 27 4 221 22 0.81186094 1.12214581 27 4 223 28 0.69887889 0.98993400 27 4 225 30 0.74796748 …

Member Avatar for bumsfeld
0
89
Member Avatar for revski

Hi please help me. On my form i have a memo and 2 buttons, one is to load a .txt file into the form the other is to save. I want to use these buttons using the VistaSave and load dialogs. The save button i want to take the contents …

Member Avatar for FlamingClaw
0
134
Member Avatar for zeusofolus

Hello All, I have a order form that is using a foreach loop with an array. The loop displays correctly the first time it is displayed on the page, but when the totals are updated with the submit button the loop duplicates the second to last entry? [URL="http://cubicalstudio.com/wholesale/foreachlooperror.php"]Here is a …

Member Avatar for zeusofolus
0
217
Member Avatar for loozax

can some1 help me wid diz?! [code]import java.io.*; public class looping1{ public static void main(String args[])throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader (System.in)); int value = 1; for (int i = 1; i<=11;i++ ){ System.out.println(value); value = i + value;} }} [/code] the output should be: 1 2 4 …

Member Avatar for JamesCherrill
0
113
Member Avatar for Dizzzy

I have a aspx page written in Vb and one of my button_click events has a function to connect to a sql database and retieve the data of a specific record by using the sql statement "SELECT * FROM Calendar WHERE Day="27" " The Name of my Table is Calendar. …

Member Avatar for Ramesh S
0
149
Member Avatar for jvd401

1)Design a class named BankAccount to hold the following data for a bank account: - Balance - Number of deposits this month - Number of withdrawals - Annual Interest rate - Monthly service charges The class should have the following methods: Constructor : The constructor should accept aruguments for the …

Member Avatar for jvd401
0
10K
Member Avatar for dknoebber

This is my first C program. I am modifying an existing program to have input and when I added two lines of code to 1) print "Enter Purchase Amount" and 2) scanf to capture the data my other printf statement received a compile error that it has the wrong # …

Member Avatar for DoEds
0
196
Member Avatar for nccsbim071

I have a structure named "Card" in Codes.cs file which is located in Codes folder of project. The source code of this structure is as follows: [code=C#] struct Card { //Suit that this card belongs to private CardSuit suit; public CardSuit Suit { get { return suit; } set { …

Member Avatar for nccsbim071
0
247
Member Avatar for Dajer

hi there. i write a project using VS 2008 and Sql 2005.now i want to deploy it and make its setup.what should i do for sql part?it's too big to install this mass(Sql) on user system.i heard i have to use sql engine? is this true? if yes,what's that? and …

Member Avatar for sknake
0
122
Member Avatar for dzhugashvili

alright, so I recently obtained a reference implementation of MD5. I benchmarked it, and it ran about 30% faster than OpenSSL's MD5. The function call is as such: [CODE]fast_MD5(unsigned char *pData, int len, unsigned char *pDigest);[/CODE] it worked great for a simple MD5 hash cracker, but I had trouble tweaking …

Member Avatar for dzhugashvili
0
124
Member Avatar for shahbaz5144842

hi all there ! I have problem with java file object that when ever i want to delete a file from the server i have check whether its exist or not for this i get fileObject.getAbsolute path but it return me wrong path but i get path from db a …

Member Avatar for ~s.o.s~
0
181
Member Avatar for maresi

Hi! I run Linux (easy peasy) on my netbook and have decided to encrypt the folder of my mail-client (in this case: evolution) via encfs. So I wrote a little shell-script that does all the necessary steps: [LIST] [*]ask for the password [*]decrypt and mount the directory [*]start evolution [*]umount …

Member Avatar for maresi
0
208
Member Avatar for VIkhers

Hello,, I'v had some problem,,, when i read a file,using visual C++ 2005. example: a.txt 111,222,333, 444,555,666 with this code : StreamReader^ din = File::OpenText(fileName); String^ str; int count = 0; while ((str = din->ReadLine()) != nullptr) { count++; Console::WriteLine("line {0}: {1}", count, str ); } How can I, convert …

Member Avatar for VIkhers
0
138
Member Avatar for alphabetical

I am using the below pre-built script for my mouseover images: [code] <script src="js/chrisdomroll.js"> /**************************************************** * DOM Image rollover v3.0: By Chris Poole http://chrispoole.com ****************************************************/ </script> [/code] And it works on the page simply by adding the following attribute to the image tag, with the behind being the mouseover image's …

Member Avatar for alphabetical
0
146
Member Avatar for wingers1290

Hi. I'm new to c# and have ran into a problem, I am using the following code to generate textboxes within a panel. [code] private void button1_Click(object sender, EventArgs e) { AddFields(); } private void AddFields() { if (textBoxIndex != 10) { TextBox field = new TextBox(); field.Name = "field" …

Member Avatar for wingers1290
0
230
Member Avatar for Azurea

Hey guys! I'm requesting constructive criticism on the code that I've written so that I might get a better idea of how to strengthen my code while keeping it short and sweet, or even just pointing out unnecessary things or things that I should have added. My assignment was: [quote]Write …

Member Avatar for siddhant3s
0
140
Member Avatar for Nada_ward

How to drag/drop labels ,that created at run time this is my code ... [code=vb .net] Private Sub server1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles server1.Click 'create new form Dim ser1 As New Form Dim l1 As New Label() ser1.Location = New Point(123, 28) ser1.Height = 95 ser1.Width …

Member Avatar for Ramy Mahrous
0
588
Member Avatar for kou yuuzhen

hello all, i'm a biology student currently taking programming in uni, and i have a homework question to solve. i have to write a programme to create and print a one-month calendar which can be used as month and year calendars as well. the programme should be able to; 1. …

Member Avatar for necrolin
0
164
Member Avatar for xVent

Hi guys , i have mysql in my program , i have a button that checks if the mysql connection works , if it work a msgbox will pop up saying it works , if not it will say check your inputs .. after checking that it works and re-trying …

Member Avatar for xVent
0
76
Member Avatar for pepemiso

Will you please help me in my project. I need to have a graph either pie chart or bar graph. And it must connected to the database for its analysis. Is there somebody know how to do this. Thanks.

Member Avatar for Nada_ward
0
105
Member Avatar for Questions???

Hello, I am a student attempting to complete an assignment for school. The assignment is: Write an application called Palindrome.java that reads in a five-digit integer and determines whether it is a palindrome. If the number is not five digits long, display an error message dialog indicating the problem to …

Member Avatar for Questions???
0
936
Member Avatar for nccsbim071

I want to develop silverlight web application. But i could not find installed templates for silverlight projects. I have viusal web developer express edition 2008 and visual studio 2008 team system installed on my computer. what shall i do . Which IDE should i use. Thanks,

Member Avatar for nccsbim071
0
105
Member Avatar for mcgarry101

Hi, I am wondering if anyone here has ever attempted to connect to the oracle 10g xe database from visual web developer? I have been trying to do this all day, however it is starting to get really irratating! I have downloaded the oracle dataacess dll, and imported it into …

Member Avatar for kvprajapati
0
97
Member Avatar for mansi sharma

I m not able to replace the contents,help me out!!! [code] protected void Button1_Click(object sender, EventArgs e) { string a = "11-22-33-44-55"; string [] Array; int i; int lnewvalue; lnewvalue = 2; Array = a.Split('-'); for (i = 0; i <= Array.Length - 1; i++) { Array[4].Replace(Array[4].ToString, lnewvalue); } } …

Member Avatar for sknake
0
137
Member Avatar for CoolGamer48

Hey, I download DarkGDK for Visual C++ 2008 Express (also downloading the correct version of the Direct X SDK). I just saved the SDK in some random directory, so when I try to execute the test code, i get an error telling me d3dx9.h can't be found. So, where do …

Member Avatar for Sepiantum
0
496
Member Avatar for DoEds

//This program will ask the user for k, m and n. //k should not be equal to 1. //Output all numbers multiple by k between m and n. (ex. k=2,m=5,n=20 output should be 6 8 10...18) *problem* How to exit this program when the user assigned k to 1 ? …

Member Avatar for DoEds
0
100
Member Avatar for jcollins85

Hi I'm running this on a mac and when i use '\n' it prints the entire contents of the pointed to text file. looking for '\r' just cause an infinite loop. Any idea what the problem might be? [code] #include <stdio.h> #include <stdlib.h> int main(void){ FILE * input; char * …

Member Avatar for jcollins85
0
156
Member Avatar for kevintse

Well I am writing a program for Windows Mobile phone, I need to read text files in the program, the character sets (charset) of the files I am going to read are unknown, here I need to convert whatever text(Actually I probably only need to handle UTF-8, UTF-16 BE, GBK, …

Member Avatar for kevintse
0
314
Member Avatar for seakayaker

Hi, I wonder if you could recommend a book that talks about methods for optimization (error function minimization) in conjunction with C++? In particular I am interested in methods for numerically minimizing a multi variable error function, e.g. f(x,y,z, ...). My applications are such that I know that gradient methods …

Member Avatar for daviddoria
0
141
Member Avatar for karpaklu

hai dani, how to create a vertical histogram in c using graphics header file.

Member Avatar for vimalamtwu
0
82
Member Avatar for aditi_19

I have a clientvendor.php file with various filters in it. This file directs to updateclientvendor.php file. Now updateclientvendor.php has a Back button to go back to clientvendor.php . When the back button is pressed, I want the page to go back and display the filtered information which is not displayed …

Member Avatar for Airshow
0
236
Member Avatar for colmcy1

Hey all, I am trying to check if a .exe file is open, if it is open bring it to foreground, if it is not open open .exe file and bring to foreground. The code I have written doesnt seem to recognise if the program is open or not as …

Member Avatar for colmcy1
0
2K
Member Avatar for chiotti

I need to read in a list of adjacency matrices from a text file. I can get it to read in and write out when there is only one matrix in the file, but can't seem to get it to read through more than one. Once I tack another file …

Member Avatar for masijade
0
2K
Member Avatar for weeken88

Ei guys... I'm about to make a project involving the use of a LAN cable/port and c++ I would like to use c++ to to send bit (Binary Output) outputs through a LAN cable. just like what we do with c++ and parallel ports, but this time I'll be using …

Member Avatar for weeken88
0
91
Member Avatar for bluetonic

how can I separate values returned from a query or is that even possible? What I am trying to do is do is $query = "SELECT * FROM whitealbumreg.lps"; lps has a column called lp_origin. lp_origin is ENUM where values are either US or UK. I know how to pull …

Member Avatar for diafol
0
73
Member Avatar for farooqaaa

By using Regex I've got links from an HTML Source. But now I want to save these links into a new array so that I can later use them. I mean, I want all the "m.Groups[]" in a new array. Here's my code: [CODE] String html = getSource(); r = …

Member Avatar for Ramy Mahrous
0
141
Member Avatar for agent154

What I mean by the subject is, is it possible to print out a string that is aware of the name of the variable it is stored in? For example... I'm reading right now about overriding a class's [icode]ToString()[/icode] method, and I want to know if there exists a way …

Member Avatar for Ramesh S
0
113
Member Avatar for massivefermion

Hi I want to know how can I make my database that the user can add a field to a table from a form or sth? thanks

Member Avatar for cgyrob
0
166
Member Avatar for laconstantine

I am playing with function hooking so I wrote simple program that calls DisplayMessage Function which prints out Hello.. [CODE] void DisplayMessage() { cout << "Hello"; } [/CODE] After this one i found the DisplayMessage offset its (0x00131000) now my target is write a dll to change DisplayMessage function to …

Member Avatar for Ancient Dragon
0
184
Member Avatar for crazylunatic

I am writing a small app which uses CreateFile to get handles to the volumes present on a system. The access mode specified is GENERIC_ALL and the share mode is FILE_SHARE_WRITE. The call to CreateFile is successful for all volumes barring the system volume. I googled a lot but there …

Member Avatar for NathanOliver
0
1K
Member Avatar for Dum_

Hi, if someone can help me how to read a line in the txt document. I know you read the first line or the entire document but i do not know how a particular line...

Member Avatar for Dum_
0
134
Member Avatar for iiizuluiii

Im trying to take two different input fields and have a counter count them to see which one would reach my goal of 200 first. Im very slow when it comes to vb. Is there a timer tut that anyone knows of? Is there a base program I might be …

Member Avatar for iiizuluiii
0
77
Member Avatar for umair125

i m developing a movie rental shop project where i have a class as name as Movie. in public there are sum functions like add movie,view movie list etc. the problem is that i don,t know what would b in private access. in movie i have the tital of movie, …

Member Avatar for Salem
0
134
Member Avatar for sonia sardana

I want to just exit from the loop, I m facing the probs,see bolded part... [code]protected void btnSellProduct_Click(object sender, EventArgs e) { string sPath = Server.MapPath("~/"); string sFileName = sPath + "item.txt"; string[] sArr; string[] sArr2; int lCount; int lCurrentStock; int lSellingStock; if (File.Exists(sFileName.Trim()) == true) { sArr = System.IO.File.ReadAllLines(sFileName); …

Member Avatar for sonia sardana
0
132
Member Avatar for yas218

Hi all, I would ask please about, how can I create a simulator using java, is there any tools can help in this area because usually simulators need more works with GUI. Therefore, anyone knows any library or tools can help. Thx

Member Avatar for JamesCherrill
0
68
Member Avatar for artemis_f

1. I have an OGLCanvas with shapes on it 2. Double clicking a shape will open up a wx.MiniFrame where the user can do certain things 3. After OK is clicked or the frame is destroyed I would like the "focus" to shift back to the canvas so that without …

Member Avatar for artemis_f
0
208
Member Avatar for Reliable

In other words, can I do this.. [CODE]<cd> <artist>Angella Christie</artist> <album>Hymn & I</album> <song>Blessed Assurance</song> <genre>Gospel Jazz</genre> [COLOR="Green"]<image> http://ecx.images-amazon.com/images/I/41TQV56BH0L._SL160_AA115_.jpg</image>[/COLOR] </cd>[/CODE] I'm asking because when I press "Get Schema" Dreamweaver gives me an "Expected entity name for reference(13,16). The "image" tag line is line 16.

Member Avatar for Reliable
0
72
Member Avatar for MrNoob

hey guys i know its kinda noobish not to understand them since i been coding for 1 month but there rlly some stuff which confuses me in multidimensional array and nested loops like here in this program I wanted to know if i sum up like in the array for …

Member Avatar for MrNoob
0
149

The End.