slaprade's Q&A profile
SQL Server SSIS Crashes while validating Data Flows
Hi all, I'm stuck here when I try to open an existing package which contains several data flows, SSIS tries to validate each data flow and after a while a Visual Studio error message pops up and I can't do anything. The error message says : "Unable to cast COM object of type 'System._ComObject' to interface type 'Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject90'. This operation failed because the QueryInterface call on Com component for the interface with IID '...GUID...' failed due to the following error : The application called an interface that was marshalled for a different thread. (Exception from HResult: RPC_E_WRONG_THREAD)" Did anyone has seen this error message Any help will be appreciated. Sebastien ...Show All
Visual C++ can i fire ON_LBM_SELCHANGE manually?
i want to fire ON_LBM_SELCHANGE event after CListBox::SetCurSel() is invoked, can I thanks very much. hi, i have tried: SendMessage(WM_COMMAND,MAKEWPARAM(GetDlgCtrlID(),LBN_SELCHANGE),(LPARAM)GetSafeHwnd()); PostMessage(WM_COMMAND,MAKEWPARAM(GetDlgCtrlID(),LBN_SELCHANGE),(LPARAM)GetSafeHwnd()); SendNotifyMessage(WM_COMMAND,MAKEWPARAM(GetDlgCtrlID(),LBN_SELCHANGE),(LPARAM)GetSafeHwnd()); they all failed. thanks ...Show All
SQL Server SQL2005 Enterprise IA64 vs x64 vs x86 performance?
I went to setup a new SQL 2005 Enterprise Edition cluster and have to admit being quite confused after reading product version and CPU requirements. This is what I seem to understand: SQL 2005 EE in 64bit native on IA64 SQL 2005 EE in WOW64 (32bit emulation) on x64 (does it still use AWE ) SQL 2005 EE in 32bit on x86 Does anyone have performance data or comparisons from having gone through this before Anyone know why the EE x64 version cannot run natively in 64bit is it an artificial limitation (Intel kickbacks :) or a technical one Since the x64 version runs in WOW64 emulation am I better off building this as a 32bit machine wessen- what processor are you running: Intel Xeon EMT64, ...Show All
Visual Basic Import, Export Access Database Files ???
Hello! I am new to Windows Forms. I am using VB.NET as the language for an application I am writing. I have searched around trying to find some documentation on this and have not found a solution. ****************************************************************** The application that I am using, uses an Access database to track trainee data. Every now and then the database needs to be exported and sent to me. Also, users will need to have the ability to overwrite a previous database with a new one sent to them from me. I have looked into the OpenFileDialog and SaveFileDialog controls and cannot find a way to do this using these controls. If someone could please help me with selecting an .mdb file and saving it to a specified location on th ...Show All
Visual Studio 2008 (Pre-release) Converting server from web services to wcf (indigo)
I have an existing web service with one method: [WebMethod] public void HelloWorld() { } I create a new wcf- based server: binding = new WSHttpBinding(); host = new ServiceHost(typeof(MyService), address); host.AddServiceEndpoint(typeof(MyService), binding, address); host.Open(); With the same operation: [OperationContract()] public void HelloWorld() { } Now I run my new server and my old client. The client is just a windows application calling the server through a generated proxy. It throws a WebException with the following message: The request failed with HTTP status 415: Cannot process the message because the content type 'text/xml; ...Show All
.NET Development New problems with COMs
Hi everybody! I'm trying to comunicate my pc with a gsm modem trought a COM port. With Hiperterminal I write ati and the modem answers: ati <versions> OK so now I want to develop an application that can speak with the modem. COM.WriteLine( Chr(&H61) & Chr(&H74) & Chr(&H69) & Chr(&HD) ) and then I try to read the answer like this: COM.ReadTimeout = 200 num = COM.BytesToRead On Error GoTo NoHiHaRes Do While len < 18 Dim cnt As Integer = COM.Read(kkk, len, 18 - len) len += cnt On Error GoTo NoHiHaRes Loop the problem is that this doesn't read anything! Is like the buffer were empty. But if after execute this code I execute the Hip ...Show All
SQL Server Strange problem with mining model node_distribution.Attribute_value and its probability
Hi, all here, Thank you very much for your kind attention. I dont understand another problem within my mining model. When I query the mining model content ,finding that the same attribute_value have different support and probability for the same node within my clustering model. Why is that Really confused. And really need help for that. Thank you very much in advance for your help. With best regards, Yours sincerely, This is my guess as to what is happening based on your other posts. Guess #1 - you are using an OLAP Mining Model Guess #2 - you have a nested table Guess #3 - the level which is the key of the nested table has duplicate string names with different ids If all of these guesses are correc ...Show All
Windows Live Developer Forums adCenter API WSDLs
The following are the Web Services Description Language (WSDL) documents used for the Microsoft adCenter API. Production WSDLs : V5 (released 2/13/2008) https://adcenterapi.microsoft.com/Api/Advertiser/v5/Administration/Administration.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/V5/CampaignManagement/CampaignManagementService.svc wsdl https://adcenterapi.microsoft.com/Api/Advertiser/v5/CustomerManagement/CustomerManagement.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/v5/NotificationManagement/NotificationManagement.asmx wsdl https://adcenterapi.microsoft.com/Api/Advertiser/V5/Reporting/ReportingService.svc wsdl V4 (released 4/28/2007) https://adcenterapi.microsoft.com/v4/Admini ...Show All
Visual Studio SubreportProcessing not firing, does it have to be an executable project?
Summary: SubreportProcessing is not firing when the project output type is not executable. Hi , I am using LocalReport in my application. All the reports are located is inside a library and also all of them are embeded inside the assembly, so far everythings worked fine until I tried to use a subreport. I notice for some reason the SubreportProcessing event does not get fired, in order to test the application, I copied exactly the same files into an executable test project, and I noticed everything work properly there. Can you tell me what is the problem And if my guess is correct, problem is related to the project output type, how can I achieve this without chaning the project output type Many Thank ...Show All
SQL Server options other than row_number() ?
Hi all, Friends i m badly stuck...... i want the functionality like select row_number(), name,class,age from student but the PROBLE is 1) I dont have sql 2005. 2) I dont have write access to database, so that i could create any sp. Is there any other way to achieve what the above query gives without using row_number thanks King: Is this more-or-less the kind of thing you are looking for set nocount on declare @student table ( [name] varchar (30) not null, class varchar (30) not null, age tinyint not null, primary key (class, [name]) ) insert into @student values ('Herman Munster', 'English 325', 217) insert i ...Show All
Windows Forms how can we insert dropdown list in dataGrid in VB.NET
how can we insert dropdown list in dataGrid in VB.NET Hi, There are also several threads here in the forums that discusses that. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=174214&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=60400&SiteID=1 http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=61487&SiteID=1 And there's many more. Just try searching for DataGrid Combobox cheers, Paul June A. Domag ...Show All
Windows Forms Controlling WMP via Windows Forms just like in MS keyboards
Hi. I've done a lot of searching in MSDN/Google for doing remote controlling via Windows Forms. I wanted to be able to control the playback of Windows Media Player just like if I do it with Fn+Media key to press or one of the 4 media player keys in Microsoft keyboards. I am wondering how they do it as I have included two simple buttons, Play and Stop -- nothing else. So because I don't want to embed Windows Media Player control into Windows Forms application, I wanted to be able to remotely control the real Windows Media Player. To be clear, I wanted to be able to control a real Windows Media Player just like a remote control. Is that possible only with the Windows Media Player SDK Am I asking the impossible Never mind my post. I' ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Book ( In Progress )
For reasons I cannot exactly put into words, I’ve decide to write a (free) book about how to use XNA. It is defiantly a work in progress and thus far only includes two chapters and associated source code. I truly hope that my work is advantageous to some people out there. I am in part doing this as a practice towards writing technical documentation. I am not accomplished in writing instructions for other people that may not have the same level of technical skill sets as myself. I hope that with this book I learn a whole lot and more in that regard. Granted, if you are a diehard game programmer, what I have written is probably not for you, at least, not yet! Yet I would value your input. If you feel like c ...Show All
Visual Basic Emails
Is there a way to send emails through outlook all the email addresses are on a server. well you simply go through each control on the form for example, check if its a textbox or a label, if so, then append to the string. Example: for each currentControl as Control in Me.Controls if typeof(currentControl) is TextBox or typeof(currentControl) is Label then msg.Body = msgBody & " " & currentControl.Text end if next ...Show All
Software Development for Windows Vista VISTA x64 Development Platform
Hi there, I was hoping to start looking at doing some development on Vista x64. I cannot find the download on MSDN subscriber downloads anymore, I can only find the x86 version. Does anyone know what the situation is with the x64 version It thought I saw it there a week or so ago. Also, given that I do manage to get the x64 version installed, is there a x64 version of Visual Studio available yet For your reference I have a MSDN Professional subscription. Many thanks, Gareth. MSDN removed the x64 download temporarily to take the strain off the servers from all the downloads. Visual Studio 2005 supports both x86 and x64 development. Cheers, Kenny http://weblogs.asp.net/kennykerr/ ...Show All
