Using the solution provided can (although unlikely) hang the program due to an infinite loop. Random (0-10) could loop a million times before returning a particular number, say 9 for example.
I think it would be better to fill a list with 1-10 and then randomly swap 2 elements N times. (Like...
Why don't you want to create a picklist with all of the available states?
It is the best solution.
You could have some javascript to enable / disable the picklist when the State / Province field changes.
I'm not a CRM 4.0 Technical Consultant, but I know that what you've explained can be done fairly easily.
Phone calls, emails, and faxes, (Activities) can all be converted into Cases using a Workflow or a Plugin.
Most of the time Workflows are easier - as they can be done through the...
Not sure if you still need an answer to this.
There is a data import tool in the Customisations area of CRM.
You can export data to Excel, it will include the id column but it may be hidden. Unhide and move the column so that it is the first column of data, and rename it to [entity name]id...
In your method you are recursively calling yourself which is fine but you need to break out after the recursive call. Otherwise after the recursion the execution of the method will continue where it left off.
try
{
RegistryKey hkSoftware = hkcu.OpenSubKey("Software", true)...
You'll probably get a better response in the ASP .NET forum, but anyhow:
You can disable the links but that wouldn't stop people that are not logged in from being able to type in the URL manually. If you don't like the 404 error page you can set up your own nice user-friendly error pages...
Not sure if I understand you correctly. Do you want the checkbox to be checked/unchecked when either of the Label controls are clicked?
if yes you could do something like this:
Add an event handler method to handle when either label is clicked on, and check/uncheck the checkbox like so...
Yeah you're right - but the designer works for some other inherited controls.
Actually - it appears to be an issue with the container of the buttons; a FlowPanel (Modifiers = protected). If I move one of the buttons out of the FlowPanel the properties are no longer read-only in the designer.
I have BaseForm with 2 buttons on it, both have their Modifiers property set to protected.
I have ConnectionForm which inherits from BaseForm.
From the designer window on the ConnectionForm, I can't change any of the inherited button's properties.
Is this right? I thought 'protected' means I...
Fixed it!
My project (A) had a reference to another assembly (B) and they both referenced a third assembly (C).
The problem was that (B) was referencing an old version of (C) that was strongly signed.
Solution:
Opened project (B) and did the following:
1. Set reference to (C) to Copy Local =...
I have a click-once deployment win forms project that cannot build successfully because of this error:
Example.dll must be strong signed in order to be marked as a prerequisite.
I don't want to strong sign the Example.dll.
I have gone into 'Project Properties > Publish > Application Files'...
Why don't you want to use DATEADD()?
If it is because field1 is not a datetime column you could cast it.
WHERE CAST(field1 AS DATETIME) >= DATEADD(d, -365, NOW())
True, but as much as I would like to spend a good amount of time on it and write it all myself properly, and I really would like that! This is something that has to be up and running by the end of, erm, Monday :(
It's an internal program so I think I'll give them the dynamic data app. which is...
Actually it is supposed to be quite customisable and still keeps the GUI / business layer / back-end completely separate. I think it's my lack of ASP .Net knowledge in general that is causing me problems.
I've found a code example of a dynamic data site that has been modified to uses stored...
Thanks.
Do you know how to set the Client list to load SELECT * FROM Client WHERE EmployeeID IS NOT NULL instead of SELECT * FROM Client in a dynamic data app?
I have just created a Dynamic Data Entities web-site on a SQL database, added the ADO .Net Entities and dragged my tables onto the designer.
I've now run it to see what it's like and it works, but it is very very slow.
The tables are indexed, and running selects from SQL get results back in...
I have an SSIS package that takes in a flat file (csv) and maps the columns of the flat file to the columns in a table. I have an extra column in the table that I want to map to a literal value.
Any ideas how to do this?
I have tried creating a variable, and entering a literal value - but it...
You need to look at the code, and decide where to enable/disable the text box.
Are you using Visual Studio? Step-through the code as it works now, and see when the text box is initialised, and when it is validated, and when the record is saved.
From there you can begin to decide where to add...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.