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
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~3K People Reached
Interests
Surfing, Programming
Favorite Tags

17 Posted Topics

Member Avatar for coolbeanbob

I'm not an accountant myself, although I'm a programmer and both my parents are accountants, my father owning his own firm. I am yet to code any software that is related to any accounting processes but in the past me and dad have both spoken about ideas for software that …

Member Avatar for ORIGIN
0
354
Member Avatar for Kimpl

I've been working on compression and decompression between Java and C#, using deflate and inflate. Everything else I tried produced varying results which were never able to be compressed/decompressed flawlessly between Java and C#. I tested out using DeflateStream (C#) to compress data, and InflaterInputStream (Java) to decompress the data, …

Member Avatar for Kimpl
0
231
Member Avatar for babbu

To get the current time in formats you want, just use the following: [CODE] DateTime timeRightNow = DateTime.Now; string format1 = timeRightNow.ToString("dd/MM/yy"); string format2 = timeRightNow.ToString("MM/dd/yy"); Console.WriteLine(format1); Console.WriteLine(format2); [/CODE] The output will be this: [CODE] 01/11/10 11/11/10 [/CODE] Note: this is based on your local date being 1st November, 2010.

Member Avatar for Kimpl
0
87
Member Avatar for hurkagurk

No question is a stupid question ;] I think what you want to try is: [CODE] ... public void siblingIcon_Click(object sender, EventArgs e) { Form1 sibling = new Form1(); sibling.Show(); } [/CODE] Let me know how that goes.

Member Avatar for Kimpl
0
200
Member Avatar for Acidburn

Check out these links: [URL="http://www.johnkoerner.com/index.php?/archives/43-Creating-a-Plugin-Architecture-in-C.html"]http://www.johnkoerner.com/index.php?/archives/43-Creating-a-Plugin-Architecture-in-C.html[/URL] [URL="http://www.scratchprojects.com/2006/03/building_a_plugin_architecture_p01.php"]http://www.scratchprojects.com/2006/03/building_a_plugin_architecture_p01.php[/URL] [URL="http://www.codeproject.com/KB/cs/pluginsincsharp.aspx"]http://www.codeproject.com/KB/cs/pluginsincsharp.aspx[/URL] [URL="http://www.codeproject.com/KB/cs/ExtensionManagerLibrary.aspx"]http://www.codeproject.com/KB/cs/ExtensionManagerLibrary.aspx[/URL] [URL="http://www.c-sharpcorner.com/uploadfile/rmcochran/plug_in_architecture09092007111353am/plug_in_architecture.aspx"]http://www.c-sharpcorner.com/uploadfile/rmcochran/plug_in_architecture09092007111353am/plug_in_architecture.aspx[/URL]

Member Avatar for Momerath
0
104
Member Avatar for Kimpl

I'm currently working on a project, where my client is requesting to have an Alexa Toolbar-like feature, kind of like mimicking the features that the Alexa Toolbar has when running on firefox/internet explorer/chrome. So far, the only successful way to implement this has been installing Google Chrome Portable along with …

0
52
Member Avatar for LoLFactor

Generally you could just do: [CODE] List<object> anything = new List<object>(); [/CODE] The issue is you'd need to know what the values are, so that you could cast them as specific types when you need to: [CODE] string name = (string)anything[0]; [/CODE] Hope that helps.

Member Avatar for Momerath
0
218
Member Avatar for bnath001

Oracle should accept you using: [CODE] string mysql = "select 'cusip', 'price structure' from tableA"; [/CODE]

Member Avatar for Kimpl
0
114
Member Avatar for tet3828

When I was at the Hello World stage of coding C# I had no idea of how to create a class for each object, so just in case you struggle wiht the concept that agrothe has talked about above, I've written you a basic layout for the class you could …

Member Avatar for agrothe
0
131
Member Avatar for sulantha2007

All the help I can offer is that C# is powerful for network communication, threading and easy to use graphical user interfaces all together, but more than anything I'd just like to wish you luck, sounds like a great idea! Best of luck.

Member Avatar for swinefish
0
176
Member Avatar for aminit

You can set the variable for passing it into the first method, then use the ref keyword in the parameter field of the method to reference the parameter as the original variable, rather than creating a new copy. Here's an example: [CODE] string hh = "Bob"; Hello(hh); string x = …

Member Avatar for harrypalmerr
0
119
Member Avatar for Streamx1

I don't quite understand what you're saying, but if you want to make the program wait a few seconds, use the Thread.Sleep method: [CODE] System.Threading.Thread.Sleep(5000); // waits 5 seconds [/CODE]

Member Avatar for nick.crane
0
395
Member Avatar for hotdang

You can get a list of files in a directory by using the function Directory.GetFiles(); Here is an example that reads all the data from each file and stores it in the variable 'data'. [CODE] string directory = @"C:\"; foreach (string file in Directory.GetFiles(directory)) { string data = ""; using …

Member Avatar for hotdang
0
138
Member Avatar for vt2009

Please place your code inside code brackets so we can read the code properly. The best way to do what you're trying to do is with a 'using' statement: [CODE] public class SterlingDebug : ResponseTemplate { private StreamWriter writer; private int i = 0; public override void GotTick(Tick tick) { …

Member Avatar for Kimpl
0
130
Member Avatar for Jazerix

Here is a tutorial that I found helpfull for creating a custom button a while back. [URL="http://ondotnet.com/pub/a/dotnet/2002/03/18/customcontrols.html"]http://ondotnet.com/pub/a/dotnet/2002/03/18/customcontrols.html[/URL]

Member Avatar for Momerath
0
92
Member Avatar for SAINTJAB

To automate it, you could create a new file at a specified location, then write the converted data to the new file. [CODE] if (!File.Exists(@"C:\convertedFile.mp3")) { File.Create(@"C:\convertedFile.mp3"); } else { // File already exists, you have the option to delete this file and create the new converted file. (Uncomment next …

Member Avatar for Kimpl
0
103
Member Avatar for krosty4782

To enable right clicking on a Windows Form Control, you need to create a ContextMenuStrip then set that menu as the controls specific context menu. Here's some quick pictures to help out: [URL="http://tinypic.com/r/10cp9cm/7"]ConextMenuStrip in toolbar - http://tinypic.com/r/10cp9cm/7[/URL] [URL="http://tinypic.com/r/6xz3w6/7"]Setting the context menu in the listboxes properties area - http://tinypic.com/r/6xz3w6/7[/URL]

Member Avatar for Kimpl
0
125

The End.