132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for purplestar86

Greetings! I'm asking your help. It's about printing a record. I used ADODC and the data is in access. what i want to happen is that when i choose to print a particular record. how will i do it? please help me to solve this problem.. i have a deadline …

Software Development visual-basic
Member Avatar for mjwest10
0
142
Member Avatar for andy257

Hi All, I am starting out with learning the basics of C. Once i have learned that i would like to know how to make the programs look visually better. Things like drawing coloured boxes/ windows etc. One of my learning programs is a simple calculator. If i want to …

Software Development c++
Member Avatar for ~s.o.s~
0
143
Member Avatar for muddpigeon

hey there, i have a piece of coursework to be handed in tomorow and i am struggling to get this new bit of code that has been issued right. i have to write the pseudocode for an atm machine and one of the procedures is to validate a pin number. …

Software Development python
Member Avatar for muddpigeon
0
84
Member Avatar for degamer106

I'm having a bit of a problem with function style cast with classes. When I exit the function I expect an instance of Database to be returned. This instance would then be copied into the db declared in main. I've writtien a copy constructor and it works fine (tested by …

Software Development c++
Member Avatar for Ancient Dragon
0
180
Member Avatar for arjunsasidharan

Is there any provision lik customised panel in java??? Can we design a customized frame in java?? i jus wanna knw whether v can or not.. don need t code:cheesy: if t code is available den post it :mrgreen: Thnx in advance!

Software Development first-post java
Member Avatar for jwenting
0
91
Member Avatar for jella_flores

i am just starting into assembly programming, i am currently trying to trace a program step by step to determine a value of a certain register for the particular line and unfortunately, i dont understand how it goes... i am working on this code i found from somewhere, it says …

Software Development assembly
Member Avatar for mathematician
0
194
Member Avatar for arjunsasidharan

Ive Come Up wid another question?.. Is ther a timer component in JAVA?

Software Development java
Member Avatar for peter_budo
0
148
Member Avatar for Monyet

Hi guys, I found out that this is a VERY interesting community for programmers :D Anyways, it seems that C# and Java are VERY SIMILAR, and almost identical, however, i'm just wondering whther there's a need to import library in C# ? Thanx

Software Development c#
Member Avatar for nikkiH
0
91
Member Avatar for costavo

i am editing a devolped solution the problem is that check boxes are need in the datagrid but data is viewed in the datagrid without checkbox which exist but not viewed

Software Development vb.net
Member Avatar for kapil.goyal
0
65
Member Avatar for MojoS

;) Hi guys.... I am a beginner at Perl, and i have some problemes I wanna solve!! I hope u can help me. the exercise is: Make a program that counts the number of positive and negative numbers in a column. Also count the zeroes in the column, if there …

Software Development perl
Member Avatar for MojoS
0
105
Member Avatar for ziman

Hi all, I have a project made in C code which generates the position and the velocity of a pendulum. I want to represent it in a graphic while the points are being generated but I don´t knom how I can do it or if it´s possible. I don´t know …

Software Development c++
Member Avatar for Ancient Dragon
0
82
Member Avatar for mattyd

Hello: I have recently been studying Java; I have followed a few tutorials and building some simple apps. I am wanting to try applets. I read about them tonight and followed an included tutorial in order to get an introductory feel for doing so. My questions do not pertain to …

Software Development java
Member Avatar for mattyd
0
104
Member Avatar for varun.coolmax

I am a newbie to VB...and i am doing a project on One to many chat using the winsock component...the only problem i am stuck with now is that i have completed only one to one chat and would like to make it a many to many chat...plz help me …

Software Development email video visual-basic
Member Avatar for varun.coolmax
0
117
Member Avatar for GreenDay2001

In earlier versions of c++, there was a function gotoxy() which could take me anywhere in the screen. Its available with borland compilers now too but not with visual c++ express. Is there any substitute for that.

Software Development c++
Member Avatar for GreenDay2001
0
486
Member Avatar for elcrapo

I am having troubles getting this program to generate random numbers. Right now i have it set up to only generate 1 and 19. I do not know how to generate random numbers. :confused::?::twisted::eek: thank you if anyone can help my dumbass. [CODE=c]// Exercise 12.16: MultiplicationTeacher.cpp // This game asks …

Software Development c++
Member Avatar for WaltP
0
141
Member Avatar for cusado

how to turn a user input into a text file for example user inputs 100 and the program creates a text file named 100.txt? I have tried to work it out but it still doesnt work properly. i used [code=c] getc(stdin); char filename[80]; sprintf(filename,"%d.txt", stdin); [/code] and then i also …

Software Development c
Member Avatar for Lazaro Claiborn
0
244
Member Avatar for aot

Hi, I'm a noob Python/Tkinter user, and I'm finding that gathering information on the two is not as easy as I'd like... hopefully you guys will be able to help. My first question: I was just wondering if there's a way to tell Python, "take all the files in X …

Software Development python tkinter
Member Avatar for mawe
0
100
Member Avatar for Aia

