199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shiny123

hi ppl can any one help me pls tel me the Hardware and Software Requirements for Installing asp.net 2005

Member Avatar for majestic0110
0
269
Member Avatar for lerkei

can anyone give a sample code for applying sounds on vb.. thanks.. i already applied a code but it wont work.. Public MTime As Byte MMControl1.FileName = App.Path & "\music\Music.mid" Private Sub Timer4_Timer() MTime = MTime + 1 If MTime = 113 Then ShutYerNoise Play MTime = 0 End If …

Member Avatar for Jx_Man
0
105
Member Avatar for sasdap

hi, what is the process going on when a command is given in command prompt? How the executables are called when a command is given? Can anybody tell in detail?

Member Avatar for sasdap
0
206
Member Avatar for JoBe

Good evening ladies and gents, Had a question concerning this piece of code that I'm trying out from a book, it supposed to open a file, write text to it, close it, reopen it, append text to it and then write the text from the file to the console screen, …

Member Avatar for JoBe
0
143
Member Avatar for dragonheart

i have to generate a reminder to the user alerting about payment due dates. i am doing it using a label control which is placed in the main page, so just after he logged in, the DB will be checked for due dates and if any date is nearing , …

Member Avatar for dragonheart
0
105
Member Avatar for loushou

Here is my code: [CODE]int LoadVerts(char *s_fName, OURCUSTOMVERTEX *p_Verts, short *p_Indices) { long i_CountVerts; long i_CountInds; unsigned char buffer[sizeof(OURCUSTOMVERTEX)]; basic_ifstream<unsigned char> f_DataFile; f_DataFile.open(s_fName, std::ios_base::in | std::ios_base::binary); f_DataFile.read(buffer, sizeof(long)); memcpy(&i_CountVerts, buffer, sizeof(long)); f_DataFile.read(buffer, sizeof(long)); memcpy(&i_CountInds, buffer, sizeof(long)); if ((p_Verts = (OURCUSTOMVERTEX *)realloc(p_Verts, sizeof(OURCUSTOMVERTEX) * i_CountVerts)) == NULL) exit( 1 ); if …

Member Avatar for Salem
0
273
Member Avatar for Mohandsa

i have acode that upload file from client to web server but i need to insert the file name into DB (mysql) to get it in download list............HOW? this is jsp code <%@ page contentType="text/html;charset=windows-1252"%> <% response.setContentType("text/html"); response.setHeader("Cache-control","no-cache"); String err = ""; String lastFileName = ""; String contentType = request.getContentType(); …

Member Avatar for masijade
0
2K
Member Avatar for mauro21pl

Hi to all. I need help. Quick and easy question. Is it possible to randomize and than delate stream of character pairs(one by one) from the input file? How can I do that? The input is a stream of character pairs that represent playing cards. For example: 2C, 3H, JH... …

Member Avatar for WaltP
0
93
Member Avatar for tzan2833

Dear all I have a few questions. I would be grateful if you could take the time to answer. I have installed on windows xp home apache2, php 5 and mysqlserver 5. The [URL="http://localhost"]http://localhost[/URL] page of apache works fine. The <?php echo phpinfo(); ?> page works fine. However when i …

Member Avatar for grandgoodel
0
151
Member Avatar for Ankita B

hi, can you please give a step by step procedure on how to connect oracle database with jsp. I am new to the language and cant quite figure a way out.My first page is a user login and therafter username is used.How do i use sessions for this? Thanks in …

Member Avatar for jwenting
0
88
Member Avatar for Ankita B

thx..my first page is a login.in that user name and password are to be accessed from oracle database and then matched on button click.if match occurs then user proceeds to next page. So please help me out.I m getting very confused as to where to put what code..ryt from db …

Member Avatar for jwenting
0
104
Member Avatar for umar7001

Can anyone tell, how can i write that program in C++, its little bit Object oriented programming related... but i really need to develop logic in C++ Here is the statement: Write three classes names: circle, square and triangle, derived from class shape. Write down a function named intersect in …

Member Avatar for umar7001
0
74
Member Avatar for dallaseve

[CODE]#pragma once class Account { public: //default constructors Account(); //constructor Account(double newSavingsBalance); //Methods //double MonthlyInterestRate(); //double newBalance(); void getMonthlyInterestRate(); static double AnnualInterestRate(); static void ModifyInterestRate(double newAnnualInterestRate); void setSavingsBalance(double newSavingsBalance); double getSavingsBalance(); double getAnnualInterestRate(); public: ~Account(void); private: double SavingsBalance; //static double AnnualInterestRate; };[/CODE] [CODE] #include "StdAfx.h" #include "Account.h" Account::Account(void) { } …

Member Avatar for dallaseve
0
103
Member Avatar for trudge

I've got a Perl script that lets a client of mine dump and restore his inventory database. It has worked fine for years, only I recently noticed strange file results. Instead of dumping the data to the file, I found this (I've munged the db name): -- MySQL dump 10.10 …

