Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #2K
~11.7K People Reached

23 Posted Topics

Member Avatar for kimbokasteniv

I am using the openssl seal and open functions to store some encrypted data for later retrieval. After the data is sealed, I store the envelope and envelope key on the server along with the public and encrypted private key. Later, a user will enter the password which decrypts the …

0
322
Member Avatar for kimbokasteniv

So this is my first attempt at a GUI in swing, and so far things seem to have been going somewhat smoothly. However I am un-able to update a JList named objectsL. I imagine this is because I have already added it to a panel? So, now Im am very …

Member Avatar for JamesCherrill
0
7K
Member Avatar for kimbokasteniv

I am attempting to the compile the source at this [page](http://sourceforge.net/projects/sserver/files/). After resolving the dependencies, I am able to configure successfully, however make does not execute without errors. I was under the impression that a successful configure was meant to ensure a successful make, but since this does not seem …

Member Avatar for rubberman
0
219
Member Avatar for kimbokasteniv

What I am trying to do is the following: [CODE] ReceiptBag zero("zero"); ReceiptBag one("one"); ReceiptBag bags[2]; bags = &zero; (bags+1) = &one;[/CODE] Of course that is not valid code. My goal is to be able to reference the same zero or one object by using its variable name or by …

Member Avatar for kimbokasteniv
0
299
Member Avatar for johnt68

Well what you have looks fine, I just don't see any code which would take the information you got from the database and make it visible to the user... at least not in your btnGetAScheduledEvent_Click method. Once you call the GetEventByID method of currentEvent, currentEvent should have data in its …

Member Avatar for johnt68
0
149
Member Avatar for g2gayan

You can read a file with code that looks like this: [CODE] String infile1 = @"c:\ipAddresses.txt"; StringBuilder currentWords = new StringBuilder(); StreamReader sr = new StreamReader(infile1); try //read the file into lines of data { do { currentWords.AppendLine(sr.ReadLine()); } while (sr.Peek() != -1); } catch { MessageBox.Show("File [" + infile1 …

Member Avatar for abelLazm
0
363
Member Avatar for shyla

The user does not need to enter data. But you will have to create 4 Book objects through code. These 4 book objects will test your Book class. Otherwise, you are not quite on the right track. It seems you don't quite understand exceptions. You can go ahead and delete …

Member Avatar for kimbokasteniv
0
591
Member Avatar for CrazyProgrammer

If all you are really trying to do is replicate the directory structure of the release folder to some specified directory, that can definitely be done. Never done it in c#, but it looks like the File class has functions which will solve most of your problems: [URL="http://msdn.microsoft.com/en-us/library/system.io.file.aspx"]http://msdn.microsoft.com/en-us/library/system.io.file.aspx[/URL]

Member Avatar for kimbokasteniv
0
180
Member Avatar for johnt68

Your form class should look more like this: [CODE]using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { ScheduledEvent currentEvent; public Form1() { InitializeComponent(); //currentEvent is going to be our scheduledEvent object which will …

Member Avatar for johnt68
0
580
Member Avatar for SoftwareGuy

[CODE]public partial class Form1 : Form { public Form1() { InitializeComponent(); Child c = new Child(); c.MyEventHappened += new Child.MyEvent(c_MyEventHappened); } void c_MyEventHappened(int i) { textBox1.Text = "My event happened"; } } class Child { public delegate void MyEvent(int i); public event MyEvent MyEventHappened; public Child() { } public void …

Member Avatar for SoftwareGuy
0
234
Member Avatar for kimbokasteniv

What I would like to do is get an integer index of a TextPointer, as if the flowDocument was just a normal string. So basically I want to replicate the indexOf method of String, but for a flowDocument instead. I currently have this partially working solution: [CODE]private int GetIntFromPointer(TextPointer mark, …

Member Avatar for abelLazm
0
253
Member Avatar for kimbokasteniv

All I am really trying to do is create a textBox where non-contiguous segments of text can be highlighted at any given time. From the experimenting I have done, it would appear that the System.Windows.Controls.RichTextBox is a good fit for this when customized slightly. Extending RichTextBox and getting multiple pieces …

Member Avatar for kimbokasteniv
0
264
Member Avatar for kimbokasteniv

So I am writing a voice activated recording program, and one of the things I would like it to do is plot the current and past volume level on a JPanel. Write now I am simply reading one byte from the audio buffer, converting it to an int, taking its …

Member Avatar for kimbokasteniv
0
215
Member Avatar for kimbokasteniv

When is it more efficient to store the value of a calculation than perform that calculation 2 or more times? I have always been under the impression that performing a simple arithmetic calculation two or three times is faster than instantiating a variable to hold the value of the calculation. …

Member Avatar for kimbokasteniv
0
106
Member Avatar for kimbokasteniv

So I have a couple pieces of hardware which I don't need anymore. -Onkyo TX-8511(B) receiver -Sony CDP-CX355 -Creative L3500 speakers -HP deskjet 930c -HP Officejet 5510 -Nostromo n50 speedpad (PC) -Logitech MOMO force steering wheel & pedals (PC) -Lenmar Camera tripod -Sony 1Gb memory stick duo w/ memory stick …

0
77
Member Avatar for kimbokasteniv

The only experience I have in programming is with Java, and I am somewhat experienced in that. However, I have only just touched the surface of javascript by implementing google maps into a page of mine. My question is in regards to what I should keep in mind when creating …

Member Avatar for kimbokasteniv
0
138
Member Avatar for sparksterz

Hmmm, my guess would be that you either pass s as another parameter or instantiate s outside of the method. If you choose the latter you will have to reset s once length = 0. That's my guess anyway, hope it helps.

Member Avatar for jwenting
0
146
Member Avatar for kimbokasteniv

A friend of mine and I are taking an external computer science test. While studying the review it has become apparent that some of the syntax presented is quite unfamiliar. Here are a few examples: [INLINECODE]Stack<Integer> s = new Stack<Integer>();[/INLINECODE] For this line of code what exactly is the purpose …

Member Avatar for jwenting
0
132
Member Avatar for kimbokasteniv

I was going through the questions in my study guide for computer science, and I noticed a few blocks of code that contained syntax that I had never used before. My first question is on the ^ operator. What exactly does this do? My second questions is on the use …

Member Avatar for kimbokasteniv
0
136
Member Avatar for javabuddy

As for learning swing, try this page: [URL]http://java.sun.com/docs/books/tutorial/uiswing/TOC.html[/URL]

Member Avatar for kimbokasteniv
0
83
Member Avatar for kimbokasteniv

I've never actually ran a CLI based program outside of bluej. And after exporting one of my programs to a jar, I noticed I was not able to get any results when double clicking the jar. So, I'm guessing CLI based programs are run by a different method, or require …

Member Avatar for Colin Mac
0
115
Member Avatar for Big John

I think you may be best off using KeyboardReader to take input. And you definitely have to use Ancient Dragon's suggestion for the bubble sort.

Member Avatar for kimbokasteniv
0
309
Member Avatar for lamees

Yeah the File Class should have all the methods that you would need. [URL]http://java.sun.com/j2se/1.3/docs/api/java/io/File.html[/URL]

Member Avatar for kimbokasteniv
0
105

The End.