132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for n.aggel

hello to everyone, i have the followign problem: i need to get the system date-time and then i need a way to add minutes(!!) to this variable.... in particular i want to make a program{part of a another program} that will print on a file dates&times. The problem is that …

Software Development c++
Member Avatar for n.aggel
0
155
Member Avatar for edzness

Can you help me on this project of mine? Here's the problem. It's a payroll system where the employee can [B]enter[/B] his/her record. After entering his/her record it will be stored in a file. If their might be changes the employee might want to change he/she can be able to …

Software Development c++
Member Avatar for n.aggel
0
146
Member Avatar for JRM

Hello all, I know this is borderline off-topic, but then again QT4 is a C++ based program... I compiled QT4.1.1 on a fedora 4 OS. I finally got all the registration issues worked so that it works in it's native X11 form as an executable. However codeblocks is having trouble …

Software Development c++ gui ide qt
Member Avatar for n.aggel
0
354
Member Avatar for blackjack

I'm not that used to C++ and hoping that someone can help me out with the [b]const[/b] keyword. If I make a parameter to a function 'const' ,and then try to reference it, like: [code=c++] int some_func(const char* param){ char* ptr = param; ... } [/code] to do something with …

Software Development c c# c++
Member Avatar for John A
0
115
Member Avatar for DeadDrunk

Ok, I'm building an application that queries a list of servers and returns a set of values. After you get the values you have options to fix the issues. One of the things i'm trying to do is if the Windows Installer is an older version, to install the newer …

Software Development vb.net
Member Avatar for DeadDrunk
0
69
Member Avatar for FatalGrace

Hi, I’m trying to set up a database type program in excel using VBA, you may find yourself asking “why not use access” the answer is the boss wants excel. Believe me every day that I work on this thing I cry, sad…sad little tears :cry: Anyway I’ve got it …

Software Development visual-basic
Member Avatar for FatalGrace
0
124
Member Avatar for Richard Lelle

I am still pretty new to C# and .NET. I am using .NET 2005, and am attempting to use a Gridview. This GV displays data from two tables, one dependant on the other. I cannot, however, get the GV to Edit/Delete a specific column in any row. I was able …

Software Development asp.net c c# c++
Member Avatar for nikkiH
0
266
Member Avatar for iaaan

Hey, i am trying to search an array of surnames. I am entering in a surname, and if that surname is in the array, i want to to bring out all other details for that surname that are stored in a structure. At the moment, i have this working for …

Software Development c++
Member Avatar for iaaan
0
96
Member Avatar for spry

can someone tell me if they know any API's to view a remote desktop in vc++.

Software Development api c++
Member Avatar for Dani
0
73
Member Avatar for Birhane

Please i kind of need a quick help on how to plot polynomial graphs using c++.

Software Development c++
Member Avatar for pty
0
56
Member Avatar for danizzil14

Ok, all I want ot know is how to close a script on command, lie type 3 to exit, what modules do i need to import and what is the command, I have everything else sorted out... EDIT: The close command will go in a if statement, which is in …

Software Development python
Member Avatar for ghostdog74
0
166
Member Avatar for sendoshin

I suppose it's about time I ASKED a question for a change. I'm attempting to write a program that records the location of the mouse cursor every time it is clicked. Getting the location of the cursor at any given moment is simple. However, knowing WHEN to get that location …

Software Development visual-basic
Member Avatar for sendoshin
0
121
Member Avatar for Matt Tacular

I would like to make my program grab an integer from the user (binary) and convert it to a normal number, I plan to do this manually but I need to know how to do something first: If the user enters, for example, 10110101 I need to be able to …

Software Development c++
Member Avatar for Matt Tacular
0
82
Member Avatar for bigben09

Can anyone right a C++ program that does this? To make telephone numbers easier to remember, some companies use letters to show their telephone number. For example, using letters, the telephone number 438-5626 can be show as GET LOAN. In some cases, to make a telephone number meaningful, companies might …

Software Development c++
Member Avatar for bigben09
0
3K
Member Avatar for hanifa

Hi guys, Here is my snippet of input xml file.. [HTML]<Root xmlns="http://www.wfmc.org/2002/XPDL1.0" xmlns:xpdl="http://www.wfmc.org/2002/XPDL1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Id="wrkflw6" Name="wrkflw6" xsi:schemaLocation="http://www.wfmc.org....xsd">[/HTML] Currently, I am not sure how I can modify the my standard xslt to completely ignore all this attributes.I do also realise that ignoring these attributes is not good idea. But the case …

Software Development xml
Member Avatar for hanifa
0
508
Member Avatar for Mediamixerj

Okay I've just started learning c++ in college but I'm stuck on a bit of what to do to get the program to read from an file with floats. I've got floats like 38.5 33.6 44.45 42.86. I am told to read these floats ("temperatures") in the program. I start …

Software Development c++ file-system
Member Avatar for John A
0
202
Member Avatar for MacGyver Orca

Hi, I am working on a personal program, not homework trust me, and the main engine driving it is a random number generator. Unfortunately, I don't know how to build that engine! To make a long story short, I have objects that have a ranking, from 1 to 10, that …

