LJWilliams's Q&A profile
Visual Studio 2008 (Pre-release) LINQ = .NET Framework 3 ?
WinFX is now .NET Framework 3.0, does this mean Linq is also 3.0 or will it be 4.0 or ... that's why I'm asking. because vista will include .net 3.0 (old winfx), does it mean it will include also linq ...Show All
SQL Server Does any one know how to reset sa Account?
I'm a programm designer, when using SQL Express Server, one of my codesigner accidently changed the name of sysadmin account "sa" into somthing else, even disabled the login of this account. since that's the only one account we can login, the database is now closed to any further operation above basic level. looking for any possiable means to regain the control of database. like how to reset "sa" account or reset the "master" database. we sure make a "security database now" *_* find a way to reset database using database under "Template Data" folder. this is however not suggested, while lost all the data. ...Show All
Visual Basic PDF Nightmare
I have been searching the world for a free, or at least cost effective solution to add the ability to save PDF files within my programs. All of the solutions that I have been pointed at cost at least $3000 for a full redistribution license! I'll be lucky if I sell 1 copy of my software at a price of $25, so I can't possibly see the point of spending that much money. So this leads me to two solutions: 1. If ANYONE out there knows of a free or cheap ($100) pdf dll that I add to my program then please throw me a bone. I need the ability to create pdf files from scratch and just add text and pictures... 2. I would like to create my own pdf ...Show All
Software Development for Windows Vista Custom Activity Scope Example
Has anyone built a custom activity scope (like the transaction or synchronization scopes that come with WF) If so, would you care to create a sample in the custom activities gallery on www.windowsworkflow.net I am having trouble figuring out how to get started in creating such an animal. Thanks, - Erik You actually can't create your own TransactionScope (or similar ones). You'll notice that these activities actually reside in System.Workflow.ComponentModel and not in System.Workflow.Activities. They have internal dependencies on our runtime. Transactions and synchronization require deep integration with the runtime to provide ...Show All
Visual Studio StyleSheets?
Hi, is it possible to use Stylesheets with Reports I have a bunch of reports for which I need to have similar formatting like colors,fonts etc...so is it possible use stylesheets for this if so,how Thanks, SSM Hello, Here is a kbase article that I found: http://support.businessobjects.com/library/kbase/articles/c2014921.asp The version of Crystal Reports that is bundled in Visual Studio .NET 2002/2003 does not have support for this. Crystal Reports Developer Edition version 9 and up do have the ability to use and apply stylesheets. Keith - Business Objects ...Show All
SQL Server Custom connection manager development sample?
Does anyone has code/sample/tutorial/pointer to developing custom connection manager with a custom UI. And then developing a custom task with a custom UI that can point to this custom connection manager... and passing values during runtime from UI to the custom class. TIA, Nitesh The first updated Web release of BOL will contain one sample that works with SQL Server and simply asks for server name...a kind of "Hello World" version of what you're asking for. The second Web release next spring will contain a second sample, a replacement Excel connection manager that includes a checkbox for Import Mode to resolve the common "mixed data typ ...Show All
Visual C++ Using TextOut method
OK SORRY AGAIN, was Norton Firewall the problem. Hello, i'm working with a MFC Dialog base application: i need to display on the dialog what the some operations done by application (like making a log), so i decided to use the simple method TextOut to display each text line. Where have i to use it On dialog message OnPaint() I see on the net many users use it on OnDraw message, but it seems are not available for a CDialog. Anybody can help me please P.S.: and simpler, when can i detect the dialog is loaded correctly (with his own controls visible and loaded) and so i can start my code (OnActivate,OnPaint, etc...) Sorry for my bad engli ...Show All
Windows Forms Getting ClickOnce to create a desktop shortcut
msdn states that ClickOnce supports the creation of shortcuts . I am using VS2005 Beta2. But I have not found a way to tap this feature. How do I set ClickOnce to create a shortcut on a user's desktop during installation Does anyone know I put the following in a class and have it run when the app. first starts. So far, it's been working well. The only minor issues I can see are: 1)If the user renames the desktop shortcut, a new will be created the next time the program starts, and 2)If the program is uninstalled, the desktop shortcut would have to be removed manually. Dim strShortcutName As String = Application.ProductN ...Show All
Visual Studio Team System It doesn't run a Web page's JavaScript -Any solution?
Any solution for this problem Problem: Before we begin, readers should be aware that VSTS functionality is not targeted at user interface testing. It doesn't run a Web page's JavaScript or validate the appearance of a page within multiple browsers. Rather, the testing approach is to examine HTTP data flowing over the wire and provide various rules for validating this data. Thanks What solution are you looking for You can simulate all aspects of server load with the HTTP-style testing provided. Web tests are not currently designed to test browser functionality, though. Josh ...Show All
Visual Basic (Public) Property Statement
I am using a number of (public) property statements (.NET 2003) to pass variables between classes. All are working fine except for the statements where I am passing 2D arrays. When I step through the code, the set is working fine, when I step into the get, the values are empty strings. Three classes are involved, a .dll is setting the values in an intermediary class and the .exe is getting the values. Any ideas That is correct, it appears that although I had set the value of the property, in a subsequent sub I initialized it and lost the set value. Thanks. ...Show All
SQL Server Failure installing SQL Server 2005 SP 1
Windows XP Pro SQL Server 2005 Express SQL Server 2005 Standard I installed the service pack for SQL Server Express first. Then I tried to install the service pack for SQL Server. I got the error message, "A recently applied update, KB913090, failed to install.", while it was upgrading the Setup Support Files. Jonathan Allen Log follows... 04/22/2006 10:52:34.781 ================================================================================ 04/22/2006 10:52:34.875 Hotfix package launched 04/22/2006 10:53:47.546 Attempting to install instance: SQL Server Native Client 04/22/2006 10:53:47.578 Attempting to install t ...Show All
Visual C++ linker error when I use STL string in vc++
Hi all, I'm using VC++ 6.0, I have a library which is internally using STL string. When I try to integrate with my application the following linker error is coming : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator=(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" ( __imp_ 4 $basic_string@DU $char_tra ...Show All
SQL Server any known problems SQL 05 with sharepoint 2.0 SP1 and .NET framework 2.0
hey come on raise your hands i got another challenge for yall :-) well, i have installed asp.NET 2.0, SQL 2005 with Sharpointservices 2.0 SP1 and the latest patches... i recieve always #50070: no connection to the database possible, well i checked all logins, roles and security and didn’t find any further problem, sharepoint service get started with an domain admin account who i local admin too, the connection from sharepoint to the database is made with "sa".... anyway my question is if there any known problems btw sharepoint services 2.0 SP1 and SQL 2005 includign .NET framwork 2.0.... massive greetings from austria Iri ...Show All
SQL Server SQL Server Mobile Replication Error
Hello, I've been trying to convert an application to use the CF 2.0, and of course to SQL Server Mobile. There have been some kinks along the road, but I've worked all of them out except an error on replication. When I call the SqlCeReplication's Synchronize() method, the connection goes fine, it works for about 20-30 seconds, and then comes up with the following error: Error code: 0x80004005 Message: The data types cannot be converted implicitly. [ Source data type = nvarchar,Destination data type = image ] Native error: 25932 Source: Microsoft SQL Server 2005 Mobile Edition Error Param: nvarchar Error Param: image I've tried upgrad ...Show All
Visual C# classes best practices
Hey guys, I am still new at this and was wondering what the best practices for creating and handling classes were. Is it better to build my classes inside one major C# file or do I need to create an individual file for each individual class or is it just better to have my classes embedded in the particular form I am working on Which is the best approach and best practice for classes Thanks, ~zero In my opinion it does not really matter at all how you orginize your code files, just do whatever seems to be reasonable... It is even valid to split one class over multiple files (partial class) if it makes sense to organize your ...Show All
