132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for asif49

I need some help with a project that I'm working on. I have to make a program which can store hierarchical data to represent an employee referral system (and who has referred who/who was referred by whom). This needs to be able to traverse both ways, I.E. Bill has referred …

Software Development java
Member Avatar for asif49
0
106
Member Avatar for davi0011

Hi I was wondering why I have an error in this program every time I try to do a long encryption. For example, encrypting an ebook or long document. I only occurs in the advanced encryption and advanced decryption functions. I'm pretty sure it has something to do with memory …

Software Development c++ encryption
Member Avatar for davi0011
0
354
Member Avatar for LdaXy

i was writing some code for a small project i'm working on and form somke reason, it never displays the main function. it just makes the user input 7 times before crashing. any ideas? i can't seem to locate my error. [CODE]package rtnasm; /* * RTNASM - n64 assembler * …

Software Development java
Member Avatar for ejosiah
0
290
Member Avatar for jaskij

I have to write an interpreter for tristate logic as a Uni assignment. I got most of the things down, like expression tree and such, there is just one thing that's bugging me, that is input, or a particular part of it. The thing is, in the expression there can …

Software Development c++
Member Avatar for jaskij
0
114
Member Avatar for dilse4sk

hi every 1. i have a form and i dropped customer dataset as details view on the form and booking dataset as gridview.So now when i insert a record i can scroll through different records and with respect to the customer its shows me related booking aswell. Wat i wanna …

Software Development dataset vb.net
Member Avatar for dilse4sk
0
156
Member Avatar for dilse4sk

hi every 1 i am trying to copy stored Employee id and i want to show it on a customer registration form. Basically i want to show which employee severd which customer. below is my code could you plz check or modify it thanks Dim Con As New SqlConnection Dim …

Software Development open-source sql vb.net
Member Avatar for dilse4sk
0
141
Member Avatar for Sevyt

Does anybody if something like this exists? I am trying to write a small program to plan appointments. And have a overview of them in some sort of calendar(not the mini calendar which you can get from the VB control). Found some website who offer such controls, but honestly $1k …

Software Development vb.net
Member Avatar for Sevyt
0
228
Member Avatar for lxXTaCoXxl

I'm not sure if I remember how to do the Quadratic Formula because I haven't had to use it since I learned about it back in '05. So I did a little research on how the formula works and from what I understand the formula is: [code] // -b +- …

Software Development algorithm
Member Avatar for skatamatic
0
301
Member Avatar for HoneyBadger

Guys I installed mySQLdb in Ubuntu with: [CODE]mydeskt@mydeskt-desktop:~$ sudo apt-get install python-mysqldb[/CODE] but when I go to the python interpreter and type: [CODE]>>> import mySQLdb [/CODE]I get: [CODE] Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named mySQLdb [/CODE]It is installed though, because when …

Software Development mysql python ubuntu
Member Avatar for HoneyBadger
0
186
Member Avatar for wonderlandslost

So I'm writing a program that has a main class ArrayDrawer and two classes; square and triangle. Currently, this is what I have; [CODE] public abstract class ArrayDrawer { //Global Data /** * Create array with object scope to store squares in */ protected Square[] squares = new Square[10]; /** …

Software Development java
Member Avatar for NormR1
0
255
Member Avatar for gozo12

in form1 i have two listboxs listbox1 listbox2 loadbutton and savebutton this code will write listbox1.selecteditem into a txt file and loadbutton will load info in listbox2 but i want when i click loadbutton it check if that item is already exist in listbox2 , if not so write selected …

Software Development vb.net visual-basic
Member Avatar for Mitja Bonca
0
256
Member Avatar for lena1990

hi i cannot run a java applet from web browser?

Software Development java web-browser
Member Avatar for lena1990
0
90
Member Avatar for roe1and

I'm just going to put this out there. I was asked to create a spreadsheet with data extracted from MARC records. I have looked at pymarc and cannot get this to work. To be honest I'd rather do this myself and lean something in the process. I have another similar …

Software Development open-source publishing python regex
Member Avatar for woooee
0
300
Member Avatar for 03hasnam

want to append information onto a file based on user selection of minutes (1 min, 15, 30, 45min etc) through radio buttons. for each radio button there are case in switch statement. I am finding it difficult to update the file on a regular interval, continously, does anyone know how …

Software Development java
Member Avatar for NormR1
0
92
Member Avatar for arbazpathan

[code]using System; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Linq; using System.Data.SqlClient; using System.Data; using System.Configuration; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. // [System.Web.Script.Services.ScriptService] public class Service : System.Web.Services.WebService { …

Software Development
Member Avatar for arbazpathan
0
155
Member Avatar for jigglymig

I need to create ever possible binary tree and then count the comparisons an example is if I had a binary tree with 1 and 2 then there are 4 possible binary trees... root = 1 LChild = 2 root = 1 RChild = 2 root = 2 LChild = …

Software Development c++
Member Avatar for mrnutty
0
173
Member Avatar for manal-19

Please help me in solving this question #Task 1. Create a class to store details of student, such as rollno, name, course joined, and fee paid so far. Assume courses are C# and ASP.NET with course fees being 2000 and 3000, respectively. (3 marks) 1. Provide a constructor that takes …

Software Development
Member Avatar for Mitja Bonca
0
238
Member Avatar for jwill222

Below is the link to a picture of the debug error window [url]http://www.flickr.com/photos/76298377@N02/6798897020/in/photostream[/url] It's a program that i'm doing and I keep getting this error here's a link to the programming problem. Its' Number 3 [url]http://books.google.com/books?id=bSy1hBCLNl8C&pg=PA335&lpg=PA335&dq=sales.dat+c%2B%2B&source=bl&ots=mmN9b4WzsN&sig=miAD8-u4ly8K1Mou9ZNHv90Nscc&hl=en&sa=X&ei=2wdQT_-4OtSCsgK-l5WyDg&ved=0CDcQ6AEwAg#v=onepage&q=sales.dat%20c%2B%2B&f=false[/url] Why am i getting this error. I'm clueless [CODE] #include <iostream> #include <string> #include<stdio.h> …

Software Development c++ open-source
Member Avatar for Ketsuekiame
0
115
Member Avatar for senbaris

hi all, i need connect to SFTP server and download files, searched everywhere but found nothing except non-free librarys.. Thanks for help.

Software Development vb.net
Member Avatar for Begginnerdev
0
101
Member Avatar for tontano

Hello Team Members; I am new to programming, and have 2 issues that I cannot figure out. Sorry, for not providing the code, as I didn't know where to take it from. here is my situation. I have 2 projects in a solution (Csharp & vbNet), now because Charp is …

Software Development listview vb.net
Member Avatar for Begginnerdev
0
153
Member Avatar for nidheeshkumar.r

hey, im doing a project on processing images and i'd like to extract the features of an image stored in databse.How can i do that? anyone help..,please..

Software Development image java
Member Avatar for NormR1
0
1K
Member Avatar for skatamatic

I am having a problem with a COM interop in VB6. I am trying to write a .Net class in C# to access from within vb6 (something I've done too many time to count), and it works pretty well except that there's a strange error if I try to run …

Software Development ide
Member Avatar for skatamatic
0
197
Member Avatar for J94

im making a basic ASM simulator which runs in a datagridview, iv got most of it working like the add/sub/mul/div operators, but im having trouble with the jump function, the jump it self works, the simulator jumps but it still executes the next operator after the jump when its supposed …

Software Development vb.net
Member Avatar for Begginnerdev
0
154
Member Avatar for sujan.dasmahapa

I am loading an extension dll from my mfc client application, when click on the menu first time the dll dialog is being loade and after i exit or close the dialog, and again clicking on the menu to load again it's giving error that "A required resource was unavailable". …

Software Development c++
Member Avatar for sujan.dasmahapa
0
390
Member Avatar for vivekanandaan

[CODE] Dim connectionString As String Dim cnn1 As OleDbConnection Dim cmd1 As OleDbCommand Dim sql1 As String connectionString = "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source = d:\sprrg\sprrg.mdb" sql1 = "update po_detail set po_number=" & txtPoNo.Text & " where po_number=0;" cnn1 = New OleDbConnection(connectionString) cnn1.Open() cmd1 = New OleDbCommand(sql1, cnn1) cmd1.ExecuteNonQuery() cmd1.Dispose() [/CODE] The table …

Software Development open-source vb.net
Member Avatar for Begginnerdev
0
123
Member Avatar for srinim84

Hi, i'm using vb.net 2005 and i'm using crystal report also.when i try to open the reports ,this error will be shown "[B]directory or file cannot be created[/B]". i can't find the exact solution. Please help me to find out the solution for this crystal report error

Software Development vb.net
Member Avatar for Begginnerdev
0
321
Member Avatar for MohEzzat

I ask for help if any one know how to filter words from text file. if the file contain(book,books,booking,..)I want the filter to retrieve only book and booking also if it contain(get and got)choose only the verb "get". any help Thanks.

Software Development java
Member Avatar for stultuske
0
192
Member Avatar for syd919

Hello people,I hope everyone is well. I am having problems with my connection string. It seems its not detected at all. I am designing a Silverligtht app with a Linq to SQL connection for the data. Here is my code.[CODE] ConnectionStringSettings settings = ConfigurationManager.ConnectionStrings["DataConnect"]; string connection = settings.ConnectionString; DataContext dataContext …

Software Development sql
Member Avatar for thines01
0
252
Member Avatar for jackbauer24

Here is my problem:- On my desktop, there is a folder called "Test." In Test, there is a folder called "toUse." In "toUse," there is a java source file called "Test" and three folders, namely "Print," "SwingFrame" and "TextFileWriter." The source file for "Test.":- [CODE]package Test.toUse; import Test.toUse.Print.Printer; public class …

Software Development java java-swing printer
Member Avatar for NormR1
0
110
Member Avatar for LearnVBnet

I can Insert table from Old_Table_Database to New_Table_Database with this code. [CODE] Dim cmd5 As New OleDbCommand Dim cmd6 As New OleDbCommand cmd6 = New OleDbCommand("select * from " & "Product ", OldConn) Dim dr6 As OleDbDataReader dr6 = cmd6.ExecuteReader For j As Integer = 0 To dr6.FieldCount - 1 …

Software Development vb.net
Member Avatar for LearnVBnet
0
140
Member Avatar for LearnVBnet

[CODE] Dim NewConn As New OleDbConnection(strConn) NewConn.Open() Dim dlt1 As New OleDbCommand("DELETE * FROM Invoice ", NewConn) Dim dlt2 As New OleDbCommand("DELETE * FROM InvoiceDetail", NewConn) Dim dlt3 As New OleDbCommand("DELETE * FROM Receiver ", NewConn) Dim dlt4 As New OleDbCommand("DELETE * FROM ReceiverDetail", NewConn) dlt1.ExecuteNonQuery() dlt2.ExecuteNonQuery() dlt3.ExecuteNonQuery() dlt4.ExecuteNonQuery()[/CODE] How …

Software Development vb.net
Member Avatar for LearnVBnet
0
220
Member Avatar for google2011

[URL="http://www.herongyang.com/C-Sharp/"]C# Tutorials[/URL] This free book is a collection of notes and sample codes written by the author while he was learning Flash. Topics include C#, C Sharp, data types, float, expression, literal, loop, .NET, performance Table of Contents About This Book Introduction of C# (C Sharp) What Is C#? Installing …

Member Avatar for thines01
0
381
Member Avatar for woodson2

I'm trying to enter a block of text into an existing configuration file for OpenLDAP so the setup can be fully scripted. The text below is what I want to enter into slapd.conf and this all works well and good, however as you probably know this will place the text …

Software Development shell-scripting
Member Avatar for L7Sqr
0
102
Member Avatar for 4evrmrepylrning

I have been asked to look into getting a web framework up and running here at work. I come from a PHP background and have developed a few tools various people use around the office. I have recently become part of a small team of developers who only use Python, …

Software Development python python-django
0
115
Member Avatar for tpoole00

Ok, so basically the program runs, compiles and everything. But, after you run it, u will see the problem. When i run it it I cannot display the original entered information. I am new to this and I have tried a few things, but everything I try seems to mess …

Software Development c++
Member Avatar for Banfa
0
127
Member Avatar for _Nestor

Hi I'm wondering how you would write a function that could iterate through any stl container so it didn't matter what you were using e.g list, vector, deque and found an item that matched in that list so the function declaration would look something like this [CODE] template <class TypeList, …

Software Development c++
Member Avatar for _Nestor
0
258
Member Avatar for myk45

Hello. i was trying to solve this problem: [B]You’re given an array containing both positive and negative integers and required to find the subarray with the largest sum (O(N)). Write a routine in C for the above. [/B] i was able to find the largest sum. However,i had little trouble …

Software Development c
Member Avatar for VIKAS REDDY
0
726
Member Avatar for XTMercenary

I'm creating a tv schedule for a hotel and need to be able to fill the schedule with particular programs that take up various amounts of time each slot is 30 mins so a film with a 1hr 30 min run time would take up 3 slots but i'm not …

Software Development java
Member Avatar for XTMercenary
0
184
Member Avatar for triumphost

I'll get straight to the point as it's very difficult to do since I haven't found the answer on google or anywhere else. [CODE] Class ArrayOfTypes { vector<MyType> P; &MyType operator [](int I) = (MyType& PT) { if (P[I] != PT) { P[I] = PT; } return P[I]; } } …

Software Development c++
Member Avatar for Banfa
0
261
Member Avatar for rereni

Hello Programmers, is it possible to create new 1D array from 2D array? for example from this array String[][] ArrVal= { {"rec", "02"}, {"proc", "03"}, {"hscode", "10"}, {"sitc", "21"}}; take first column of ArrVal[i][0] and make this as new array with ArrVal[i][1] as value of new array, for example : …

Software Development java
Member Avatar for JamesCherrill
0
173
Member Avatar for Hypnos_16

I have an assignment question that asks us, given a test phrase, [CODE]// the first comment public class Test { // another comment public static void main( String[] args ) { // the main method String slashes = "//"; // ignore // in quotes System.out.println( slashes + " hi " …

Software Development java
Member Avatar for stultuske
0
208
Member Avatar for rammohanrao

Hi, i am working on liferay , i want to develop a sms application in liferay, if you have any code can you send me to <EMAIL SNIPPED> Thanks.

Software Development java
Member Avatar for stultuske
0
126
Member Avatar for senbaris

Hi, I'm not exactly sure if this is the correct question to be asked but I will tell you what I am attempting. I have an ASCII txt file with data in it. It does not have headers. I am looking for a way to convert this data into an …

Software Development file-system vb.net xml
Member Avatar for senbaris
0
1K
Member Avatar for Matjame

Hi team. I am battling to convert a string to date. I currently manually pass a string date to my program(cobdate = string.replace(sys.argv[1], '-', '')) which will be used by a lot of things. The date will be in this format. "2012-02-02". I need to convert this to a proper …

Software Development python
Member Avatar for Matjame
0
754
Member Avatar for randrum1707

Hello, I'm trying to overload an indexing operator and I'm running into issues with a vector (3 dimensions). Here is what it should do: [CODE]operator[] The indexing operator should be overloaded to provide accessor methods for the class. Subscript 0 should provide access to the x component value of the …

Software Development c++
Member Avatar for triumphost
0
313
Member Avatar for livinFuture

Hello all. I am having difficulty getting my program to output data correctly. I have a class member function that is supposed to return the value of a specific member of a struct element based on identification with its (the struct element's) other members. [code] float MatrixType::valueAt(int i, int j) …

Software Development c++
Member Avatar for livinFuture
0
203
Member Avatar for dhaval.2cool

Frnds i want to insert image into picture box using the file dialog and that image should get stored into a local folder..... But the problem is the image is not getting saved n the below line is throwing an exception. i want to also rename the image with my …

Software Development image vb.net
Member Avatar for dhaval.2cool
0
152
Member Avatar for moone009

What I am trying to do? update a database field with a richtextboxfield. Please help. I have tried using Dim range1 As New System.Windows.Documents.TextRange(RichTextBox1.Document.ContentStart, RichTextBox1.Document.ContentEnd) but this did not work for me either. [CODE] Dim cnn As SqlConnection Dim connectionString As String connectionString = "Integrated Security=SSPI;Initial Catalog=rploperations;Data Source=" & Environment.MachineName.ToString …

Software Development open-source vb.net
Member Avatar for M.Waqas Aslam
0
197
Member Avatar for sphe_g

Hi all I need help with connecting to and manipulating a microsoft access 2007 database using code in visual basic 2008 express edition. It's for a project I'm doing for University that's due on the 12th of October:S. Please help me out in whatever way you can - links to …

Software Development microsoft-access vb.net visual-basic
Member Avatar for lansky
0
1K
Member Avatar for WithnoMute

Hey, i am learning from Programming from the ground up. I am having a bit of trouble with the pushl and popl commands. I'm a newbie with ASM and really just starting out on it, i am on a x86-64 im presuming it will run the x86 32bit code. I …

Software Development assembly storage
Member Avatar for jmarbas
0
835

The End.