Lewis Horowitz's Q&A profile
Visual Studio 2008 (Pre-release) UserName authentication
Hi, I'm trying the sample about 'username authentication'. I have not changed the sources of sample. I receive this error : "An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail." InnerException : "At least one security token in the message could not be validated." Server stack trace: at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.S ...Show All
Visual Basic UPDATE command gives Consurrency error
Hi readers, I have a table called winders_table, and have succesfully changed a row in the table. I used the following UPDATE command, but get an CONCURRENCY exception. I think the reason is that is was unsuccesfull to update the changed row. The UPDATE command is: UPDATE [Winders_Table] SET Name='@name' WHERE (Name='@Original _name) In the parameters collection I have parameters: @name (Source version is current) @Original_name (SourceVersion is Original) I am not sure about this command, which I copied from a sample. If I use SET Name = , with as a namespace and not a parameter, then it changes all the rows to the changed value. All I want to do is to update the changed row to the ...Show All
SQL Server Grouping Dimension Values
I have a question about grouping values in a dimension. I have a dimension that relates to the age of a person. When I run my ETL we bring in the age as it was at the time of the load. When I display that age to my users in a report, I would like to group the ages according to internal usages. Example: Age 16, 17, 18 would be grouped into a group of 16 to 18, etc.... This provides to us a larger statistic sample set, plus it makes the reports much easier to read. I am using Reporting Services to generate reports, but I was looking to move the grouping logic away from the client to the Analysis Services server. I actually have several dimensions like this where I would like to perform grouping. I was considering using a Ca ...Show All
Audio and Video Development MFT_MESSAGE_SET_D3D_MANAGER
Hi, all: How can I get MFT_MESSAGE_SET_D3D_MANAGER from ProcessMessage in a MFT And where to assign MF_TOPONODE_D3DAWARE and MF_SA_D3D_AWARE attributes BTW, is it possible a MediaSource to get the D3DManager interface Thanks Fei-tian I have same issue here... IMFTransform::GetAttributes is NEVER called on my transform. I don't know what's wrong. I tried to set MF_SA_XXX on all IMFAttributes interfaces I can touch in IMFTransform but still this message is never passed. ...Show All
SQL Server populate access database from a TableCollection
Hi, I need to ask about how can I populate an access database tables directly with the tables in a TableCollection that already exist in my application. Thanks for any help, Aya. The TableCollection in my case is the collection of tables contained in the DataSet. Can I use the DTS to copy it directly to access database Thanks, Aya. ...Show All
SQL Server Lift charts with OLAP data source
I've generated some mining models against an OLAP data source (dimension). However, when I go to generate a lift chart, it seems that the only data source that can be used for input is the data source view (the relational database). Is that right Or is there something I'm missing here. I was figuring I'd use one slice to train the model, then another slice to test the accuracy of the results. But right now it's looking like I can't do that. ...Show All
Visual Basic Calling DirectSoundEnumerate
I'm stuck. I'm trying to call DirectSoundEnumerate to get the sound devices on the computer. Below is what I have, but I crash whenever I run. Any help is greatly appreciated. Private Declare Function DirectSoundEnumerate Lib "dsound.dll" Alias "DirectSoundEnumerateA" (lpDSEnumCallback As Long, lpContext As Long) As Long Sub main() Dim x As Long Dim Context as Long Context = 1234 x = DirectSoundEnumerate(AddressOf PopulateSoundDevices, Context) End Sub Public Function PopulateSoundDevices(lpGuid As Long, lpcstrDescription As Long, lpcstrModule As Long, lpContext As Long) As Boolean MsgBox "In PopulateSoundDevices" PopulateSoundDevices = True End Function ------------------ ...Show All
Audio and Video Development Zooming in while panning back
I'm trying to make a screensaver where images zoom in a bit while floating/panning in random directions. The problem I'm experiencing is that scaling an image is done by growing it in positive directions from original position, so if I need to pan in a negative direction (-x or -y), it doesn't work since the image scales in a positive direction. For example: document[slidePhotos[nextSlideIndex]].style.animateProperty("x","0px;-100px",5); document[slidePhotos[nextSlideIndex]].style.animateProperty("width","1920px;2020px",5); document[slidePhotos[nextSlideIndex]].style.animateProperty("height","1080px;1180px",5); document[slidePhotos[nextSlideIndex]].style.animateProperty("opac ...Show All
.NET Development arrays to sql server table
Using vb8, I would like to be able to programmatically save data in arrays to an existing sql server 2005 table. I've found tons of info on how to load db data into arrays but not the reverse. Can anybody offer some clues That's the point. The DataTable doesn't cause changes to occur in the database table. As I noted above, I am trying find out what needs to be used (DataAdapter, DataSet and/or DataTable ) and when. Obviously, what I'm doing is not working which is why I've asked for help. Thanks for the info about using AcceptChanges after the for/next loop. Regarding DMan1's reply, as far as I can tell, I'm not using a TableAdapter; should I be This ...Show All
Visual C++ _resetstkoflw()
could not find entry point __resetstkoflw(). Why this error occurs And what is the solution for that It's there, both in the static and DLL versions of the CRT for VS2005. I had no trouble compiling nor calling it. Sounds like you might be linking the wrong CRT libraries... ...Show All
Software Development for Windows Vista E_Mail Request
I have a process running in OUTLOOK in VBS that activates when someone sends an e-mail to a specific receipient; this event launches and calls an application that sends the results of a SQL query to the person that requested the information. In theory this works great, but in practice, this application requires an OUTLOOK session active at all times, and sometimes this OUTLOOK session does't work and/or gives me an error (usually over the weekend or month end, when people really need the information). In other words in a production environment this process is unreliable. Is there a way I can use a Workflow to wait for users email as an input to launch an application Thanks Luis F. Velasco ________________ Sample OUTLOOK ...Show All
Visual Studio 2008 (Pre-release) Custom WPF text editor
I'm not looking for a solution to my problem. I am just interested in any expert's opinion on a matter of a custom text editor using WPF. I developed a basic Winforms text editor to replace the RichTextBox. The detailed reason why I did this is beyond the scope of this message, but to sum it up I needed a custom control that could support being rendered at non-standard resolutions (without blur) such as 371x529. This was easy to do using transforms. I have not yet developed much with WPF, but I have been studying it for several days now, and it looks very powerful. It appears I may be able to develop a better custom text editor using the following classes: TextFormatter TextSource I've downloaded the SDK and looked through all ...Show All
Windows Live Developer Forums Interactively creating/adding to pushpin collections
My Goal I would like to create pushpin collections for sharing the answers to some problems in celestial navigation with my readers. I would like them to be able to create pushpin collections to show their answers to the problems so they can say "is this right what did I do wrong " Pushpin collections seem to be the simplest and most straightforward way for communicating. The users don't have to write or use any code. But I don't know how to create collections of pushpins by specifying lat/long. Has anyone else here confronted this issue Do you have any advice on a simple (minimal development effort) solution My problem Local.live.com does not have a way to create pushpins with lat/long as input The VirtualEa ...Show All
Visual Basic Can't open PowerPoint presentation in VB2005
I am using the following code to try to open a PowerPoint presentation from within a VB2005 application. Similiar code works fine for Excel and Word. I have added a reference to the PowerPoint 11.0 object library. Imports Microsoft.Office.Interop.PowerPoint Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim MyApp As New Microsoft.Office.Interop.PowerPoint.Application MyApp.Presentations.Open( "P:\Production Control\Forecasting\Forecast Accuracy Charts\2005 Fcst. Accy" ) MyApp.Visible = True End Sub End Class I get the following error when it tries to open the file System.Runtime.InteropSer ...Show All
Visual Studio VS .NET 2003 debug broken with windows XP SP2/VS2005
I have recently installed windows XP service pack 2 and a trial demo of VS2005/VSTS on my PC. Now I can't debug in VS .NET 2003. I get:- "Access denied. Verify that you are an administrator or a member of the 'Debugger Users' group on the machine you are trying to debug. After being added to the 'Debugger Users' group, you must log off and log back on for the setting to apply". My MDM isn't running and when I try and start it I get:- "The Machine Debug Manager on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." I have looked through all microsoft articles I can find and tried everthing they sugge ...Show All
