samame's Q&A profile
Windows Live Developer Forums adCenter - Java Example with axis?
Hi everyone. I was wondering if anyone knows of a working example of using the adCenter API with Java and Axis or has one that they'd like to share with the group. I'm a newbie trying to put together an implementation and am running into all sorts of issues. The first is that I get invalid characters in the generated CountryTypeTarget class. The second is that I'm having trouble authenticating ever since 3.15 was released. Any help would be appreciated! Thanks, Joe Have you had any progress on your efforts to program against the V2 API using Java I'd in the process of doing the same thing with ColdFusion, which generates Java code for execution. Thanks, Reed ...Show All
Windows Forms Run application after installation.
Hi all. How I can run my application after press Exit button in installation wizard I`ve made Install class with overriding OnCommited method, custom action in setup project with CustomActionData = "/path="[TARGETDIR]\" /runAdmin=[RUNADMIN]" (in custom action -> commit folder), additional wizard's dialog with one checkbox (CheckBox1Property = "RUNADMIN") If checkbox is checked my application starts fine BUT (!) before pressing Exit button in installation wizard (after last dialog window appears). What I should do to run my app after wizard's closing/exiting Sorry for my english... Hi, I have been trying to do it for ages, the tool only h ...Show All
.NET Development Creating XMLReader from a MemoryStream (C#)
Does anyone know why this doesn't work (it leaves me with an empty XmlReader) MemoryStream memStream = new MemoryStream(); XmlWriter writer = XmlWriter.Create(memStream); tempSerial.Serialize(writer, objectToSerialize); XmlReader reader = XmlReader.Create(memStream); In this example, tempSerial is an XmlSerializer. When these lines of code complete, I have a MemoryStream that contains data and an empty XmlReader, but I don't know why. Please advise. Thanks, Justin memStream.Position = 0; // Resets the position to 0 so we can read. and congratulations to me on my 600th post ...Show All
SQL Server Querying XML from SQL 2005
Hi, We are storing the entire xml of an infopath form as a string alongside structured data in a sql 2005 db. The project is a reporting one and we need to retrieve data from the infopath forms for display in the reports (along with structured data). We need to be able to build a query which retrieves both structured data from the tables and xml data from the xml string (also within a table). So the question is: can you query an xml string stored within a table from with a stored proc If so can you combine this query (I'm guessing this will be XPath) with a standard sql query to return both types of data The MS devs (yes actual MS employees) I'm working with don't so it will be interesting to see if anyone can suggest a solutio ...Show All
Visual Studio Express Editions How to read a Date column from an Excel sheet using C#
Hi, I have an excel sheet which has a Date column whose cell type is custom dd/mm/yyyy. When i read this excel using c# then this column gets read as a numeric cell and returns the big decimal value(like 32689). Is there any way of identifying the cell type to be Date for this custom format thanks, ...Show All
Visual Studio Express Editions How to Get a File from a webpage?
Hello, I am trying to find out how to get a file (word, excel, etc.) from a webpage. I am using Visual Basic Express 2005. Would I use webrequest, get or some other command. I understand how to get a webpage, but not how to get a file that resides on a webpage. Thank you for any help you can offer. As far as I know, it's the same way you get a web page. Just make sure you add the file extensions (.doc, .xls, etc.) ...Show All
Windows Forms Program Icon Question
Hi, just a question about what VB Express allows concerning icons. I made an icon (.ico file) which after deployment displays fine for the start menu. However, it does not display in the actual program. Is this a limitation of VB Express or is there a trick to display a custom icon in the actual program (upper left corner & task bar) I am asking this because I got an icon I downloaded from somewhere to display in the program (don't ask me how) and now I can't get it to not display. Any ideas Thanks, Daniel Bring up the form in question in the design studio. Highlight the form, not an idividual control on the form, and press F4 or right click properties. View the properites til you see an icon or the ...Show All
Visual Studio Express Editions Problem with Visual C++ 2005 Express Edition
I have been programming with VC 6.0 for some time now, and it has worked great. However, all I hear is that VC 6.0 is a nono now, and I should bump up even to the EE of VC 2005, and well I did. Now, getting started is horrible, and I hope you guys can help me get it going nicely. For instance, how do I add libraries to a project Is the only way through the VCProjectDefaults folder Also, I am learning DirectX better, and I tried transferring code that compiles in VC++ 6.0 (simple code, in fact, the code from the SDK sample for Microsoft) to the new IDE, and it gave me 16 linking errors, so I spent about an hour trying to find out how to do this, and the only way I saw was from the same method to allow the creation of Windows forms, and co ...Show All
Visual Basic VS 2005 - Windows Service Project and Setup Project questions
My solution consists of a Windows Library (that creates a DLL), an EXE that is the Windows Service and a Setup project for deployment. The Windows Service references the DLL project. Everything is installed and deployed. 1. When I run the service, my code needs the current directory of my installed windows service application and library (c:\Program Files\Perf\PerfService in this case) but when I use the following code: path = My .Computer.FileSystem.CurrentDirectory It returns : C:\WINDOWS\SYSTEM32 How do I get where my DLL and EXE are installed 2. I am using a My.Settings config file (app.config) to store application settings for the DLL. How do I include this in my Setup project so that I can manually change settin ...Show All
SQL Server AMO with VB.Net
Hi All, I am working on a project that require me to build cubes programmatically i.e., using AMO object and VB.Net. I am trying to find a sample that builds cubes using VB.Net. I can add further features to it based on the sample. Can any one help me at their earliest Thanks Sekhar PC Thanks for the reply. When I tried to implement the steps given in the above listed website, everytime I got an error message saying "Could not create cubes". Then I copied and pasted and tried to create cubes using AdventureWorks database. Still the error continued. Can a better sample be found which I can use to create my cubes dynamically An early reply will be of great h ...Show All
Visual C# Creating Taskbar icon
Hi. Your help is very much appreciated. I am writing Win App using C#, framework version 1.1. My app starts with taskbar icon. By clicking theicon, the main window will show. The main window SHOULD NOT be available unless the icon is clicked. My problem: the main window is ALWAYS available. I tried to hide it, but by using Alt+Tab, the user can still see it. (In my code I used the .NET's notifyIcon component). Any ideas Thanks Roy Thanks for the reply. I tried to do what you suggested, but the hidden form is still visible through Alt+Tab ...Show All
Windows Forms Cannot get IPersistComponentSettings to work
I cannot seem to get IPersistComponentSettings to work for a UserControl I created. For what I read (actually, what little there IS to read), all I need to do is the following: Create class that inherits from UserControl. (Let's call it MyUserControl) Create settings class that inherits from ApplicationSettingsBase. (Let's call this MyControlSettings) Set MyUserControl to implement IPersistComponentSettings Modify the Dispose method of MyUserControl to call SaveComponetSettings method of IPersistComponentSettings Have the SaveComponentSettings method call the Save method of MyControlSettings Drop MyUserControl onto a Form Now, according to the documentation, at some point (it does not say when) the LoadComponentSett ...Show All
SQL Server Remote access to sql server
Hi, I use a VS2005 application with a sql database. All is working well over a local network but I now want remote access to the system via the internet. Is this possible I have a fixed IP address & am wondering if I can just use the ip address as part of the connection string (And if so - how!) GraemeP wrote: I'm trying to do a mixture I think.. Currently I have a string set that's called "ConnectionString", I can see that I can add other strings and then call the one I want, however my confusion is: - As I don't have a "call" in the project at the moment, I presume that somewhere there is a system "call" that selects this string If I add another st ...Show All
Windows Forms Vista UAC and ClickOnce Issues
Hi, I am working on certifying our applications on Vista. I'm running Vista RC2 build 5744 and Visual Studio 2005 with SP1 Beta. The issue I have is that, as a certification requirement, applications have to be proven to install and run under a limited user account. I have no problem with that requirement in theory but in practise this seems to be a totally different matter given the tools available. I have done a lot of testing using ClickOnce publishing under different scenarios but there are some difficulties and inconsistencies. In the end I used a simple "smart client" windows application with just one form. Our deployment scenario would be similar. I tested different trust levels etc. Now this is what I found: ...Show All
Software Development for Windows Vista Windows WF and ASP.net
Hello, I am beginner to windows WF. I need a sample ASP.net which is completely controlled by workflow. I do need simple application wherein navigation to next page should be controlled by workflow using inbuilt controls available in windows workflow foundation. I have gone through some samples from Microsoft site, but it seems that they are not easy to understand. Thanks Sunil 2 great samples from Jon flanders Tom Lake I think the WF team is working on a better wf-asp.net integration in the next release of WF; take a look at this webcast for more infos. Enjoy. Serge ...Show All
