132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tayspen

this code [code] XmlTextWriter bankWriter = null; bankWriter = new XmlTextWriter(Convert.ToString(first.Text)); [/code] [quote] ...cant convert string to system.io.xmlwriter...invalid aguments [/quote] see Screenie how do i fix this?

Software Development xml
Member Avatar for tayspen
0
88
Member Avatar for bumsfeld

Is there a ways to merge two similar dictionaries, and what happens if the key words clash?

Software Development python
Member Avatar for bumsfeld
0
220
Member Avatar for kharri5

I am trying to do a Java GUI game of dots and boxes, and I need to make the bounds for detecting whether or not the mouseMoved that the person made was in the bounds of the top, left, bottom, or right of a box. I refer to each box …

Software Development gui java
Member Avatar for kharri5
0
127
Member Avatar for jchang

I built a function as following [code] def IsExists(fxfcustid): #global noduplicates db = db_connect("triumph","freight","vcpdb") cursor = db2.cursor() #************************************************************************* #*** Query to get entries made by the person acessing the system *** #************************************************************************* sql = '''select count(*) from triumph.fxf_salescontest_entry where fxf_acct_nbr = %(fxfcustid)s) and (delete_flag is null or delete_flag not in …

Software Development python sql
Member Avatar for xav.vijay
0
183
Member Avatar for georgerohith

Hi All I have created created executable of Helloworld.py using McMillan Installer on Fedora core 3. It is working fine on Fedora core3. when i try to execute it on fedora core 2 it gives an error "segmentation fault" plese any one can help me why is it like so. …

Software Development python
Member Avatar for vegaseat
0
109
Member Avatar for trashed

hi everybody. i am trying to develop a program that will be able to read and export informations (hw, sw, kernel, netstats..ecc) from a linux computer. my idea was to use the files in the [b]/proc[/b] directory but i can't get the script to work - this is what i …

Software Development c c# c++ linux-kernel
Member Avatar for trashed
0
3K
Member Avatar for este77

