43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Nevillelajru

hi i am looking for some code and step by step instructions for the c sharp encryption and decryption process. if anyone is willing to send me some instructions i would be grateful. thanks Neville

Software Development c c# c++
Member Avatar for Nevillelajru
0
331
Member Avatar for terexberd

Could you tell me why programmers use this.variable ex. (this.miles) in constructor, and what is the advantage of using it?

Software Development java
Member Avatar for jon.kiparsky
0
141
Member Avatar for newbie_in_c

Hello all, I've a small question. I wanna use a function void myfunction(int **array1, int **array2) where array1 and array2 shoud be [4][4]. I've added 2 arrays int myarray1[4][4], myarray2[4][4]; and called my function like this: myfunction(&myarray1[0], &myarray2[0]); I've got the following warning message : warning: passing argument 1 of …

Software Development c
Member Avatar for newbie_in_c
0
139
Member Avatar for orwell84

I am relatively new to perl, and I'm having a problem with loops. I'm trying to get a program for a simple number guessing game to repeat itself until you get the right number. Here is the code: [code] #!/usr/bin/perl -w $thinkingof = int(rand 10); print "Pick a number 0 …

Software Development perl
Member Avatar for mdawg252
0
839
Member Avatar for musikluver4

I have a JFrame with 2 JPanels...my problem When I attach one of the JPanels to the JScrollPane object, it encompasses the whole JFrame, instead of just the JPanel I said to attach to. The scrollBar goes all the way up to the top of the JPanel I don't want …

Software Development java java-swing
Member Avatar for musikluver4
0
752
Member Avatar for initialise

Hi there, I have searched for an answer to this problem but cannot find one even though there is probably a very simple solution. I would like to pass an int to a function in pthread_create. I can do that easily. The troublesome part is when I have to cast …

Software Development c++
Member Avatar for initialise
0
7K
Member Avatar for bhallarahul

