Michael Gates's Q&A profile
Visual Studio PreBuild dll and Log.LogMessage
Hello. I have created a DLL to use before VisualStudio start to build application. All is working fine, the DLL is called, his work is done, the error messages and warning messages are logged, but the 'Messages' (Log.LogMessage) are not displayed. I have Visual Studio 2005 ( with SP1 and CPT Orcas May 2006 installed. I tried all the options of Verbosity from MSBuild, but nothing works. Can somebody help me Thanks. Do the messages display on commandline builds (running msbuild.exe from the commandline on the project file). Which messages are you expecting to see and are not seeing. ...Show All
SQL Server Merge: Records associated by a JOIN Filter not being sent to a subscriber
Hi, I have a merge (SQL 2005 Standard -> Express) topolgoy which is having problems The main problem is that the join filters don't seem to work for one area and I am hoping someone can help me with some troubleshooting advice There are 140+ tables in the topology but the ones causing particular pain are a parent child relationship where the child is actually a bridge/linking table to another table. Therefore although it is a parent child in the replication filters it is the reverse. i.e. the child has the paramterised filter on it and the parent is one level down joined by it's id. There are other tables joined to this parent table but it stays at three levels deep. The @join_unique_k ...Show All
Windows Forms Copy data from datagridview To textbox
how can copy data from cell of dataGridView to textBox (char by char) thanks u very Much Mr: timvw with my wishes ...Show All
Windows Search Technologies CAN SOMEONE HELP PLEASE? WDS STILL NOT WORKING
Hi Everybody, It's getting very frustrating that WDS Beta 2 is still not working for me. It only works from within Outlook 2007 beta 2 technical refresh 2, but i always get " NOTHING FOUND " from the normal Search Deskbar.This while i basically went through all possible settings 100 times and installed, deinstalled and reinstalled the product multiple times, the last two weeks. Also if i install another search engine, like your friend Google or Copernic, it works instantly. Something must be broken somewhere, but everything else on my computer is working fine and actually it's quite a fresh install. Can somebody please make a point about this and help me out Am i the only one with this problem, i can't imagine. Sure, ...Show All
Visual C# Unable to delete folder - being used by another process
When I try to delete a directory I get an IOException because it is being used by another process. The only process that is using it is the one trying to delete it. To prove this I created a folder and added a txt file to it. I started the app, used an OpenFileDialog object to get the string of the selected file. I then try to delete the file but get the exception - I also get the error if I try to delete the file through Windows Explorer. When I close the app I can delete the directory in windows explorer. I don't understand why this is happening as I have disposed of the object. Is the OS holding onto something that I need to clean up Here is a simple example of the problem. try { OpenFileDialog openFileDialog1 = new ...Show All
Smart Device Development OS does not support encryption error
Hi All, Iam using HP iPAq hw6500 series PDA. My application in installed in the PDA and when i try to open the application by taping on the application icon, Iam getting the following error. Can anyone help to figure out the possible reason for this error Error: 0x80004005 E_FAIL Native Error: (25080) Description: The operating system does not support encryption. [,,,,,] Interface defining error: IID_IDBInitialize Param. 0: 0 Param. 1: 0 Param. 2: 0 Param. 3: Param. 4: Param. 5: Thanks & Regards Rajeev Hi , This forum is primarily monitored by Visual Studio for devices group. Please check this link for more appropriate forums for this type of queries. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=2 ...Show All
Windows Forms Designer Writing Broken Code in InitializeComponent (Class must be serializable?)
Hi, I have a form that has a user control on it. This user control maintains all of it's values using a global object. The user control has a blank constructor that instanciates that object with no values. For some reason adding this line that instanciates the object causes the designer to try to set the properties of the user control in the InitializeComponent method. For instance, if the user control constructor inclues "globalObject = new myObject();" the designer will add lines of code to create it's own myObject and set it through the user control's property which is not necessary. Any ideas Thanks. I tried, but if I make any design changes it changes it back. Also some times even if I ju ...Show All
SQL Server sql server 2005
is sql server 2005 support net 1.1 SQL Server 2005 requires the .NET Framework 2.0 for server side programming. However, you can certainly do client side programming using .NET Framework 1.1 although some features of SQL Server 2005 may not be available. ...Show All
SQL Server Move database file
I want to move my database file to a new directory, I search in MS and I use the following steps: USE master ; SELECT name , physical_name AS CurrentLocation , state_desc FROM sys.master_files WHERE database_id = DB_ID ( N 'test' ); ALTER DATABASE test SET OFFLINE ; ALTER DATABASE test MODIFY FILE ( NAME = test_Log , FILENAME = 'D:\Databases\test_log.ldf' ); ALTER DATABASE test MODIFY FILE ( NAME = test , FILENAME = 'D:\Databases\test.mdf' ); ALTER DATABASE test MODIFY FILE ( NAME = test_Log , FILENAME = 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\test_log.ldf' ); ALTER DATABASE test SET ONLI ...Show All
SQL Server Questions about various DB connection methods.
Hello All, I am looking to get some guidance and feed back from the community as to the prevalence and usage of the following technologies: ODBC Descriptor support OLE DB support External Linked Server support Data Link support for Data Transformation Services Specifically I am hoping to find out when each technology should be used and the types of applications that use them. Additionally, I am wondering if there are alternatives to these technologies and why they may have been used instead. Any guidance/feed back is appreciated. Thanks, Hi Jay, The best source of information in this case seems to be the SQL Server Documentation that comes with SQL Server 2005. It is also available at the online MSDN http://msdn2.microsoft.com/e ...Show All
SQL Server How to count the number of textboxes
Hi all, In the report I am working on, I have a "textbox39" in a table which has groups. I want to have another "textbox29" outside the table to count the number of "textbox39"s that are actually displayed and also the number of "textbox1"s that have a certain value (e.g. "1") in the final report. I tried to use " Sum(ReportItems!textbox39.Value)" but the compiler complains Error 1 [rsAggregateReportItemInBody] The Value expression for the textbox 'textbox29' uses an aggregate function on a report item. Aggregate functions can be used only on report items contained in page headers and footers. d:\perf\perfreportingproject\PerformanceTestDetails v.3.rdl 0 0 ...Show All
Visual Basic Decrypt a file in VB .NET
Here is my question.... I want to create a Windows Service that will decrypt a file that contains a username and password. Is there anyway in Visual Basic .NET that I can take a file that has already been encrypted (not by Visual Basic .NET) and somehow code into my program the decryption algorithm I see Visual Basic .NET has the decrypt and encrypt methods, but can VB .NET decrypt something that it did not encrypt Any help or advice would be GREATLY appreciated.... The .NET framework has implementations of a bunch of different encryption algorithms: http://msdn2.microsoft.com/en-us/library/93bskf9z.aspx Assuming that the encryption used is listed there, it should work just fine. If th ...Show All
Visual Studio Express Editions Windows Filtering Platform
Hello As per microsoft specifications Windows Filtering Platform is supported on Windows XP. I installed visual c++ 2005 express edition and Microsoft Platform SDK R2 (Full version). But i can not see the WFP sample application installed in samples directory for sdk. Also fwpmu.h fild do not exist in sdk includes folder and i am unable to use WFP functions. So for some reason Windows Filtering Platform SDK did not get installed. And i wish i can find out that reason. Can anyone help please Sorry if i did anything wrong. Regards Jack Hello Re: Windows Filtering Platform Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http:/ ...Show All
SQL Server Problem running SQL CLR MSDN example
Hello, Using VS 2005 SP1 beta and SQL Server 2005. I am trying to learn how SQL CLR works by using this example: http://msdn2.microsoft.com/en-us/library/5czye81z.aspx When I press F5, I get this error: A .NET Framework error occurred during execution of user defined routine or aggregate 'InsertCurrency': System.Data.SqlClient.SqlException: Must declare the scalar variable "@CurrencyCode". Do I need to declare @CurrencyCode in the Test.sql script Thanks for any suggestions, Tom NNTP User is correct, the parameters need to be added to the command's parameters collection. I also added the current date (GetDate()) to the INSERT values. Here's the updated method that ...Show All
.NET Development Input string was not in a correct format
I get this strange error. I have Int field in my table, and I read it this way: cmd.Parameters.Add( "@godina" , System.Data. SqlDbType .Int, 4).Value = plo.godina; but, when I try to execute, I get this error Input string was not in a correct format. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.FormatException: Input string was not in a correct format. Source Error: Line 283: plo.model_plovila = cmd.Parameters["@model_plovila"].Value.ToString(); Line 284: plo.brodogradiliste = cmd.Parameters["@brodogra ...Show All