Software Development java
Member Avatar for MacGyver Orca
0
81
Member Avatar for mattyd

I am at the end of a build and am putting some minor touches on and testing; one area I suppose I took for granted (and have honestly not seen a need yet to fully deal with) is the Tkinter buttons. The buttons perform fine overall as to their function; …

Software Development python tkinter
Member Avatar for mattyd
0
18K
Member Avatar for skrish79

Hi, im very new to java. i would appreciate if some one can help me out with a Java program to calculate simple interest. Thanks in advance regards krishna

Software Development java
Member Avatar for linux
0
96
Member Avatar for PennyBoki

Hi this is my first post here:cheesy:. I'm having a problem with how to throw exception in an applet and how to[B] add [/B]actionPerformed to other buttons. This applet calculates the sqare roots of an equation. It calculates the stuf ok but the thing is that I want to throw …

Software Development first-post java java-swing
Member Avatar for iamthwee
0
175
Member Avatar for tatumkay

just started c++ class.... we use the absolute c++ book after starting to read this book i decided to buy c++ for dummies and borrowed a book titled object oriented programming with c++ (book is from india written in english) i still have no idea where to start on these …

Software Development algorithm c++
Member Avatar for Ravalon
0
173
Member Avatar for dowen

=================================== This is the binary search public static int binarySearch(int[] list, int listLength, int searchItem) { int first=0; int last = listLength - 1; int mid; boolean found = false; //Loop until found or end of list. while(first <= last &&!found) { //Find the middle. mid = (first + last) …

Software Development java
Member Avatar for iamthwee
0
116
Member Avatar for dami06

Could someone please give me examples of a full GUI code.. Where I can find it to be precise.. Like images of it along with the java source code..thank you

Software Development gui java
Member Avatar for iamthwee
0
113
Member Avatar for xtrasponge

this the my first assignment given by my lecturer. i've tried to do it and manage to compile..but the problem is i got confused on how this program execute? is it line by line like c++? can someone show me the sequence on how my program being executed and maybe …

Software Development java java-swing
Member Avatar for jwenting
0
118
Member Avatar for lai_flipper

:) can u pls help me in my project....it i about programming of basketball game using array..?

Software Development c
Member Avatar for jwenting
0
46
Member Avatar for ajaytee

hey guys, need some help with this project i have made. Static temp(7) As Integer Dim total As Integer Dim I As Integer Dim average As Single 'Initialize Randomize() 'Temperature Generator For I = 1 To 7 temp(I) = Int(Rnd(1) * 38 + 1) Next I For I = 1 …

Software Development vb.net
Member Avatar for Ancient Dragon
0
94
Member Avatar for bad_robot

Hi i'm new to VB6 and i just wanted to ask how to save the columns in a ListView to an Access DB... The format i use to save individual textbox to an Access DB is.... [code=visual basic 6] With adorecordset .Fields!Name = Text1.Text .Fields!Address = Text2.Text .Fields!Phone = Text3.Text …

Software Development listview visual-basic
Member Avatar for bad_robot
0
105
Member Avatar for LennieKuah

Hi there, I am having problem trying to retrieve the data from ListView the 2nd time round. It works the first time I clicked on the Line Item and when I clicked on another line item it gave me this error message :- [B][I]"Specific argument ws out of the range …

Software Development listview vb.net
Member Avatar for LennieKuah
0
168
Member Avatar for WhYuLoOkIn

Can any one please explain the for statement in this code, I understand the initialization of i=2 and the increment of i=i+1, but I dont understand the conditional test of i<(num/2)+1. The program displays all the factors of a number entered by the user. I don't understand why you need …

Software Development c
Member Avatar for WhYuLoOkIn
0
94
Member Avatar for Elfshadow

I started learning C++ as my first language. But some of the OOP stuff gives me trouble. I know C is a widely used language like C++ and has about the same syntax but isn't OOP.I have tried some basic C so i have not got parts that are different …

Software Development c++ oop
Member Avatar for Elfshadow
0
131
Member Avatar for sneekula

Is there a way to preselect/highlight a listbox item with the Tkinter GUI toolkit at the startup of the program without clicking the mouse on it?

Software Development gui python tkinter
Member Avatar for sneekula
0
1K
Member Avatar for scru

