DQM's Q&A profile
SQL Server The IDMClusteringAlgorithm interface
Good morning, Well... I'm implementing a clustering algorithm following the examples given on the Managed Plugin Algorithms tutorial. As the samples are in C# and I'm implementing it on C++, I'm facing some problems, but nothing really significant. But I've some conceptual questions about the implementation: 1) It necessary to implement the IDMClusteringAlgorithm interface in order to implement the ClusterMembership() and the CaseLikelihood() methods, right 2) The changes needed to be done on the Navigation class have nothing to do specifically with clustering. These changes are only to set calculated statistics to be shown, and if I want, I can simply don't implement them. Is this correct 3) Is there any documentation on ...Show All
Visual FoxPro Executing FoxPro Command
hi guys! well by the way my database connection is a ADODB connection. now i would like to execute a FoxPro command like: use myTable append from myTable i dont know how to execute this in VB6. can someone tell me how it works that will be great! thanks --novelle VFPOLEDB driver supports use and append from only from within a stored procedure. You can instead use: insert into myTable (< fieldlist here> ) select < fieldlist here > from otherTable If structures match then shortcut form: insert into myTable select * from otherTable ...Show All
SQL Server SSIS Package Error
Hi, we have developed SSIS package in machine1 .when we copy the SSIS solution from Machine1 to Machine2 .when we open the SSIS solution in machine2 we are getting the following errors what could be the reason .help us pls. 1. Error loading Package_test.dtsx: Failed to decrypt protected XML node "DTS:Password" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available. d:\jegan\ssis prjs\fuzzy\fuzzy\Package_test.dtsx 2.Validation error. Data Flow Task: Fuzzy Grouping [3131]: The AcquireConnection method call to the connection manager "AIGS ...Show All
Visual FoxPro PGP file decryption
Hi All, I'm looking for an API to decrypt PGP encrypted files. I were using command line PGP program to do it. Sometimes it fails, so I decided to look for some other solutions. Another question would be if I could use MS CryptoAPI to decrypt PGP encrypted files Any help appreciated. Thank you in advance. I use this product http://www.eldos.com/sbb/ SecureBlackbox, If you decide to use the Component, I can post some code too. Hope this helps. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. A Question (Creators Club)
I was wondering this. Since I have a cable connection (no router) directly to my computer, how would I connect my Xbox to my computer so I can use the Creators Club Right now I just disconnect the Ethernet cable from the back of the cable modem and connect the Xbox 360 Ethernet cable to get Live on my 360. Billr17 wrote: Just a side note, its been mentioned that the transfer of XNA assemblies between the PC and 360 is unsupported because of slow transfer rates and the possibility of signal loss. Umm, I assume you meant "wireless transfer", not all transfers. heh. Do you have a link for that I can see that as a cover-your-behind-disclaimer for support reasons because so many things can go wrong in a wireless co ...Show All
Visual Studio Express Editions Easiest way to keep track of some numbers and check them
Hello, I want to save the numbers from 2 text boxes somewhere, they dont need to be opened by anyone but the program needs to be able to read them to make sure there are no duplicates... so for e.g a list of phone numbers when the user clicks save it scans through the list and either saves the number or pops a message box up saying that number allready exists.. Hope someone can help, thanks! sure. This is untested code so bare with me: //create a dataset: Dim theDataSet as new DataSet() //create a table in the dataset: theDataSet.Tables.Add(new DataTable("TableName")) //Add a column to the table: theDataSet.Tables("TableName").Columns.Add("MyColumnN ...Show All
Windows Forms Bound datagridview failing to update
Hi I'm trying to update a datagridview which is bound to a class within an event raised by a button click and I can't seem to get it to work. Initially I bind the datagridview to a class containing a list (of another small class). The grid sets up the headers ok, and I can add rows within the constructor and once it's constructed it works fine. The problem comes when I try to add rows programmatically on a button click. I'm updating the list the grid is bound to, and it would appear to work if you look at the grid in a watch in the debugger, however it doesn't update on screen at all. Then if you try to edit anything near the bottom of the datagridview it causes an exception. I'm clearly missing something basic in my understanding. Coul ...Show All
Software Development for Windows Vista starting application from setup - not as administrator
Hello all: When my application is run for the very first time at the end of the installation process, it is running as administrator, because the setup itself was automatically detected and elevated by Vista. Is there any option to run it from setup at usual (medium) privilege level I have tried manifest with requestedExecutionLevel of asInvoker - to no avail. TIA OTNS I'm kind of curious about this install-time service approach. If the user is a 'standard user,' runs the admin app (providing credentials for an admin user) does the service produce an app running as the original user Or the weak version of the admin Does it work correctly in an environment where there are multiple lo ...Show All
Audio and Video Development Work with ScheduledControlList from JavaScript
I want to add following tag in ScheduledControlList section: <Event id="clip1start" titleTime="00:00:06:00" /> How I can do it from JavaScript The scheduled control events are defined in the playlist and are used for specific events in the running of the title. If you just want to pause the film at a certain time, you should use createEvent to create an event and then in the event handler you should pause. ...Show All
Visual C++ Seem to have lost the x86 build platform choice
Hello... I am having an issue with locating the x86 build platform choice within vc++ in vs2005. It was there a few days ago for this project I am working on, now it isn't an option. I am running on x64, yet the x86 build platform choice was always available. Anyone know of a way to get it back, and in turn, why it is not there Thanks in advance, Anthony ...Show All
Visual Basic Software Publish Question
Alright, I have a program that I'm working on and i have noticed that whenever I run the Publish in the Programs Properties, that it makes a .exe . Now whenever I run the .exe , I noticed that it puts it under Start - All Programs but I don't see it anywhere in the C:\Program Files\ . Why is that Also, I have a .mdf in the application. Will it create the .mdf upon install for me or do i have to encode that into the program I'm actually using the Publish Now that is in VB.NET under Preferences . I'm new to the who making an install. What other way is there to do. Remember that I need something pretty EASY to start off with. ...Show All
Visual Basic need help with offsets for LayoutKind.Explicit - unravelling a returned struct from unmanaged into managed
Mathew Gertz pointed me in the right direction I believe in an earlier post. My P/Invoke is returning valid values for 'name' below at field offset 0 and other values as I can see in QuickWatch. StructA below is passed and returned from the unmanaged C++ dll with valid values. An error is thrown however; System.ExecutionEngineException was unhandled Message="Exception of type 'System.ExecutionEngineException' was thrown." I would like to try Mathew's idea of using LayoutKind.Explicit rather than LayoutKind.Sequential which I am currently using. If I had <FieldOffset(0)> for the first member of StructA, can anyone help me with how the rest would look I would say Offsets would increase by 1. 4 after each Integ ...Show All
Visual C# Syncing data - do i need to lock this property?
Hi folks. i have a class which has a public property. This property is a generic Dictionary instance => Dictionary<Guid, myCustomObject>. My custom object (myCustomObject) has a number of aggregations which also have aggregations (tree heirachy). It works fine. Now, i have numerious threads that wish to access this dictionary property. Q1. If i wish to access anything in a myCustomObject (or an aggregration found within) from the dictionary, do i need to lock that property Q2. If so, can i put the lock in the property getter / setter Here is some sample code to help explain my question. Dictionary<Guid, myCustomObject>myCollection = new Dictionary<Guid, myCustomObject>(); MyCustomObject myCusto ...Show All
Visual Studio 2008 (Pre-release) Xaml Navigation Pane Control
What control would I use for creating navigation panes like like Outlook uses on the left side of the app (Mail,Calendar,Contact,Tasks) using Xaml Clicking on a custom navigation pane would update a treeview or fire an event to add some other control into the upper part of the left side of a splitter container. Thank you, -SureshGubba ...Show All
Visual Studio 2008 (Pre-release) LINQ AND SQLMETAL
Hi, Do I need to create a data object model using sqlmetal in order to use LINQ to sql . Currently I am querying Dataset tables by applying ToQueryable(). The reason I am asking this question because using IQueryable interface I am not able to use full functionality of LINQ query syntax for example .ANY doesn't work. Thanks, Rajesh ...Show All