Member Avatar for trudge
0
101
Member Avatar for CoolGamer48

Hey, sorry if I'm in the wrong forum, but I need some help with getting the left and top values for a tile from a tile set. A book I have gives these two formulae: [CODE]left = (current frame % number of columns) * sprite width top = (current frame …

Member Avatar for CoolGamer48
0
60
Member Avatar for kv79

Hi all. I need to copy file (like C:\home.exe to C:\windows) I need to do it for C or C++ compiler so i do not know the command . I was looking in the reference but i did not find anything about this. Thank you all for reading . I …

Member Avatar for Ancient Dragon
0
86
Member Avatar for jtok

I am using SQL Server 2005 to run a stored procedure to update, delete, or insert depending on some conditions. The problem is that it gives the following error: Msg 4104, Level 16, State 1, Line 49 The multi-part identifier "PART.ID" could not be bound. I have it inserting some …

Member Avatar for jtok
0
126
Member Avatar for rite2bobby

How do I write a C++ program that takes a string containg a full name, and outputs each part of the name seperately? const string fullname= "Horatio thadeous Hornblow" using only simple codes like length, size, adding, and subtracting.

Member Avatar for JRM
0
120
Member Avatar for ssakhamuri
Member Avatar for rajachi

I want some functions of one class in another class how can i acess that functions

Member Avatar for zhelih
0
101
Member Avatar for dbwalters

