199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for happytjia

First of all. Sorry if I don't have a good English... My operating system is Windows XP SP2 I'd created script files below for creating Oracle database manually: dbcamin.bat [code]mkdir C:\oracle\product\10.2.0\admin\dbcamin\adump mkdir C:\oracle\product\10.2.0\admin\dbcamin\bdump mkdir C:\oracle\product\10.2.0\admin\dbcamin\cdump mkdir C:\oracle\product\10.2.0\admin\dbcamin\udump mkdir C:\oracle\product\10.2.0\admin\dbcamin\dpdump mkdir C:\oracle\product\10.2.0\flash_recovery_area\dbcam in mkdir C:\oracle\product\10.2.0\admin\dbcamin\pfile mkdir C:\oracle\product\10.2.0\cfgtoollogs\emca\dbcamin mkdir C:\oracle\product\10.2.0\flash_recovery_area mkdir C:\oracle\product\10.2.0\oradata\dbcamin …

Member Avatar for happytjia
0
212
Member Avatar for hughv

I'm not at all sure where to put this question. It's been a long tine since I messed with basic, and I'm not a programmer of any kind. I got interested in a method for calculating the Golden mean, and I'm hoping some kind soul will point me in the …

Member Avatar for vb5prgrmr
0
148
Member Avatar for imrankhalidtoor

hi I want to make a custom message box alert just like VB6 built-in "VBOKCancel"....In that custom message box alert, i want the functionality of "VBOKCancel" as well as an additional button and check boxes.....much appreciated if anybody helps me out. Thanx

Member Avatar for vb5prgrmr
0
2K
Member Avatar for BrettOwnz

Hello... I am working on a CPC and CPM ads system for a client, and they wanted to use an iframe displayed on another persons site in order to actually serve the ads. So, i have developed the whole script, and it is working when used by getting the $_SERVER['hostname'] …

Member Avatar for BrettOwnz
0
93
Member Avatar for VIPER5646

[CODE] Dim DesinNum As DataColumn = New DataColumn With DesinNum .ColumnName = "DEsign#" .Expression = "ISNULL(usrini,'')+design+typcde" End With With Design_dt.Columns .Add(DesinNum) End With[/CODE] These are the results I'm getting usrini="J", Design=123,typcde=cst expression=j123cst usrini="J", Design=123,typcde="" expression="" I have this code to add a new colum in the datagrid. It seams to …

Member Avatar for VIPER5646
0
87
Member Avatar for davebaum1

I am a brand new programmer attempting to teach myself C++. I understand that it is a rather complex language to begin with but I also understand it to be the most useful in the long run and one of the best building blocks for learning other languages. With that …

Member Avatar for tundra010
0
169
Member Avatar for trenchant

I am trying to convert this excel bsed formula into java - Very new to this and trying to grasp it all. Any help would be appreciated... =B3*(C4/(1-(1+C4)^-B5)) It is a mortgage payment script and I am having a hrd time getting it to work as a java script. Thanks!

Member Avatar for almostbob
0
86
Member Avatar for lotrsimp12345

Here are my 3 files interface file #ifndef INTERFACE_H_INCLUDED #define INTERFACE_H_INCLUDED #include <time.h> class timer { public: void start(); void end(); int elapsed(); int subtract(); int add(); int output(unsigned int seconds); private: bool running; int begin; int finish; }; #endif // INTERFACE_H_INCLUDED implementation file using namespace std; #include "Interface.h" #include …

Member Avatar for athlon32
0
160
Member Avatar for athlon32

I'm have a small confusion, and i need a little clarification; when you make something on the heap, like this: [code=C++]int *somePointer = NULL; somePointer = new int;[/code] an int is created on the heap right? This would be the equivalent of doing something like...: [code=C++]int x;[/code] ...directly on the …

Member Avatar for siddhant3s
0
107
Member Avatar for nschessnerd

Hey, Im using readprocessmemory to get information on a game, but for some reason it skips two bytes.. part of my structure is similar to [code=cplusplus] WORD a; DWORD b; DWORD c; DWORD d; [/code] and i read the following memory into it: 00 00 FF FF FF FF 02 …

Member Avatar for nschessnerd
0
76
Member Avatar for hoektoe

hi there if you look at the output of my first code or "instance". once a option is selected in the checkbox, the cell next to that cell changes and presents a form to the user, or input field based on the selected option... so in essence this is ONE …

Member Avatar for Airshow
0
145
Member Avatar for reedie

