199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SAINTJAB

I am writing a code in C# to read, add, delete and update a sql database row by row. Whenever I try to delete an entry, i get a "[COLOR="Red"]concurrency violation error: the DeleteCommand affected 0 of the expected 1 records.[/COLOR]". Please help me to solve that error and also …

Member Avatar for serkan sendur
0
184
Member Avatar for Piya27

Hi All, I just don't know whether how correct my quetion is. But the problem i am encounterign while deveoping a website in ASP.NEt is that, when I run my website in IE it shows me the correct design as it has been set in the Forms, but when I …

Member Avatar for sknake
0
63
Member Avatar for akkkk

Hello, I have my main program.cs with static void main and i want to call a method I have created in my misc_methods.cs. The method is string_split(string inputString) misc_methods.cs is in the same folder and looks like this: [CODE]namespace my_project { class string_split { public string_split(string inputString) { ...code for …

Member Avatar for akkkk
0
5K
Member Avatar for NargalaX

I need a timer that checks every x ammount of seconds if the mousebutton is down. How would I do this? Oh, and it must be global. Not just on the form.

Member Avatar for sknake
0
128
Member Avatar for iammfa

hi, i'm beginner in c++ and i'm using SDL with it, i started with beginner SDL tutorial, the 1st lesson learning me how setup SDL, i don't understand some steps from step 11 to 13, i hope some guides this a link: [url]http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet0508e/index.php[/url] regards iammfa

Member Avatar for GDICommander
0
143
Member Avatar for Rete

Hi again, I just had a really quick question. Is there any kind of goto command in Python like there is in Java?

Member Avatar for scru
0
770
Member Avatar for willingj

I am continuing work on a program for analysis of an entered array, I have got min,max,median and sorting the array working with some input parameters. I cannot seem to get the mode to work, i have attempted some code to do this. Your help would be greatly appriciated, i …

Member Avatar for akulkarni
0
117
Member Avatar for TuX4020

Hi All, So I'm working on a project that involves saving and opening of binary files. I've got both the save and open methods working properly - using SaveFileDialog and OpenFileDialog respectively. So when I explicitly call these methods to save or open a file, they work as they should …

Member Avatar for TuX4020
0
129
Member Avatar for agrarian

I am trying to use a Dojo (ajax) table on my page that has detail rows in which I want to draw detail tables. The tables have a format event which calls formatDetail. In this event I would like to build a simple table using JSON data. My problem is …

Member Avatar for agrarian
0
2K
Member Avatar for mohsindada

i want to program a downloader which works for slow networks. for example if i and a friend of mine are connected through a LAN .. i would want my downloader to download 1-50 % of xyz.file and my friend would download 51-100% of xyz.file ... (where xyz.file is any …

Member Avatar for mohsindada
0
104
Member Avatar for anuj_sharma

hey guys, I want to develop a web application using Java but i don't know where to start from. From where i should start learning and what all should i learn??

Member Avatar for Majestics
0
99
Member Avatar for invisi

[CODE]#include <iostream> #include <cstdlib> #include <ctime> #include <string> using namespace std; void RandomArrayFill(int* array, int size) { //int* array = new int[size]; cout << "Creating and filling the array with integers..." << endl; for(int i = 0; i< size; ++i) { array[i] = rand() % 101; } cout << "Array …

Member Avatar for invisi
0
141
Member Avatar for netbeanguy

hi please i deperately need help been trying to compile this code on netbeans IDE but it keeps giving me error on the output code is: package gameapplication; import java.awt.Color; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Vector; import javax.swing.JButton; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; /** * …

Member Avatar for VernonDozier
0
145
Member Avatar for lm111

Hello, Please help me. So far nobody was able to help. I am trying to assign a dynamically created LinkButton to a string value. I have a function and there is definitely something wrong with it and I need someone to tell me if it can be done or not. …

Member Avatar for anuj_sharma
0
121
Member Avatar for tejasthacker

Hi this is a decompiled version of a guessing game which i am required to submit in assignment. can anyone please make it run anyhow. i hav also attached sample from which i generated code any help will be appreciated. Thanks [code=language] // Decompiled by DJ v3.11.11.95 Copyright 2009 Atanas …

Member Avatar for VernonDozier
0
174
Member Avatar for icarium

Hi, I have a project in asp.net which includes mssql database. when i tried to back it up simply by copying the folder, I then tried to open the project through visual studio, but it did not open. So how can i back up my project ? also my operting …

Member Avatar for anuj_sharma
0
256
Member Avatar for pilipino93

Hi there. I was wondering how I can store a file I have on my computer into my WFA project. I want to store a file in there so that when the user clicks on the button, it will distribute the file inside the program to the user's computer, in …

Member Avatar for pilipino93
0
362
Member Avatar for broberts_az

First Off. Total newbie here and first thread so go easy on me. I used the tut from the Starting wxPython (GUI code) thread. I have converted it to a text editor and added some annoying features to mess with my boss. I am able to open a file, edit …

Member Avatar for broberts_az
0
199
Member Avatar for cmel89

[code]/** Computes the number of different groups of integers summing to value n * @pre n is a non negative number. * @post None. * @param n The number specified by the user to calculate. * @return The number of different groups of integers for the specified number. */ #include<iostream> …

Member Avatar for Sky Diploma
0
101
Member Avatar for gcardonav

Hello everyone: As I stated previously I am learning my C++ on the run because is required for one of my classes and well any help I can get is appreciated. I created a code to read a .txt file containing a list of numbers. My problem is that the …

Member Avatar for gcardonav
0
136
Member Avatar for latinajoyce

im working on this java program: Create a Java program that creates six random numbers between 1 and 10 and for each randomly generated number it displays the text describing the number rather than the numerical value. For instance, if the number generated was 3 then it should display three; …

Member Avatar for javaAddict
0
114
Member Avatar for joisan

This is my problem: getCurves (a); vector<int> RA(a), SA(a); I need to determine the size of vector for "RA" and "SA" by using "a" which is a reference parameter that obtained from "getCurves" function. I will get this error message everytime I compile - "vector subscript out of range". However, …

Member Avatar for Tom Gunn
0
98
Member Avatar for xuexue

here's the code, this one goes well with localhost and it's functioning, however, when i tried it using a web server, it says error uploading file, what do you think is the problem? please help... [code] $phName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $phSize = $_FILES['userfile']['size']; $uploadDir ="10.237.102.158/upload/joomla/"; $filePath = $uploadDir …

Member Avatar for codejoust
0
111
Member Avatar for techly

Please help me to write a C++ program which finds the determinant of a n x n Matrix. I'm a beginner in C++ and have read all the posts related to this topic ,but it didn't help me at all. I know the code will be recursive, so i started …

Member Avatar for Sky Diploma
0
214
Member Avatar for jooa

[CODE]double s = 1/(noOfPhases + 1);[/CODE] When I print the s the value I get is zero however when i print noOfPhases the value is 3. If i do the following [CODE]double s = (noOfPhases + 1);[/CODE] the value returned is 4. Why can I not not do 1 divided …

Member Avatar for Ezzaral
0
68
Member Avatar for musi77

i have a midlet which has got a static variable. i need to keep the record of all the instances created in this variable. but it does not work like static variable. my code segments look like this. i am running this midlet on sun wireless toolkit 2.5.5. i can …

Member Avatar for harsh2327
0
124
Member Avatar for sila

Hello I am new in php working on online exam type webapplication my client requirement is this durring the test the user cant move backward or cant press the back button of browser how can i control it there are few javascripts i try but they not working if user …

Member Avatar for codejoust
0
94
Member Avatar for avgVBUser

Could someone tell me how to include a timer inside of a class? I was trying to set up a panel class that has some generic information in it to be included in many of the form windows included in a bigger project. It would also have some other information …

Member Avatar for avgVBUser
0
121
Member Avatar for Richy321

Hi, I currently have a crystal report (verison 10) with a linked ole object linking to an excel spreadsheet. I need to be able to programmically change the link path at runtime using vb6. You can do it in crystal by going view -> links ->change source so surely there …

Member Avatar for Richy321
0
112
Member Avatar for marcinkuptel

Hi, Is there a way to split the string: 'Autocolli\^sion:No^Pack\^age:10DB15' on '^' character, but not if it follows a backslash? I have tried a regular expression like '[^\\]\^' but it removes also the 'o' in 'No'. Marcin

Member Avatar for marcinkuptel
0
98
Member Avatar for gretty

Hello My program takes in a number & uses a recursive function to display that number backwards. eg input = 473, output= 374. I have to submit the program for marking, but they always throw in some curve ball test to make sure that your program will work for all …

Member Avatar for Tom Gunn
0
98
Member Avatar for jempag

Anybody knows how to program a solution to hill cipher, its an encryption and decryption..I'm using 2x2 matrix to decrypt any word, can somebody give me some tips, suggestions or anything that could help me finish my job. Thank you very much!

Member Avatar for Sky Diploma
0
472
Member Avatar for Ancient Dragon

I just finished installing Fedora 11 on my 64-bit Vista computer (dual boot) and see that it does not include gcc or g++. I looked on gnu.org, found something that described the gcc compiler package (briefly) but no links to where to download the binaries. Anyone have links to it?

Member Avatar for Nick Evan
0
259
Member Avatar for aalto

I'm new to VB 2008 Express, but I want to produce a user interface (a form linked to an access database). Comboboxes and textboxes work fine. Each box being linked to a separate database column. My main problem is with duplicate entries in each database column. I want the 1st …

Member Avatar for aalto
0
106
Member Avatar for cooterbrown

Hi, I have a calculating order form, which is at [url]http://www.bcdcoatings.com/orderform.htm[/url] which I partially inherited. The problem is that the second drop down "select item" was added, and is not part of the calculation, in order to get needed information to an html template for emailing the order information. Right …

Member Avatar for cooterbrown
0
110
Member Avatar for rajuchacha007

Hello, I am importing a .csv file in mysql. I am facing problem when it comes to date. Let me elaborate. CaptureDate 20071101 20071101 20071101 20071101 20071101 This is data. But when i Load the file, it displays only last record correctly but not the rest 4. Please help. Thanks …

Member Avatar for rajuchacha007
0
407
Member Avatar for zekruss

Hello All, I really need help, I have no experience with Curl and I want to use it to perform simple actions on a "software as a service" application, the goal is to automate testing, using tools like "selenium" is much more easier but not enough powerful to develop in …

Member Avatar for cwarn23
0
235
Member Avatar for brando|away

Yeah im not sure this is the right forum for this question but, I need to get the POST parameters of a request, like the FireFox tamper data add-on (which isn't working for me right now) so im looking for an alternative. Whats an alternative way i can view data …

Member Avatar for pritaeas
0
103
Member Avatar for jarrax

hi problem: I am extending a lua script engine. I would like the engine to be able to detect at runtime if a script has been modified and if so reload it. However I don't know how to detect if a file has been modified. my idea: My idea was …

Member Avatar for Nick Evan
0
230
Member Avatar for chathu12

Hello Every one, I need to write a program to copy a part of a String from a specified place. Eg: if the first String looks like "This is a C program" I need to extract the part of "C program" How can I do this.Please help me. Can I …

Member Avatar for yellowSnow
0
138
Member Avatar for akkkk

Hello, i am new to using C# and I was wondering how if i set some variable in a from how i can transfer them back to the main method? for example if i have: [CODE]public partial class MyInputForm : Form { String name; Int ref_no; public ..... FORM IMPLEMENTATION[/CODE] …

Member Avatar for akkkk
0
101
Member Avatar for valonesal

Alright here is what we would like to accomplish, We have folders on our server, what we want to do is deny access to the contents of he folders from everyone except for authorized websites. So we want to allow authorized websites to use our scripts, images and other items …

Member Avatar for valonesal
0
132
Member Avatar for hery

this is my code in vb6. How to in vb.net??? Please tell me?? Thank's [code] Public Function Tgl_Max(Month As Integer, YEAR As Integer) As Integer Tgl_Max = Day(DateSerial(YEAR, Month + 1, 0)) End Function [/code]

Member Avatar for benson waweru
0
97
Member Avatar for umarmaqsood

alright here goes, i recently started reading the a c++ book and i was wondering, how so far i have only ran all the example programs in cmd windows. will i able to run outside or not in that horrible looking window or will i have to learn another language. …

Member Avatar for Nick Evan
0
342
Member Avatar for tech291083

Hi, I have this code in C++ and it is not compiling in a terminal window on a Fedora Linux machine. Please help, thanks a lot [CODE] #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MessageBox(NULL, "Goodbye, cruel world!", "Note", MB_OK); return 0; } [/CODE]

Member Avatar for Nick Evan
0
2K
Member Avatar for ishlux

Hi, I have deployed my folder called Library in web apps tomcat5.5, i can find my folder in the tomcat manager, but when i click its showing this error: requested source in not available (Library) As i am new to this i dont know how to proceed please help me …

Member Avatar for stephen84s
0
157
Member Avatar for laghaterohan

Hey....hello all i am writing a very simple function of calculating a square of a number entered by the user and then displaying it. While writing the function in c# i am getting n number of errors regarding conversion type....plz help me out of this .....here is the function... [code] …

Member Avatar for ddanbe
0
116
Member Avatar for phillon

I'm fairly new to C#. I’ve recently embarked on a web project using asp.net Visual Web Developer. I'm having some issues with the commands for running calculations on a number of web forms. Some of the web form consist 10 or more numerical fields. Each form has a Total field. …

Member Avatar for peter_budo
0
83
Member Avatar for sephora

I am using VS2008 and I am trying to complete a tutorial found at [url]http://community.opennetcf.com/blogs/cf/200711/WCF/An%20Introduction%20to%20WCF%20for%20Device%20Developers.pdf[/url]. I am however stuck halfway as I get a debug error :- [I][U]UriException is Unhandled Invalid URI: A port was expected because of there is a colon (':') present but the port could not be …

Member Avatar for sknake
0
649
Member Avatar for stormshell

can someone help me with this issue i don't see why its not initializing but here is my error: [code]Object reference not set to an instance of an object.[/code] And Here is My Code: [code=language] Dim pic As New PictureBox Dim frm As New Form Public lbllist As Generic.List(Of Label) …

Member Avatar for Arunabh Nag
0
100

The End.