199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sandip250382

I want to design a real time file download button. Can anyone here provides the code? Thanks in advance.

Member Avatar for majestic0110
0
75
Member Avatar for jinx_uk_98

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 …

Member Avatar for jinx_uk_98
0
85
Member Avatar for rodG

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

Member Avatar for rodG
0
4K
Member Avatar for ceyesuma

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 …

0
74
Member Avatar for sandip250382

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.

Member Avatar for majestic0110
0
213
Member Avatar for Jennifer84

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 …

Member Avatar for Radical Edward
0
146
Member Avatar for nandhinijp

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 …

Member Avatar for nandhinijp
0
85
Member Avatar for selvaganapathy

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.

Member Avatar for selvaganapathy
0
1K
Member Avatar for wad

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 …

Member Avatar for wad
0
146
Member Avatar for Dannyo329

Is there any way to add images onto your program? I'm using Dev-C++ Thanx

Member Avatar for Dannyo329
0
89
Member Avatar for lllllIllIlllI

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 …

Member Avatar for a1eio
0
8K
Member Avatar for alpe gulay

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

Member Avatar for alpe gulay
0
137
Member Avatar for Mackjan

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

Member Avatar for Mackjan
0
112
Member Avatar for edek

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>

Member Avatar for Nick Evan
0
214
Member Avatar for nelledawg

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 …

Member Avatar for Prabakar
0
115
Member Avatar for varsitygirl_13

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 …

Member Avatar for ivailosp
0
119
Member Avatar for still_learning

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 …

Member Avatar for still_learning
0
207
Member Avatar for awittyusername

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

Member Avatar for awittyusername
0
396
Member Avatar for shytr

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 …

Member Avatar for masijade
0
118
Member Avatar for t_yalthis

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 …

Member Avatar for abhay_pundir
0
136
Member Avatar for Tess James

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.. :)

0
66
Member Avatar for Kyouya

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 …

Member Avatar for Kyouya
0
181
Member Avatar for sidharthrshah

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 …

Member Avatar for alc6379
0
263
Member Avatar for Nithya.G

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.

Member Avatar for Nithya.G
0
76
Member Avatar for wleemitch

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].

Member Avatar for wleemitch
0
196
Member Avatar for hezfast2

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

Member Avatar for littlestone
0
405
Member Avatar for toolbox03

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.

Member Avatar for toolbox03
0
142
Member Avatar for ray_broome

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 …

Member Avatar for mwasif
0
3K
Member Avatar for priyala

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

Member Avatar for allen.jes
0
87
Member Avatar for chatt

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 …

Member Avatar for jessen
0
654
Member Avatar for dark_ivader

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 …

Member Avatar for Lerner
0
113
Member Avatar for javauser215

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

Member Avatar for javauser215
0
123
Member Avatar for compovet

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

Member Avatar for corwing
0
119
Member Avatar for mhopeck

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

Member Avatar for mhopeck
0
82
Member Avatar for sfurlow2
Member Avatar for hezfast2

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 …

Member Avatar for hezfast2
0
103
Member Avatar for FreezeBlink

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 …

Member Avatar for vegaseat
0
104
Member Avatar for 1s2k3y4

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 …

Member Avatar for 1s2k3y4
0
173
Member Avatar for micksatana

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

Member Avatar for micksatana
0
1K
Member Avatar for sfurlow2

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

Member Avatar for Blondeamon
0
92
Member Avatar for ansari.wajid

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 …

Member Avatar for ansari.wajid
0
94
Member Avatar for hermit08

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 …

Member Avatar for hermit08
0
138
Member Avatar for WCSO-IT

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

Member Avatar for WCSO-IT
0
70
Member Avatar for leroi green

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 …

Member Avatar for toko
0
456
Member Avatar for RbtCorrigan

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

Member Avatar for kyoussouf
0
136
Member Avatar for webguru07

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?

Member Avatar for buddylee17
0
70
Member Avatar for CBnewbie

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

Member Avatar for pritaeas
0
93
Member Avatar for sibotho

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 …

0
85
Member Avatar for potentialdesign

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

Member Avatar for potentialdesign
0
118
Member Avatar for scorpionz

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 …

Member Avatar for fatihpiristine
0
178

The End.