199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Snapshot9

I am an avid Poolplayer, and have played for 44 years, and I ma a retired systems developer of mainframe systems mostly, and have never done raw development on a PC (standalone program). I know several languages, for expample, COBOL, SAS, fortran, databus (remember that..lol), modula-2, RPG3. I am familiar …

Member Avatar for iamthwee
0
145
Member Avatar for Nazzy

Hello, I am having a lot of difficulty with this program. I have to find the data types of strings that have been inputted by users into the command line. I have used StringTokenizer to break data into strings but I am not sure where to go from there. How …

Member Avatar for server_crash
0
138
Member Avatar for Arvinth

Hi My problem reqs a simulation code ( *.exe), which shd read the inputs from a file ( *.in) and after calculations , write the results to an output file ( *.out) .The names of the input and output files are hardcoded. I shd be able to execute my sim …

Member Avatar for Arvinth
0
323
Member Avatar for chaitanya.b

hello every one, I am allocating memory using malloc library function, In oredr to deallocate memory we have to use free or realloc library functions.But I want to deallocate memory with out using free and realloc library functions, any body has the logic for that code please help me, it …

Member Avatar for SpS
0
152
Member Avatar for hiten_1984

hi all, this is my 1st message. i am a beginner in C. can anyone help me out with the following Turbo C problem. i am unable to complile my programs. i.e. instead of compiling my program the s/w compliles something else (tc\inclde\iostream....something of this sort of a file pops …

Member Avatar for hiten_1984
0
130
Member Avatar for cjblue

I'm running a query through XML from the local database which uses PHPMyAdmin to a remote one which uses MSSQL. Unfortunately I have no way of checking syntax against MSSQL so all I know is that this works in PHPMyAdmin. So the query gets as far as running, but is …

Member Avatar for Troy
0
252
Member Avatar for barry t

I have a database with two tables customers & sales what i would like to do is in the sales datagrid is to have a total column that calculates the quantity*price columns and shows the result in the total column i don't know if i need to do this with …

Member Avatar for plazmo
0
223
Member Avatar for david31337

[code]try { for (int j=0; j < length; j++) { int indx = s.indexOf(text.charAt(j)); if (indx >= 27 && indx <= 36) { code += ((indx + key)%26); } else { code += s.charAt((indx + key)%36); } } }[/code] Hi, Im pritty new to java, I wrote this code and …

Member Avatar for david31337
0
125
Member Avatar for Ababo

Hi everyone. I've only really just started using php and I've been trying to use it in conjunction with mysql. I keep getting an error though when trying to access the result set returned by performing a query on the database. I've performed queries on the database outwith php, and …

Member Avatar for Troy
0
127
Member Avatar for skalra63

i wondered if anyone could help me with this. i have a button on a form (frmUpdateProduct). this button opens up another form (frmSelectSupplier). i have a listbox which gets all the supplier names from the access database, and assigns then with the Supplier ID (also from the database). here …

Member Avatar for aparnesh
0
156
Member Avatar for ammcom

hi I have this problem using "system" function : I am using "system" function to run a program form php script , this program is supposed to run another program , but that doesn't happen at all , the program is functioning when it's run form outside php but it's …

Member Avatar for Troy
0
131
Member Avatar for complete

This has to be a simple question to answer. And I know how to do this in C++ but I don't know how it is done in Visual Basic. So I am not completely lost. It is just that Visual Basic is pretty new to me. I have written some …

Member Avatar for complete
0
114
Member Avatar for mickeyfitzray

Hi, Im trying to create a button that will perform different functions depending on what part of the button you click. The button will be a diamond shape with six different regions on it that will perform different actions (play, pause, volume up/down etc). Does anyone know any good sites …

Member Avatar for plazmo
0
401
Member Avatar for muthu

hai friends, i want one help, how to generate a random numbers without duplication for more than 60 persons. My project is Online Examination in asp.net code behind c#.net. please help.

Member Avatar for pdzine
0
114
Member Avatar for osean

Can someone give me an example on how to listen on multiple ports with Winsock? I have been trying for hours with no luck..

Member Avatar for osean
0
594
Member Avatar for tyczj

i am totally stumped on what to do here. basically whats goin on is i have a 3D dynamic array and i need to have a cursor inside of it and move around on the inside. i do i go about doing that? like i said im completely stumped. here …

Member Avatar for iamthwee
0
1K
Member Avatar for crws416

Hi all, I'm having a prob with loading a file into an array. I'm fine with opening the file but when it come to the fread command i seem to be failing as the document size will be variable, so how can i state a file size as "num_of_elements". if …

Member Avatar for crws416
0
163
Member Avatar for benyam_dessu

Dear Colleague: How can I use "begin transaction", "commit transaction", "rollback transaction" and the like in the visual basic 6. Is it possible to populate a combobox in VB form with the data that is retrieved from SQL server database table? How the code looks like? regards, benyam

Member Avatar for aparnesh
0
306
Member Avatar for Chiropractor

Hi, I have a question about Javascript suckerfish menus, but first, I should state what I am using, now: Currently, I am using a standard CGI form redirect to allows users to chose a state. The drop-down menu contains 50 states, and scrolls when necessary to display all the names. …

Member Avatar for DaveSW
0
131
Member Avatar for muthu

hai friends, i am muthu, doing MCA . i have one problem i do my project in my college system and take copy and place in my system. In college it working properly, but in home it says, ur webserver cannot debug ie debugger is not running. i also check …

Member Avatar for Letscode
0
152
Member Avatar for rani

Hello, If I have x = M^(d + t.N) (mod N) What is the best set of operations to apply on x to retrieve: y = M^d (mod N) knowing that d, t and N are huge numbers ? Thank you

Member Avatar for rani
0
194
Member Avatar for Coach_Nate

Ok, here's my code: [code] string connect; cout<<"enter node, then linked nodes"; cin>>node; while(node != 0) { cin.get( connect ); adjList.insert(make_pair(node,connect)); cin>>node; } [/code] The problem at hand is that the compiler (Dev C++) keeps telling me : 21 no matching function for call to `std::basic_istream<char, std::char_traits<char> >::get(std::string&, char)' referring …

Member Avatar for Narue
0
137
Member Avatar for jefferyylc

Hi ALL: I been created a <page-break-after:always> for page break purpose in printing HTML report in order to break the report. But unluckily i found that what i did is known as "hard coded". They want something called "Dynamic Page Break" so that when the report content can automatically fit …

Member Avatar for jefferyylc
0
284
Member Avatar for EmilyBrooke

I've finally gotten this thing to open information and place it into a text file. My next question is, how do I get this part to work? I've bolded the registry key that I'm trying to put into the notepad file, but this one just will not work. What am …

Member Avatar for f1 fan
0
727
Member Avatar for winbatch

I am trying to write a large file, but it always stops writing when it hits 2GB. (2147483647 bytes to be exact). I know it's not an O/S or disk issue (I'm on solaris) as I'm able to use the mkfile command to create a 3GB file. I'm using the …

