199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for shadwickman

I was wondering if it is possible in Python to send a job to the user's printer. I have a string, and I wanted to be able to print it out on a piece of paper. I have wxPython installed and imported into the app if that makes any sort …

Member Avatar for shadwickman
0
185
Member Avatar for A Day Old Bagel

Alright, I've written in javascript and dabbled in torque, but I'm sick of the noob stuff. What are good languages and progs up to date? (haven't been developing for a while now). No rush... just thought I'd ask before dissapointing myself with [code=language]C++_+_---+_==--[;)]/[/code] etc.

Member Avatar for wvgoethe
0
137
Member Avatar for linux0id

Hello everyone! Not so long ago I decided to learn assembly language. I have grasped the basics of it more or less, but there is one problem that I cannot solve (and find any help about). I wrote a program to output the sum of two integers that are entered …

Member Avatar for someb0dy
0
4K
Member Avatar for satya.vijai

Hi, I have a text file which looks in the following format =====c:\text.txt ====== AAAA BBBB ... ... ================== I have to read each line of the text file into a buffer, and print it, which I did in the following way. [code] #include "stdafx.h" #include "stdio.h" #include "string.h" #define …

Member Avatar for vijayan121
0
170
Member Avatar for mayur_kulkarni

[B][I][/I][/B]i want to do project in mobile applicatios like voice commands or similar. can anybody help m?

Member Avatar for i_am_Andrew
0
137
Member Avatar for bikashsinghal
Member Avatar for NycNessyness

I'm currently having a problem with having where it says DailyChild on my code to go up when the user adds a number. For example if they type 1 it should say 1.50. If they enter 2, it should say 3.00. But no matter what I do, it keeps printing …

Member Avatar for NycNessyness
0
889
Member Avatar for mypopope

ellow smart people. I want to learn c++ programming. can anyone recommend what to do or what book do I need to read? pls help me with this? what is the latest version of C++? thank you

Member Avatar for toko
0
90
Member Avatar for tu_m.aimes

Is there a delay function for C? I'm using usleep, but I just found that somewhere on the net and if I get asked about it, I won't be able to explain or even name which library I'm calling it from. Is there a delay function in time.h? If so, …

Member Avatar for ashishtrivedi
0
214
Member Avatar for mypopope

what is the difference between vc++2005 and turboc++ ide or any other ide c++? thank you

Member Avatar for toko
0
78
Member Avatar for khalidxa

Hi guys, I am working on a two dimensional array to represent a matrix. [CODE]int matrix[i][j];[/CODE] I need to swap all the values of matrix[1][1] to matrix[1][2] . I am not sure how to do the swap, I did try to use for loop and matrix[1][j+1] , but it did …

Member Avatar for pradeepk
0
107
Member Avatar for PieSquared

I'm writing a compiler, but if I want it to be on more than one platform, it seems I have to learn every assembly language for the different platforms. I've seen a number of languages which try to be 'portable assembly languages' such as Linolium and C--, but they all …

Member Avatar for PieSquared
0
199
Member Avatar for preetham.saroja
0
68
Member Avatar for Kshiteesh

I have inserted searching through passing parameter likewise. In search form there is only one textbox to pass the value. But there are three field names which are associated with that text box. For example: I have searched by passing phone number But there three field name tel1, tel2 and …

Member Avatar for preetham.saroja
0
122
Member Avatar for plusplus

My projekt has many forms. When the user closes the program, then the next time the program is being opened I want it to start with the form that was last used by the user. How do I do this?

Member Avatar for QVeen72
0
83
Member Avatar for asilter

how do i assign -let's say number 12000- to 3-byte stream? could u plz give a little code example? thanx.

Member Avatar for ssharish2005
0
140
Member Avatar for complete

How do I capture the Enter Key event in an edit control? I have so far inherited my own class from CEdit and I am capturing the input keys but it the method used to do this does not receive the event when the enter or return key is hit. …

Member Avatar for vpsingh88
0
2K
Member Avatar for RicardoDiaz

Hi, I started reading a book named "Programming from the ground up" but realized it's for Linux, so I installed Ubuntu in my Mac with Qemu to test my code there. It works perfectly. But now I want to program with the Intel syntax, with NASM, in my Mac. So …

Member Avatar for Evenbit
0
227
Member Avatar for tunday

I have a program written in BCB that imports a wsdl. When I run the program I get this error: [C++ Error] ExtActns.hpp(614): E2015 Ambiguity between '_di_IBinding' and 'Wsdlbind::_di_IBinding'. I looked through the ExtActns.hpp file and found this line of code: [code]HRESULT __stdcall OnStartBinding(unsigned dwReserved, _di_IBinding pib);[/code] I need help …

