132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for psbb2005

How To Format Rpttext(color,font,etc.,) In Data Reports In Vb Based On A Criteria At Runtime

Software Development visual-basic
Member Avatar for mnemtsas
0
99
Member Avatar for ahmed_1

Hi I need Help in SQL. I've created a VB Project of Accounting, Using Access as a Backend database, In database I've 2 tables: Table 1: Trans Table 2: Trans_Details Following Fields are in "Trans" FieldName (Type) FieldName (Type) FieldName (Type) Vno (Text) Vdate (Date) VNarr (Text) Following Fields are …

Software Development sql visual-basic
Member Avatar for mnemtsas
0
100
Member Avatar for Shon05

I am a Computer Science and I am having a problem on writing this perl program for one of my classes. i haven't taken perl in about two years and do not remember how to set the syntax up or execute the program. Am I suppose to use C++? The …

Software Development perl
Member Avatar for Shon05
0
149
Member Avatar for stupidenator

Hi everyone, I am trying to write a program for a class but I cannot seem to figure out how I can convert a date in the format mm/dd/yyyy to separate int values. I.E. m+m+d+d+y+y+y+y. I've got the rest of the program written, but I cannot seem to figure this …

Software Development c++
Member Avatar for stupidenator
0
223
Member Avatar for kbradley

I am designing a Rinex file reader class in Java and this is my first project in Java. I need to store data into an array or vector. I am reading the data from the file related to the time the data occurs. At first I tried to use an …

Software Development java
Member Avatar for jwenting
0
246
Member Avatar for Raza1

Hello. I wonder if someone can please help me on this programming code. I need to convert A to binary, representing the answer as an 8-bit unsigned binary number. can anyone help me please on how to do this. thank you... Raza

Software Development java
Member Avatar for jwenting
0
131
Member Avatar for bumsfeld

I hear a lot about PyGame for writing games and that I understand is SDL in a Python coat. Is DirectX used in a similar fashon? Any examples?

Software Development python
Member Avatar for CrazyDieter
0
323
Member Avatar for mccarthp

Alright, I think my previous post about this subject was very confusing so I will try again. First off I appreciate all the responses to my prior post (Setting a Variable to the Exit Code). It is my understanding that when a script completes it returns an exit code. I …

Software Development first-post python
Member Avatar for CrazyDieter
0
352
Member Avatar for server_crash

I'm trying to create a Mammal class which has two virtual methods, and one non virtual methods to demonstrate inheritance. I've written the class, but now I have a few errors, and a few questions. First of all, I'm recieving an error that says the following methods aren't declared: speak(); …

Software Development c++
Member Avatar for CrazyDieter
0
135
Member Avatar for bops

hi everyone, I am doing a project for college, which involves programming using VBA in Excel. I have most of it sorted and i am having trouble on this 1 part. I need to find out how to use variables to access a sheet and range within the spreadsheet variable1 …

Software Development visual-basic
Member Avatar for bops
0
201
Member Avatar for SpS

Can we find the smallest of three integers, without using any of the comparison operators....logic please

Software Development c++
Member Avatar for SpS
0
320
Member Avatar for ashwinperti