[CODE] import java.sql.Statement; import java.sql.Connection; import java.sql.SQLException; import java.sql.DriverManager; import java.sql.ResultSet; class db { public static void main(String arg[]) { Statement statementObj=null; Connection connectionObj=null; try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); connectionObj=DriverManager.getConnection("jdbc:odbc:sensorData","",""); statementObj=connectionObj.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); System.out.println("do not worry ho ga yr ho ga"); statementObj.executeUpdate("INSERT INTO hardwareData (Time, Date, humidity, Temp, DiesalLevel) VALUES('1','12','3','s','a')"); connectionObj.close(); } catch(ClassNotFoundException …

Software Development java
Member Avatar for Ezzaral
0
312
Member Avatar for anders10

Hello! I have a minheap class that is implemented as a priorityqueue and it works fine as far as to the iterator that I have to implement as a innerclass. But I can't get it to work properly. Here is part of the code: public class MinHeap<E> extends AbstractQueue<E> implements …

Software Development java queue
Member Avatar for anders10
0
142
Member Avatar for v_janssens

Hi, I'm writing a program for structural engineers that consists of a number of inherited classes. Specifically, I have a main() file which includes a class [I]element[/I] which includes a class [I]node[/I] which includes a class [I]matrix[/I]. [I]element[/I] includes variables of type [I]matrix[/I] and [I]node[/I], and [I]node[/I] includes variables of …

Software Development c++ oop
Member Avatar for v_janssens
0
196
Member Avatar for @Kui

Hi. I'v created a program with a Ms SQL database, registration form and login form. Everything was working well so i detached the database and added it to my program as an existing item before so as to deploy the program. But now i recieve an error when i try …

Software Development vb.net
Member Avatar for @Kui
0
132
Member Avatar for swathys

hi, If found the [COLOR="Green"]DbaseLicenseKey = LicenseKey [/COLOR] match i want to write the value to registry but the problem is....i have no idea how to code at this part [COLOR="Green"]AxActiveLockBP.LicenseKey[/COLOR] as it gives the error message.... error message = 'LicenseKey' is not a member of 'Axactivelock1884.AxActiveLock'. Please help!!! [CODE] …

Software Development vb.net
Member Avatar for Nikon70
0
166
Member Avatar for rannamaa

Hello, i have a problem. [CODE] int index2 = 1; foreach(Circle circle in arrays) { if(index2 > 1 && index2 < 6) { Circle c1 = (Circle) arrays[index2 - 1]; Circle c2 = (Circle) arrays[index2 - 2]; Console.WriteLine("Radien pÃ¥ cirkel {0} är {1} och arean är {2}", index2, circle.getRadius(), circle.getArea()); …

Software Development
Member Avatar for rannamaa
0
206
Member Avatar for bunnyali2011

Hello who knows how to create a search box in Visual Basic? I want the search box based on streamreader. In proper terms, when I will input a text, it has to read on a text file in drice C. I know the streamreader code but don't know the code …

Software Development visual-basic
Member Avatar for Nick Evan
0
776
Member Avatar for mmartino

Hello, I am trying to write a templated linked list, and I am having some difficulties with the add() function. It seems like different behavior occurs depending on how I add to my list, but my two test cases don't seem that different to me. I'll post the list.h, and …

Software Development c++ linked-list
Member Avatar for Fbody
0
178
Member Avatar for ashrafu1

Hello every one am in real trouble now. i am in my 1st and last sem of my programing course. i need to write a program that can add delete display and update record. i got this program so far but the real prototype works fine for this program and …

Software Development c++ ios
Member Avatar for ashrafu1
0
184
Member Avatar for Dean_Grobler

Hi there, I understand that this question might be better off in "hardwareAndSoftware/LinuxAndUnix/LinuxApplicationsAndSoftware". But the truth is, that it takes for ever for someone to respond to posts there, because I don't think anybody visits that forum alot. Anyways, back to the point... I'm trying to install the Java 1.6 …

Software Development java oracle ubuntu
Member Avatar for mKorbel
0
261
Member Avatar for Climber Ty

So I am working on this XML project to create a small list of favorite DVDs, etc. Maybe I missed it (or that I may have not gotten this far in my reading) but in my DTD I want to restrict movie_review to only allow (G | PG | PG-13 …

Software Development xml
Member Avatar for Climber Ty
0
289
Member Avatar for tangentplane

Hi, I have been trying to use the following code: VendingDisplay.h: [CODE]#include <stdio.h> #include <string> #include <vector> #include <iostream> #include "VendingMachine.h" class VendingDisplay { VendingMachine vend; public: VendingDisplay(VendingMachine); VendingDisplay(); void DisplayMenu(); void GetUserInput(int); int respondToUserInput(int); void processOrder(int); int processCorrectCash(float); };[/CODE] VendingDisplay.cpp: [CODE]#include <vector> #include "VendingDisplay.h" #include "VendingMachine.h" #include "Cigarette.h" //#include …

Software Development c++
Member Avatar for thekashyap
1
4K
Member Avatar for KansaiRobot

Hello All. This is my first post. I would really appreciate if you can help me in a project I have to complete as soon as possible anyway, the thing is this: I have a bunch of numerical data in any format (say an excel page with 3D vectors, or …

Software Development c++
Member Avatar for KansaiRobot
0
192
Member Avatar for Shantanu88d

I am generating a text file on server. I want this file to be able to get downloaded by clients accessing the site. How can I do this ?

Software Development vb.net
Member Avatar for Shantanu88d
0
228
Member Avatar for virendra_sharma

Hi frnz , i need a C# code for to sorting text file , considering each row as one record and sort it according to that. e.g INPUT File my name is d my name is h i am a how are you what is your name OUTPUT File how …

Software Development
Member Avatar for ddanbe
0
101
Member Avatar for HelloMe

Hi everyone... I made a simple java game in Eclipse Helios ver. 3.6.1. Now i want to send that game to my sister as an Executable. Can someone please explain to me how i do it? Thank you very much...

Software Development java
Member Avatar for HelloMe
0
130
Member Avatar for jamshed ahmed

hellow and hi i want to create billing Recipt system but i got stuck i am confused that which control should i use? in which i can enter such as billing detail like ProductName,Total,Qty in sigle row and when i Press enter key in the end of row it should …

Software Development vb.net
Member Avatar for bLuEmEzzy
0
85
Member Avatar for swathys

hi, this is my code [COLOR="Red"] If dr(DbaseExpiryDate) > Format(Now, "M/dd/yyyy") Then[/COLOR] id i run this code it gives error with [COLOR="Red"]IndexOutOfRangeException was Unhandlled[/COLOR] this is the output of the date [COLOR="Red"]DbaseExpiryDate= 3/31/2011 now= 3/24/2011 [/COLOR] Please guide me....whats wrong even i have format the date it doesn't work at …

Software Development vb.net
Member Avatar for swathys
0
113
Member Avatar for penguino138

Hi. Im pretty new to java. First question: is javascript the same as java? I just want to make sure. So for my program. Since im a very basic beginner with some c++ experience i was hoping the forum could help. I want the user to input the deck name …

Software Development flash java
Member Avatar for penguino138
0
520
Member Avatar for ntrncx

hey again i do that problem from my book, worked but i am pretty sure is not the exhaustive technique that book is asking cause i didnt have success and was too fast. i tried a counter and do 64x64 loops or 4096 loops. so my question cause i couldnt …

Software Development c++
Member Avatar for template<>
0
207
Member Avatar for JamieC90

Hi all, I'm trying to write a program that holds student data in arraylists. I've managed to get all the adding, editing, deleting, displaying etc. working and now all I need to do is to make sure it saves on exit and loads on startup By following another tutorial, I …

Software Development java
Member Avatar for JamieC90
0
843
Member Avatar for figment56

Evening Everyone: I'm a bit of a newie with C++, and can't determine where to "declare" the functions in the following code. The compiler is stating I haven't defined the functions, but I've followed the instructors directions, and am now stuck. YAY! Thanks so much! #include <iostream> using namespace std; …

Software Development c++
Member Avatar for figment56
0
254
Member Avatar for Thropian

I was wondering if there is a way to make a transparent image for Tkinter. I was wanting to layer some images at random so I wouldn't know the background to use... at first I was using .GIF but I heard .PNG worked for transparency but I couldn't get .PNG …

Software Development image python tkinter
Member Avatar for Thropian
0
27K
Member Avatar for Thropian

I'm trying to make the old box game (if you are unfamiliar with it you can play it here: [url]http://www.tcastle.com/games/dots/dots.html[/url] I've seen it go by many different names though) and I was wondering if there was a way to get the pictures on buttons to change easily this is the …

Software Development image python tkinter
Member Avatar for Thropian
0
126
Member Avatar for Tamlyn

Hey guys Here's my code that is giving me a compiler error ? Why is my darling computer complaining so horribly about what I always do with cin and cout which is give them their respective accessories >> and << ? Here's the code for the main function: int main() …

Software Development c++ ios
Member Avatar for Tamlyn
0
253
Member Avatar for karthiyayiniyp

hi , i given code for password validation which retrieve the data from oracle table.... it was validating the first record alone... its not validating the next records... help me to validate ... ............... Option Explicit Dim ac As New ADODB.Connection Dim rs As New ADODB.Recordset Private Sub Command1_Click() If …

Software Development open-source oracle visual-basic
Member Avatar for debasisdas
0
561
Member Avatar for c_newbie1

[CODE]#include<stdio.h> #include<conio.h> int main() { int no; scanf("%d", &no); printf("%d %d", no,no++); getch();return 0; }[/CODE] the output of this program is '4 3'.. my questino is WHY? this program should first print the number which is entered.. and then when it prints the next number it should add 1 to …

Software Development c
Member Avatar for c_newbie1
0
137
Member Avatar for dospy

i know you cannot understand anything from the title and i am sorry but i don't know how to say it because it's a little complicated, so i won't give details of my problem, i hope you can understand from the code classB.h: [CODE] #ifndef CLASSB_H #define CLASSB_H class MainClass; …

Software Development c++
Member Avatar for dospy
0
181
Member Avatar for ThePythonNoob

I cant figure out how to make a input lock that if the user types in a letter and not a number between 0 and 1000 that it will keep on asking for a number until it gets it. Thanks for any help.

Software Development python
Member Avatar for bumsfeld
0
172
Member Avatar for gaurav_13191

Hi all, I am trying to code iterative implementation of bst. But I am encountering some problems as the stack is not updated as it should be. I am getting incorrect output.Some suggestions would be welcomed. [CODE] /*Operations to be performed:- ->Insertion ->Deletion ->Modification ->Search ->Minimum ->Maximum ->Predecessor ->Successor ->Inorder …

Software Development c
Member Avatar for gaurav_13191
0
187
Member Avatar for terexberd

Hey guys, i just wanted to know the codes for ArrayList class methods such as .clear() .add() .size() .isEmpty() etc... Your help will be appreciated!

Software Development java
Member Avatar for terexberd
0
213
Member Avatar for DarkLightning7

I can't find anything wrong with this document. I am using the xom libraries to parse this doc and they keep giving me an error. If someone could point out my errors that would be great. [CODE] <?xml version = "1.0" encoding = "UTF-8"?> <update version = "0" date = …

Software Development xml
Member Avatar for xml_looser
0
187
Member Avatar for harinath_2007

Hi... How can i develop a keylogger using java?? The problem is that we should only implement KeyListener interface to a window or frame.. but how can we make use of KeyListener event without windows of frame????

Software Development java
Member Avatar for Nick Evan
0
312
Member Avatar for chinee

trying to finish a code given by sir which was to add the preorder and post order in thr tree but i am getting an error with the preorder so need help. [CODE]public class BinaryTree { BinaryTree left; BinaryTree right; int value; public BinaryTree(int v){ value= v; } public void …

Software Development java
Member Avatar for chinee
0
152
Member Avatar for 303factory

Hi I'm having a real headache getting the selected row from my datagrid (only one row can be selected at a time). If I use the callback function from clicking on the data grid I can get the selected row no problem [CODE]dgStaffList_CellContentClick(object sender, DataGridViewCellEventArgs e) { int selectedRow = …

Software Development
Member Avatar for 303factory
0
185
Member Avatar for satti

iam using datagrid for data entry ,i have added ,add button remove button...but now i want an update button which can update the entries to database from data grid... here is code [CODE]Option Explicit ' couple'o global vars for size trackin' Dim MinHeight As Long Dim MinWidth As Long Private …

Software Development visual-basic
Member Avatar for AndreRet
0
200
Member Avatar for cayman

Hi Folks Is it possible to code a windows GUI application using C? (i.e. not C++) I haven't been able to find an answer on this, trawling thru googlized searches gives me tons of stuff for C++ and C# but not a word about if its even possible with plain …

Software Development c gui
Member Avatar for cayman
0
111
Member Avatar for CSWalls

[B]Hi guys!!... I am just looking for some startup guidance with a program I am supposed to write.. it goes like this ->[/B] A program which compares these three hashing methods: 1) open addressing with linear probing, 2) open addressing with quadratic probing, and 3) separate chaining. Input will come …

Software Development c++
Member Avatar for CSWalls
0
213
Member Avatar for Sc@recrow

Overview: I am trying to write a program that generates an array of randomly generated integers, and sorts them as the array is being generated. I've just used 7 elements in the following example, as it's easier to check for errors that way. Code: [CODE]#include <iostream> #include <ctime> #include <cstdlib> …

Software Development c++
Member Avatar for Sc@recrow
0
663
Member Avatar for jaai

i got a type mismatch run time error 13 in the following line of the load event of my form... pls help me [CODE] set rs=db.OpenRecordset("SELECT * FROM STOCK") [/CODE]

Software Development visual-basic
Member Avatar for AndreRet
0
130
Member Avatar for VasquezPL

Hi! I have big problem..I don't know how to read delimited file line by line. for example: [CODE] my csv file looks like this Michael;Jackson;Beat it; Jay;Kay;Supersonic;Cosmic Girl;Star Child; . . . etc . [/CODE] program has to: take name and put it into texbox1 take last name and put …

Software Development c#
Member Avatar for VasquezPL
0
212
Member Avatar for pseudorandom21

I'm just wondering how programmers rate their own skills, for instance I haven't been using C# very long, but I do feel I have a good grasp on the language. If I see on a job listing: "* 3+ years C# or Visual Basic.NET " What the heck is 3+ …

Software Development visual-basic
Member Avatar for abelLazm
0
131
Member Avatar for penguino138

Ok, so im trying to make my sister a flashcards program with dev c++. What you do is put in the deck name and how many cards you want. Then you go through for each card and put in what's on the front and back. I also want it so …

Software Development c c# c++ flash
Member Avatar for Stefano Mtangoo
0
1K
Member Avatar for salty11

In this program i am trying to find numbers that are multiples of 7,11, or 13, also if the total of the numbers is even or odd also the square root value of each number also if there are any prime numbers in the list [CODE]#include<iostream> #include<iomanip> #include<fstream> #include<cmath> #include<conio.h> …

Software Development c++ file-stream
Member Avatar for frogboy77
0
314

The End.