Its quite tricky, but try to post this question at likeplum. I always get good answers there to my computer/programming issues and questions. They have programmers online to help you now. You can get a great answer to your question so fast. https://www.likeplum.com/help/programming?aid=3321
That's better. Two problems. First, normal users can't write to the Localmachine registry hive. Writing this key is something you would do at install time, not run time. Second, whenever you read or write files, it is best practice to always build a fully qualified path to the file using a well known folder, like CommonAppData. Use Environment.GetFolderPath get the base folder path and the use Path.Combine to build your fully qualified file path from it. Like you already found, the base folder paths between Windows XP and 7 are different. They can even change between 32 and 64 bit versions of Windows.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak
Using DLL Export you can export your C/C++ variables and functions to make them available. However, you can not just export an entire class and use it in C#. The direct problem here is that you are accessing a member function (Test) without an instance of your test-class being created. Probably the best way to interface in a class based manner between C++ and C# is to use COM; that is, create a COM class in C++, export it, and then use the COM class in C#.
Yes, binary serialisation works differently and does not have the constructor/public property constraints of xml. There is information on MSDN but it's quite heavy going and the implications of what they're saying may not become apparent until you've made a few mistakes of your own. Serialization[^] Good luck, Alan.
Good follow-up.
I know the language. I've read a book. - _Madmatt "The OP herself was not sure about her question" "The OP is from India and I know what she meant." - Shameel
In your example, a Credit Card can be owned by one and only one person at a time, therefore a bridge table would not be required. A bridge table is required only in a many-to-many relationship.
I do something like this in one of my applications... There are several ways to go about this, but I do mine with a DataTemplateSelector. Basically, my content pane is just a ContentControl (Actually, I think I'm using a Label, but I forget why), with its content bound to the selected item in the tree. The DataTemplateSelector looks at the data object being displayed, and chooses which DataTemplate to use to display it (I have one for each type of item in the tree). The individual DataTemplates are just resources with standard names, so the selector code is just returning FindResource("DT_Something") as DataTemplate
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)
It sounds like the real test was to make a functional frame work within the alotted time and you missed it. A customer will often ask for things in a short amount of time it is up to you to make design decisions that allow you to get to your presentation and show your customers they made the right choise in hirering you. Give them something that works first, specially if the deadline is short. You can always add to the work later or if that is the last deadline, speak with them and point out issues that you have, with using a flat file for example and talk them into upgrading to a database server, at and addition charge (we don't work for free). Then set a deadline for that if they agree, one you are certain you can make. The first thing you must do with a customer is meet their expectations! Not yours. All the Best, Chris J. BTW - on a side note and as a general rule I have. I never allow for password retrieval, I have security conserns with that. I instead have the password reset using the original email and email confirmation. I would provide a user profile editor that will allow a logged in user to change thier password at any time. When they reset a randome one is set and email to the user when the system gets a confirmation from the user. Of course I explain my concerns to a customer in this issue and if they still want retrieval I will make it.
I can honestly say that you gave the most exact answer that I have ever received on any forum. Don't get me wrong. I usually find what I am looking for through a combination of various answers and google search, but you gave me EXACTLY what I was looking for. Thank you :) :) :)
The buttons that do stuff on the server should be server controls asp:Button. The buttons that do something only on the client should be <button>. Anything that needs to be reference by both, like the calculator readout should be server controls and your javascript functions can refer to them using document.getElementById('<%=yourControlName.ClientID %>').
bfis108137 wrote:
It works in ie8, opera, and chrome
It doesn't work properly in chrome. I just tried. The first calculation works, any subsequent one doesn't. I think your logic is flawed when you calculate, think about when you use a normal calculator. The result is put back into the first operand. if another digit is then pressed instead of an operation the operand is cleared and you start to loadup the new 1st operand.
Dave Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Console.WriteLine(111.GetType().ToString()) gives System.Int32 Pretty obvious, I'd say. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read formatted code with indentation, so please use PRE tags for code snippets.
I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).
Search for this line.... <td width="258"> <input name="txtDate" type="text" id="txtDate" readonly="readonly" width="20" value ="<?php print date('D, d M Y H:i:s T');?>"/> It has an additional < at the front of it.
don't delete your messages; it results in a messy forum. :|
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
Hi, webservices are base on SOAP. This protocol uses XML to exchange data. The message is saying that during the serialization of request/response the corresponding XML could not be created. Maybe you should post the client call and the corresponding service method? One of your objects you are passing could be the cause. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.
Hi, I think this has something to do with the arguments the method ExecuteOrder is expecting. Since the method needs an object from type "order" your client has to pass it. So Order is exposed. Also the ReturnedOrderInfo, Book and User classes should be exposed. These are not really the classes you have in your BooksBLL. The service does nothing else than mapping the XML to objects from the expected type. The client only has stubs that generate these XML. You will see that your Order-object at the client doesn't expose the methods you declared in the class on your server. Regards Sebastian
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.