108 Posted Topics
Re: Are you wanting to store it as <somesetting>12</somesetting> or <somesetting>1100</somesetting> ? What I'm asking is, by binary data, are you wanting to write is [b]as[/b] binary, or just write it, or write it using something like a binarywriter? If I figure that out, I bet I could help you ;) | |
Re: Request.ServerVariables["REMOTE_ADDR"].ToString() | |
This was orginally posted by ShadowBoxer: Because of some suggestions, I'm going to try to gather some good programming resources in this thread. If you know any good websites, either post them here, or PM me and I'll add them to this post. [b] Tutorials, Books, Utils, Misc[/b] [list] [*] … | |
Re: Read this link... [url]http://www.daniweb.com/tutorials/tutorial19933.html[/url] | |
Re: Sometimes, [b]sometimes[/b], companies just rename files. So, it might just be finding the correct file that the .exe uses. Search throughout the application folder, and try to find anything resembling the songs, or file store for that program. Then just try playing it. I've run accross quite a few programs … | |
Re: You posted this at devshed too :P What exactly are you wanting to do. Because it vastly depends on what your end goal is, as to determine the best plan of attack. | |
Re: Search the SDK Documentation for XmlDocument class and for Application Configuration and XmlReader(or Writer) you'll find tons of examples and tutorials ;) | |
Re: Since you know java, I'd find a program that is made in java that you'd like to practice reverse engineering on. Personally, I think it's easiest to practice on programs that you've made because you know what's going on, then when you get better you can move on to other … | |
Re: In the click events of your menu items you just need to call the undo/redo methods of the RichTextBox or TextBox you have on your form....You can also check to see if it's possible to undo or redo in the popup event of your menuitem's parent For example, if I … | |
Re: I've never used that namespace but my guess would be there is either some sort of property in that namespace that can tell you, or maybe one of the Application or Environment classes. You might also have to fire the event yourself. I'm not sure. You just need to go … | |
Re: You don't install the webservice. You just use it in your application. A webservice just takes input and returns a result....it's not something you have to install. You will, however, have to create the webservice on the actual webserver you use. But that won't have the client application You can … | |
Re: You can use it without writing it back to storage. Just look into the XmlReader and XmlDocument classes. Just don't save it back to the hdd. | |
Re: It's the exact same as if you were doing it on a desktop application. ASP.NET doesn't change anything. | |
Re: [QUOTE=jackster]how could u turna string straight to a dataaset[/QUOTE] I recently wrote a program that did exactly that. It imported a .csv file into a dataset then exported all the data to a SQL Server 2000 DB. I would give you the source, except there is a lot happening in … | |
Re: I've used #Develop and VS.NET 2003. And there is a world of difference! #Develop is good if you're doing simple tasks, and not in a work environment. If you are at all concerned with scheduels and the like, use VS.NET. I know it's not free or open source, but it's … | |
Re: C# is my favorite, it's got a nice clean syntax. Easy to learn, easy to implement. VB (in any form) makes me shudder. C++ managed...why(you could just use C# :D )?! That's my oppinion. | |
Re: To print to an actual document you're going to have to use a PrintDocument object, and override the PRINT event. Keep in mind though, that printing to a printer is very tricky at times, it's just like drawing with the 2D API. It's not like writing text to the screen, … | |
Re: Just because it tells you there's an error doesn't mean your using try/catch block correctly. It will tell you there is an error even if you have [b]any[/b] try/catch blocks. You need to try to [b]handle[/b] the error in the try catch block. From what you described, you need to … | |
Re: You can't just reference the particular cell in DataRow[DataColumn] = [some var here] form? | |
Re: Please use the code blocks next time :) Option Strict On Public Class videoBonanzaSaleForm Inherits System.Windows.Forms.Form ' Declare Constants Const DVD_PRICE_Decimal As Decimal = 2.5D Const NEW_RELEASE_DVD_Decimal As Decimal = 3D Const VHS_PRICE_Decimal As Decimal = 1.8D Const NEW_RELEASE_VHS_Decimal As Decimal = 2D Const DISCOUNT_RATE_Decimal As Decimal = 0.1D ' … | |
Re: There are several ways to do that, I would go about it this way: [code] // the encrypt button event handler encrypt_Click(object sender, EventArgs e) { // assuming you've named the text box for the key txtKey and the // combo box for the encryption type cboEnc do the following … | |
Re: Maybe you're using the wrong encoding? (i.e. ASCII or Unicode. I'd try using unicode, see if that helps) | |
Re: I know this thread has been marked solved, but for anyone else wondering the same thing; you could also use the == operator. It's been overloaded in C#, so it works just fine ;) | |
Re: an awesome site for learning perl is [url]http://oreilly.codecastle.com/[/url] Now for C++ over Perl....That's tough. I agree that C++ is more useful (though if you are planning on working *nix environments perl might be a tad more useful). I also agree that C++ teachs an awesome base for syntax, many other … | |
Re: Hmm, I can't see his sites, so i have no say on the matter. But from what i've seen, I think Tekmaven was just trying to help, not be mean. Just what i saw :P | |
Re: It looks to me like you were trying to make a statement and were proven wrong :D | |
| |
Re: So long as you have an instance of the second internal frame in the class with the listeners it shouldn't be that hard. If worste comes to worste make the instance of the second internal frame static. Also could you post some of your code, or explain why you're having … | |
Re: If you're having trouble try reading in the integers into an array. Or you could turn the string into an array with the CopyTo() method or ToArray() methods. | |
Re: Umm...what are you tryng to do? To use an array (for example and array of int's) you just do this int[] dieSides = new int[6]; dieSides[0] = 1; dieSides[1] = 2; etc.. | |
Re: What do you want to know about it? If you use C#.NET it's like Java. If you use C++.NET it's like C++. If you use VB.NET it's like VB. If you use J++ or J#.net it's like java (1.1). If you use Perl.NET it's like perl. If you use Python.NET … | |
Re: No it's not. The closest thing you'll be able to do is to use a HashMap. Which is a list of key/value pairs. The string would be the key, and the object would be the value. [code] public class HashTest { private HashMap objList; private Object obj; private String objName; … | |
Re: Could you give us the code example, that might help us answer you question faster. Thanks :) | |
Re: go to [url]www.seclude.org[/url] it's an entire messaging system, like aim or msn or whatnot. It's written in Java, and it's fully open source and free to download. It also implements some very advanced encryption techniques. It's quite possibly the safest way to talk over the internet. Download it and see … | |
Re: have you tried something like System.exec("fileName.exe"); Of course, from an applet you couldn't do this unless you were granted full permissions in security. | |
Re: [url]http://java.sun.com/[/url] If you think I'm being stupid, just search there. I swear they have better tutorials there than anywhere else on the web. | |
Re: // import java.io package and utility packages import java.io.*; import java.util.*; class Stopwatch{ //declared outside of all methods private long startTime; public void start() { GregorianCalendar now = new GregorianCalendar(); startTime = now.getTimeInMillis(); } public void showElapsedTime() { GregorianCalendar now = new GregorianCalendar(); long currTime = now.getTimeInMillis(); long difference = … | |
Re: My guess is that it's the cache. That happens to me too only when I'm developing in ASP.NET my computer caches the page, so I have to hit refresh to see the updated page. Just give it an hour or so and you sohuld be fine. I think you can … | |
Re: Ok, well I'm assuming you know you're running your scripts on a .NET enabled server. Also, I'm assuming you're using your WebForm1.aspx.vb as your code behind page (which is loaded at the top of the *.aspx page. If this isn't the case, take off the .vb I.e. don't type in … | |
Re: Yeah, I think it depends on which peice you're wanting to talk to. | |
Re: right click on the .cpp file in the solution menu, then click remove from project or delete. | |
Re: Dude, put your code inside the code tags. And also, you can check in here for the modified code, no one is going to e-mail it to you. That's just rude of you to ask that. | |
Re: Here's the modified code [code] import java.io.*; public class Quiz { public static void main(String args[]) { int correctCounter; InputStreamReader reader; BufferedReader buffer; keyboard = new BufferedReader (new InputStreamReader (System.in)); } String seekResponse; System.out.println("Welcome to Hoffman School .. ") { // choose the subject System.out.println("enter h for humanities, e for … | |
Re: [code] DataTable dt = dataGrid.Table["People"]; dt.Rows[4]["Colum 4"].Text = "BLAH!"; [/code] That is asuming you have a datagrid with a table named "People" and in that table you have a column named "Column 4". That would change the text in that particular cell. (Row 4, Column 4) | |
Re: You need to add it to your system variables. It depends on what OS you're running as to how to do this. Or you could just type in the full path name like: C:\Program Files\Sun\JavaSDK\bin\javac.exe program.java C:\Program Files\Sun|JavaSDK\bin\java.exe program Of course, your's is probably different. But youshould get the idea. | |
Re: rickste_r, Don't give out homework for free! They're never going to learn anything if you do it for them. There is nothing wrong with helping them, but DON'T do it for them! And also, use the code tags around your code please Thank you. | |
Re: A string tokenizer will separate that long string in an array of small strings. I.e. If you had the string "My@Name@Is@bobby@!" (that's not my name btw ;) ) and you set up a string tokenizer to deliminate by @ you'd end up with an array of 5 elements. "My","Name","is","bobby","!" Then … | |
Re: I would try not to use ToString() instead used: [code] dataTbl.Rows[grdResults.SelectedIndex]["Boolean"].Checked == true [/code] More broken down it looks like: [code] DataRow dr = dataTbl.Rows[grdResults.SelectedIndex]; bool yesNo = dr["boolean"].Checked; // this assumes that "boolean" is the name of the column if(yesNo) doStuff(); else doOtherSTuff(); [/code] Hope this helps, haven't tried … | |
Re: Make MasterMind. Or choose a simple board game like Othelo. That should get you thinking. | |
Ok, this is an extremely stupid question, and I feel retarded for asking, considering how much I've been studying Java. But anyways, here goes. Let's pretend I've created three classes, Class A, Class B, and Class C. Now in A I create an instance of Class B, let's call it … |
The End.