199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for libathos

I want to insert a record in some tables using a simple stored procedure.My question is: do i have to write several inserting procedures (one for each table) or is it possible that i can pass as a variable the name of the table in which i want to insert …

Member Avatar for libathos
0
380
Member Avatar for toantk_55

I have some problem I have a file .s with codes: [CODE] #double cel2fahr(double *temp) #{ #return 1.8 * (*temp) + 32.0; #} .section .data cel: .double 30.5 scale: .double 1.80 output: .asciz "The fahrenheit value is: %lf\n" .section .text .globl _start _start: mov $cel,%eax call proc_cel2fahrenheit movl $output , …

Member Avatar for gusano79
0
89
Member Avatar for jaai
Member Avatar for jerl
0
151
Member Avatar for alpdoruk

Hello everybody, I wrote a script as like below arr = [(line.rstrip('\n').split(';')) for line in open('C:/Config_Changer.csv')] import sys import fileinput for i, line in enumerate(fileinput.input('C:/1.cfg', inplace = 1)): for f,t in arr: if 'description' not in line: line = line.replace(f, t) sys.stdout.write(line) ok my problem is my config changer file …

Member Avatar for alpdoruk
0
266
Member Avatar for skp03

After creating a project in vb.net how to make a separate file so that by clicking on the file the project should directly execute

Member Avatar for Reverend Jim
0
287
Member Avatar for kartouss

hello, can anyone help me how to encrypt an image that is how the values in the image are read and saved in a file... I need to load an image and then the program will extract the pixel values and save it in a file and then the values …

Member Avatar for Zhassan
0
1K
Member Avatar for VB 2012

[CODE]Public Sub Makeready() Dim CurrentVersionFile As String = My.Computer.FileSystem.SpecialDirectories.Temp & "\Memory Freeo Plus Current Version.txt" Dim MemoryFreeoPlusVersionWriter As New IO.StreamWriter(CurrentVersionFile, False, System.Text.Encoding.Default) Dim StorageFile As String = My.Application.Info.DirectoryPath & "\Process Storage.MemFreoPls" Dim MemFreoPlsStorageWriter As New IO.StreamWriter(StorageFile, True, System.Text.Encoding.Default) If IO.File.Exists(StorageFile) Then MemFreoPlsStorageWriter.Close() Else MemFreoPlsStorageWriter.Write("") MemFreoPlsStorageWriter.Close() End If If IO.File.Exists(CurrentVersionFile) Then …

Member Avatar for VB 2012
0
200
Member Avatar for tgr0ss83

[url]http://www.iso-ne.com/markets/hrly_data/selectHourlyLMP.do[/url] I'm trying to parse a CSV generated from the above link. From what i gather the link is : [url]http://www.iso-ne.com/markets/hrly_data/selectHourlyLMP.do?locationType=HUB&node=4000&startDate=12%2F20%2F2011&endDate=12%2F20%2F2011[/url] My problem is it seems half the tiem it downloads, half the time it doesn't, almost as if it gets cached in my system. Is there a way to …

Member Avatar for tgr0ss83
0
90
Member Avatar for Hussam Alahmadi

in this assignment make the program read 10 integers and store them in an array. Then, pass this array to a method that finds the largest integer in the array, and counts its occurrences. Your method should return a string of the form largestNumber

Member Avatar for stultuske
0
143
Member Avatar for oli82

Hi, Thank you for your help in advance, i am trying to create a dictionary, the code below works fine if I have two columns in each row with no spaces, however one of the columns data natively has spaces in it e.g. Sarah me hy uuuuu at the moment …

Member Avatar for oli82
0
2K
Member Avatar for placebo1