Member Avatar for winbatch
0
203
Member Avatar for Kurupt4

Hello Everyone, I have a form (it is for a web based poll) it collects 4 pieces of information: 1) the poll question 2) the amoutn of choices 3) the start date of poll 4) the end date for poll Now when this form is submitted(same script $php_self) it takes …

Member Avatar for Troy
0
124
Member Avatar for HI2Japan

Hi all, I am a beginner at this so sorry for my ignorance. I'm trying to make a macro that searches an Excel Spread sheet. I plan on using Data validation in cell A1 that the user selects the value they want to see, then I want them to be …

Member Avatar for Yomet
0
311
Member Avatar for sabyasachib

<html> <head> <title>Registration Page</title> <script language="JavaScript"> function a() { document.f1.s2.remove(0); } function add(x) { var boxLength; var selectedItem; var selectedText; var selectedValue; var i; var thisitem; var isNew = true; if ( x == 0) { boxLength = document.f1.s2.length; selectedItem = document.f1.s1.selectedIndex; selectedText = document.f1.s1.options[selectedItem].text; selectedValue = document.f1.s1.options[selectedItem].value; } if …

Member Avatar for Troy
0
142
Member Avatar for EmilyBrooke

This is my first attempt ever at a program in C#. Here's what I have so far: [code]using System; using Microsoft.Win32; class reg { static void Main() { RegistryKey hklm =Registry.LocalMachine; hklm=hklm.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); Object obp=hklm.GetValue("Identifier"); Console.WriteLine("Processor Identifier:{0}",obp); RegistryKey hklp =Registry.LocalMachine; hklp=hklp.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\CentralProcessor\\0"); Object obc=hklp.GetValue("VendorIdentifier"); Console.WriteLine("Vendor Identifier:{0}",obc); RegistryKey biosv =Registry.LocalMachine; biosv=biosv.OpenSubKey("HARDWARE\\DESCRIPTION\\System\\MultiFunctionAdapter\\4"); Object obv=biosv.GetValue("Identifier"); …

Member Avatar for EmilyBrooke
0
510
Member Avatar for AhmedHan

I had been studying OpenGL in DevCPP all the time. Using DevCPP you link OpenGL library files libopengl32.a and libglu32.a adjusting project options. But I dont know how to do this in VC++. Can you help me what files to link and how to link in Visual Studio 2005 for …

Member Avatar for jwenting
0
254
Member Avatar for augie0216

I'm doing this in visual C#.net.I'm a nwebie so bare with me. I'm creating a class I need to declare three fields: name,phone number, and birthday (month,day, and year). I'm not sure how to declare them. Is this correct :?: private string name private string phone number private int birthday

Member Avatar for f1 fan
0
100
Member Avatar for stupidenator

Hi everyone, I am currently facing a problem with a program that I am writing. It is a computer simulation of the card game War. I am receiving this error [CODE]main.cpp:22: invalid conversion from `Card*' to `int' main.cpp:22: initializing argument 1 of `Card::Card(int)'[/CODE] Card is the name of one of …

Member Avatar for stupidenator
0
170
Member Avatar for Nedals

In CApplView I create a Login Form. [code] void CApplView::Login_Entry(CDC *pDC) { .. if (pUserid == NULL) { pUserid = new CEdit; pUserid->Create(WS_CHILD|WS_VISIBLE|WS_BORDER, CRect(x,y1,w,h), this, IDC_USER); pPasswd = new CEdit; pPasswd->Create(WS_CHILD|WS_VISIBLE|WS_BORDER, CRect(x,y2,w,h), this, IDC_PASS); pbLogin = new CButton(); pbLogin->Create("Login",WS_CHILD|WS_VISIBLE|BS_PUSHBUTTON, CRect(x,y3,w,h), this, IDB_LOGIN); } } [/code] How do I add code …

Member Avatar for Nedals
0
955
Member Avatar for fsloke

I doing assignment about file processing. It quite hard. 1.Sometimes can open the file sometimes cannot 2.How to overwrite y content in the file? 3. How to add Data into the file? Brief: You know I create the file then when I close the program. After that open again. It …

Member Avatar for Salem
0
339
Member Avatar for soulman

on the index.php page under create new database listed is no Priviligies. How can i correct this. it seem to be working fine but then i think i played around with priviligies to get mamboserver working. after that all my databases were gone and i can't seem to add new …

Member Avatar for puddin
0
594
Member Avatar for 3265002918

I am learning the PHP language but I can't figure out how to see what i am doing. I need a program to see the result of my coding. Can someone help? thanx

Member Avatar for Troy
0
243
Member Avatar for btech

I want to check to see if a binary tree is perfect. this means that the height of the left and right subtrees of the root are equal and the left and right subtrees of the root are perfectly balanced binary trees. I have written the function but am not …

Member Avatar for Salem
0
138
Member Avatar for MrBrilliant

my program prompt an integer input but if the user type in a character the program crash! is there any solution to the problem MANY THANX

Member Avatar for MrBrilliant
0
246
Member Avatar for JoBe

Hello ladies and gents, I just wanted to see what this small programs does so I tried it in Dev-C++ and in VC++ 2005, thing was, it worked in Dev-C++ but not in VC++ 2005 in which I got an error stating the following: [QUOTE]error C2664: 'MessageBoxW' : cannot convert …

Member Avatar for WolfPack
0
670
Member Avatar for Toulinwoek

Here's what I want to be able to do: I have a table that's storing, say a list of speeches, with several fields holding data for records. Within each record, I want to make a list of several sources from which information is drawn for a particular speech. So, field …

Member Avatar for plazmo
0
146
Member Avatar for coopedw

I know there are tons of posts on this, I think I'm on the right track with this, but I can't quite get it to work. I can't figure out how to get the range of primes to print. I'd appreciate any input I can get, sorry about the indenting. …

Member Avatar for bumsfeld
0
221
Member Avatar for hak

I know this is a noob question but where do i put my own code in this menu code for windows. [CODE]#include <windows.h> /* Declare Windows procedure */ LRESULT CALLBACK WindowProcedure(HWND, UINT, WPARAM, LPARAM); /* Make the class name into a global variable */ char szClassName[ ] = "WindowsApp"; int …

Member Avatar for bumsfeld
0
203
Member Avatar for tankedup

Hi I have just been attempting to update my site. Apparently an applet I use now needs to become an object for XHTML. I have managed to do this and it works in Firefox and Opera ... but IE6 will not play ball. [URL=http://www.tankedup-imaging.com/xhtml/links.html]I've got a link to a test …

Member Avatar for tankedup
0
209
Member Avatar for varuna1

Hi Everyone, I am having two sites. I am presently using a registration form at my new site to register a user at my second site(old one). For this i am passing all the required form values to old site at the submit of form via post method (like username,password …

Member Avatar for varuna1
0
234
Member Avatar for paradox814

so I have somewhere between 15-300 images in a folder and I want to know which would faster: loading all the image (file) names into an array and then randomly picking 3 distinct files using $file = opendir($folder_name) -- OR -- loading all the image file names into the mysql …

Member Avatar for Troy
0
109
Member Avatar for dsureesh

hi all, iam sureesh, iam doing a online project in php, i want know how we can use sessions in php....... how to make session end when the user click the logout button

Member Avatar for Troy
0
118
Member Avatar for bwest

Ok, I am putting my users text onto the screen. I need it to represent what they typed so I use the <pre></pre> tags to preserve the hard returns and other white space. The problem comes when they type a long paragraph (such as the one Im typing now) and …

Member Avatar for Troy
0
118
Member Avatar for Dactyl

Hello everyone I am learning how to parse XML files with PHP. And I cant figure out how to do something. Any help is greatly appreciated :) Here is a sample XML file that I am trying to parse: [quote] <?xml version="1.0"?> <emailsList> <email no="1"> <from> [email]whatever@yahoo.com[/email] </from> <to> [email]yyy@yahoo.com[/email] …

Member Avatar for Troy
0
196
Member Avatar for php4ever

Here is a question I've yet to find an answer to. I have some javascript I'd like to be dynamically inserted into a page when its called. The set up is this. I have an <iframe> in my site and the pages that get linked to externally to go into …

Member Avatar for Troy
0
191
Member Avatar for hureeict

HI every1 I mongolian studen so i builing one project but we have problem how can i display the logod user status like he's her id number and spme of the profile help any idea ??? :o :o :o :o :o

Member Avatar for hureeict
0
211

The End.