199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hanifa

Hi, My server machine is running on Windows XP and running MSSQL. I have another client machine which also installed on Windows 2000 and since i cannot install the whole MSSQL, I installed the Client Tools only. After installing,through my query analyser in client machine i can query the tables …

Member Avatar for adamsd5
0
179
Member Avatar for saulzi

This is my first post and it is a reply to a old one but if its any help to anyone it can be done quite simply include the following if it isnt allready [code=cplusplus] #include <stdio.h> #include <stdarg.h> then create a function simular to the following void formattedtext (char …

Member Avatar for stilllearning
0
153
Member Avatar for jworld2

Okay, so I've been working on a program that converts ascii values to text. The way that I have the code is functional, yet not convenient. Let me post the code and then explain.- [ICODE]letters=[' enter ','',' ',0,1,2,3,4,5,6,7,8,9,'A','B','C','D','E','F','G','H','I','J','K','L','M','N',\ 'O','P','Q','R','S','T','U','V','W','X','Y','Z','a','b','c','d','e',\ 'f','g','h','i','j','k','l','m','n','o','p','q',\ 'r','s','t','u','v','w','x','y','z'] numbers=[10,13,32,48,49,50,51,52,53,54,55,56,57,65,66,67,\ 68,69,70,71,72,73,74,75,76,77,78,79,80,81,\ 82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,\ 106,107,108,109,110,111,112,113,114,115,116,\ 117,118,119,120,121,122] # Ascii values in …

Member Avatar for jworld2
0
147
Member Avatar for JustLearning

I was trying to figure this out but for some reason it is illuding me Ministack header provided [code=cplusplus] #ifndef MINISTACK_H #define MINISTACK_H const int MINI_STACK_SIZE = 5; // Fixed number of element in stack class MiniStack { private: int num; // Number of values stored in MiniStack char* stackPtr; …

Member Avatar for Ancient Dragon
0
200
Member Avatar for jlm699

First you'll need to learn how to use code tags. As your code stands, it is unreadable because all indentation has been lost. If you use code tags, your code is not only readable, but forum members can easily copy and paste it into their code editors to tinker with. …

Member Avatar for vegaseat
0
119
Member Avatar for aot

I'm having trouble unpickling a file -- it gives me ValueError: insecure string pickle. The trouble is, it is nearly identical to another file that I was able to unpickle just fine. For the life of me I cannot see what is strange or different about the new file -- …

Member Avatar for woooee
0
982
Member Avatar for lytre

