Tom De Cort's Q&A profile
Windows Search Technologies IGatherNotify
Hi if I good understand IGatherNotify interface is to adding URLs do WDS, is it true When i'm trying create IGatherNotify COM obiect I have error "class not registered, ....". How to register that class or it shouldn't be registered by WDS during instalation Is it other way to add urls to WDS. (I have my own protocol handler registered... etc.) Tomasz Rutkowski hi, I have 2.6.6 and I have tried at 3.0(VMWare session) at Windows Server 2003. I have read that IGatherNotify is used to: add/delete/notify-changes in WDS Gather. Describing my problem: Index content of special tables from db and my files etc. I have done: 1. I have implemented Protocol Handler (called "SDL")(ISearchProtoco ...Show All
.NET Development Insert via SqlDataAdapter
Hi, not sure this is feasible or if I can explain what I need to do, but... I am creating a table in my console app, and filling it with data. I then need to do an insert to the database from my table. I have tried lots of different code snippets but so far nothing is working. My database table has 6 columns but some have defaults so its only necessary to actually insert a few of the columns, and this is what I'm trying to do. Say I have columns A, B, C, D, E and F and I am basically trying to do INSERT INTO (A, C, E) VALUES --> all the rows in my datatable, which has only these three columns. The few times I have gotten my code to actually get to where its connected and trying to do the insert, I get a Value cannot be NULL err ...Show All
Visual C# How can I access parameters given from the Command Line?
If I choose to run a program the following way Start > Run "MyCSharpApp.exe" "Some Text" How do I access "Some Text" TIA Mike hi., It is work when I do like this: I went to the start menu - run and typed C:\MyProgram Folder\AppPath.exe param The output is Param 0 = param I don't know why yours not work. May be you didn't specify the filepath in the Run. my code is here. static void Main( string [] args) { for ( int i = 0; i < args.Length; i++) { Console.WriteLine("Param {0} = {1}", i, args ); } Console.Read(); } :) soemoe ...Show All
Visual Studio how to install Visual Studio 2005
I was able to install the .net framework 2.0 for my 32bit system, but am now having trouble, or don't know how to, install Visual Studio 2005 make sure your user account has admin priviledges to install the software. I doubt very much this would help but you can try to mount the images to a virtual CD using say, Microsoft Virtual CD (MSVCD) or some other 3rd party CD mounter tool, or even burn the image to CD and start the installation from there. Also make sure you have enough disk space for the installation ...Show All
.NET Development Changing the database asociated with a DataSet
Hello I'm developing a Webservice application that accesses MSSQL db's using DataSets. I have several indentical databases (the same tables), but with different content. I need to be able to change between these database at run-time to get different data according to the different "users" who have their own database. How is this done. When I create a DataSet in VS2005 it's bound to a specific database. Hope you can help I'll see Paul's samples and raise him three. <g> Examples are some of the best way to learn... Check out the very robust SQL project examples as found in the Starter Kits . Also there are 101 Samples for Visual Studio 2005 which is a robust, initial development ...Show All
Visual Studio 2008 (Pre-release) Localization problem in Avalon
Hi, I need to localize a listbox. Items of which are being read from an xml file. Can't have multiple culture specific xml files. Don't know how to incorporate xml to ResourceDictionary which is being used for containing culture specific information of other controls in the application. Can DataBinding help , if yes How and if no What could be the alternative Hi Kaul, Microsoft has provided some great materials related to Localization in WPF which are available here: http://msdn2.microsoft.com/en-us/library/ms788718.aspx If the reference documentation does not help, please provide some more details related to your problem, such as: Which version of the .NET 3.0 framework are you using ( ...Show All
Internet Explorer Development Default disabling of "Navigate sub-frames across different domains" breaks many sites
The default disabling of "Navigate sub-frames across different domains" setting is causing numerous web sites to stop functioning. This issue has been discussed most lately at "IE 7 and Frames" by raghava66 on Oct 19, 2006, but the problem was actually reported as early as RC1. Since it is a long established browser default setting, many frameset-based public and intranet sites have grown to rely on the ability for one subframe to navigate the URL of another subframe, e.g. in a tree/list view - reading pane layout. Asking end users to manually change their default security options here is not a viable option. In addition, many new AJAX applications are built to rely on cross-frame cross-domain messaging (not scrip ...Show All
Visual C++ how to link undefined data types of VC# dll in VC++
Hi, I have created a VC# dll using Visual Studio 2005, and I am using it in VC++ project(again created in Visual Studio 2005). For using this dll I simply add #using <mscorlib.dll> to the stdafx.h file and then I enabled the /clr option in the project properties. Now when I add my dll to the VC++ project as ... using "mcMath.dll" I get the following errors at the specified location of dll declaration... Error 1 error C2059: syntax error : 'string' d And these errors where my main function starts... Error 2 error C2143: syntax error : missing ';' before '{' Error 3 error C2447: '{' : missing function header (old-style formal list ) .... I do not have any function or exported values as strin ...Show All
Windows Forms Glyph and Adorner Assistance
Ok this one should be a challenge. I have a control with a custom designer. The control is basically a Poly-Line object which draws multiple lines at different angles chosen by the user at design time. In design time when the user selects the control I place a Glyph at each of the points where the line changes direction. to get the idea, the character below would be two lines with a glyph at 3 points. One at each line end and one at the intersection. > The purpose of the glyphs is to give the user the ability to re-shape the poly line object. They will basically drag one of the glyphs to another position in the designer, and that will be the new position of the associated point, and the control will re-draw itself. I've g ...Show All
SQL Server No. of User Accounts in SQL SERVER 2000 and SQL SERVER 2005 ..plz
I want to know the maximum number of users that can be created in SQL SERVER 2005 and the previous version... See this: http://msdn2.microsoft.com/en-us/library/ms187376.aspx This says in 2005 "you can create more than 32,767 users". I was slightly off with my number in 2000. I thought I read somewhere else about the 64k limit in 2005, but I might be mistaken. I still it is a nighmare to manage 32k logins. ...Show All
Visual Basic Problem With Automating Outlook
I was having a problem, but I am wondering if there is a an alternative to CreateItem... I should tell you that I am using the 2003.net Standard Edition which may not have all the bells and whistles of the professional... Now here is what I want to do... Public Class Form1 Inherits System.Windows.Forms.Form # Region " Windows Form Designer generated code " Public Sub New () MyBase .New() 'This call is required by the Windows Form Designer. InitializeComponent() 'Add any initialization after the InitializeComponent() call End Sub 'Form overrides dispose to clean up the component list. Protected Overloads Overrides Sub Dispose( ByVal disposing As Boolean ...Show All
Visual Basic OLE file extraction from .doc file
Hello, I need to extract the OLE file that was included in a word document, with an automation system, By example, I have a Word document with inside a pdf document , and an jpg picture, and one excel sheet. I want to extract this document an backup directly on the computer. But i have actually no solution to build this operation, if somebody have any idea it will be great for my. PS: Sorry for my poor English Thank a lot and have a happy new year Eigo ...Show All
.NET Development Interop troubles with excel
I asked this in the VB forum, but think it is more suited here. My application (VS2005) uses the interop assembly 11.0 to communicate with excel. 11.0 is the version for excel 2003. When I put the application on a client machine, it's fine provided the user has excel 2003 and either the PIAs are installed, or I distribute the dlls with my application. However, I've just tried this on a machine with O2007 and it's not working. I have installed the O2007PIAs on the client machine. Any ideas I assumed the O2007PIAs would be compatable with O2003... Conversion to late binding is going well, however I have one issue.. Referencing an excel cell via the PIAs was done numerically in the format (row, c ...Show All
Windows Forms Editing in Datagridview!
Wadup! I have a GUI with a datagridview . The user can select some data (out of an integrated table) and the selected data from this table will be automatically written into a row of the Datagridview. Now that the data has been entered in the datagridview row, i want to implement a feature in which the user can manually go to row( with a mouse click for example) and make some changes in the data (for example change age=23 to age =24) which was automatically transferred from the table based on user selection. so basically i want to implement edit functionality for a datagridview row on a mouse click event after some data has been entered in the row. Ho do i do it Cheers! Sorry, I got the wr ...Show All
SQL Server Two issues from SSAS, Ordering a level descendant and a attribute all description
Hi, I have two issues with one of my dimensions. I have two hierarchies, each one as its specific All description (the top most aggregation), but i also have two attributes, and i would like to have a specific All description for each one of them, is that possible without making another hierarchy Because i can have the dimension All description, but that will make the attribute top most aggregation to be all equal (not on the hierarchies). The second problem is that i have a hierarchy level that is ordered by time, but i would like to order it descendantly instead of the default ascendantly. How can i do this Thank you Unfortunately, the All level name for all attribute hierarchies is controlled by a single dimension-level p ...Show All
