Maxim Goncharov's Q&A profile
SharePoint Products and Technologies Meta tags in MOSS 2007 master pages
Does anyone know how I might go about inserting meta tags such as "description" and "keywords" into my master pages and page layouts in a MOSS 2007 external facing site Ideally, when an author or editor is editing a page, I want field controls for the meta description and keyword tags, so the author can fill those in and save those with the page content. The problem is that I can't put a server control like a contentplaceholder inside of the content="" attribute on a meta tag. I've tried the following: <meta name="description" content="<asp:ContentPlcaHolder ID="PlaceHolderMetaDescription" runat="server"></asp:ContentPlaceHolder>" /> The ShareP ...Show All
SQL Server Full text search with MSQL 2005
Does MSQL 2005 Full-Text-Search engine make use of Microsoft Search Service like the previous version (MSQL2000) If yes, where there any improvements in performance Is MSQL 2005 Full-Text-Search recommended AND ready for large scale / enterprise systems with lots of traffic If yes, how is the performance I've been doing some research, but I can't find any good articles on it... if you know of any please add them to the thread! :) Thank you very much! Although this is for SQL Server 2000, the information still holds: http://support.microsoft.com/ scid=http%3a%2f%2fsupport.microsoft.com%2fsupport%2fsql%2fcontent%2f2000papers%2ffts_white+paper.asp Buck Woody ...Show All
Visual C++ Using WinForms with /clr assemblies
In filing a bug report with Microsoft which involved an assembly compiled with /clr, and a CodeDom Parser internal error in the IDE Designer, I was told that "all assemblies that are referenced by a C++ WinForm must be built with either /clr:safe or /clr:pure." Is this actually true I could find nothing in the MSDN documentation which came with my Visual Studio 2005 Standard Edition which specified this. If this is somewhere, could someone please point it out to me in the MSDN documentation. If this is actually true, why have a plain /clr mode at all, since no components in such an assembly can be used in a WinForm Holger Grund wrote: > "all assemblies that are referenced by a C++ WinForm ...Show All
Visual Studio 2008 (Pre-release) Client Callback Address, wsDualHttpBinding and Windows Security
Hi, Are there any chances that on the client side wsDualHttpBinding works without starting the client process under a windows administrator account We tried to start our client app with a non Windows administrator account and got an "Access denied" exception from the .NET framework, because the client app tried to register a callback URL (e.g.: http://localhost:8030/ClientCallback/ ) . We do not get this exception when we execute the client app with a local windows xp admin account - of course. See also: http://msdn.microsoft.com/library/default.asp url=/library/en-us/http/http/namespace_reservations_registrations_and_routing.asp Thx, Dietrich Using "localhost" only ...Show All
Visual Studio Team System SuppressMessage with a "namespace" scope does not work
Hi, I am trying to suppress every instance of a message (CA1811) in a specific namespace, but cannot get it to work. Here's what I have in my AssemblyInfo.cs: [assembly: System.Diagnostics.CodeAnalysis. SuppressMessage ( "Microsoft.Performance" , "CA1811:AvoidUncalledPrivateCode" , Scope = "namespace" , Target = "Some.Shared.Namespace.ToSuppress" )] I want to do this because this namespace is shared amongst multiple projects (the source code is shared in SourceSafe), so it is quite normal that it contains code that is not used by all assemblies. Thanks! Pascal Bourque Pascal, Unfortunately what you are trying to ac ...Show All
Visual Studio Express Editions How to use my self-made browser to open html files by default
Hi, How can I make all files (file types associated with IE mozilla) to open in my self-made browser I have made a self-made browser and what I want to happen is that when everytime I click a link or a url, instead of opening the url in IE or Mozilla browser, I want it to open in my self-made browse by default. Thanks and more power! Ichi Now that you have solved the 'association' problem, the issue is how to pass the link or filename to your program (browser). Here is the technique: When a file associated with an application is opened, it is passed to the target application as an 'argument'. You need to make your program accept an argument. To do this, change your Program.cs file as follows: static void Main( string ...Show All
SQL Server viewing ssrs reports in report viewer web part(report manager url?)
i m using SQL Server 2005 Reporting services, sharepoint 2007, SQL Server SP2 and Sharepoint technologies ADD-IN tool. i hav configured the reporting services to sharepoint integration mode. Also i hav deployed my SSRS reports to sharepoint report library. now i want to show these reports in the report viewer and report explorer web parts. These web parts are successfully deployed. Can someone tell me what should be the report manager url and start path in the properties of these web parts ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do i create models in XNA?
How do i create a model in XNA See this thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1069171&SiteID=1 You create models in the modeling software, export them to a format XNA understands, and load them in your XNA program. ...Show All
Visual Studio Express Editions Nested loop
Ok i got a book and this eludes me. here is m situation the textbox name is JAN01box and there are actually quite a few of them. What i wanted to figure out is how to read the "01" in the box then set up a nested loop to adjust text or add text or whatever. ...... how do i read through textbox names with a nested loop. Please assist... i have a few hrs trying to accomplish the task Shihan Not exactly sure what you are after but hopefully this code snippet will help you: Dim TheTextboxes As New List ( Of TextBox ) For Each c As Control In Me . Controls If TypeOf c Is TextBox Then Debug . WriteLine ( c . Name & " : " & ...Show All
Visual C# How can I show a contextMenuStrip when a user right click a mainMenuStrip item?
Hello, Can you please tell me how can I show a contextMenuStrip when a user right click a mainMenuStrip item Exactly like Internet Explorer Favorite menu and Firefox Bookmarks menu. Thanks in advance. Sorry for the wait. I have been on a business meeting trip. As far as what you are doing....do this: pass in the control or button control that you want the context menu to associate to, and a point. So: // Point where the mouse is clicked. Point p = new Point(e.X, e.Y); this.myDesignTimeCreatedContextMenuStrip.Show(the toolbar control object, p); ...Show All
Visual Studio Express Editions Numorous logins??
This Code===\/ Private Sub OK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles OK.Click If UsernameTextBox.Text = "" Then MsgBox("Please Fill In The Username Box") End If If UsernameTextBox.Text = "MM" Then MsgBox("Correct", MsgBoxStyle.Information) My.Forms.Form1.Show() Me.Hide() End If If UsernameTextBox.Text = "VIOLATOR" Then MsgBox("Correct", MsgBoxStyle.Information) My.Forms.Form1.Show() Me.Hide() End If If UsernameTextBox.Text = "AXEL" Then MsgBox("Correct", MsgBoxStyle.Information) My.Forms.Form1.Show() Me.Hide() End If End Sub Doesnt ...Show All
SQL Server Question about stored procedure
I have a stored procedure call procedure_1 which get a argument and display one record of result only. I want to write a SQL statment to join the procedure's result with other tables, but it is fail. How to do that Thank you very much! Wai: I would suggest converting your stored procedure into an inline function or perhaps a table function. You will then be able to join your table to other tables and views. A second alternative is to (1) create a temporary table and then insert the values of the stored procedure into the temp table and join to the temp table; however, my first choice would be to convert the stored procedure into a function. Dave ...Show All
SQL Server Scheduling bug?
Hi! I'm trying to create a subsciption for my report. In first creation I can do scheduling just fine, but when I try to edit my schedule, it's totally different. It shows value 1.1.0001 and when I try to change it, it's gives me first message: value of '1.1.0001 0:00:00' is not valid for 'Value'. 'Value' should be between 'MinDate' and 'MaxDate'. Parameter name: Value (System.Windows.Forms) and after that when pushing OK it gives me message: " The required field StartDateTime is missing from the input structure. (rsMissingElement)". Do you think it's a bug or is there something which I'm doing wrong Tero Kruth ...Show All
Smart Device Development Strange Serial Port EXCEPTION
Hi, I am developing an RFID reader project, using VS2005 C#.NET on pocket pc emulator. My RFID reader device is connected on serial port of my computer. I can not send or receive data to the serial port. there is an IOException or WriteTimeOutException. Here is my code. //I created an object serialPort1 of the class System.IO.Ports.SerialPort with the SerialPort control using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace DeviceApplicationTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); try { ser ...Show All
Visual C# Wrong Empty string convertion, wrong XML save!
Hi, I have a wierd issue in my C# code. When I update a field in an XML file with a empty string, the field is actually updated with "\r\n " I try several things like String.Empty but nothing is working correctly. Does anybody have a clue how to resolve this Thanks, Bertrand Thanks for the feedback, I really appreciate it. I try to change the InnerText method with the InnerXml method, but I still have the newline. I don't want to put all the entire XML file on one line as you suggested. I just want to avoid the creation of the new line if the value I fetch is empty. It should be possible. I will try to search for NewLine property in my XML document. Any feedback will still be appreciated. Thanks, ...Show All
