199,114 Archived Topics
Remove Filter ![]() | |
I want to design a real time file download button. Can anyone here provides the code? Thanks in advance. | |
Hi, I'm creating a web database as a bit of learning project. In short it's going to a on-line menu viewer, where people can upload (type in) their food/takeaway food menus. The problem I'm having is with the design and as each outlet can have a differing number of starters/mains/deserts … | |
[code] # This is meant to draw Start and Stop buttons and a label # The Start button should start a loop in which the label # is configured to change colour and text. # At each pass through the loop the variable self.stop is checked: # if True the … | |
I attempt to create a string variable to a setter() that is used as query property What am I missing in the procedure to implement a simple query on the database? It stops here. [code] searchList1 = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : searchQuery1.getResultList(); [/code] [code] @Action public Task searchSplash() { if … | |
Buddies, I want to design a simple file download button in deafult.aspx. Can anyone provide me the detailed C# code behind it? Thanks in advance. | |
I have 2 buttons on my form. The First button contains a loop and second button a MessageBox. If I press the first button, this loop will take sometime. Now is my question this. Let´s say that the loop will take about > 5 seconds and I press button2 after … | |
At the time of login Redirect to one page particularly.In my site Users can view some of the pages without login. My question is If i am in x page.At that page i want to use login page.After login I want to return that x page.But its constantly navigated to … | |
Hi I Want to display a Form as System Modal. The best Example is [B]Shutdown Dialog box[/B]. How can we create such forms. | |
i wont to send message to another mobile by that code : [CODE]public void send(){ try { String add = ((RemoteDevice) de.elementAt(l.getSelectedIndex())).getBluetoothAddress(); //url = "btspp://" + add + ":" + uuid; url=disa.selectService(uuid,ServiceRecord.NOAUTHENTICATE_NOENCRYPT, false); String mess = "wellcom"; n = (StreamConnectionNotifier) Connector.open(url); sc=(StreamConnection)n.acceptAndOpen(); os=sc.openOutputStream(); os.write(mess.getBytes()); os.close(); sc.close(); System.out.println(url); } catch (Exception … | |
Is there any way to add images onto your program? I'm using Dev-C++ Thanx | |
Hi My question is: i made a program that counts up and up continuously in the background but i want it to print what number it is up to when you press a certain button such as ENTER. I have tried using raw_inputs() but all that happens is it keeps … | |
can anyone help me with this one... System.out.println("Hi!"); System.out.println("How are you there!"); -can i display this one controlling the time! what i mean is.. display first the "Hi!" and then after 3 seconds it will display "How are you there!" Help me pls.. ANY HELP IS HIGHLY APPRECIATED -alpe | |
I have a list for exemple: a = [ 9,6,5,4,1,0,0,7,6] . By this function I want to delete all element which content zero and delete all element which content duplicate. But it doesn’t do exact what I want. [CODE]def rensa(a,b): j=0 for i in a: if a[j]<= 0: del a[j] … | |
Is there any difference between C and C++ pipes implementation? Is there any C++ library that makes using pipes easier? I ask those questions because there are many 'wrapper' classes in C++ that wraps C (like string, vector etc.) Is there anything that 'wraps' pipes? <Thanks> | |
Hi guys, I have been working on this for 13 hours straight now, and I am going out of my mind. I have a final due tonight and I cannot figure this out at all. The program is basically a product database for a sporting goods store, and I have … | |
Hi, i am working on a quicksort function and I have everything except how to sort the second half. I am missing one line, where to start the second half and for how many items, any help would be greatly appreciated. THANKS! [code=cplusplus] int * partition(int array[], int size); void … | |
Hi, I could use a little help if anyone would be willing. I have some vectors which I am using to store input from a text file. Now I want to be able to store user input into a vector and output it to that file so that it replaces … | |
When I'm attempting to tnsping my database from the server it is stored on, I keep getting error code 3509, however I can ping my database from clients. I've checked naming in tnsnames.ora and all is as it should be. Any ideas??? | |
hi......... i am having 13 jsp pages.in the first page i have to select any one radio button and then i have to go to the next page,there also i have to click any one radio and then i have to go to the next page,likewise i have to go … | |
hi, I am having some troubles while trying to connect a database which uses mssql server. Every attempt results with the error "[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied." [CODE][INDENT]OleDbConnection conn = new OleDbConnection();[/INDENT] conn.ConnectionString = "Provider=SQLOLEDB;Persist Security Info=False;Integrated Security=SSPI;Initial Catalog=voters;Data Source=T_YALTHIS\\SQLEXPRESS;Workstation Id=T_YALTHIS;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Use … | |
i need to have a hyperlink on the page having the graph code which, when clicked takes me to another page.. what should i do..please help.... thanks in advance.. :) | |
I've been trying to figure out whats wrong with my project. Its about multiimensional arrays. I am trying to input data from a file to a 2d array. Here is my code below; [code] #include <iostream> #include <fstream> using namespace std; const int I=3; const int J=3; //will input 2 … | |
Hi, I have a legacy application in vc++ 6.0 which communicates to a server. The server follows c++ data types. I want to convert my legacy application to c#. Now I am facing some conversion issues. The server accepts data in binary format. But when I declare a char data … | |
iam having some elements in xmlfile , and i want to fill tat element's values in aspx file's dropdown. how to do. Ex: iam havin <font>Times New Roman</font> in xmlfile. now i should fill "timesNewRoman" in a dropdownlist . how to do. | |
If I have in a text file a word followed by numbers, how would I read only the numbers? Ex: Add [COLOR="Red"]5645635654653463546[/COLOR]. | |
Hello, I'm almost done with this program, but when I want to sell an item (option 2) I get an error after I enter how many 'vector subscript out of range'. The program compiles correctly, but I cannot for the life of me figure this one out. Any Help? [code] … | |
How do i read in an equation in this format: 1 + 2a + 3b + 4c? I need to extract only the value 1, 2, 3, 4. | |
I'm trying to carry out the following delete statements [CODE]DELETE FROM images AS i WHERE i.image_id = 803 AND i.plant_num = 2277 LIMIT 1 DELETE FROM images AS i WHERE i.image_id = 804 AND i.plant_num = 2277 LIMIT 1 DELETE FROM images AS i WHERE i.image_id = 805 AND i.plant_num … | |
HI, I would like to know if there is a way to write data to a text file from the HTML controls in a website creation. If so please explain how to go about it Thanks, Priya | |
Dear all, Just got one more question. I tested in my java JMF program just now. I found that AVI and MOV format are supported by JMF. Whereas the WMA format is not supported at all. May I ask why it is so? Or is there anyother way to support … | |
Hello, ive recently been making a program, and am trying to do some file i/o so that it can log information. Ive been trying to do it via a class. Well, i ran into a problem just clearing the char arrays (for my purposes they need to be cleared to … | |
I have several files and am receiving errors message when compiling and would appreciate any help. Thank you in advance. Model class file: [CODE]class Model extends Product5 { String genre; //add product to product inventory double restockFee; //fee for restocking //initialize constructor public Model( String genre, String name, int identificationNumber, … | |
Hi I'm a beginer programer and I need your help I'm using visual studio 2005 writing with c#, Iwant to make a small program at console this program give the root of a number. I writ this code [CODE]double one = double.Parse(Console.ReadLine()); for (double x = 1; x <= one; … | |
I'm trying to code a program that compares multiple values of two variables (CI and CF). CI contains one variable that can have 1 of 10 values, and CF contains variables which must be solved themselves (and one of these containing a variable that can have 1 of 3 values). … | |
Hi all. I'm having a minor problem with cases in my program. If I enter a number that is out of my case range (say I enter a 10 when there are only 4 cases) I've got my default to output an error prompt. When I enter a character, say … | |
Python's system of deciding for you what type to give all your variables is nice and all, but is there a way to force it to give a variable a certain data type? For instance, if you give it the following: [code=Python]n = 2 m = 3 print n/m[/code] It'll … | |
there is a imformation when I write "javac Test.java" that is " Test.java uses or overrides a deprecated API. Recompile with -deprecation for details." yes,I want to see the detail,but how,how to do? for example ,I write like this:javac deprecation Test.java ,but fail,nothing display..... who can tell me how to … | |
hi, i'm really a newbie in xslt. i try to add string to a variable using concat (there is some how my xslt processor doesn't know string-join, but that's not the point here =P) this is some part of xml code [code=xml] <node0> <node1> <node1name>xxxx</node1name> <node2> <node3>01</node3> </node2> <node2> <node3>02</node3> … | |
I'm trying to create 1000 random numbers using an array. I keep getting the same number everytime, though. How do I get 1000 different random numbers? Here's what I have so far: [CODE][LIST=1] [*]#include "stub.h" [*]int main() [*]{ [*] int number[1000], i; [*] int r[1000]; [*] [*] for(i=0; i<1000; i++) … | |
Hi I have 2 tables in database as follows: table1: id name state id 1 aaa 1,2 2 bbb 1,3 table2: id state 1 ak 2 ny 3 jk so the problem is that I want to display all the data of "[B]table1[/B]" in a gridview and in place of … | |
Hi there, i am a beginner so please don't laugh at how basic my question is. I don't understand why when i check the radio button the constant doesnt appear in the label..i'll put in the bit of code i am working on but if you need to see the … | |
Hello all, I have been working on a simple web app but have run into a small problem. I am still fairly new to php and have found nothing on this topic searching google. I have a getimage.php page that fetches an image from a SQL Server Express 2005 database. … | |
hey all. the program is for Chapter 8 Lesson C in the Visual Basic 2005 below is code where i have to create a program that allows the user to enter a 4-digit number that identifies whether the salesperson is full or part time. "Each salesperson at BobCat Motors is … | |
I get this error message when trying to open my 2002 access database using MS visial Studio 2005 "System.IO.FileNotFoundException was unhandled" using the code below Imports System.Data.OleDb Imports System.Console Dim cn As OleDbConnection Dim cmd As OleDbCommand Dim dr As OleDbDataReader Source=C:\temp\MIRC\CCC_DATA.mdb;Persist Security Info=False") cn = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\temp\MIRC\CCC_DATA.mdb;") cn.Open() | |
I know this question has come up before and i've researched headers and i know that you can't output anything to the browser then change the headers, so my question is, is there a way to redirect with PHP inside a HTML document? | |
OK, I'm new to PHP, and working with someone else's code. Kinda got thrust into this. I keep getting these two errors everytime someone tries use a online application page: PHP Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in F:\home\admissions\application\appadmin\dataset.php on line 27 PHP Warning: mysql_free_result(): … | |
Hi I have a database with a Contacts table, in this table I have 2 columns emailAdd and byEmail. I want to select emailAdd where byEmail = Y and add these selected items into a Listbox. Please help how do i do this this is what I tried but does … | |
ok so i know all there is to know with text programming in c++. now i need to know how to give my program an interface. you know, like not using the command prompt any more.:S | |
Hi this is scorpionz Any response will be appreciated with great interest, can anyone have an idea regarding image upload through PHP+Ajax, i m using mysql as a db. Like the Process i want to do is that: I have create a field of image_name in DB table and just … ![]() |
The End.