mcnamaragio's Q&A profile
Windows Live Developer Forums adCenter API implementation with nusoap in PHP
Hi, Currently, I am implementing adcenter API in PHP using nusoap tool kit. I already had my sandbox environment activated. Here's my problem. < php require_once('nusoap.php'); $parameters=array("APIFlags"=>1); //msnapi.wsdl is a copy of https://beta6.api.idss.msn.com/adcenterapi.asmx wsdl $soapclient = new nusoapclient('msnapi.wsdl','wsdl'); if ($soapclient->call('GetAccounts',$parameters)) echo "success"; else echo "false"; > When I executed the above script, It displays false. What could be the reason I am new to adCenter API and SOAP. any code samples available for PHP Please advice. Thanks, Hari After seeing your params array, I realized that you are missing campai ...Show All
Visual Studio Tools for Office Application object in Office 2007
I use C# in Visual Studio 2005 to create a very simple "Hello World"-like add-on in MS Excel 2007. The add-on loads into a new tab on the Excel ribbon and works fine. But when I debug and put a breakpoint in the IDTExtensibility2.OnConnection method which fires when Excel opens, I expect to get access to the Excel application object from the application argument. However, the application argument is a COM-object. Doing the samen in MS Word 2007, I get access to the application object of type Microsoft.Office.Interop.Word.Applicationclass without problems. Is there any way I can access the Excel application object from my ribbon code Vegar Imsland Could someone tell me how to set this locale to & ...Show All
Visual C++ opening files: MFC & doc/view
I want to load an .ini file when my program starts. But everytime my program starts it wants to load from the last folder I opened a file from. Is there any way to turn this feature off aside from hard-coding a folder. My concern is that when the program is installed a hard-coded folder wont work. So how do I get a file to load from the working folder I want to turn off the feature that brings up the last folder I opened a file from. Any ideas This forum is for C++ language issues. There is a newsgroup dedicated to MFC doc/view issues here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc.docview&lang=en&cr=US ...Show All
SQL Server SSIS - OLE DB - IBM DB2 - SQLDUMP - more dumps than works....
I have a package which access a DB2 database and pulls data from a single table. I can't put a specific event on it, but the package has been causing a dump to occur on a rather regular basis. The really odd part is sometime when I add a data viewer on the output link of the OLE DB Source it works....then it starts to dump again a couple of executions later. There are not date/time values involved in the result set, just character strings. Default code page is set to 1252 and use default page is set to False....any ideas appreciated - this is really starting to drive me nuts! Thanks Where is the connect site I'm not sure if it will help at all, but here is a list form the mtf file... Version ...Show All
Visual Studio Express Editions How can I get the current Browser URL?
I have the need to automatically get the current page's URL for the user, how can I do that in VC++ 2005 express please DOSrelic wrote: The user is probably a poor person who cannot afford to be connected to the web 24/7 so wants to save pages to refer to later OK, you're talking about the browser address bar . And you want to capture the page in some form where it can be used. 1. Internet Explorer 6+ (5.5 too I think) have a File | Save As ... option for saving the current page to disk in .mht format. This is a standard format that you can also view locally using the browser. The format is a published one (it is actually in the form of a mail note with a multi-part MIME type). I use this all of the time when ...Show All
Architecture Windows Server 2003 GP management
I am not sure if I am posting in the correct place, but I am having an issue with group policy. When someone receives a picture through any web-based email page (hotmail, yahoo) and try to open the image, instead of save it, they are restricted by their admin. I have monitored all the programs running when this happens, and have added them all to the allowed list to see if that would fix it, but they are still being restricted. I have added svchost.exe, lsass.exe, explorer.exe, crcss.exe to no avail. They are opening it in microsoft picture and fax viewer. Does anyone know if windows XP runs any loader before opening an image in picture and fax viewer, or have run into this issue before. Thanks. Phil ...Show All
Visual Studio Express Editions SendMessage Help
My VB6 code: Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA"(ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByRef lParam As Any) As Integer Anyone know how to fix for 2005 All those integers were 16 bits entities in vb6. This is what I have for vb6: Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByRef lParam As Any) As Long Changing the longs to integers is correct....... I'd just change the Asany to Integer also and try it out. ...Show All
Smart Device Development Initiate synchronization from device
I have written a C# application for Windows CE, VS2005. What I want to do is to transfer files from the Device to the Desktop PC. It has to be done exactly when I want it to, and I need to know that the sync went alright before my app continue to run. I have looked at "repllog.exe /remote" but it is dependant on the customer clicking the sync button on that dialog window, and not everywhere else (like disconnect). Also, it is one extra step to do for the customer, which should have been done automatically. I also tried importing the rapi.dll from the application on the device like this: [ DllImport ( "rapi.dll" )] public static extern void CeRapiInit(); When I call the function CeRapiInit at ...Show All
Visual Basic Executing System Stored Procedure in Windows Forms App
I'm new (very new) to stored procedures and I'm having difficutly executing the sp_addumpdevice system stored procedure to backup a database. I've put the following code in a button click event handler: Private Sub btnDBBackup_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDBBackup.Click USE master EXEC sp_addumpdevice 'disk', 'FIRM_Backup', 'C:\MSSQL\BACKUP\FIRM.Bak' End Sub The problem I'm having is Intellisense is telling me that "name 'USE' is not declared" and "name 'EXEC' is not declared." Can anyone assist a stored procedure novice with getting this working Thanks in advance for any assistance! Tony no worries :-) no idea why ...Show All
Visual Studio Team System Project Server 2003 - "Contributor" Access
All, I am using Project Server 2003 with the ancillary SharePoint Service. My question is this: How do I tell SharePoint Services that when it creates a site (as a result of publishing a Project) then make all users "Contributors" to the SharePoint site (as a default). I can add these users manually to each site right now (by managing users per site) but I'd like to make this a global change to the system. Any help is appreciated. Phil ...Show All
Windows Forms DataGridView and Update/Insert/Delete data in MS Access
Hello, I have an application (Windows Forms) that populates a table from an *.mdb file to a DataGridView . Is there any tutorial available which shows how to implement Update/Delete of current data, or Adding(Insert) new data using the DataGridView Thank you in advaned. well firstly make sure that you do not set the database in the solution explorer to copy to output -> always copy otherwise it will overwrite the database. secondly, do you get any errors when performing the update ...Show All
.NET Development Help with Raw Socket
Are there any example of how to construct a raw icmp packet It depends with which system you are going to communicate! Like Ping.... Search it on internet what system supports ICMP and their specification and try to write program to communicate with them. To start with it try writing a Ping application. There are examples avaialable on internet. Best of Luck ;-) ...Show All
SQL Server Pivot Table with SSAS 2005
hi i facing problem when i tring to browse cube created in SSAS 2005 from pivot table in FP appear this error The query could not be processed: o An error was encountered in the transport layer. o The peer prematurely closed the connection . any one have solutions for this problem thanks Ensure that you have the Microsoft OLE DB Provider for Analysis Services 9.0 installed, as well as Microsoft Core XML Services 6.0. They can be downloaded here http://www.microsoft.com/downloads/details.aspx FamilyID=df0ba5aa-b4bd-4705-aa0a-b477ba72a9cb&DisplayLang=en Once they are both installed, run regedit and look under HKEY_CLASSES_ROOT/MSOLAP - there should be a key called CLSID which ...Show All
.NET Development How to extract a value from an object in a form of string?
string dts="valueOfX"; int valueOfX=1575; How to use the reflection to extract the value of 1575 if the only object that I get is a string called dts Need some help here pls! I've been reading about reflection but need example pls! Thanks Ahh... that’s why you cannot find dts... it’s not a field of the class but a local variable within a method (in this case the constructor)... try moving them both outside of the constructor and into the class as a whole. ...Show All
Visual Studio Team System How to Profile a assembly with asp.net application
Hi, I want to profile a assembly used by asp.net application. I am not able to collect data in instrument mode .Always it is giving me error that "profile data is not collected". Any one can suggest what is steps to do this . I am giving my steps 1. Create a new Perfomance session 2. add target binary from BIN folder of web application 3. Set launch properties for assembly(*.dll) in following manner Executable to launch : C:\Program Files\Internet Explorer\iexplore.exe arugument : -new http://localhost/mi421/login.aspx 4. In post instrumentation property, again signing assembly. 5. Now clicking on Launch button and going through the page which is using the assembly. But once test is completed , it ...Show All
