199,113 Archived Topics
Remove Filter ![]() | |
hi i am from bangladesh and read in ruet.i want to convert two dimensional array into one dimensional array.pls help me | |
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']?>&hl=en&fs=1&rel=0&showinfo=0&color1=0x006699&color2=0x54abd6&border=1" /> </param> <param name="allowFullScreen" value="true" /> </param> <param name="allowscriptaccess" value="always" /> </param> <embed src="http://www.youtube.com/v/<?=$_GET['url']?>&hl=en&fs=1&rel=0&showinfo=0&color1=0x006699&color2=0x54abd6&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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 # … | |
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 { … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … | |
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. … | |
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 … | |
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. | |
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 … | |
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, | |
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 … | |
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); } } … | |
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 … | |
//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 ? … | |
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 * … | |
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, … | |
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 … | |
hai dani, how to create a vertical histogram in c using graphics header file. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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 = … | |
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 … | |
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 | |
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 … | |
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 … | |
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... | |
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 … | |
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, … | |
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); … | |
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 | |
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 … | |
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. | |
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 … |
The End.