Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Python questions
View Java questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by Perry Bruins (Top 28 by date)
The code example is only there to show the USAGE of the RandomNumberGenerator class, which generates cryptograhically strong random numbers, what the OP asked for in my opinion.
By the way, this topix is already years old, so maybe your comment is of topic?
Can you try running your project in the debugger to see if any errors or exceptions are occurring. If that does not help, can you post a zip file of the solution including the project, so I can see if it occurs on my box too?
What do you mean by "remote connection"? Default WPF projects do not have any "remote" capabilities
Please show us the code, then we might be able to help
Je ne parle pas francais... Pleease state your question in english
Can you provide your wsdl file?
hmmm, let me look in my immense database of useful code and projects....... nope, nothing there!
Hmm I have seem to have deleted the first solution, but since it was not applicable anyway it is not a big problem. See for the other solution below...
huh? what program? what plan?
You could consider having one machine running IIS and host a WCF service on that machine that handles access to your access database. It is then not so hard to convert your client program to include a service reference to that WCF service and thus get its data remotely.
I am not sure if this answers your question though, I am not sure if you are asking how to setup the network with hardware or are seeking for an application architecture.
What kind of database? Oracle? Sql? mySQL? is it a WCF service? in short: there is not enough information to play with...
Please elaborate which presentation framework you are using... Is it winforms, WPF, Silverlight?
WPF and Silverlight allow you to template any control to your likings, whether being rectangulr, circular triangular or whatever form you wish...
In IIS, there is something like app pool recycling. It looks like your webservice application is being recycled after 4 hrs.
Anyway, I agree with the above comments; this is not something you want to do from a webservice.
I actually saw that, but then my program still needs to find out or decide in some way that I need to go to the VirtualStore location and not the Program Files location. I was looking for an alternative where the system can decide that for me and the whole process becomes transparent. I decided to go with the solution as describes in Solution 2. Thanks for your thoughts though! Grtz, Perry
I'll go with this one since I do not see any alternatives at this moment. THanks for all your thoughts though!
I actually tried this solution, but it still wants me to find out myself if "virtualization" is in effect or not, so this one does not work for me.
?? What kind of application is it? what does it do when it takes 30% of the time? do you have some code to look at?
I will have look at this one, if it works for my, I let you know and vote it 5. Thanks!
This is not what I want, I thought of this solution myself too. What I would like is that my program understands what to do when a situation like this arises, that is, work with UAC and deal with the situation at hand. Thanks for the suggestion though.
I have absolutely no clue what you want to achieve here, please rephrase your question!
Thanks man, but you did the hard work by giving all the examples and everything; the credit goes to you...
so... Why are you not sending the data on a separate thread. Then you do not need to worry about calling the AllowUIToUpdate() routine Implementing a wait routine the way you did it does not feel right to me; if you are on a separate thread you can just call Sleep() which will do the job for you.
Checkout this url http://msdn.microsoft.com/en-us/library/ms733749.aspx
What kind of string expressions do you need to evaluate?
I know the code is not flawless, I am just pondering and trying things before diving into real production code.
About your answer: I thought about using DataTriggers too, but I am not sure if this concept is available in Silverlight (I know it is in WPF though).
The thing is that I can see the code being executed and creating the control, but it is just not showing.
If you are curious about the rest of the code, I have placed the complete project here http://dl.dropbox.com/u/3693471/DataGridExample_customcontrol.rar
Thanks for your time and thoughts!
Here is the example. Note the usage of the template columns in XAML, specially the binding to the IsEnabled property of the controls. Hope this helps you enough.
I do not seem to be able to attach the solution zip, here is a public download link to it. Hope this helps!
Hi Arun India,
well, what happens is that during binding of your datasource, for each row, the template definition of the column is used to create the control that shows your data for each column. At that time, it will also use the binding of the readonly flag. I have no example handy right now, but if you really need it, I can try to put up one during the weekend.
Hi Arun India,
The datagrid builds the row based upon the control definition used for that column. Any binding to the template for that control will be applied for each row.
So, you must use the template form of the column definition in order to be able to specifiy which control you will be using. Part of that template will then be also the binding to your readonly property.
Last Updated 1 Jan 1900
All Rights Reserved.