Member Avatar for tunday
0
236
Member Avatar for saswati_mishra

Hi, I have a jsp page where the user is asked to do certain entries. Now if the user leaves any one of the entires as blank or as a wrong entry and presses the submit button, he gets an alert message. Now after the user presses okay,, the page …

Member Avatar for saswati_mishra
0
159
Member Avatar for chelo77

I'm having problems here with this function i'm making, i need to make function that will write to a text file. This function has to ask the user for the file name and check if it exists. If this is all good then it will write the string in the …

Member Avatar for Aia
0
208
Member Avatar for treecarver

I have a class with a private static HashSet defined in it that holds objects, when I pass a new object to the class all the elements of the HashSet change to the last inserted objects. I thought a static declared Hashset is only created once so any objects added …

Member Avatar for jwenting
0
161
Member Avatar for inzomniac

Hi everybody. I'm trying to turn on (or off) some LEDs conected to the Parallel Port. The program opens the port correctly but for some reason, it only allows me to use the LPT.MODE.SPP, even though that according to my Device Manager, the LPT1 mode is ECP. Besides that, the …

Member Avatar for inzomniac
0
143
Member Avatar for grii_19

[code=c] # include<stdio.h> # include<conio.h> void main() { float square(); float a,b; printf("\nenter any number"); scanf("%f",&a); b=square(a); printf("\nSquare of %f is %f",a,b); } float square ( float x) { float y ; y=x*x; return(y); } [/code] when i run this i get an error ::---- "" type mismatch in redclaration …

Member Avatar for Aia
0
815
Member Avatar for jaz