I need help with some homework. I need to write a program that uses a while statement to determine and print the largest number of 10 numbers input by the user. The program should use three variables: counter: A counter to count to 10, (to keep track of how many …

Software Development c c# c++
Member Avatar for Dave Sinkula
0
165
Member Avatar for christyj5

I am trying to infile my data file into two seperate arrays which are seperated by a white space in my file. But I keep getting -86******* something number where my file is suppose to be any help will be very helpful. My first array which will read the student …

Software Development c++ file-system
Member Avatar for Lerner
0
467
Member Avatar for john_27

Hi all, I am a newbie to python and am not sure,what i am doing is correct or not ,i wanna call c function from within python. i have my python program as: [code] import DLL if __name__ == "__main__": for i in range(1,6): DLL.RECEIVE_FROM_IL_S(10,50) [/code] here RECEIVE_FROM_IL_S() is c …

Software Development python
Member Avatar for vegaseat
0
213
Member Avatar for shad

Hi there, i was thinking of basing my final year project on file sharing between clients through a server or text message communications between clients. I really need ideas on how i can go about designing and implementing a project based on my idea. I will really appreciate any ideas …

Software Development java
Member Avatar for server_crash
0
203
Member Avatar for SpS

[code] #include <iostream> int main(int argc, char *argv[]) { int count=0; if (argc<2) { std::cout<<"Wrong No Of Parameters"; exit(1); } FILE *file; file=fopen(argv[1],"r"); char c; while((c=getc(file))!=EOF) { if (c=='\n') { count+=1; std::cout<<std::endl; } else printf("%c",c); } std::cout<<"\nNo Of Lines In the File :"<<count+1; fclose(file); return 0; } [/code] My program …

Software Development c file-system
Member Avatar for Ancient Dragon
0
109
Member Avatar for satrix36

Hi, I've been asked to created a program for my local video rental shop, that can store the details of the members, videos, dvds etc. On the for were the user adds a member, I am wanting some code that will generate the membership number automaticaly in a edit box. …

Software Development pascal video
Member Avatar for satrix36
0
150
Member Avatar for satrix36

Hi, I've setup a form with several edit boxes and with a button to add the text in the edit boxes to be saved in a file. I've tryed to put a validation check in the program: When the user press' the "Save" button, it checks if the edit boxes …

Software Development pascal
Member Avatar for mrmike
0
171
Member Avatar for qwester

Hello, I'm having trouble with a project that I am doing in turtle graphics. I'm making a graphic of a soccer field with a ball bouncing around, but I want the ball to stop when it hits the net. I can get the ball to stop when it hits the …

Software Development python
Member Avatar for bumsfeld
0
366
Member Avatar for Piotr_Machner

I've got a function with a variable list of arguments: [CODE]Execute(int arg1, int arg2, int arg3, int arg4, int argLast, ...)[/CODE] I want to write another function that intercepts Execute. I want it to have the same argument list and pass all these arguments to Execute. For example something like …

Software Development c
Member Avatar for Piotr_Machner
0
86
Member Avatar for alajaji

Hey guys am new in C, could anyone help me with this? write a program that store the values x and 76.1 in seperate memory cells, your program should get the values as data itmes and display them again for the user when done. thanks

Software Development c c# c++ display
Member Avatar for shaji
0
212
Member Avatar for tkaung80

Dear all, I am very newbie here and I'd like to start learning C programming. My OS is windows XP. Could anybody please tell me where to get C compiler ? Thanks in advance! Any help much appreciated. rgds, tkaung

Software Development c++ windows-xp
Member Avatar for calcop
0
410
Member Avatar for gamesnmore

Hi, I am new to C++ I am working with C++ .NET to create a multiplayer game for a project. However I need to connect the multiple computers together, for it to work, with one computer acting as the server and the other (max of 6 others) connecting to it …

Software Development c++ client-server windows-server
Member Avatar for calcop
0
133
Member Avatar for stupidenator

Hi everyone, I was just curious if it is possible to put a jar in a jar file? thanks for your help. Nick

Software Development java
Member Avatar for paradox814
0
60
Member Avatar for andy257

Hi Guys I am a new member here and basically i have joined because i would like to learn some c++. I have no prior experience in any of these high level languages. I do have experience in turbo pascal but those of you who have used it know how …

Software Development c c# c++ pascal visual-basic visual-studio
Member Avatar for TIMBUCK
0
195
Member Avatar for Micko

Hello, by searching explanations and code for heap sort I found tghis code: [code] #include <stdio.h> #define less(a, b) ((a) < (b)) static void exchange ( int *a, int *b ) { int t = *a; *a = *b; *b = t; } static void fixDown ( int *a, int …

Software Development c
Member Avatar for Micko
0
262
Member Avatar for SpS

can any one highlight the overheads in goto statement

Software Development c
Member Avatar for Narue
0
154
Member Avatar for mina1984

i need help on a program that uses zenos series which calculates the sum of the first N terms of Zenos series, where N is what the user inputs. it should be a number 1 and 15 (inclusive). program should print n terms of the series seperated by + and …

Software Development c
Member Avatar for Ancient Dragon
0
122
Member Avatar for SpS

Why in C++ passing a pointer is not termed as a parameter passing technique.....Is it because it has a flaw of some kind i.e. address is not reflected back/we can change the address in called function..is that so...if that's the reason....then we can pass it as const pointer as a …

Software Development c++
Member Avatar for Ancient Dragon
0
198
Member Avatar for mym

I need help with finding the minimum value of x but I can't seem to get the code right. Please Help. Noob :sad: [code] #include<iostream> using std::cout; using std::cin; int main() { int x; // x is the duration of the call double sum; int number; double average; sum = …

Software Development c++
Member Avatar for kimw
0
197
Member Avatar for TheSkunkMan

Ive been trying to make a game recently but all pygame windows freeze. i have to use the Task Manager to exit. I also have to use it to exit a fullscreen too. All im doing in my code is opening a blank screen. How can i fix that?

Software Development python
Member Avatar for TheSkunkMan
0
4K
Member Avatar for kahaj

What purpose exactly does scaling / shifting rand values serve? The book I'm learning from really doesn't seem to explain what these actions do. -Clifton

Software Development c
Member Avatar for kahaj
0
270
Member Avatar for grandfilth

I've looked in a couple of books, and can't find this anywhere, i'm looking for the opposite of the cos funtion, i.e. I know the cos of the angle, and need to know the actual size of the angle, is there an implicit function? If not, how can I achieve …

Software Development visual-basic
Member Avatar for grandfilth
0
525
Member Avatar for sintesia

I developed some applets that at a fixed interval, say 1 second, update a value on the page. The pages with the applets are displayed in a frame, and the frame page structure has one frame on the left, with the menu links, one frame on the bottom, with another …

Software Development java
Member Avatar for sintesia
0
197
Member Avatar for Jackiemonster

I have a project to do for my CMPT 120 Class. And it's using basic python coding. I'm trying to write my name out with block letters. 'JAX' I need to use for loops and i'm stuck on my X here's the code for it [code] def x(n): t3=turtle.Pen() t3.left(60) …

Software Development python
Member Avatar for vegaseat
0
174
Member Avatar for Acidburn

Basically I've got a const string (it stays the same lenght) Only trying to implement it into OOP. heres the constructor: [php]score::score(void) { lives = 5; char * end = { " --------------+-\n" " + |\n " "+ ?\n" " +\n" " +\n" " +\n" " +\n" }; strcpy( death, …

Software Development c oop
Member Avatar for Stoned_coder
0
145
Member Avatar for winbatch

Hi, I have a program that needs to perform billions of loops. I want to print out something to the screen for every certain number of iterations (ie let's say 1 million). Because % is only suposed to work for integers, how do I get the equivalent functionality with long …

Software Development c
Member Avatar for winbatch
0
115
Member Avatar for mahes_

hi ...I am tryin to do this methods homework...I have to have a system.println for a void method..I know u cannot have a return for void method..but can u have a system.println in the main method for the helper void method?

Software Development java
Member Avatar for mahes_
0
6K
Member Avatar for Slavrix

well, ive been using VB6 for a year now, but i cant get this to work i have 3 txt boxs, and a cmd button, and a timer thingy(dont know how to use timer yet :P ) it needs to count down in seconds, min and hours. this is the …

Software Development visual-basic
Member Avatar for Slavrix
0
367
Member Avatar for frank_hfc

is there an exception type in c++ like the NumberFormatException in java? i'm looking to use a try/catch to do type checking after a cin input from the user.

Software Development c++
Member Avatar for Stoned_coder
0
706
Member Avatar for Shon05

I have a fortran program where I am suppose to write a set of java classes that implements some accounts and the required transactions and a main test program that exercises the classes based on the specified information we have. I can't put all the info up here bc it …

Software Development java
Member Avatar for Shon05
0
156
Member Avatar for SpS

can anyone tell me about send keys.....if possible attach a small code also

Software Development visual-basic
Member Avatar for The_Inferno
0
316
Member Avatar for user777

Dear programmers, Could somebody write code for this project please. For search option, I need to search by delivery date or invoice date (like: From 05/05/2005 to 01/07/2005). Thanks for any help....

Software Development visual-basic
Member Avatar for The_Inferno
0
124
Member Avatar for cx323

How would you click a submit button on a form using winsock? thanks for any help

Software Development java javascript visual-basic
Member Avatar for The_Inferno
0
106
Member Avatar for TraderX

Hello all... I am completely brand new to vb and could some guidance as to where I should go to start to learn. I am only trying to create a simple Pivot Points calculator (used for trading stocks, currencies (which is what I do)). I have found some on the …

Software Development visual-basic
Member Avatar for The_Inferno
0
298
Member Avatar for Toulinwoek

In preparation for the release of REALbasic 2005, the company is giving away the Standard version of the current release (REALbasic 5.5) It's not as deep as even VB6 as far as the range of properties for each object, but it's a pretty nice tool anyway. You can get a …

Software Development
Member Avatar for The_Inferno
0
255
Member Avatar for ! !

[indent] [color=darkslateblue][b]Sun Microsystems and Google plan to announce a collaborative effort that some analysts speculate could elevate the profile of the OpenOffice.org and Java software packages.[/b] [/color] [color=darkslateblue]Details won't emerge publicly until Google CEO Eric Schmidt and Sun CEO Scott McNealy take the stage on Tuesday at a news conference …

Software Development google java microsoft
Member Avatar for ! !
0
142
Member Avatar for grandfilth

HI, sorry if this is really thick, but I'm abit stuck...I have written this piece of code as part of a bigger function: If Z = 1 Then SIDE = W - (V / 3600#) End If If Z = 2 Then SIDE = W + (V / 3600#) End …

Software Development visual-basic
Member Avatar for w00dy
0
169
Member Avatar for stupidenator

Hi everyone, I am writing a summation program for a programming class I am taking. The assignment's main purpose is to give me practice writing functions. I have gotten the functions down just fine, but I can't seem to figure out how to write the inside of the summation function. …

Software Development c++
Member Avatar for stupidenator
0
310
Member Avatar for SpS

We cannot have static friend function...is it because 1.since static member functions can access only static data members...whereas friend function can access all the members. 2.friend function also require an object to access the members...wheeras static member functions can not. 3.One more thing....since friend functions are non-member functions....and static functions …

Software Development c
Member Avatar for Stoned_coder
0
189
Member Avatar for xav.vijay

Hai friends I have a small problem with my code... I want to copy an existing file (its a model MS Excel file) to a new file & name it with the current date... First I tried to create the model Excel file, but when I opened it, it had …

Software Development file-system python
Member Avatar for xav.vijay
0
317
Member Avatar for gracin

Sorry for confusing the issue by including the Format source code (I did not realize all structure format would be lost on the web site). The basic issue is this. I have a very small project (3 files). From one routine I can easily make a call to a printing …

Software Development java
Member Avatar for gracin
0
249
Member Avatar for imest

I am using Visual C++ 6.0 and I am trying to use an if else statment but unable to resolve error. Here is the code: [code]/*--------------------------------------------------------*/ /* Program Homework 3_3 */ /* */ /* This program computes the roots of a */ /* 2nd degree polonomial */ #include <stdio.h> #include …

Software Development c++
Member Avatar for imest
0
153
Member Avatar for bybruno

hi i try building a bandwith monitor with the report of total connections to/from my pc so far i do a report of ip source/destination but now i want to know the lenght of data that belong to each ip. for example: i want to know de down/upload of each …

Software Development visual-basic
Member Avatar for srjtpl
0
161
Member Avatar for bumsfeld

Does Python have something like peek(memory) and poke(memory) of other languages that read and write to memory addresses directly?

Software Development python
Member Avatar for vegaseat
0
123

The End.