i want to read parameters from a file. but the program reads all parameters as if they are zero.any help? here is the code [CODE] typedef unsigned long int WORD; unsigned long int parameters[2]; WORD pt1[2]; void readConfig() { char a[3]; FILE *p; p = fopen("config.data", "r"); if (p) //we …

Member Avatar for placebo1
0
185
Member Avatar for FiToKa

Hello, everybody! I've been struggling on implementing the Binary Tree data structure with some standard functions in it. After reading information from many sources and some work on my own, I've came up to this: [url]http://pastebin.com/B6Gtjb61[/url] Problems occur in the main funciton. What I can't understand is why does the …

Member Avatar for FiToKa
0
274
Member Avatar for jimmymack

Can someone please help me break down the following examples so they are easier to understand because I don't understand them at all. Many thanks in advance Evaluate the following: 1) (true && true) || false 2) (false && true) || true 3) (false && true) || false || true …

Member Avatar for v3ga
0
122
Member Avatar for gerchi152

Hi!!! I'm having hard time in manipulating a combo box with list view. For example if the selected index in the combo box is "boy" then the list view will display a database table allotted for boys and if the selected index is "girl" then the list view will display …

Member Avatar for gerchi152
0
1K
Member Avatar for 03hasnam

[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.text.*; import java.lang.*; import java.util.*; import java.io.*; public class PaymentNewGUI extends JFrame{ private JButton tenP, twentyP, fiftyP, onePound, twoPound, payButton; JTextField ticketID; Label lEntranceTime; Label lPaymentTime; Label lTimeDifference; Label lDue; Label lInserted; Label lMessage = new Label("Enter Your Ticket Number"); Container …

Member Avatar for JamesCherrill
0
1K
Member Avatar for dhanlak

Hi, I am trying to bind a datagrid with a datatable in WPF. This is my first project in WPF. The datatable has a single column. The datatable is bound with a table that has a varbinary image column in database. In database, this is the table structure table tblPicture …

0
107
Member Avatar for shamsidah

[CODE]<form method="POST" action="prosesMultiple.php"> <?php include 'connection.php'; $sql="SELECT defect_code,totalDaily FROM grandTotal ORDER BY totalDaily DESC LIMIT 10 "; $row = mysql_query ($sql); while ($check=mysql_fetch_array($row)){?> <input type="checkbox" name="defect_code[]" id="defect_code[]" value="<?php echo $check["defect_code"];?>" /> <?php echo $check["defect_code"];?> - <?php echo $check["totalDaily"]; ?> <input name="text" name="totalDaily[]" id="totalDaily[]" type="hidden" value="<?php echo $check["totalDaily"]; ?>"><br/> <?php } …

Member Avatar for Jay-Kandari
0
105
Member Avatar for roona

Hay everyone I need help I have project in subject programming languages about make one idea on two languages c and java . I have made it in java but I couldn't in c this is the code in java [CODE] Class Link // Link.java // to run this program: …

Member Avatar for zeroliken
0
218
Member Avatar for accra

[ICODE]I have two date fields in my db, one is a CURRENT_TIMESTAMP and the other Date. I use a date picker to input the date into the date fields in my form. All other date in the form is input into my db, except the two date fields. But when …

Member Avatar for it386
0
128
Member Avatar for CReza

I have to write persian (farsi) characters to a text file, but after writin when I open the file ,it's contents are unreadeable in persian and ther is some special characters pleaseeeeeeeeeeeeeeeeeeeeeeee help :-(

Member Avatar for v3ga
0
179
Member Avatar for dhanlak

Hi all, I have done an asp.net project using VS 2010. I have used jquery, $.ajax calls, updatepanels and pagemethods. I have included the ajaxcontroltoolkit.dll in the bin. What compatibility probles that are likely to occur. I have tested the project in IE8 and firefox 8. It works fine. Since, …

Member Avatar for dhanlak
0
163
Member Avatar for daniel36

I am working on a project which needs to expire session after 24hr how it is possible.

Member Avatar for daniel36
0
99
Member Avatar for iPanda

How can I use the "datetime" class to get a different time zone than mine? (for example gmt = 0 or utc+2) Thanks!

Member Avatar for iPanda
0
131
Member Avatar for mangatmodi

Something is not going right in the following code. I am taking an array of strings from user and printing at the same time. Array can have [B]noe[/B] no. of strings, as noe is entered by user. [CODE]#include <stdio.h> int main(){ char **p; int noe=0,i=0,j=0; scanf("%d", &noe); p=malloc( noe * …

Member Avatar for v3ga
0
154
Member Avatar for Jay-Kandari

Hey guys, Was really fed up with this problem .please check it out. I have a PHP page which calls and retrieves a text from other PHP page. Now using the Normal textarea element the value is showing in the textarea. Now I wanted that text area to be as …

0
182
Member Avatar for peter20

Hi all, I have to check and give grades to some projects written in C. Do you know a free program which detects source code plagiarism ? I found CodeSuite but it asks me for key. Thanks in advance

Member Avatar for L7Sqr
0
304
Member Avatar for namratag
Member Avatar for lohath

[QUOTE]: Hello every one. I have described what program has to do and what i have did plz help me. Program has to take input from the user(i1) and print it, but if the user doesn't give any within 2 seconds program has to print some other variable(i2) ( which …

Member Avatar for L7Sqr
0
130
Member Avatar for jerrohnny

Hi Guys, Am one of those changing careers. I am retraining on an IT Conversion course at the moment and has just started java. Being a conversion program, it is running really fast and I am working really hard to catch up and fully understand, am gonna need all the …

Member Avatar for JamesCherrill
0
117
Member Avatar for ar0n

Help: I am new in game development and i need to know what are the best game engine to use to start my own game. thank you!!

Member Avatar for arthisoftseo
0
158
Member Avatar for solomon_13000

I attempted to invoke a C# method using jQuery but it failed. The reason is because the method cannot be found. However the method exist in the class. Did I miss something? Your help is kindly appreciated. Thank You

Member Avatar for solomon_13000
0
230
Member Avatar for BCBTP

I was wondering if anyone has some good examples of running python functions and scripts within C++ using the Python C API. I can't seem to understand the ways of the Python C API, and was expecting something more similar to the Lua C API. The real question is "What …

Member Avatar for vijayan121
0
318
Member Avatar for dennysimon

usualy I run java app ( I create by my self) by click it's jar file. How to run it via click an icon on desktop ( how to link between icon and the jar file thank you denny

Member Avatar for dennysimon
0
584
Member Avatar for bhagyap

this.tableLayoutPanel1.ResumeLayout(false); An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll occurred for the above line.. Please help me...

Member Avatar for bhagyap
0
233
Member Avatar for karthik.datt

The withoutcomment.txt file contains : [general] "PC", 0x0, 32, RW, reg , 1, "Program Counter (R15)"; "LR", 0x11, 32, RW, reg , 18, "Link Register (R14)"; "SP", 0x10, 32, RW, reg , 17, "Stack Pointer (R13)"; But i am able to print only first line but its not going to …

Member Avatar for stultuske
0
173
Member Avatar for ibthevivin

So basically I'm stuck at the do-while statement. Should I use a do while? or a for loop? This program is supposed to test my ability to use loops. [CODE]/*Create an application that reads an integer value and prints the sum of all even integers between 2 * and the …

Member Avatar for stultuske
0
239
Member Avatar for Traicey

Guys I have been trying to figure this out until this very moment The problem is I need a piece of code that will not allow the user to enter any negative number in the text box This how it should work, if the user trries to enter this "-" …

Member Avatar for stultuske
0
166
Member Avatar for jcarbillon

guys,,need help :( I cannot upload file using this script [CODE]<?php if($_FILES["zip_file"]["name"]) { $filename = $_FILES["zip_file"]["name"]; $source = $_FILES["zip_file"]["tmp_name"]; $type = $_FILES["zip_file"]["type"]; $name = explode(".", $filename); $accepted_types = array('application/zip', 'application/x-zip', 'application/x-zip-compressed', 'application/octet-stream', 'multipart/x-zip', 'application/x-compressed'); foreach($accepted_types as $mime_type) { if($mime_type == $type) { $okay = true; break; } } $continue = …

Member Avatar for jcarbillon
0
108
Member Avatar for aishapot

Hello i want to the textbox that when I start to type in names it should be like this [B]Camille Aisha Cordova[/B] How do I do this?

Member Avatar for aishapot
0
2K
Member Avatar for sulagno

[B]I need to convert this xml into another one to send a soap message[/B] [CODE] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:customerCustomerListResponse> <storeView SOAP-ENC:arrayType="ns1:customerCustomerEntity[2]" xsi:type="ns1:customerCustomerEntityArray"> <item xsi:type="ns1:customerCustomerEntity"> <customer_id xsi:type="xsd:int">1</customer_id> <created_at xsi:type="xsd:string">2007-08-30 23:23:13</created_at> <updated_at xsi:type="xsd:string">2008-08-08 12:28:24</updated_at> <increment_id xsi:type="xsd:string">000000001</increment_id> <store_id xsi:type="xsd:int">1</store_id> <website_id xsi:type="xsd:int">1</website_id> <email xsi:type="xsd:string">john.doe@example.com</email> <firstname xsi:type="xsd:string">John</firstname> …

Member Avatar for sulagno
0
312
Member Avatar for ##k.k##

Hello All, I am copying file from one machine to another machine after that execute that file on remote computer using c#. I am using below command to copy file File.Copy(sourcePath, DestinationPath, true); and ManagementClass remote_Class = new ManagementClass ("\\machineName\root\\cimv2:Win32_Process"); object[] remoterun = { destPathwithFileName, null, null, 0 }; remote_Class.InvokeMethod("Create", …

Member Avatar for ##k.k##
0
164
Member Avatar for stupidenator

Hi everyone, I am having a problem while trying to do an operator overload of operator<< I am getting: [CODE]Stack.cpp:96: `std::ostream& Stack::operator<<(std::ostream&, const Stack&)' must take exactly one argument Stack.cpp:96: no `std::ostream& Stack::operator<<(std::ostream&, const Stack&)' member function declared in class `Stack'[/CODE] I can't seem to find why I am getting …

Member Avatar for journeyjie
0
10K
Member Avatar for matrixcool

Hello, I have a file and this it how it looks like: 6 {a, b, c, d, e, f} 1 1 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 1 1 0 1 …

Member Avatar for zeroliken
0
2K
Member Avatar for Ole Raptor

Hello, I am trying to go through a list of comboboxs and set the selected value from the itemdata. So far I have this working for a single combo. I have a few combo's that I need to do this for and was trying to find a way to pass …

Member Avatar for ChrisPadgham
0
170
Member Avatar for jessCPP

Doubts with sidt instruction. Hi Friends! I have a doubt with the sidt instruction. The Intel documentation for “SIDT m” stated: [code] Stores the content of the IDTR in the destination operand. The destination operand specifies a 6-byte memory location. If the operand-size attribute is 32 bits, the 16-bit limit …

Member Avatar for NotNull
0
145
Member Avatar for janvi.dodia

Hi everyone.. i m developing an application to backup files\directories to a server.. i initially developed it in RMI but then to make it possible to run over Internet i made some modifications and used sockets.. I have designed few packets for sending login details, file information to be backed-up, …

Member Avatar for zeroliken
0
1K
Member Avatar for ret801

is there any development or do you have any input on the possibility of instant downloads? is it possible?

Member Avatar for thines01
0
137
Member Avatar for bisibee82

I'm doing a bidding listing page and I wanted to add a countdown timer to it. So, I have this Javascript countdown function which is modified from [url]http://keith-wood.name/countdownBasics.html[/url]. I'm supposed to pass the ending time to variable t. I have no problems passing in a direct value such as 2011:11:11 …

Member Avatar for diafol
0
489
Member Avatar for matrixcool

Hello, I have a file and this how it looks like: 6 {a, b, c, d, e, f} 1 1 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 1 1 0 1 1 …

Member Avatar for matrixcool
0
247
Member Avatar for sptham30

Hi guys, i've started to write some website and bumped into this problem.. have tried all the solutions on the forum that i could search for.. E.g clear any blanks on the main_left.php (code shown below) no echo on main_left.php and also ob_start(); none of it works... Warning: Cannot modify …

Member Avatar for diafol
0
200

The End.