construct a hierarchy chart (divide the tasks into modules) then an algorithm,flowchart, or pseudo code that will allows a person to track a list of personal contacts. for each contact there are five fields - First name - Last name - Occupation - Phone Number - Relationship (of the contact …

Member Avatar for jaz
0
125
Member Avatar for Tight_Coder_Ex

In assembly I would[code=asm] ProcA enter 16, 0 call ProcB leave ret ProcB enter 16, 1 ... code leave ret[/code]Even if ProcA is in another file, so long as I know the order of the variables in ProcA they are visible to me in ProcB because [U][B]16 ,1[/B][/U] nests procedures …

Member Avatar for Salem
0
121
Member Avatar for R_brahmankar

hi friends , i am rushikesh brahmankar . i am studying final year of BE COMPUTER . I AM REQUIRING SOME GOOD IDEAS WHICH CAN BE IMPLEMENTED AS BE PROJECT. I HAVE KNOWLEDGE OF C, C++,JAVA ORACLE. I AM READY TO DO PROJECT IN ABOVE LANGUAGES. I AM ALSO READY …

Member Avatar for ssharish2005
0
122
Member Avatar for programmer321

Hi All, I am trying to compress a text file using C. For example, if data written in a text file is ABCDEFGH, it occupies 8 bytes. I want it to occupy only 1 byte so that the size of the file can be reduced. Regards.

Member Avatar for ssharish2005
0
75
Member Avatar for asilter

how can i convert a void array to unsigned char array? could you plz give a little sample?

Member Avatar for ssharish2005
0
121
Member Avatar for DeathEvil

Ok, today is the final and I'm still confused with the struct. Last assignment was supposed to be transformaed from regular arrays to struct and even though I did it and it works, it's more like each member inside of a record is a array rather than array of records. …

Member Avatar for DeathEvil
0
115
Member Avatar for ytregnn

[url]http://www.masugadesign.com/the-lab/scripts/unobtrusive-ajax-star-rating-bar/[/url] Does anyone know how I could do a top 10 list within a table that has every second "table" in diferent colors with different pictures that will show up based up on the rating is an odd or even number (1=blue 2= grey, 3,=blue, ect.) Look at this picture …

Member Avatar for ytregnn
0
103
Member Avatar for sammy_raul

I have read somewhere that if you dynamic_cast a void* you get the start of the address of the object ? I have no clue about this. How is this possible.? Can someone help me on this

Member Avatar for vijayan121
0
109
Member Avatar for JC4QLx3

The following code worked perfectly when I was using a normal window, but now that I have changed it to a frameset, it does not work. I have been reading as much as I can find on the subject and I realize that there are a different set of rules …

Member Avatar for ~s.o.s~
0
125
Member Avatar for nishant.newton

Hi.. I am looking to develop a program which will print the data (the data will be fetched from the database server) on the preprinted stationary. The stationary will be a scanned image and it will be imported in the program and the relevant text will be placed on the …

Member Avatar for richerTextBox
0
133
Member Avatar for Pro2000

I wrote a chat program and I wrote in a page: [CODE] $ip=getenv("REMOTE_ADDR"); if ($ip=="82.23.45.66) { echo 'You cannot login!'; } [/CODE] But some times I see there are 3 computers and much logging by the same IP Address, How can I slove it?

Member Avatar for Pro2000
0
82
Member Avatar for dr4g

Hey, just made the title like that, to grab intrest ;) I'm developing a system at the moment, i'm going to implement a filter to the login section, so that only 5 invalid login attempts can be made, then its temp denied access to login with that username, for 15 …

Member Avatar for digital-ether
0
522
Member Avatar for Fromethius

Hi everyone. For the past day I've been trying to find a good way to handle keyboard input. Naturally, I wanted to just use WM_KEYDOWN and WM_KEYUP to handle my events, but they proven to have limitations. In my game there was a keyboard delay. If you pressed and held …

Member Avatar for Tight_Coder_Ex
0
177
Member Avatar for long_vn

Dear all i have to do the exercise. The check boxes have 5 items: item 1, item2,..., item 5. Each item have one value. These values is in the range from 500 to 600. There are 5 variables x, y, z, p, q. The connstant number is 1800 When 3 …

Member Avatar for long_vn
0
136
Member Avatar for C+Marshall

Hello everyone. I'm new to DaniWeb and new to programming with t C++ i have been working on a problem for several days now and I think i may have the code correct except i'm getting compiling errors related to my if..else statements in the GetGrossPay function. I've tried moving …

Member Avatar for C+Marshall
0
176
Member Avatar for trafmore

Hi I have been tasked with a task of creating a timesheet That must automatically be diplay for every user per month, their monthly timesheet, setting the weekends to Off and the week days to the default hours of the individual, and it must also be edited and these hour …

Member Avatar for trafmore
0
130
Member Avatar for bajanpoet

I want to stop users from being able to save a duplicate record in my Access database. I thought of using RecordsAffected, but I can't figure out how to get it to work. [code] SelectSearchString = "SELECT * FROM Breakdown WHERE BFrom = " & txtFrom.Text ' & " AND …

Member Avatar for bajanpoet
0
161
Member Avatar for kshrini

Hi All, I've database application that uses an ADO & Datagrid control. This application has Backup button that should copy the database to another location. When I click on the button it gives me an error Permission denied. When I changed the connection string, record source & refresh the ado …

Member Avatar for kshrini
0
111
Member Avatar for ZSA004

I am trying to finish a fishing program. Basically the user inputs how many fish spawn and how fast they move, then the user tries clicking as many fish as possible before they go off the screen. Also, the fish need to turn into a fish skeleton (which was drawn …

Member Avatar for krnekhelesh
0
230
Member Avatar for amitbhat

Hi Techis... I am given an assignment of writing a C program which behaves as assembler. That is implementing assmbler using C. I ll have set of assemply statements. I need to convert those into the machine equivalent binary representation. I ll have two data structures to keep track of …

Member Avatar for amitbhat
0
122
Member Avatar for engrr.faruk

hi, can any one tell me how to traslate date in english format to date in hijri format? Regards, faruk hossain chowdhury

Member Avatar for MitkOK
0
177
Member Avatar for Baskar_engg

hi i had used asp.net 1.1 for my website development with IIS 5.1 after i have changed myself to Asp.Net 2.0 ,now the problem is only asp.net 2.0 project is working,if i create or 0pen a project in asp.net 1.1 it shows an error "Specified web server is not running …

Member Avatar for Baskar_engg
0
120
Member Avatar for Kshiteesh

HI all ..... I am beginner of VB. net. I m developing a vb.net application program to store, update and search contact information and address. I have completed the data. I have used ms access as my backend. I enter data like wise; [code=vb.net] Dim con As New ADODB.Connection Dim …

Member Avatar for arjunsasidharan
0
176
Member Avatar for sheejaanna
Member Avatar for PoovenM

Hey guys, so I’m writing a code analyzer and I’ve reached a bottleneck with parsing Java numbers from the source code. It works fine for the usual int, double and float numbers expect when they are represented as either octal of hexadecimal. The ‘parse’ method of [inlinecode]Integer[/inlinecode] and [inlinecode]Double[/inlinecode] don’t …

Member Avatar for PoovenM
0
207
Member Avatar for spider_pig

Sorry if this has been asked before but I have tried to find a solution elsewhere. I am using the getline function to receive input from the keyboard and save it in a text file. The problem is that it insists on printing a null character (the square box thingy) …

Member Avatar for dougy83
0
164

The End.