836 Posted Topics
Re: If you use streams with serialize and deserialize you can read and write them | |
Re: Well normally you would do this by rather than using an array you would have an array of objects where on getting the value you retrieves the current value. | |
Re: Why doesnt it work? Remember that "username" will be case sensitive. | |
Re: I guess you havent checked the length of the entered text? | |
Re: As you say, a lot of it is dependant on the app. If you have a huge system with modules, and reporting, and options, and potentially even client specific based chunks, and all that.. Id probably split the classes like you outlined above if not more so.. However, for general … | |
Re: I dont believe you can retrieve deligates assigned to an event, however, i would have thoguht you could cheat! And make an anonymous method that would work something like: [code]RowHeaderMenu.MenuItems.Add(((ToolStripMenuItem)menuitem).Name, delegate(object ssender, EventArgs se) { ((ToolStripMenuItem)menuitem)..PerformClick(); }); [/code] | |
Re: Sort of, but that sounds incredibly virus like. | |
Re: Firstly I think you need to look at why you dont want it to be data bound - why you cant use a simple query to return the unique values you need in that list and bind it.. So, *why* not? | |
Re: Probably because you didnt tell it to update the original only the copy in memory [url]http://msdn.microsoft.com/en-us/library/xzb1zw3x(VS.80).aspx[/url] | |
Re: You overwrite D1 with datasource, therefore it has no table name. | |
Re: Use grep and look you'll find somewhere in one of the files the paths have been embedded | |
Re: Why not be more helpful and give an example of your XML as well as your failing code. | |
Re: if you think of a normal class, you have say a form, you can add to it. You can make it your own, you can extend it.. A sealed class you cant, its as it is, it cannot be tampered with. To make it sealed, you simply add the word … | |
Re: Services do not run in the same session as a user, and should not be user specific. If you need it to run as a specific user then they need to enter their details in the service credentials so it runs as them, however, the user session when they log … | |
Re: Your question is unclear because you have used lots of caps and no punctuation, and barely described the issue. However.. I believe most of the code you posted is unnecessary, bar the "newuser1" function But, Im guessing the main part is you need to check your seek worked, and th … | |
Re: So you needed to post another answer to a nearly 11 month old thread that was marked answered? Please use code tags, as well as explaination dont just throw code. | |
Re: No they are all "methods" the only difference is if you dont want to return anything you say it returns "void" eg nothing | |
Re: You could [DllImport("advapi32.dll", EntryPoint="RegEnumKeyEx")] public static extern int RegEnumKeyExA(int hKey, int dwIndex, string lpName, ref int lpcbName, int lpReserved, string lpClass, ref int lpcbClass, ref FILETIME lpftLastWriteTime) | |
Re: What was the errror? | |
Re: Sounds like its trying to say you cant remove either the first tab or have no tabs | |
Re: With what specifically? We dont do home work, you give us code and what the exact problem is, we'll then help you try to see how to fix it | |
Re: If you need something else to see them they have to be public. | |
Re: You have a few choices 1. Read the entire file in, and then write out the stuff you want 2. While reading through your file, output to a new file the stuff you want and move it. 3. Have a flag in your structure that says "ignore this line its … | |
Re: Not personally but I know people who have. | |
Re: Dont you need to set some more details about datatable before its usable? When you've created "B" and you debug it, what does it show you? | |
Re: Sure, define your own class descending from the original, and then you can a) allow the original to draw as was and draw over the top b) add properties and data of your own | |
Re: Then you need to reword your question properly as the answer given answered your original question. | |
Re: Make a new thread as the intiial post was answered and this is not your thread. Post with code tags so your code is readable. As well as explain the problem you're having. | |
Re: Please read the stickies, we wont do it for you. We will help you, but you'll need to come up with a bit more than can you help me. Ask specific questions. | |
Re: What are you connecting to? Does it need line feeds at the end of your Send before it will respond? | |
Re: I guess your google for soundex and c# wasnt working.. [url]http://www.csharphelp.com/archives2/archive394.html[/url] Which has an example of how to apply and create a soundex | |
Re: Then change it to [code]Match description = Regex.Match(textBox1.Text, @"<span id=(.*)style=display: none>(.*)</span>");[/code] That returns the 2 sections you're after | |
Re: So you put the " marks round the :1 and :2 (to avoid the faces) ? it should work - failing that, you should if nothing else get an error returned from the query | |
Re: OK, so you have working code. What stops it working automatically? Do you get an error? What values are you passing your method when you called it after the image load? What did debugging show you? | |
Re: The font size and type is user preference, Im not sure you can override it without making a fake console looking app. | |
Re: Is the web browser part of your app or a generic one installed on the PC? If its part of your app you stand a much better chance of doing it. | |
Re: OK, why cant the list box and grid be bound, you mention it gives problems - what were the problems? As for why your message box makes it work, thats hard to say, other than either something is happening time related, or, perhaps instead of selected value != null, you … | |
Re: Check the type wether its a file or a folder :) | |
Re: This is a nice and simple thing to do, What have you read and what problems are you having? (Please read the stickies) | |
Re: Start at the beginning Does your kernel have serial built in? If so, what serial ports does it find? and tell you are available? | |
Re: Case statements as a rule usually take the form test value is x if test is 1 do this and end if test is do this and end if test isdo this and end othewise do the this and end end test. rest of code.. Your test there is asking … | |
Re: Right click references, select the DLLs you want either from the predone list or your own. | |
Re: Then use a query to join the 2 tables you want.. and display the data | |
Re: How far have you got, do you have the 2 boxes and a button yet? Why would you use javascript as the whole next page and password part would be open for someone to either just bypass it or decrypt it and use your page | |
Re: What control currently has focus? Sometimes a control with focus can prevent some of these things working | |
Re: OK but if you had [code] class MyClass { private int myval =0; public MyClass (int value) { myval=value; } public int MyValue { return myval; } } [/code] You would call this in your inherited with [code] public MyNewClass : MyClass { public int MyNewValue : base MyValue(1) { … |
The End.