Mathew Aniyan's Q&A profile
.NET Development Posting with Cookies..
Hello, How can I make a function to login to a forum with cookies, and then post on it I've tried everything Thanks in advance. Hi, this blog post has a nice overview of how to use cookies: http://petesbloggerama.blogspot.com/2006/12/http-referer-spoofing-cookies-user.html Mark. ...Show All
SQL Server The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro) after SP1
Having installed SP1, my SSIS packages using the OLE-DB Provider for Visual Foxpro no longer work. Using the latest version obtained from here: http://www.microsoft.com/downloads/details.aspx FamilyId=E1A87D8F-2D58-491F-A0FA-95A3289C5FD4&displaylang=en When attempting to create one SSIS from scratch, the message thrown is: "The parameter is incorrect. (Microsoft OLE DB Provider for Visual FoxPro)." The radio button option of "Copy data from one or more tables or views" and then selecting the "Next >" throw the error. It has to be the SP1 causing the problem because nothing else changed on the Server and everything was working fine prior to this. Microsoft, any feedback on this ...Show All
Visual Studio Tools for Office to retrieve event if mail item is moved VSTO oulook
Hallo, i would like to know if it is posseble to to retrive a event if a mailitem is moved to a other folder. Gloat Helmut is correct (and a great Outlook dev resource!) The only thing I would add is that using this event is good; just keep in mind that it will also fire if an item is copied into the folder. You will have to add additional code to detect whether this is an item being moved or if it is being copied. John ...Show All
SQL Server How to recover from mdf file (SQL Server 2000)
Hi, My database corrupted because when I was running an update query, there is a power failure. After the computer booted, I cannot open the database anymore, it just not responding. Then I stop the sql server service, and tried to rename the .mdf and .ldf. After that it worked normally, but I need the data from the corrupted mdf file, I tried to attach the database but it just hanged. I even tried to attach without the .ldf file but it didn't work either, so I concluded that the problem is with the mdf file. Is there any way to recover my data Thanks in advance Regards, Edwin Can you rename the mdf,ldf files to their original names and attach them to your SQL Server (with all SQL Service ...Show All
Visual Studio Team System Removing or redefining Refname
Hi, I am having a situation that requires either removing a previously define refname or just being able to redefine it. E.g. I'd mistakenly defined a refname as a string and now I want to change it to an integer. Does VSTS support this And if so, what are the steps Thanks Hi, I think you can do that...right now VSTS supports the import of Workitemtype and export it back..using witimport.exe and witexport.exe files...these files you can find it in the Visual studio Command prompt...open this and type the following...to get the same. for eg: (to export the workitemtype called BUG) witexport /f "D:\Bug.xml" /t http://TfsServername:8080 /p "TeamProjectName" /n &q ...Show All
Visual Studio Team System How can I create Visual C++ projects once I installed Team Explorer?
I installed Team Explorer and now I can't choose Visual C++ projects anymore... Screenshot: http://img228.imageshack.us/img228/8034/vsccd6.jpg edit: fixed, it was because i installed visual studio team suite in french and team explorer in english^^ ...Show All
Visual Studio Team System Multiple Problems in Same Class?
Hi, I have a rule where I want to return multiple Problems for the same class. Adding new Problem instances to the Problem collection is allowed, however only ONE problem is ever reported. For example, given the following rule: public override ProblemCollection Check( Class c) { Problems.Add( new Problem (GetResolution( "Problem 1" ))); Problems.Add( new Problem (GetResolution( "Problem 2" ))); Problems.Add( new Problem (GetResolution( "Problem 3" ))); return Problems; } The output is only ever "Problem 1" for each class. Is this a known issue Thanks, Duncan Dunca ...Show All
SQL Server List of fixes in VS SP1
Can someone please supply a link to RS specific features/fixes in Visual Studio SP1 e.g. what fixes have been made to the printing activex control, or the report viewer control Thanks There is a a link to a page will all the bug fixes here . You need to sign in to passport before you click on the link ...Show All
SQL Server OnVariableChangedEvent Log Message
I have posted a very simple request to have the message in the SSIS log from an OnVariableValueChanged Event to include the vale the variable has been set to. If you like the idea of this enhancement please go and vote and validate it here https://connect.microsoft.com/SQLServer/feedback/ViewFeedback.aspx FeedbackID=238803 ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Math.Abs inner workings?
I'm trying to decide how to structure my code based on Math.Abs function. Does it just flip the signed bit to make the number positive Or does it check for a negative value and if found, multiply the number by -1 Yes. Just to point out, though - implementing your own version of things like this is a bad idea. Computers (in general) do not use signed-magnitude representation of integers, they use 2s complement. Thus, flipping the sign bit doesn't actually produce a value with the same magnitude. Of course, you could be operating on a platform where that does work. The only way to ensure that your code works everywhere is to use operations that don't depend on the bit-representation of numbers. Either thing ...Show All
SQL Server dts sql 2000 to sql 2005
Hi everyone: I moved a DTS to sql 2005 but i have my dts with sql 2000 format and appear under Legacy DTS so that I need to create a job of that dts what can i do can you help me please ...Show All
SQL Server Job scheduling for Packages in SQL Server 2005
---------------------- MS Win XP Pro 2002 SP2 MS SQL Server 2005 MS Visual Studio 2005 ---------------------- Can anyone help me (even by pointing me to a documentation) in order to schedule Packages (from file system source) in SQL Server 2005. I've configured providers logging, but still the error file doesn't give me any explanation why the error happens: "#Fields: event,computer,operator,source,sourceid,executionid,starttime,endtime,datacode,databytes,message OnPreValidate,PC1234,NT AUTHORITY\SYSTEM,D_AGR,{8A4FA774-F5F0-40DE-AB16-A93F27950E09},{8A918844-8E43-403D-A606-C8CB4B7D8238},31/08/2006 16:42:55,31/08/2006 16:42:55,0,0x,(null)" I've also done the same on the Step properties under 'Logging' In Manageme ...Show All
Visual C# Embedding Images
Hi, For this little application of mine, I was thinking about embedding the image file within my solution in Visual Studio 05 as a resource, instead of accessing the folder on my hard drive. I followed the steps of embedding the image as taught in MSDN, but for some reason after I click on Project->Add existing item..I don't get the option of having the image as an embedded resource. Can someone tell me how to actually get the image as an embedded resource and subsequently use it in my code. Thanks.... You don't need to bump so much. To add the image as an embedded resource, go to Project->Add existing item, as you said. Change the file type dropdown to Image Files and select your image. The ...Show All
Visual Basic VB.bet Execution error
friends I have created a setup file for my application using VB.net 2005.After installation the program runs fine on my computer.I installed the program(along with framework 2.0 and windows Installer 3.1) on my friend's system.It didn't start and gave me an error report.The program ran finely on a system where visual studio 2003 was installed.There is no problen for installing the software but the execution after installation is the problem. The error signature is EventType : clr20r3 P1 : windowsapplication4.exe P2 : 1.0.0.0 P3 : 44eb9590 P4 : windowsapplication4 P5 : 1.0.0.0 P6 : 44eb9590 P7 : 19 P8 : c6 P9 : system.invalidoperationexception (windowsapplication4.exe is the name of the execution file) ...Show All
SQL Server Processing a dimension using AMO does not work if the connection to the “DataSource” used is “SQL Server Authentication”
Processing a dimension using AMO does not work if the connection to the “DataSource” used is “SQL Server Authentication” amoDimension.Process(ProcessType.ProcessFull) The following exception is returned: - ex {"OLE DB error: OLE DB or ODBC error: Login failed for user ' MyUserId '.; 42000. Errors in the high-level relational engine. A connection could not be made to the data source with the DataSourceID of 'MyDataBase', Name of ' MyDataBase'. Errors in the OLAP storage engine: An error occurred while the dimension, wit ...Show All
