clint 2's Q&A profile
Visual Studio 2008 (Pre-release) Frame Control/Window AllowsTransparency?
Hej allihopa!.. I’ve come across something very strange.. Ah....perhaps I should try searching first... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=534864&SiteID=1 Still quite annoying....anyone know of a workaround ...Show All
SQL Server Error detaching sql express database using SMO
I am using SMO to provide a backup/restore feature. The restore code looks like this: try { // Initialise server object. Server server = new Server(serverName); server.ConnectionContext.ConnectionString = connectionString; // Check if database is current attached to sqlexpress. foreach (Database db in server.Databases) { if (String.Compare(db.Name, destinationPath, true) == 0) { Console.WriteLine("Detaching existing database before restore ..."); server.DetachDatabase(db.Name, false); break; } } // Configure restore. Restore restore = new Restore(); rest ...Show All
SQL Server Logging using OnError Event
Hi We are generating log file in our SSIS package by enabling the built-in feature of SSIS tool. We are generating log for the "OnError" event. This also recorded the error/failed task messages in the text file "log.txt". That error information is too complex with more unwanted information like below ----------------OnError,,,pkgExtract,,,8/30/2006 11:50:04 AM,8/30/2006 11:50:04 AM,-1071636471,0x,An OLE DB error has occurred. Error code: 0x80040E21. An OLE DB record is available. Source: "Microsoft SQL Native Client" Hresult: 0x80040E21 Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.". OnError,,,pkgExtract,,,8/30/ ...Show All
Visual Studio Team System Using alternate credentials with tfpt
It looks like tfpt.exe doesn't support the tf.exe command line options to specify a server and login credentials. Is that right I'm using the version of tfpt from here: http://www.microsoft.com/downloads/details.aspx FamilyId=3F21144A-4E98-4CE0-830F-D1F3E8AC9D67&displaylang=en I need to pend some changes made offline on a machine that's not part of the domain. VS and tf.exe work just fine in this situation, but it looks like tfpt just doesn't handle this. In the meantime, I'm just going to copy the changes to a machine in the domain and get them in that way - just wanted to double check if there's something I'm missing. ...Show All
.NET Development Using XmlDataDocument with DataSet(and security)
Hi people. I'm new to C# and .NET and I'm trying to write an application to store passwd. In the program I used XmlDataDocment to create passwd tables and everthing's fine. But when i try to save XmlDataDocument, I have limited options. I can't write the content to a file, because I want them to be encryted in file. If I had used DataSet , I could pass the content to memorystream and save it by encrypting. I could not see any possible opportunity to do this with XmlDataDocument. Or is there a way Or the best solution for this (if possible), Can I pass the Xml data from XmlDataDocument to DataSet without using files Thanks in Advance.. Hi! I haven't used the schema before, cause I ...Show All
Visual C++ trouble getting started
I have no programming experience and I have just installed microsoft visual studio 2005. I have a book on C++, it a few years old but i thought it would give me a start on learning c++. I want to compile one of the examples out of the book. How do I do that The book is teach yourself C++ by Al Stevens. Can anyone please help me out nick865 wrote: I tried that and it says there were build errors. I tried it and there were no build errors. What are the buld errors you get ...Show All
SQL Server DT_NTEXT pass through columns in fuzzy lookup transformation
The documentation on the fuzzy lookup transform mentions that only columns of type DT_WSTR and DT_STR can be used in fuzzy matching. I interpreted this as meaning that you could not create a mapping between an input column of type DT_NTEXT and a column from the reference table. I assumed that you could still have a DT_NTEXT column as part of the input and mark this as a pass through column so that it's value could be inserted in the destination, together with the result of the lookup operation. Apparently this is not the case. Validation fails with the following message: 'The data type of column 'fieldname' is not supported.' First, I'd like to confirm that this is really the case and that I have not misinterpreted this limitation. Fina ...Show All
Software Development for Windows Vista Aero effect using VB2005 or VC++ 2005
I am trying to find out Aero glass effect in VB2005 & VC++ 2005 programming for vista any body help vista has compatibility for this so anybody have idea to this.. in hope of solution............. Check out the post by Kenny Kerr in the UI Development forum: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=909803&SiteID=1 There are a couple of useful links in there. ...Show All
Visual Studio 2008 (Pre-release) WCF and application design
Hello All, I'm looking for some design guidance about WCF. I want to build an application where my business objects live in one process (the server). I want to be able to attach arbitrary UI’s (or interested parties) to this process to display information about the business objects, as well as manipulate them. These UI’s could live on the same machine, or on other machines. I would like provide a uniform interface to these UI’s regardless of where they live (same machine or other machines). It seems like this is an ideal circumstance to use WCF (based on the whitepapers on WCF), but once I started playing with the June CTP I began to wonder if WCF would be the approach Microsoft had in mind for this situation. ...Show All
SharePoint Products and Technologies Can I control file types crawled by content type
I would like to crawl file servers at a different level of service than WSS sites. Case in point: .html and .htm are file types that are indexed in my farm because they are allowed file types. When I crawl a file server, however, I don't want them indexed. Is there a way to do that It would be nice to still capture the name and location of .html or .htm files but I don't want my indexer to spend the time busting them apart on file servers. Thanks Chris Fields I have similar problem with crawl rules. I need to exclude all from http://server/ , but include only some URLs for example http://server/Pages/ I created crawl rules: http://server/* to Exlude all content and http://server/Pages/* to I ...Show All
Windows Live Developer Forums What happened to the robot gallery???
Where did all of our entries go I wondered why I only was getting 10 hits a day. https://www.robotinvaders.com/main/Gallery.aspx Actually, the rules state that "The resulting Robot application which is developed using the SDK must be hosted by the Participant and be available upon entry and without subsequent modification for the duration of the Contest Term and throughout the judging period ." Because the judging period hasn't ended yet, we are still supposed to host our bots I think. Btw, most of the bots also appear on http://gallery.live.com and you can of course place the address of the bot on other pages related to the bot ...Show All
Software Development for Windows Vista Vista and Symantec Ghost 8.x
Ever since build 5231, I've found myself unable to use Ghost (8.0 or 8.2) "as I've always been able to". By which I mean with 5219, XP, 2000, etc., I can just create a partition backup, restore a partition backup, no muss, no fuss, all successful. (I have an XP-compatible boot manager, have four independant partitions that are always hidden from one another, and I restore just one partition based on what OS/test/scenario I need to create.) Now with 5231 and later, creating a Ghost image of a partition always results in the "unable to access \windows\winload.exe" (or whatever that exact full-screen message from the Vista boot manager is). Regardless of whether I'm restoring back to exactly the same partition as I backed up ...Show All
Smart Device Development How to check whether my PDA is connected through GPRS using .NET Cf code?
Hi, In my application, i want to check whether my PDA is connected through GPRS How do i check this Are there any registry entries for this Hi, I am using VS .NET 2003, Compact Framework 1.0 SP3 and C # as a language. I have a problem reading the GSM modem settings...and GPRS seetings. Can you help me to solve this problem Thank you in advance With Best Regards, Harsh Trivedi ...Show All
Visual Studio 2008 (Pre-release) MakeCert Error: Too many parameters
Does anyone have any insight as to why I am getting the error: too many parameters when I am issuing the following makecert command I am using makecert from the C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin. makecert –m 360 –n “CN=Demo Signing Certificate” –iv CJFTestRoot.pvk –ic CJFTestRoot.cer –cy end –pe –sv CJFsignedcert.pvk CJFsignedcert.cer The '-' character that is in the command line above is the character \u2013 (DASH-EN), and not the "minus" sign (\u002D). When pasted to the command line, it will become the byte 0x96, which is not understood by the tool. Try changing the '-' characters to the correct one, and it should work. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating depth textures and getting back buffer in beta 2?
Alright, so the API for this is totally different for beta 2. That's fine. But I can't see how you create depth textures now. I'm using them to render shadows. Also, how do you get and restore the back buffer now Do you do something like: RenderTarget2D backBuffer = (RenderTarget2D)device.GetRenderTarget(0); ... device.SetRenderTarget(0, backBuffer); This seems very strange. It forces you to use RenderTarget2D now instead of Texture2Ds with render target usage. That doesnt seem too bad. So you want to get the backbuffer, and copy that into a texture. You do ResolveBackbuffer(texture, index) but how do you get the RenderTarget2D from the texture And how do you even copy between RenderTarget2D's ...Show All