All, i have a pretty simple task but for some reason i cannot for the life of me figure out how to do it in Python. I have a matrix of numbers, this matrix has a variable number of rows depending on the dataset but always 30 columns. first things …

Member Avatar for sneekula
0
139
Member Avatar for lstammer

This is what I have from another posting: [code=javascript]<script language="JavaScript"> <!-- // Create arrays to contain all the values // for links and image locations link = new Array image = new Array link[1]="http://www.sugarshack.com" image[1]="/images/stores/sugar-index.png" link[2]="http://www.clientswebsitecompany.com" image[2]="http://www.bastropdba.com/images/services/clients-index.gif" // Create a random number between 1 and last number random_num = (Math.round((Math.random()*2)+1)) …

Member Avatar for JugglerDrummer
0
102
Member Avatar for Pavan_

[CODE] //#include<iostream> class std { public: int i; }; int main() { std A; //float f=0.0f; } [/CODE] error: ‘struct std’ redeclared as different kind of symbol error: previous declaration of ‘namespace std { }’ on compiling , above error comes. we are not including any header file.....then how compiler …

Member Avatar for Salem
0
218
Member Avatar for gowth08

The following snippet throws an Exception in printin part.... [ICODE] ArrayList<ArrayList<Integer>> a = new ArrayList<ArrayList<Integer>>(5); for(int i = 0 ; i < a.size() ; i++){ a.set(i, new ArrayList<Integer>(10)); } System.out.println(a.get(a.size()-1).get(9));//exception thrown [/ICODE] can anyone explain why... thanks in advance...

Member Avatar for yilmazhuseyin
0
123
Member Avatar for RiceFiend

Hello, My program runs and I have successfully written my Find and Display functions for my vector and have gotten them to work. However, my Remove and Search functions are not working; to be more specific, they are able to search for a value, but no value is found. Any …

Member Avatar for StuXYZ
0
135
Member Avatar for kuay