Hi. I've just registered, but I'm not exactly new to here (i've been lurking as a guest). I'm trying to make a countdown timer based on a class that I created, which accepts hours, minutes, and seconds as parameters and counts them down to zero, will displaying them in a …

Software Development python tkinter
Member Avatar for scru
0
828
Member Avatar for Matt Tacular

Is there any way to store characters AND integers into an array?

Software Development c++
Member Avatar for ~s.o.s~
0
92
Member Avatar for Xzantose

I was wondering if it is possible to make a gui program in C++ without[COLOR=black] a toolkit, and if so are there any tutorials or books that I can read:?: [/COLOR] [COLOR=black] [/COLOR]

Software Development c++ gui
Member Avatar for blacklight
0
145
Member Avatar for rwagnes

Hey, I am trying to open a file with a relative pathname: e.g. file=fopen("/files/index.html"); where the files directory is in the same location as the executable. For some reason the executable cannot locate the file. Why? Thanks, Elise [Edit] OK it works without the initial slash in the path name …

Software Development c
Member Avatar for Ravalon
0
92
Member Avatar for cusado

im making a program that: -asks a user for their studentID and stores it as a string. -opens questions.txt for reading -prints to screen the question followed by each answer on a seperate line -accepts an answer from user in letter for i.e. a,b,c,d -writes the answer into a file …

Software Development c
Member Avatar for Ancient Dragon
0
132
Member Avatar for revenge2

hello there, im new here and i want to start learning c++. I have a few books and tutorials however i could use some help with other tutorials and resources.. So basicly what i want to learn right now is how to make gui programms in c++. I know that …

Software Development c++ gui
Member Avatar for Ancient Dragon
0
122
Member Avatar for George2

Hello everyone, When running my program on Java JVM 5.0, there are strange stack errors. What may be the root cause? (foo.dll is my JNI invoked native library.) -------------------- Registers: EAX=0x0c213e40, EBX=0x00000000, ECX=0x00000000, EDX=0x00000000 ESP=0x0c213e0c, EBP=0x0c213e44, ESI=0x00000000, EDI=0x00000000 EIP=0x0c4e8070, EFLAGS=0x0001024f Top of Stack: (sp=0x0c213e0c) 0x0c213e0c: 00000000 00000000 00000000 0b97aeb0 0x0c213e1c: …

Software Development java
Member Avatar for jwenting
0
129
Member Avatar for mattyd

I am searching for the syntax that will allow me to arrange widget buttons in a Tkinter GUI in a specific manner; currently I have three (3) buttons that are stacked[I] vertically[/I] on top of one another. I wish to arrange the buttons so that they form a row of …

Software Development gui python tkinter
Member Avatar for mattyd
0
3K
Member Avatar for rwagnes

Quick Question: Is there a way in c to read an entire file into a string or char buffer? Thanks, Elise

Software Development c c# c++ file-stream
Member Avatar for rwagnes
0
340
Member Avatar for aj_daria

there are some buttons that will be displayed when the form load. when the user first click on the first button, the invisible button that are put behind the first button will be displayed. whereas, when the user click second time on the 1st button, the dispayed button should be …

Software Development display vb.net
Member Avatar for aj_daria
0
559
Member Avatar for KalebG

I'm 2 months into a vB.net class at my school and starting to grasp an understanding of programming. I would like to begin with C or C++ after my vB.net class is done or close to it. The point of this topic is to ask for any recomendatios you all …

Software Development c++ vb.net
Member Avatar for John A
0
114
Member Avatar for mattyd

[U][B]I have two questions regarding Tkinter GUIs[/B][/U]:[LIST=1] [*]I have three buttons in a GUI; at times it seems that the buttons "stick". By this I mean when the mouse is clicked on one it may activate or it [I]may not[/I]. They all work correctly in regards to there function(s) but …

Software Development gui python tkinter
Member Avatar for mattyd
0
189
Member Avatar for hkBattousai

I suppose you know how to import Win32 API functions into C#. Like this : [code]BOOL ExitWindowsEx(UINT uFlags, DWORD dwReason); // Original Win32 function [DllImport("User32.dll")] public static extern bool ExitWindowsEx(uint uFlags, uint dwReason); // How to import into C#[/code] I want to import SetSuspendState() function, but don't know what DLL …

Member Avatar for Ravalon
0
830
Member Avatar for Aia

I think one of the reasons authors of books about programming in C make heavily use of the function scanf() is that is readily available and easy to use for the new learner. That's all good and dandy, however when writers of this books get to the more advanced topics, …

Software Development c
Member Avatar for Aia
0
276
Member Avatar for chris99

I have the commands all ok, but even though the syntax is correct, the pic won't display. Here's the zip.

Software Development python
Member Avatar for Ene Uran
0
142
Member Avatar for kartheeswari_b

[COLOR=black]how to lock a keyboard using java code[/COLOR]

Software Development java
Member Avatar for jwenting
0
117
Member Avatar for Rickenbacker360

Hey again I need a little help with this assignment. What I'm supposed to do is have a user enter a positive integer and then the program should tell the user all the prime numbers before the number the user entered. However, with my program when I enter 22 for …

Software Development c c# c++
Member Avatar for vegaseat
0
230
Member Avatar for abhinav.sharma

I'm new to these concepts but a derived class cannot access private members of the base class because they are simply not accessible externally. But what if I define the derived class in a friend function to the base class. will the private members of the base class be successfully …

Software Development c++
Member Avatar for abhinav.sharma
0
242
Member Avatar for jerryodom

I'm fairly new to .NET programming. The DateTimePicker control seems to be a great solution for entering valid dates without alot of backend checking and preventing the user from entering a bad date. However it seems like I always have to explain to my testers that they don't have to …

Software Development
Member Avatar for Ravalon
0
177

The End.