MSDN Magazine May 2002
View Complete Post
We have made some changes to this code to start capturing 1 new field of data and updating it as new records are added. But there is currently about 120,000 records more or less.. those records of course dont have the new field populated with anything..
We would like to run this logic that already in place and run it against the tables to update the fields 1 time. I think to make it easier, if it can be setup to expect the "valueTwo" variable, so that we can run it againt the individual codes instead of doing all the records at one time.. there are codes that only have a few records, so it would be best to test initially against the small code group.
strSqual = "insert into trans (trans_type_name, trans_date,sys_id,mod_user_id,show_ind, remoteCode, techName) values('" & valueTwo & "','" & TransDate & "',"&strSystemID&", 1,'T', '" & dbQuote(strUser) & "', '" & strTechName & "')"
'get the new transaction_id out for just inserted alarm
strSqual = "select max(transaction_id) as transaction_id from trans"
set rst = getStaticRecordSet(strSqual)
Creating and maintaining a unit test suite for legacy code can be a challenge. Pex automatically produces a small test suite with high code and assertion coverage.
MSDN Magazine December 2009
Developers have a number of tools at their disposal, but which of these components do you really need to complete your project? Each month we'll analyze the latest software and books to see if they merit inclusion in your toolbox.
MSDN Magazine January 2006
Starting in Visual Studio 2005, XML documentation support will become available in Visual Basic and C++ as it has been for C#. However, making full use of the many comment tags will take a little extra work In this article, the author shows how Visual Studio macros can be used to automate the creation of XML documentation and creates macros that write large sections of comments with just a keystroke.
MSDN Magazine July 2005
The next version of the Microsoft Windows operating system, code-named "Longhorn," marks a significant change not only in terms of how the operating system works, but also in the way in which applications are built. The Longhorn version of Windows includes a new storage system, natural search technology, and an increased emphasis on security and trustworthy computing. Here the author provides an overview of Longhorn, focusing on the build-once, deploy n-times application model. In addition, he discusses the new language, code-named "XAML," that's used to create UI elements, then presents some working samples.
MSDN Magazine January 2004
Code generation techniques using technologies such as XSLT are playing an increasingly important part in software projects as they support the development of a rapidly maintainable code base. This article discusses some of the benefits and possible applications of code generation.To demonstrate these techniques the author develops a Web Forms application that supports the maintenance of records in a SQL Server database, using the database's own metadata to drive the generation process. The SQL Server database schema is extracted using SQLXML 3.0 data access and processed through XSLT stylesheets that generate both a database access layer and a Web Forms user interface with query and update pages.
MSDN Magazine August 2003
MSDN Magazine May 2000
Is there a way to trigger a piece of code to execute at a certain time once a week?
I basically want my website to send out a reminder email every sunday. I have a function called SendReminder() and I would like to know if it is posible for it to run by itself because at the minute I have to press a button to run it.
Hi all just am getting this error with KernelBase.dll, what's happening at my application end is that I am using .NET Framework to determine if network connectivity is available, raise an event from underlying dll to inform application when network connectivity
is established, or network connectivity is unavailable. Nothing really special here just using standard stuff out of .Net framework here. Have seen similar incidents with
KERNELBASE.dll reported, but no one is really giving out any info on what exception 0xe0434f4d is a code for. Knowing what the execption would be, would allow me to find a quick workaround to the problem. BizTalk seems to have similar issue with
Additional info that may help is that I am running the .NET application on a Windows 7 machine with less than 100MB of storage space, well below the recommended minimum of 300mb, but am testing the .NET application through it's paces now. It should
work if Windows 7 is working.
Below is the extract taken from the Windows application log:-
I have a question regarding running subreports ahead of time to ensure long running report does not take over 1 hour.
I have a top report subscription (Dashboard) that runs daily. In the top report, I have links to sub report that based its parameter to the top report row. The problem is the sub reports takes 20-30 minutes to run. How can pre run the sub reports once the
top report has run, so that I do not have to wait 20-30 minutes to drill in to those sub report ?
We have a timesheet form that has 4 time fields: Start Time, End Time, Actual Time and Billable Time.
Our Start Time, End Time and Actual Time buttons and field calculations work just fine, but we want the 4th field to calculate the billable time by rounding UP to the quarter-hour.
Start Time - 9:00am
End Time - 11:20am
Actual Time - 2:20
Billable Time - 2:30 (or 2h30min)
I'm new to Infopath and not sure how we would accomplish this. What type of code would I need and can I even use code on that Billable Time field to accomplish this?
Thanks for any help you can give me!