Vistator's Q&A profile
.NET Development Applying check constraints in sqlserver 2005
This is because the Visual Database Tools validates the existing data with the constraint when you attempt to add it. But no problem, you can to decide do not to validate the existing data by changing the property Check Existing data On Creating or re-enabling to NO , but these data will be inconsistent with new rule. Or by using the NO CHECK clausule on ADD CONSTRAINT statement. A recomendation is to review the data and change it to accept the changes and the new rule. Regards, ...Show All
Windows Forms Mage Commandline error with .deploy files
Hi! I'm creating application manifest manually using mage.exe. If I run mage.exe with the original files (exes and dlls), everything works fine, but as soon as I change the extensions adding .deploy (i.e. xx.dll.deploy, xx.exe.deploy), it throws a bunch of warnings like: Warning MSB3110: Assembly 'xx.dll.deploy' has mismatched identity 'xx', expected file name: 'xx.deploy' The command line used is: mage -New Application -ToFile program.exe.manifest -Name "MyProgram" -Version 1.0.0.0 -FromDirectory 1.0.0.0 When I look at the generated manifest, the problem is that mage wrongly assigns the "codebase" attribute at element "dependentAssembly" Any suggestions is there another command line flag ...Show All
Visual Studio 2008 (Pre-release) how can we save the conent of rich textbox to an xml file
hi there, i am wondering how can we save the conent of rich textbox to an xml file. i have many richtextboxes but i need to save all those to one file. thanks prasanth http://blogs.msdn.com/llobo/Default.aspx p=2 thank u for ur reply some how i am not able to view this link. thanks prasanth ...Show All
SQL Server Configuring SSIS package to read a value before executin
Hi, Is it possible in any ways to Configure a SSIS package in such a way that based on the User Input the package runs. For e.g if there is a table which has say 10 distinct groups. Normal SSIS package would ideally pick all the data from the source to the Destination I want to know how to configure in Such a way that I should be able to say Group X as the input and data related to GroupX alone should be copied. Select * from SomeTable where GroupName = @CongigVar. how to achieve something like this thanks Hello, I think that might just be what I need, but when I tried creating one, its failing with the error, 'Parameter Name Unrecognized'. I think am doing it wrongly. Can you po ...Show All
Visual C# WebBrowser Control and JScript Error
I have a webbrowser control (webBrowser1) and am trying to load a page that has javascript errors on it. Example: http://www.giraph.com Even if I have webBrowser1.ScriptErrorsSuppressed = true; The JIT Debugger will still pop up and try to help me. Is there a way I can just ignore the error on the page and move on I have no control over the site that I am navigating to. Example: webBrowser1.ScriptErrorsSuppressed = true; webBrowser1.Navigate("http://www.giraph.com"); Note: Please don't tell me how to disable the JIT debugger on only my computer. This application will be distibuted and I would like it to not open on any computer. You can also handle the script error in your host see http:// ...Show All
Visual Studio ReportViewer and CheckBox List PostBack
Hi, I've a pb with the checkbox list in the reportviewer ... The checkbox list is with a postback server. But the value are not preserved in the page. The value is empty after the postback. Is there a solution thk ...Show All
Smart Device Development Compilation
Hi, Can I compile .NET 2.0 code on CompactFramework at runtime If not, maybe there is solution to compile this same code dynamically on PC side and transfer this code (in dll) to PocketPC Kind regards Mateusz Kierepka you'd want to use something like Process.Start on the server to call out to csc.exe (or whichever compiler matches the language you're compiling) with the command line arguments for source and target, and then move the completed target assembly after the process finishes. ...Show All
Visual Studio Express Editions build mysql
use 2005 free vc++ edition. this is my first time use VC++ product, need it for compiling and debug mysql database. also i have downloaded MS SDK for windows XP. this is a realy cool decision made by MS, now you can do anything with this FREE product. :) I love free products, especially it come from MS. ...Show All
SQL Server Date out of range?!
Greetings! I have a data source that gets generated based on a variable with the following SQL : "select * from result where deletion_ind = 1 and when_deleted >= '" + (dt_str, 50, 1252) @[User::Last_Run_Date] + "'" But when I run my package I get an error message saying: The conversion of CHAR to DATETIME resulted in a DATETIME value out of range The Last_Run_Date variable is set to '2006-06-25 14:35:05.450' When I run the code in a QA session it works, but in the package it complains! What am I doing wrong Thanks for your help in advance. You've already told me further up this thread that the error is getting thrown by SQL Server when you issue that query from SSIS. You have 2 ...Show All
Visual C# Console.write() explanation please
how about Console.write(…) does it serve the same purpose as debug.write() more or less and how do I use it. When I do Console.write(“kkkkkkk”) I don t get any thing in my web or windows projects in the Output window. Where should get results Is it used only in development environment or can we use it in production environment as well (how do we do that). Thnaks Console.Write is used only in ConsoleApplication type of applications. For windows or web you can use Debug and Trace diagnostic classes. But if you must show some progress in console application and not in some progress describing form, then create a console application and call it from main application. ...Show All
Visual Studio IDE Performance vs Published IIS (I must be stupid)
Hi all, I am experiencing a strange and infuriating problem with my IDE for Visual Studio 2005. Let me set the scene. We use SQL 2005 for our MIS and that system uses crystal, i refuse to pay £3000 for 5 concurrent srystal licenses when i need access for 30 people. We own a copy of 2005 and the reporting services (thank god for educational licenses) so i decided to try using RDLc reports and build them in a simplified intranet for certain users. My problem: I was happily building reports and whilst coming to grips with the expression builder withing RDL / .net 2.0 was a challange i managed to get some reports working fine. Anyway i produced a single dataset which is 745 records long. Takes the query builder less than a second t ...Show All
Visual Studio Express Editions Cleaning up
I have a class that contains a looping thread checking for input from a socket. When my application closes I would like this class to stop the thread so the program exits cleanly. I managed to stop it cleanly in my main program by listening for the game.disposed event, but i would like the class to close itself internally when the rest of the program is being cleaned up. Show me the way someone... Keep a reference to the thread instance and call the Abort() method to stop it when your application is closing. Another way would be to have a bool in the class where the thread code is running in declared as volatile. Default the value of the bool is false and when the application is closing it gets set to true. In the thread you check ...Show All
Game Technologies: DirectX, XNA, XACT, etc. About SpriteBatch.Draw Overloads
I was wondering if there is a performance difference between the various overloads The overloads that take more parameters may perform a little more pre-transforming of the vertices, but any performance difference would be neglible. If you are concerned about performance, the best thing you can do is make sure that as many of your Draw calls as possible use the same texture parameter. You can do this by putting your sprites in the same texture and then using the sourceRectangle parameter. When you do this, SpriteBatch is able to "batch" your "sprites" together into just one or a few draw calls which really improves performance. ...Show All
Visual Studio Express Editions .Net v1.1 and v2.0 Side-By-Side Error
I'm using C# Express 2005. I'm trying to build the program I wrote so that it can run on my friends pc who only has .Net v1.1. I was using: <configuration> <startup> <supportedRuntime version="v1.1.4322" /> </startup> </configuration> to tell it to build the v1.1 version as well. Alas, when I open C# and load the project, I get errors. Firstly, "MyApp.vshost.exe - Strong name validation failed." And then, "MyApp.vshost.exe - Common Language Runtime Debugging Services" "Application has generated an exception that could not be handled." I think I've done something really stupid, I'm using XP SP2 fully updated, and I downloaded and installed the .Net v1 ...Show All
Visual Studio Express Editions sorry about this!
ok, i'm going to appoligise profusly...because this question isn't about VBE at all...its about php, but no other forums replied to my posts..and i know how awesome you guys are (i'm looking at you tall man and you too armdiliyas(sp )) so please forgive me and take pity on me! my website is frameset based, and once i made a login script i figured out that i can't actualy make it go to the right target (i.e. main ect.) heres a peice of code that needs it done: echo "[<a href=\"admin/admin.php\">Admin Center[/url]] "; and i want it to load that into the frameset named "feature". thanks in advance, and any help is appreciated! Ok, well before this post gets deleted, as it should ...Show All