I'm at the point of learning how to write to a file. I created these lines as a test. My concern is that it doesn't look right that I have to write the same sentences for displaying it to screen and to put it in file. [code=c] /* * data.c …

Software Development c file-system
Member Avatar for John A
0
222
Member Avatar for WolfPack

Does any of you know how to get the pathname of the perl script that is being executed? Say it is located in [inlinecode]/home/wolfpack/perl/[/inlinecode] I run it from [inlinecode]/home/wolfpack[/inlinecode] by giving the absolute path name like, [inlinecode]/home/wolfpack/perl/scriptname [arguments][/inlinecode] I want to get the path [inlinecode]/home/wolfpack/perl[/inlinecode] so that I can use …

Software Development perl
Member Avatar for WolfPack
0
174
Member Avatar for orhor

hi all. I am quite new to C#, I need to get oriented a little. So I have an easy question for the beginning :) I can't find the "Visible" property of a form. I can't set the innitial visibility even programmaticaly. All I can do is wait for a …

Software Development visual-studio
Member Avatar for orhor
0
103
Member Avatar for Tauren

I am using VC++... I need to know how to add a header to the Application, Can someone Joe, or anyone else Give me Step By step on how to do it... Say I had a header called Bob.h and I wanted to add it to my application Tauren That …

Software Development c++ first-post
Member Avatar for John A
0
132
Member Avatar for scru

Hi. SInce you guys were so helpful the last time around, I decided to ask a less pressing, but more casual questions. My friends and I want to build a private p2p client (connects to our computers through this client to share files and do messaging), just for the heck …

Software Development client-server multimedia python
Member Avatar for scru
0
113
Member Avatar for kimbokasteniv

A friend of mine and I are taking an external computer science test. While studying the review it has become apparent that some of the syntax presented is quite unfamiliar. Here are a few examples: [INLINECODE]Stack<Integer> s = new Stack<Integer>();[/INLINECODE] For this line of code what exactly is the purpose …

Software Development java
Member Avatar for jwenting
0
132
Member Avatar for joy_vb

I am a new user in vb6. can i edit the font colour of the command button in vb6.

Software Development visual-basic
Member Avatar for WaltP
0
105
Member Avatar for degamer106

This might seem like a silly question, but how do I read in a newline char, by itself, as input? For example, if I gave the user a choice to enter a string for a new filename, or let them just press ENTER for some other choice. forgot to add …

Software Development c++
Member Avatar for WaltP
0
4K
Member Avatar for shadowrider

how to pass an array to a function in C#? suppose i have an 2-d array char [,] b = new char [100,100] how i pass it to function

Software Development
Member Avatar for shadowrider
0
79
Member Avatar for qualtran

When someone logs out of our site, I want the previous page to not be accessible (or any of the other pages.) So far, when a user clicks the logout button on our site, I do the following: 1) I write to a file 2) erase the session cookie 3) …

Software Development javascript perl session
Member Avatar for Mushy-pea
0
185
Member Avatar for bsnapool2006

Hey Guys, Could really do with a hand. Needing a VBA whizz. See if you can get your head round this? Problem is: In folder DHSC S&A, there is: 73 files, which are used by managers all with sheets 1-52 and masterentry, summary, monthly breakdown. The 1-52 represents 52 weeks …

Software Development visual-basic
Member Avatar for mason12345
0
176
Member Avatar for techie82

Hi I need a Shell script that will download a text file every second from a http server using wget. Can anyone provide me any pointers or sample scripts that will help me go about this task ??? regards techie

Software Development shell-scripting
Member Avatar for pty
0
86
Member Avatar for meandmymachine

I've found some code in a book on Visual Basic.NET that doesn't seem to work properly.(The book is "Learning Visual Basic.NET Through Applications" by Clayton E.Crooks II (Charles River Media) ISBN 1-58450-242-8). The essential problem is that the code seems to be okay on the CD which came with the …

Software Development vb.net visual-basic
Member Avatar for arjunsasidharan
0
373
Member Avatar for peter_budo

In the JPanel I placed JTextField and JButton, as the layout I'm using GridBagLayout which is left to default align (center). However because of the size of whole JFrame I would like to get JTextField to left and JButton to right. How do I do that :?: [code] private GridBagLayout …

Software Development java
Member Avatar for peter_budo
0
111
Member Avatar for degamer106

If I have a dynimcally allocated array of objects and each of these objects contains a pointer to a string, when I use the 'delete' function to return memory, do I have to go through each array element and free each string individually or does the 'delete' take care of …

Software Development c++
Member Avatar for Salem
0
130
Member Avatar for kugan80

can anyone help me? How to encryption/decryption algorithm for mdb table? Private Sub cmdSearch_Click() On Error Resume Next HighlightText txtSearch, True If txtSearch.Text = "" Then Else Dim con As Connection Dim rs As Recordset On Error Resume Next Set con = CreateObject("adodb.connection") con.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ=" & App.Path …

Member Avatar for kugan80
0
158
Member Avatar for anti_genius

Hi, I have written a code, when it runs it loads an image and after getting image size it sets the size of the frame in the constructor. But now i want to load image using FileDialog box and then update the frame size as well. But when i access …

Software Development java
Member Avatar for anti_genius
0
99
Member Avatar for jrcagle

I'm re-creating the classic PacMan for the fun of it and needed a way to translate back and forth between directions and dx, dy for a sprite. Here was a fun solution that avoided cumbersome if...elif...elif...elif... chains. Any thoughts on readability, efficiency? Specifically, if this gets called by 4 monsters …

Software Development python
Member Avatar for jrcagle
0
97
Member Avatar for oolatin79

Hi guys/gals, I'm having a problem with a function that overloads the input stream. The problem is that the getline crashes on the second iteration of the while loop: [code] //overloaded input operator istream& operator>>(istream& is, vector<EmailHeader>& ehVec) { EmailHeader headerInput; cout << "Enter an email Header: Ctrl-D to quit" …

Software Development c++ email
Member Avatar for Ancient Dragon
0
131
Member Avatar for Matt Tacular

i'm making a program in c++ that gets a binary number and converts it to an integer. But of coarse i've hit a snag, I need a way to store a binary number that's any length, then run through the number to see if a 2 or something is there, …

Software Development c++
Member Avatar for Matt Tacular
0
89
Member Avatar for degamer106

So in my class we just finished covering the topic of constructors and destructors. Now, my teacher has given us a lab where we have to create these classes and each of them must have a ctor/dtor. The problem I'm running into is..well.. it would be easier to describe in …

Software Development c++ storage
Member Avatar for degamer106
0
376
Member Avatar for BlueDiamond

Hii everybody, I'm working on a charting Senior project for my graduation and i'd like anyone to help me finding an open source code for drawing business stock charts in VB.net, PHP or HTML languages Thank you for being helpfull :)

Software Development open-source vb.net
Member Avatar for BlueDiamond
0
72
Member Avatar for sneekula

How would one create a simple spreadsheet with Tkinter?

Software Development python tkinter
Member Avatar for Ene Uran
0
5K
Member Avatar for ruichenma

Hi, I would like to have two child windows within one mdi form side by side, and I would like be able to control the size and not the user, how do I do this?

Software Development visual-basic
Member Avatar for aparnesh
0
122
Member Avatar for evilsilver

ok here is the deal, i am making a role playing game that has a step by step battle system. it was working until i decided to make a new function called gameplaychoice. now whenever i call to the battle function the progam just skips that line and goes to …

Software Development c display
Member Avatar for Salem
0
106
Member Avatar for mason12345

Could anyone help me with a procedure to display a timer in xls (e.g a count down)? Also, could you please tell me what event method causes a macro to get executed upon starting a workbook? I want my macro to get executed without the user pushing any buttons. Thank …

Software Development visual-basic
Member Avatar for mason12345
0
86
Member Avatar for yannick1985

Hi guys, Can anyone help me with the following question? I am new to Shell Scripting and havent a clue how to use it. This is for a job I have applied for and i have never needed to use linux and have always been a Windows man. I probably …

Software Development shell-scripting
Member Avatar for masijade
0
103
Member Avatar for raydogg57

I need to make a program that asks the user to input a number of strings, and then outputs the string database. The program should maintain a string database where each record is a string. The program keeps reading strings that the user has typed, and inserts the string at …

Software Development c++
Member Avatar for WaltP
0
555
Member Avatar for sneekula

This could be a cooking recipe, but in my case it is a chemical recipe. Here is a typical generic chemical recipe: 23 g chemicalA is dissolved in 250 ml methanol. The solution is cooled to 0 - 5 degC and 18 ml compoundB is added dropwise over 60 minutes. …

Software Development python
Member Avatar for jbennet
0
212
Member Avatar for bhavna_816

I want to validate a text area using required field validator but when i select control to validate from properties then the textarea id of this text area is not getting displayed. What's wrong with it ? Can anybody know this?

Software Development vb.net
Member Avatar for kapil.goyal
0
103
Member Avatar for ghostfacelz

Hi, just have a question regarding classes/inheritance and a variable. ive been trying to work out the best way to do it, but would like some outside input. ok..here goes: i have a base class Ship. classes will inherit from this class. i also have a class tinyShip (and later …

Software Development c
Member Avatar for ghostfacelz
0
114
Member Avatar for Rickenbacker360

Hello, I have an exam on wednesday and was given a practice exam but I'm having a little a bit of trouble. 8.What will be displayed on the screen after the following statements are executed in a C++ program? [code] [COLOR=#000000] int a=5, b=2, c=1, d=3;[/COLOR] [COLOR=#000000] int t;[/COLOR] [COLOR=#000000] …

Software Development c c# c++
Member Avatar for Rickenbacker360
0
120
Member Avatar for n.aggel

Hi, i have five{number is unimportant} independent objects{the purpose is to model sensors} and i want them to write sequentially{not in the same time}, some info to a file{all to the same file} and at screen... i was thinking to implement a fileWriter class, that will create the file...and then …

Software Development c++ file-system
Member Avatar for John A
0
140

The End.