void main() { float a = 0.7; if(a < 0.7) printf("YES"); else printf("NO); } But this function always prints NO. And when it is made Greater than 0.7 It shows YES Why is it so with float variable Ashwin Perti

Software Development c
Member Avatar for Balachandran
0
170
Member Avatar for SpS

[QUOTE=narue]Well, you didn't specify how it didn't work, but on one of my compilers, there's a run-time assertion if the allocation size exceeds a certain limit, and 4294967295 is beyond that limit. Such an assertion throws up a dialog box and aborts the program, which could look like an uncaught …

Software Development c++
Member Avatar for SpS
0
127
Member Avatar for SpS

sizeof (int) gives me 4 bytes...is it sufficient to say that my machine is of type 32-bit

Software Development c
Member Avatar for SpS
0
357
Member Avatar for johnroach1985

Hi was just wondering if i can use java for PIC programming as we can with C or Basic.Or can we use java for microprocessing....

Software Development assembly java
Member Avatar for johnroach1985
0
181
Member Avatar for Niklas

Okay Im going to try to make an Ebay auto bidder. Here is the layout of the program that I have brainstormed so far. 1. Enter URL of auction you would like it to bid on 2. It automatically checks how much time is left in auction and refreshes every …

Software Development c
Member Avatar for Niklas
0
163
Member Avatar for pre_wreck

dear guru's, I had a problem in C, and i seems i can't figure out why this piece of codes seems not working properly, kindly help my with my little problem? /* My problem here is, how can i copy the file into other file name, i just wanted to …

Software Development c file-system open-source
Member Avatar for pre_wreck
0
176
Member Avatar for mycomputerdied

help my cd drive doesnt work. now i cant play any games on my computer. i dont thinks its the cd drives fault i think it has to do with the computer. the last site i went to didnt help at all realy.

Software Development c
Member Avatar for chrisbliss18
0
133
Member Avatar for Drowzee

Hello. I've just discovered that I didn't think a cunning plan all the way through. I've got a grid with a bunch of columns and rows holding CStrings. What I'm doing is trying to filter the grid to only display certain strings. The user selects a location in the grid, …

Software Development c display
Member Avatar for Drowzee
0
250
Member Avatar for heavyc

I was wondering if anyone can help me with linked lists??? I have to create a linked list with 10 random numbers rangeing from 1-5 and insert them into a node in the appriote postion of a linearly linked list and display the number of times each number of occurences …

Software Development c++ display linked-list
Member Avatar for Narue
0
317
Member Avatar for aashiqbhatti

Dear All, I am using CGI and bash Shell scripting programming. I want to upload a file bye Web based application in CGI and pure Shell Scripting. Not in Perl. Please help how to Upload a file using bash Shell Scripting and CGI. Thanks advance. Aashiqbhatti

Software Development perl shell-scripting
Member Avatar for manojkumarnayak
0
553
Member Avatar for coder_gus

Hello to all!How can i make a list from all the small letters of the alphabet without writing every one?Is there an operator/function that does that,something like ['a'-'z'].I've tried in many ways but i'm new in Python and if there is that operator i haven't discover it yet.My appreciation!

Software Development python
Member Avatar for coder_gus
0
245
Member Avatar for SpS

as new throws exception bad_alloc...does malloc also throws exception of some kind???

Software Development c++
Member Avatar for Narue
0
560
Member Avatar for spaceytrin

I have this program that I need to write, but I'm so lost. I have gotten some things down and think I'm on the right track, but am stuck with how to set up the array and then how to do the tabular format...everything else I have down (if that's …

Software Development c
Member Avatar for spaceytrin
0
129
Member Avatar for gracin

I am trying to link a Core Java class (Format) that has worked well for me for years. In the same project, I have a routine that makes a call: Format.print(os, "%5.4f\n", fVar); I get a msg from the JBuilder compiler: Cannot resolve symbol: variable Format in class.... The thing …

Software Development java
Member Avatar for gracin
0
295
Member Avatar for smagee12

Hello, i am just starting to learn c++. Ane hints or tips would be appreciated. I have a text file that looks something like this 2 fred hind 6 julie frie Now, i need to take that number, set it to an element of the array, then store the name …

Software Development c++
Member Avatar for smagee12
0
170
Member Avatar for c_shaft05

Ok well I've hit a snag... i'm trying to write a program that makes Acronyms from user input... I can get all the letters capitalize, but the problem i am having is, well, taking the first letter from each and puting them together to make an acronym!!!!!

Software Development python
Member Avatar for vegaseat
0
3K
Member Avatar for Avner .H.

Hey everybody... Does sombody knows how can i use the getattr function in order to call to a sub function defined inside another one? somthing like this code: # ---------------------------- def func1 (self, func_name) : def func2 () : print "Blaaaa" def func3 () : print "Yaaaaa" getattr(?, func_name)() self.func1("func3") …

Software Development python
Member Avatar for vegaseat
0
163
Member Avatar for bumsfeld

Is const void* p the same as a null pointer? Why would i use it?

Software Development c++
Member Avatar for Ancient Dragon
0
236
Member Avatar for shanenin

I have been doing most all of my python programming in a linux bash shell. I mean I run all of my scripts from a bash shell. If my script produces an error(hardly ever happens :-), the error is outputted to the shell, so I am able to fix it. …

Software Development python
Member Avatar for shanenin
0
126
Member Avatar for bumsfeld

I need to write about a half one page instruction string for one of my C++ programs. How do I do this best, so I can read it in the code and easly update it later. I have tried concatinating, but that makes corrections tough on the wrapping edge.

Software Development c++
Member Avatar for Narue
0
322
Member Avatar for Mahen

I am using the win32 CreateFile and ReadFile API to read Files on my HD but it stops reading when it encounters a null termination('/0'). Could you tell me of a way to overcome this and continue to read the whole file.

Software Development api c
Member Avatar for CrazyDieter
0
220
Member Avatar for server_crash

I want to be able to display a default image if the java applet is not inited, just like if they don't have java enabled, I want a default image. I know how to do the latter, but is it possible to do the first?

Software Development display image java
Member Avatar for jwenting
0
101
Member Avatar for Andrew Minus

Hi everyone, First of all ,this is my first new threads and grant to someone who opened my threads to ingnore my horrible mistakes. I am the student of learning Java Program and i would like to know whether a virus can be produced with Java and if so , …

Software Development java
Member Avatar for jwenting
0
101
Member Avatar for Sam Lehman

I'm making a program which sends a specified line of text to the active window when you press a specified hotkey. I've figured out how the hotkey part, but have no idea on how to send the text to the active window. does anyone give me some ideas on this? …

Software Development c++
Member Avatar for BountyX
0
251
Member Avatar for BountyX

Is it possible to tell a processor to run raw binary code?

Software Development c++
Member Avatar for BountyX
0
156
Member Avatar for ashwinperti

Sir, I want to know why is it so that, in the Case of C Language there is no need to include stdio.h Header file. But when the same Program is saved with with .cpp extension it ask for the prototype. and we have to include the stdio.h header file. …

Software Development c++
Member Avatar for Narue
0
116
Member Avatar for toxic_iguana

#include<stdio.h> int main() { float f1,f2,f; double d1,d2,d; char s1[]="2.0045",s2[]="1.00056"; f1=atof(s1); f2=atof(s2); f=f1-f2; d1=atof(s1); d2=atof(s2); d=d1-d2; printf("\n%s %s",s1,s2); printf("\n%f %f : %f",f1,f2,f); printf("\n%ld %ld : %d\n",d1,d2,d); return 1; } Output: 2.0045 1.00056 1271310336.000000 869988544.000000 : 401321792.000000 -67108864 1104343465 : 1870659584 Desired Output: 2.0045 1.00056 2.0045 1.00056 : 1.00394 2.0045 1.00056 …

Software Development c
Member Avatar for toxic_iguana
0
102
Member Avatar for Niklas

Ive searched through google and most are not free, and the ones that are are being declared have a virus inside by norton as well as ewido. BTW im trying to do this because there was a PSP (playstation protable bin loader released) [URL=http://www.psp-hacks.com]website and article here[/URL]. I wanted to …

Software Development c c# c++ google
Member Avatar for Niklas
0
229
Member Avatar for bumsfeld

I am just starting to look at writing class in Python. Can a class that I write inherit Python calendar?

Software Development python
Member Avatar for bumsfeld
0
153
Member Avatar for bumsfeld

Does anyone have a meaningfull example of the use of the Profiler included in Python?

Software Development python
Member Avatar for bumsfeld
0
146
Member Avatar for SLG29

I have a form which has a listbox, 5 textboxes and a datagrid, what I'm trying to do is when a user double clicks a row on the datagrid this then displays another datagrid on the second form with the details of the orders placed from the Items Table for …

Software Development dataset display microsoft vb.net
0
109
Member Avatar for bumsfeld

I hope the spelling isn't too far off, but what is list comprehension statement and why would one use it?

Software Development python
Member Avatar for vegaseat
0
154
Member Avatar for Elektro

is there a downloadable program off the web that is similar to Xcode for mac but instead runs on pc thanks

Software Development java
Member Avatar for Andrew Minus
0
86
Member Avatar for needCee

Hi, :?: any one please can tell me what iam doing worng ? what iam trying to do is that to make program to create small database with following option add, delete , show ,edit search but i need to have them in it´s own source code so. what iam …

Software Development c++
Member Avatar for needCee
0
130
Member Avatar for SpS

Plz look at this code [code]#include<iostream.h> int x=0; int main() { int x=1; { int x=2; cout<<::x; cout<<x; } return 0; }[/code]<< moderator edit: added [url=http://www.daniweb.com/techtalkforums/misc.php?do=bbcode#code][co[u][/u]de][/co[u][/u]de][/url] tags >> does anybody know how can i access main local variable x, from inside the block, without using pointers or references?

Software Development c++
Member Avatar for Narue
0
214
Member Avatar for Niklas

Okay Ive made a bunch of single use calculator programs (one for addition, subtraction, mutiplication, and division). Addition Code [CODE]#include <iostream> using namespace std; int main() { cout << "Please enter 2 numbers to be added "; int a; int b; cin >> a; cout << "\n num1: " << …

Software Development c++
Member Avatar for Narue
0
367
Member Avatar for pit_bull

People i am in trouble :sad: whenever i run any c++ program which i have written, the computer shows this error: :mad: General Protection Exception 0x3DCF:0x1E0B program(1) 0x3DCF:0x1E0B Processor Fault I use Turbo C++ 4.5 (i am only a 16-year old school student) this is one of my codes (all …

Software Development c++
Member Avatar for Narue
0
267
Member Avatar for tristan17

hi people, i have encountered this error message "unclosed character literal" while compiling the below program using bluej. I wonder what is wrong with the code,do enlighten me. Thanks!! public class Address { private String street; private String city; private String zip; private String state; //Default constructor public Address ( …

Software Development java
Member Avatar for jwenting
0
293
Member Avatar for aminura

[CODE]#include<iostream.h> int main() { enum flag{ x=1,y=2,z=4,e=8}; flag f2=flag(99); // out of range return 0; }[/CODE] In this code the range of flag is 0:15 but it still compiles when 99 is entered which is out of range!!

Software Development c++
Member Avatar for aminura
0
373

The End.