import java.util.Scanner; public class stack { /** * @param args */ public static void main(String[] args) { int result ; int output ; Scanner num = new Scanner(System.in); int input = num.nextInt(); for(int j = 0;j<input;j++) { int output1 = 0; output = num.nextInt(); for(int i = 0;i<output;i++) { if(output …

Member Avatar for yilmazhuseyin
0
110
Member Avatar for athlon32

I'm following a tutorial on Win32, and as I compile the examples, I'm also kinda messing with the code to experiment with different concepts. Here is a little ditty i worked with: main.cpp [code=C]#include <windows.h> #include <iostream> #include "prototypes.h" #include "defines.h" LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); void AddMenus(HWND); int …

Member Avatar for kolosick.m188
0
168
Member Avatar for nagash07

Hi, Guys can any1 help me I'm quite a noob in Assembly language and I have an important school work to be done. And I dont even know how to start. This is what I need: An assembly program for 8086/8088 that opens a given .txt file and counts up …

Member Avatar for wildgoose
0
204
Member Avatar for toykwon

Hi, I have 15 textboxes that I created. Now, I want to assign a value to each of these texboxes. I want to do somethign like this. [CODE] for(int i = 0; i < 15; i++) { //example: texbox0.Text = 0; (textbox.Name+i.tostring).Text = i.tostring(); } [/CODE] Thank you for your …

Member Avatar for sknake
0
199
Member Avatar for kolosick.m188

I have this code being called by a QMainWindow: [code=c++] centralWidget()->currentWidget()->addSubWindow(new SubWindow()); [/code] the centralWidget is a QTabWidget the currentWidget is a QMdiWindow and I get the error: [icode] error: 'class QWidget' has no member named 'currentWidget' [/icode] please help

0
81
Member Avatar for MONODA

Hello, I am writing an application which uses the trig functions of the math module in python but for some reason, the float values that some of the calculations return are obviously incorrect. for example [code=python]math.cos(90*math.pi/180)[/code] returns 6.1230317691118863e-17 rather than 0. Does anyone know of a way which I cant …

Member Avatar for MONODA
0
306
Member Avatar for amorphis88

Hello, i'm a beginner and i'm creating a guestbook in asp.net with XML. i have the following: my aspx page: [code=asp.net] Name: <%#DataBinder.Eval(Container.DataItem, "name")%><br /> E-mail: <a href="mailto:<%# DataBinder.Eval(Container.DataItem, "email") %>"><%# DataBinder.Eval(Container.DataItem, "email") %></a><br /> Location: <%# DataBinder.Eval(Container.DataItem, "location") %><br /> Date: <%# DataBinder.Eval(Container.DataItem, "date") %><br /> <i><%# DataBinder.Eval(Container.DataItem, "entry_Text") …

Member Avatar for xpartmgr
0
689
Member Avatar for Blaine Tuisee

Here's the code i'm running. I know it's not the connection because it connects fine, it just doesn't like the transaction. Thank you to any who help. [code=c#] OracleTransaction txn = conn.BeginTransaction(); try { // Set the connection property of the command object OracleCommand cmd = conn.CreateCommand(); cmd.Connection = conn; …

Member Avatar for Blaine Tuisee
0
257
Member Avatar for Zaffron

So I have been playing with classes, seeing that they are more efficient than globals, and I wrote this hopefully simple test program to see if I properly reverse engineered tetlaw's simple rpg. For the life of me I cannot figure out what is wrong with it. If an expert …

Member Avatar for Zaffron
0
103
Member Avatar for localp

The code found below takes command lines arguiments and displays. I want to modify this code in anyway that it would take 2 set of command line arguiments and produces 2 outputs. (That means , Open 2 command prompts and run the code) ex: first cmd prmpt -> java CmdLnArgmntExp …

Member Avatar for VernonDozier
0
194
Member Avatar for sdmahapatra

[quote]I've written below simple code.Actually need to do that the value which is given by an user that will use as macro and macro value will automatically initialyzed to all needed place.Not to given every time.[/quote][CODE]#include<iostream> #include "conio.h" #define AB def() int main(int argc, char* argv) { int a=3,b=2; int …

Member Avatar for sdmahapatra
0
138
Member Avatar for troy19

hey .... i have a problem when i try to update/delete/add to the database (microsoft access 2007) it gives me the error : Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Could not delete from specified tables. /internet project/delmsg.asp, line 7 LINE 7 is …

Member Avatar for troy19
0
63
Member Avatar for vigneshsr

Hello Everyone, Below is the working code, that I just coded for you guys to understand in a easier way: [code=html]<html> <head> <script type="text/javascript"> function updateTotal() { var sundayTotal = Number(document.getElementById('sunday').value); var mondayTotal = Number(document.getElementById('monday').value); document.getElementById('total').value = sundayTotal + mondayTotal; } </script> </head> <body> Sunday Duration: <input type="text" id="sunday" onkeyup="updateTotal()"> …

Member Avatar for serkan sendur
0
185
Member Avatar for NEo4

Hello! I have program that consists of multiple forms. Each of the forms share a common variable which I stored in the main form. But to access the variable from another form, I have to type something quite long like this: MainForm.CommonVar.Function(arg1, arg2, arg3, arg8) I use this many times …

Member Avatar for NEo4
0
86
Member Avatar for travis67

I have a problem with syntax in C#. I need to make my own treeview control in which I just need to add one property to nodes. For an example, if I have list of files listed in my tree, I want to keep filesize somewhere that is related to …

Member Avatar for sknake
0
119
Member Avatar for tundra010

Hi I have Microsoft Visual C++ 2008 Express Edition and I downloaded fltk from fltk.org. When I tried compiling it, i got many of these errors: LINK : fatal error LNK1181: cannot open input file 'fltk.lib' How do i compile FLTK now? Please help

Member Avatar for tundra010
0
274
Member Avatar for ritu verma

I want to show contextMenu on Menu Item Right click..But probs is dat when i right click on menu Item,Context Menu is popping up..But menu disapper..I want that menu should not be disappered... See in Attachment [code] Private Sub MenuAddToFavorites_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles MenuAddToFavorites.MouseDown If …

Member Avatar for ritu verma
0
982
Member Avatar for kuay

package casesar02; import java.util.Scanner; public class casesar02 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int key = 4; // scan.nextLine(); String str = scan.nextLine(); String encrypted = encrypt(str, key); System.out.println(encrypted); } public static String encrypt(String str, int key) { String encrypted = ""; for (int …

Member Avatar for VernonDozier
0
81
Member Avatar for nahmartin

My apologies my c++ abilities are poor (self taught) I have a text file that needs editing the first 10 lines of the file needs replacing but the other 1,000,000 + lines don't I need the information in the first 10 lines to know what to edit them to i …

Member Avatar for nahmartin
0
138
Member Avatar for Creator07

Hello, I was doing a test Win32 Project. I am using the standard rename() function under cstdio. My program was not working. So, while tracing, I got the return value of rename function as [B]-1[/B]. I have not seen anywhere, rename(0 function returning -1. Could anyone tell me what's wrong. …

Member Avatar for Creator07
0
202
Member Avatar for abhigyan91

hey i just started python.. i know this is a useless stupid program but i still cant get it right..:( here i want the user to enter date in dd/mm/yyyy fashion and return the date in words. eg. 12/12/1912= 12th December,1912 but it doesnt work.. it only works for 29 …

Member Avatar for sneekula
0
108
Member Avatar for sandipan.rcciit

hi i am trying to collect the database of books from the devloper area of isbndb.com. this site provide us a passkey with the help of that we can collect the xml data from database depending upon criterias. .[url]http://isbndb.com/api/books.xml?access_key=6XEB6RTL&index1=publisher_id&value1=oreilly[/url] this link collect the xml data of books publisher of oreilly. …

Member Avatar for kvprajapati
0
182
Member Avatar for gretty

hi my program is supposd to deleted repeated (identical) array elements within an array. Although its not working but I can figure out why? Also is there a more advanced way of doing this; checking for repetitions in an array? I am not sure but maybe using stringstream? I am …

Member Avatar for Lerner
0
96
Member Avatar for jcmeyer

Let's say a user of my application opens two or more MDIChildFrames. How can I get access to any one of the child frames? If I keep track of the names of the child frames in a list is there a way to use the name to call upon a …

Member Avatar for jcmeyer
0
89
Member Avatar for vash47

So, hello, guys. I'm new to this forums and this problem has been bugging me lately. I'm making a Windows Forms app in C#: So I have a form with two buttons, one of them is a "New" button (private void botonNuevo_Click(object sender, EventArgs e)). This new button creates a …

Member Avatar for vash47
0
112
Member Avatar for wacky

I work in Visual C++ ,Win32 aplication and I want to play more sounds together and I don't know how. I used PlaySound() but this function play only one sound at a time. If you have some solutions post them here please. Thank you!!

Member Avatar for athlon32
0
360
Member Avatar for kangarooblood

I've been trying to do a really easy game here, the thing is that the when a player reaches 0, it just keep going to -5 and such like. WHat's wrong? [code=c++] #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main () { srand(time(0)); int player1 = 100; …

Member Avatar for bunnyboy
0
111
Member Avatar for xavierantony

I am just learning C# how to clear a cmd line after wrong entry like wrong user name or password in C sharp? my codes here, have a look thanks ---------------------------------------- [code=csharp] using System; using System.Collections.Generic; using System.Text; namespace DisplayLogin { class Program { static void Main() { Console.WriteLine("________________________________________________"); Console.WriteLine(""); …

Member Avatar for sknake
0
2K
Member Avatar for erictheking1

I was wondering if anyone could give me the code for email validation on a textbox named, txtEmail. I have used a validator but there is a problem with IIS7 and this so i need to code it behind the text box. I would like to inform the user that …

Member Avatar for sknake
0
117
Member Avatar for dsladev

Hey everyone, well I wrote this program because I haven't seen anyone do it yet (it has always been random numbers, not sentences.) Also I just wanted to see if I could do it :). Im posting this not because I need it fixed, although I'll tweak it if I …

Member Avatar for kolosick.m188
0
522
Member Avatar for new_2_java

Hi all, I have set up a project in Eclipse 3.1 and am using java 5.0 compiler. Here's my folder structure in Eclipse [code] DFS\RemoteClient\TestClient.java DFS is the project in Eclipse [/code] and this is how it looks my java class [code] package RemoteClient; import java.util.*; // other imports public …

Member Avatar for javaAddict
0
2K
Member Avatar for jcmeyer

When I run this code: [CODE]sql = "SELECT Name FROM nameDatabase" self.cursor.execute(sql) list=self.cursor.fetchall() print list[/CODE] I get: >>> [(u'Joe',), (u'Katie',), (u'Bob',), (u'Ian',)] However, if I try to make a SingleChoiceDialog with wxpython it does not like that list. Is there any way to get those values in a so it …

Member Avatar for jice
0
112
Member Avatar for llemes4011

Hi. I'm trying to write a program that, when ran, opens an undecorated JFrame, and shows a list of icons that when clicked on, run a program, or open a folder. I'm having trouble getting the actual Icon Image. When I try, it gives me one of the default Java …

Member Avatar for llemes4011
0
126
Member Avatar for compumax

Hi. I am creating own compiler/linker. What is the most standard and recommended way to use binary libraries? (such as user.obj,gdi.obj) Is it better take them from Windows directly, from some version of Visual Studio, or exist special SDK distributions? Thanks.

Member Avatar for compumax
0
90

The End.