Hello, I am trying to create a program that will read the point-slope information for two lines and determine if they intersect or are parallel. Below is the code I have: [CODE=c++]/*Point_Slope.ccp Reads the point and slope information for two lines and * determines whether they intersect or are parallel. …

Member Avatar for dbwalters
0
150
Member Avatar for toadzky

I am trying to circumvent the whole "javascript can't read files, that's server-side" thing. basically i have a order form with a table inside it. I want to be able to load the rows of the table dynamically when the page loads. I am trying to get the "product" information …

Member Avatar for ~s.o.s~
0
71
Member Avatar for baheddad

hi .. plz anyone has an ideas for final projects that can i do it in java? and i hope in computer information system :idea: plezzzz

Member Avatar for baheddad
0
148
Member Avatar for carlco9020

In my site I want to have my start page load with a video on it that when it is done switch to another page. Is there an HTML command that I can put in to do this.... I am new to building sites so any help would be appreicated.... …

Member Avatar for ShawnCplus
0
92
Member Avatar for Demond

Is it possible to change the button name? Like I have: [code]private void Button1_Click(object sender, EventArgs e) { this.Button1.Name = "Button2" } private void Button2_Click(object sender, EventArgs e) { this.Button2.Text = "Button2" } [/code] But when I do that and click the button again it doesn't do anything, am I …

Member Avatar for jonesc5
0
3K
Member Avatar for mramrit

friends i got problem in connection between oracle and jsp as given in cracking codes in j2me in following codes <?xml version="1.0"?> <jsp:root xmlns:jsp="http://java.sun.com/products/jsp/dtd/jsp_1_0.dtd"> <main> <title>Branch Info</title> <%Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");%> <%java.sql.connection db=java.sql.DriverManager.getConnecton("jdbc:odbc:master","sa","amrit");%> <%java.sql.Statement st=db.createStatement();%> <%java.sql.ResultSet rs;%> <%rs=st.executeQuery("select item_code,quantity,unit_price form stock_mast;");%> <%while(rs.next(()){%> <%String name=rs.getString("item_code");%> <%int aId=rs.getInt("quantity");%> <%int uPrice=rs.getInt("unit_price");%> <item_code><%=name%><quantity><%=aId%></quantity><unit_price><%=uPrice%></unit_price></item_code> <%} %> <%rs.close();%> </main> …

Member Avatar for jwenting
0
113
Member Avatar for k2k

hi, I am trying delete an old txt file and rename the new modified txt file... i followed everything from the example. However, i can't successfully rename the file. deletion is ok though. thank you. [code=cpp] void save(Name inName[], int j) { ofstream writer; writer.open("save.txt"); for(int x=0; x<j; x++) { …

Member Avatar for Salem
0
139
Member Avatar for number87

im trying to make a counter to count the number of odd numbers in an integer entered by a user but somehow my loop doesnt seem to go on as i hoped it would...im trying practise using the while loop that some of u guys demonstrated on my other thread... …

Member Avatar for jonesc5
0
179
Member Avatar for Pareshja

I created a DTS package in sql that exports a table into csv format. Is it possible to call this package from vb.net. Please help.

Member Avatar for cutepinkbunnies
0
100
Member Avatar for rcadble

I'm trying to make a somewhat simple PHP ide for personal use, I'm not too skilled in VB.NET and would like to learn some things about controls I am unfamiliar with, including the treeview control. Docked to the left of the form is a treeview control, where I hope to …

Member Avatar for Narue
0
169
Member Avatar for tuukie

Hello I got a nice one. I have 2 MS SQL 2000 databases on the same server both are almost alike. Both have an items table with the field searchcode I want to copy the searchcode from db1 table1 to db2 table1. So something like this: [CODE] use [db1] select …

Member Avatar for tuukie
0
153
Member Avatar for suresh kurbar

I am studying in final year BE. I want to know about core bankiing systems as requiremnets and specifications of the project.And also if any one from this community having code for this project or relative to this project please send to my e-mail address [email]suresh_k_n@yahoo.co.in[/email]

Member Avatar for ericstenson
0
81
Member Avatar for djapeBabe

hi my name is Anna and i have got this problem i am trying to practice sql queries using following database relational modell i know most simple ones but with these ones i got trouble it is about book lybrarry database using oracle. The primary keys are underlined. The foreign …

Member Avatar for SQL
0
934
Member Avatar for aksm

[code] hello! Can anyone plz tell me how 2 write z following php code into jsp..Thx in advance.. <?php $userid = $_POST["txt_login"]; $password = $_POST["txt_pwd"]; //Connecting to database include("db_connect.php"); if (($userid=='admin' OR $userid=='ADMIN') && ($password=='admin' OR $password=='ADMIN')) header( 'Location: http://localhost/MyWeb/admin.php?id='.$userid) ; else { $Rs = mysql_query("SELECT * FROM Users WHERE …

Member Avatar for peter_budo
0
345
Member Avatar for k2k

hi, My program created an object array containing 271 objects from the "names.txt", and each object has 3 private class variables, "id lastname and firstname "...... i know i can't use ofstream writer to write it to a new file like.... Name name; writer<<name[270]; Anyone please help me understanding how …

Member Avatar for brk235
0
138
Member Avatar for Thew

Hi, I need to resolve this problem: Is there any way, how to replace currently runned application with a new version? Like through uninstallation, when uninstall.exe is removed by itself. I have dialog with AutoUpdate in my application. It's small application so I don't want to make another autoupdate.exe file. …

Member Avatar for Thew
0
124
Member Avatar for jaicse
Member Avatar for jsmall26
0
78
Member Avatar for zaibitreg
Member Avatar for jonathanasdf

Never mind. That question was solved by myself. anyhow, when I compile my code, I get an error. [CODE] #include <iostream> #include <windows.h> using namespace std; int main(){ for (int number=1; number<=6; number++;){ if (number == 1){ numbersuffix = "st";} else if (number == 2){ numbersuffix = "nd";} else if …

Member Avatar for jonathanasdf
0
218
Member Avatar for pickachu

Im having problems with my insertcommand using odbcadapter, it doesnt insert the information I needed.. But the selectcommand works fine, only the insertcommand that is having problems.. heres my code.. [code] Private Sub cmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogin.Click a = Trim(txtStudNo.Text) If Trim(txtStudNo.Text) = "" …

Member Avatar for ericstenson
0
105
Member Avatar for Ekta Midha

As we call easily Dll in ASP similarly , Is there any way to call Jar file in ASP Application ?

Member Avatar for Andryanus
0
52
Member Avatar for olams

hi, thank you for replying. i started a new thread because nobody took a look at the old one. i finally figured out a way to add two arrays and using eArray. i also wrote the fibonacci code. However, when i debug and print the fibonacci number, i get some …

Member Avatar for olams
0
105
Member Avatar for peter_budo

I need to retrive value of the variable to which has been assign value on click event. The value is dynamicaly read from xml. I know that correct value is assign to propertyNum as I tried command [ICODE]document.write(propertyNum);[/ICODE] after value assign to just check it. [code]<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" …

Member Avatar for ~s.o.s~
0
167
Member Avatar for mrynit

I need to get a string from the console that is given in hex form like this: 3e900000. Then I need to convert it into bit so I can do bit wise thigns too it to generate the following out put: [QUOTE]3e900000 ==> 2^-2(1 + 2^-3)[/QUOTE] The above is a …

Member Avatar for mrynit
0
142
Member Avatar for jhize

At risk of sounding like the newbie I am.... I don't know enough about php to do much of anything, yet. BUT! I know exactly what I need (I think). MAybe someone out there has seen something along these lines: It would be a php module that provide a custom …

Member Avatar for jhize
0
102
Member Avatar for alanos206

Using PHP on my registration page to register users on my site. Everything seems to be working properly from a PHP perspective. It even tells the user that they've been added. But when I view the table it only has one record which is the one that I created when …

Member Avatar for phper
0
74
Member Avatar for nazall

this is the php code for me that gives me error Parse error: syntax error, unexpected T_STRING in C:\xampplite\htdocs\eurofrit\insert_ac.php on line 35 i will be thankfull if someone helps me because for days i can't fix it <?php $host="localhost"; $username=""; $password=""; $db_name="member"; $tbl_name="produktet"; // konoktimi ne server dhe zgjedhja e …

Member Avatar for phper
0
226
Member Avatar for nuBudDy

hi, im trying to view my php page on the browser on iis and i got this error : [COLOR="Red"]call to undefined function mysql_connect().[/COLOR] im not sure why this happened, tried googling but found only solution on apache. any help would be appreciated.thanx

Member Avatar for phper
0
112
Member Avatar for jalo3030

[code=cpp]#include <iostream> #include <iomanip> using namespace std; const float originalPrice = 50; const float markedupRate = 10; const float cTaxRate = 4; int main() { cout << "Enter the original price: "; float originalPrice; cin >> originalPrice; cout << "Enter the marked up rate(percent) : "; float markedupRate; cin >> …

Member Avatar for JRM
0
306
Member Avatar for rkavinash

See i have a program in c or c++.. this program has many functions like add(), mul(), div(), sub() etc.... now i want to call a function such that in main there should be only one call for that particular funtion that i have to be called... ie in runtime …

Member Avatar for Salem
0
117

The End.