ok, when i try and compile my unfinished program at the bottom: it gives me these two errors c:\documents and settings\owner\desktop\programming stuff\programming practice (pascal)\unitconverter.pas:6: warning: missing string capacity - assuming 255 c:\documents and settings\owner\desktop\programming stuff\programming practice (pascal)\unitconverter.pas:7: parse error before `In' and i'm new to programming so i dont know …

Member Avatar for suki_boy
0
212
Member Avatar for munror

Hi there, Just joined the community! Been having trouble all day with the following select statement and MS Access database: [SELECT * FROM client_referrals WHERE client_id = 1 AND ((date_of_referral >= #9/21/2008#) AND (date_of_referral < #9/28/2008#)) ORDER BY referral_lastname ASC] The [((date_of_referral >= #9/21/2008#)] section of works, so all dates …

Member Avatar for munror
0
268
Member Avatar for Tribesman

I need help with this program please. This is a program that will turn your first name into a group of numbers with a being equal to 1 and so on. This program does this but I need to have it total all the numbers in the name. I was …

Member Avatar for jlm699
0
284
Member Avatar for bugmenot

In c++ i want to know how to output the result on dos screen page wise,i.e. when i am displaying something if the page is filled then a prompt should come like "Press any key to continue.." More precisely i want an equivalent of the '/p' command which is used …

Member Avatar for Frederick2
0
99
Member Avatar for espSquall

The declaration of the type is: [code]type TMediaLibrary = record Title:string[30]; TrackNo:integer; Artist:string[30]; Album:string[30]; Year:string[4]; Genre:string[30]; Comment:String[30]; Directory:string; end; var SongInfo: TMediaLibrary;[/code] and the file implementation of it is here: [code]procedure TForm1.Button1Click(Sender: TObject); var SongFile:string; MediaLibrary: file of TMediaLibrary; <<<Error is here begin . . . . AssignFile(MediaLibrary, 'C:\Program Files\toMedia …

Member Avatar for espSquall
0
155
Member Avatar for Frederick2

Been studying COM for some time now and for the life of me I can't find out how some of these standard interfaces such as IID_IConnectionPointContainer, IID_IConnectionPoint, etc., are actually defined. I can pass these IIDs in QueryInterface() calls and successfully retrieve pointers to them, so they must be actually …

Member Avatar for Frederick2
0
477
Member Avatar for vk10

Hi, I am new to C++.Pls help me out.would really appreciate it. The problem goes like this. There are two files. In file1(say data1.txt)u have got something like this Line1:Hello How Line2:We are fine the work is grab each string and assign it with a binary file and enter it …

Member Avatar for vk10
0
106
Member Avatar for yasmena

i need help in my project, i need to get the mous focus on the username text field in the admin page but the problem is the body & head of the page is in another page so when i use onload="focus();" and get the element by id e cant …

Member Avatar for R0bb0b
0
132
Member Avatar for Sci@phy

I'm a beginner in that area, but would like to learn more. Is there any nice tutorial on the web for Windows OS regarding multithreading?

Member Avatar for Ancient Dragon
0
120
Member Avatar for antwan1986

Hi all, I have a question about mysql_real_escape_string. Is it just used for login scripts or is it also used for inserting data to a database. My problem is this: [CODE] $connection = mysql_connect("*****", "*****", "*****"); $database_select = mysql_select_db("*****", $connection); $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $firstname = stripslashes($firstname); $firstname …

Member Avatar for antwan1986
0
148
Member Avatar for deepa_vsd

Hi, I have opened Internet Explorer by using Process p = Runtime.getRuntime().exec(browserCommand+" " +url_name); Now I want to know how to close opened internet explorer using java program I used p.destroy() method, but it's not working.

Member Avatar for Ezzaral
0
160
Member Avatar for clueless101

This program is suppose to allow the user to enter a student's name and (4) scores via GUI, instead of Scanner class. The class is to use a String array for 5 names, an array of 5 characters to hold letter grades, and 5 arrays of four doubles for each …

Member Avatar for VernonDozier
0
176
Member Avatar for charusood

You will need to author two classes – Customer and Pensioner. Pensioner should be a subclass of Customer. These classes should be in their own files with separate header files. Details are below. Create a third class called Manager. The manager file can contain the main function. The Manager class …

Member Avatar for Lerner
0
285
Member Avatar for botter911

I am trying to load the bmp image from my C to the console and it works. The image opens. But the problem now is the console hangs. Is there something wrong in my code? Or what should I change to avoid making the console hang. [CODE] #include <stdio.h> #include …

Member Avatar for twomers
0
183
Member Avatar for keripix

im having trouble trying to run more than one applications from my program. I thought threading might help (but actually i hav little knowledge bout it). below is some part of the program: [CODE]if 'pdf' in self.ebook: thread.start_new_thread(self.open_pdf()) elif "chm" in self.ebook: thread.start_new_thread(self.open_chm()) def open_pdf(self): os.system('evince '%s''%self.ebook) def open_chm(self): os.system('gnochm …

Member Avatar for woooee
0
97
Member Avatar for wipeskim

Hi, I created a multiple select box wich i would like to have one variable with all the results selected on the multiple select box such as variable_name = "result1|result2|result3" This is what i have so far: [code] oSelect = document.getElementById ('s1'); var iNumSelected = 0; for (var iCount=0; oSelect.options[iCount]; …

Member Avatar for wipeskim
0
156
Member Avatar for jamello

Howdy there my people! I have a pretty 'thorny' issue I have been battling with for some time now and I am really hoping that with expert-eye-a-plenty in this forum the challenge is a done deal. It really beats me hollow why a control which I downloaded free from the …

Member Avatar for jamello
0
329
Member Avatar for koteswarvijay

Hi All, I am connecting to Unix host from Windows and using SFTP connection. I am able to connect and do put & get. But I need to do even more. I want to write a function to which I will pass the command and that commands needs to be …

Member Avatar for KevinADC
0
121
Member Avatar for Sheryl99

What is wrong with this code? All I want to do is display photos for a slide show, with about 5 seconds pause between photos. It will only show the last photo. The photo directory and file names are contained in the ComboBox. (I thought I posted this wrong, so …

Member Avatar for Sheryl99
0
89
Member Avatar for Zurompeta

Not sure the title I gave this was appropriate, but I will try to describe my problem as best as possible. Basically, I'm trying to find the correct url reference for the mkdir() function. Let me type up a FTP Structure diagram to help: [code]{ROOT} -inventory -FF -<I am here>[/code] …

Member Avatar for Zurompeta
0
84
Member Avatar for peter_budo

I'm trying to get character "2936" printed out ( it is the arrow on your big Enter of the keyboard) as seen in Unicode charts [URL="http://unicode.org/charts/PDF/U2900.pdf"]Supplemental Arrows B[/URL]. However it does show as question mark. Suggestions? [code=Java] public class PrintCharacters { public static void main(String[] args) { String[] one = …

Member Avatar for di2daer
0
115
Member Avatar for vijaysoft1

Please Help me to Understand the callback functions using this program.Actually i understand the program. But i want to understand it very clear , what is hear happening. So please..... [ICODE] class Button { public: class Notifiable { public: virtual void notify()=0; }; Button (Notifiable *who) : calle (who) { …

Member Avatar for jencas
0
116
Member Avatar for dapcigar

Am having an assignment on modular programing. the program ( VCD system) must (1) Initialize database, (2) Add a record for VCD (3) delete record for a VCD (4) Print out all VCD (5) save to text file (6) Load from text file. have actually worked on it but i …

Member Avatar for Ancient Dragon
0
198
Member Avatar for ashamsa

We are working on an application that caters to a group of institutes. With the current database architecture each institute has its own database, with the same structure but data is different. But there has to be a common database that has some data which need not be repeated in …

Member Avatar for timothybard
0
142
Member Avatar for nichokongo

h i guys, i want to develop a software that can be used to control air traffic.Please tell me how to start and which programming language to use.

Member Avatar for Denniz
0
83
Member Avatar for Luckymeera

hi guys im stuck on my project as im new to python. im using tkinter module. i need to create some traffic lights along the stretch of road and the vehicles should me able to stop the when it is red and should go when green lights. also they should …

Member Avatar for Gribouillis
0
1K
Member Avatar for mohammed2raja

echo "<meta http-equiv=Refresh content=0;url=login.php?nflag=".$nflag.">"; Here i pass PHP variable nflag. Can any body tell me where this variable(nflag) is store. So when i use the statement ; $nflag=$_GET['nflag']; and get that value. Where the value of 'nflag is stored', ans from where _GET[] array is formed. What are the default …

Member Avatar for mohammed2raja
0
304
Member Avatar for farhana

hi , i have some problem in asp...can any one help me.. i have registration database at other website(eg.[url]www.abc.com[/url]) and i want to display its data in my other website....just display the data and perform the searching in other websitewebsite(eg. [url]www.xyz.com)[/url]....

Member Avatar for Baradaran
0
87
Member Avatar for sarah_cute

Hello everybody... could somebody help me to solve this problem?? It's only 1 checkbox that looping into many checkbox.. Then,I juz want to update the checkbox. How to get the value of the checkbox that had being ticked for save? The code as below: [code=language] <%Do Until Data.EOF%> <tr> <td …

Member Avatar for Baradaran
0
85
Member Avatar for slogeshwaran

Hello, I have to send mail to multiple recipients. I have one text file, it contains emailaddress. In ruby program i should parse the emailaddresses and send to multiple recipients. for example. Just parsing it into an Array and either iterate over the array (sending one e-mail for each address) …

Member Avatar for amithasija
0
287
Member Avatar for sriz6teen

Hi All, this is srikanth. i jus want to ChangeOwnerOfFile in vb6 or vbscript. what are the functions need to be used are there any predefined functions regarding changing permissions in vb. can any one fix this issue. its very urgent. thanks Regards, Srikanth Valdas

Member Avatar for sriz6teen
0
2K
Member Avatar for c++ prog

Is it posibble to have a count-down timer while I'm doing something else in the console? it's a simple game wherein a specified time is allowed for the player..if possible, how? I created a timer but it waits until it finishes before proceding to the game..tnx in advance

Member Avatar for c++ prog
0
117
Member Avatar for DemonGal711

Ok, I'm working on this code where I read in two lines from a text document, then store them in an array, write a binary code for each to indicate what words are in what array, and then compare the two arrays in a variety of ways. I got most …

Member Avatar for grumpier
0
115
Member Avatar for programmergirl

I'm to this whole modularity thing. We were asked to do our own libraries .h and .c files and to call them in main. The main objective of the program is to compare bubble and select sort. So far, I have all the libraries along with their respective .c files. …

Member Avatar for Sci@phy
0
275
Member Avatar for mohammed2raja

In php file I write ; echo "<meta http-equiv=Refresh content=0;url=login.html>"; Here i load a login.html file. Along this i want to pass a php variable(suppose $nflag) content to login.html file, so that i can use it in javascript within login.html file. Please Help me.

Member Avatar for cwarn23
0
1K
Member Avatar for Jennifer84

I am looking for fast conversions. I found out that converting with atof is much more faster than using the stringstream like the below tests. What I look for now is a fast way to convert from double to char* I have a problem to find this conversion. [COLOR="Green"]char* to …

Member Avatar for mitrmkar
0
154
Member Avatar for unk45

hw assignment asks 4 the construction of a 2d array with the generation of random numbers 1-10 which has been done. next ask the user 4 which numbers occurence in the array he wants to find and its location. i have come up with this so far but the occurence …

Member Avatar for unk45
0
142
Member Avatar for mohammed2raja

I want to make an image as link, such that when I click on the image a javascript function is called. The whole code is written in javascript. I try this byt it files: aaa=document.createElement('a'); aaa.href="#"; aaa.innerHTML="<img src="downArrow.gif">"; aaa.onclick=function() { moreInfo(this); } here I want when I click "doenArrow.gif" image …

Member Avatar for Shanti C
0
109
Member Avatar for Poab9200

First off here is my code: [CODE=csharp] using System; using System.Collections.Generic; using System.Text; namespace example_1 { class Program { static void Main(string[] args) { decimal d = 24; string input; Console.WriteLine("Enter A number"); input = Console.ReadLine(); decimal total = Convert.ToDecimal(input), result = (d * total); Console.WriteLine(result); Console.WriteLine(); Console.WriteLine(); Console.WriteLine("Would you …

Member Avatar for Poab9200
0
122
Member Avatar for imnolongerhere

[code=cpp] #include <iostream> using namespace std; struct TNode { int Data; TNode *Next; }; void PrintList (TNode *list); TNode *AddData (TNode *list, int data); void FreeList (TNode *list); /////////////////////////////////////////////////////// void PrintList (TNode *list) { TNode *p; for (p=list; p!=0; p=p->Next) { cout<<p->Data<<endl; } } ////////////////////////////////////////////////////// TNode *AddData (TNode *list, int …

Member Avatar for imnolongerhere
0
99
Member Avatar for mac1234mac

Hello, I have, before my eyes, source code, but I can't understand certain parts of it: 1. #pragma - what does it mean, is it some directive for precompilator?. for example: what does it mean - #pragma resource "*.dfm;" or or #pragma package (smart_init);?. 2. what does word __fastcall mean …

Member Avatar for stilllearning
0
168
Member Avatar for Yuruke

Having trouble getting started on an assignment for my c++ class. I understand how stacks/queues work, but what I don't quite understand is how they work as adapters, i've read plenty of sites but none really have given me a good example of how they work when implemented using a …

Member Avatar for stilllearning
0
119
Member Avatar for mailtosridar

[I][COLOR="Red"][/COLOR][/I][B]any one help me how to store image in database in vb.net coding[/B]

Member Avatar for Jx_Man
0
275
Member Avatar for abu taher

what is module and class module. I want to learn about it . anybody help me clearly.

Member Avatar for Jx_Man
0
158

The End.