OLAP_Guy's Q&A profile
.NET Development custom xml output with web service
I have a web service that is returning single value. It's working fine, however, I'd like to do two things: (1) add to the output so that multiple columns are returned from the SQL query the web service performs and (2) return the output so that the xml tags are what I want them to be instead of < string xmlns ="..."</string>. Basically, I'd like for the output to be something like: <mydata ...> <customername>asdfas</customername> <location>CA</location> <creditlimit>10000</creditlimit> </mydata> ...where those columns are in the SQL statem ...Show All
Visual C++ Can I add a user defined Language? (AFX_TARG_MYLANGUAGE)
Hello, We are implementing multi language for a couple of our products, and one of our developers was wondering if it would be possible to add a user defined language. The reason for this, would be that we could make different screens / layout in the same language, but for different clients. The combobox on the dialog after "Insert Copy" in the resource editor should list this entry, otherwise we would have to manually edit the .rc file to copy all the entries and add the define in there ourselves. Or would we be better of making a copy of the DLL, and change the screens in there I suspect that you woul ...Show All
Visual C++ Convert double to char
Hi, Can someone please explain to me how I convert a double variable to char, and then even how I convert it back to double from char Thanks! Can't be done. You can't possibly represent a double in just one char . Or did you mean how to convert double to a character string ( char *), which can be done Are you allowed to use the .NET Framework for this ...Show All
Visual Studio Problem with VSS internet access and IIS in 64 bits server
Hello, I just installed Visual Studio 2005, Sql server 2005 and Source Safe 2005 (RTM) in windows server 2003 (64-bit). All works fine. I can work with the services installed in IIS (reportserver and custom services I have created). But when I enable internet access in VSS database, the services stop working, with error messages as Service Unavailable or Internal server error. Anyone can help me Thanks Josep M Busquets Girona Which version/build of VSS are you using 64 bit support was added in VSS late post beta2 (it appeared in Main build 50723.00). If you're using an older drop, I'd recommend waiting to ge ...Show All
.NET Development Tips and tools for finding out why serialized files are so big
[VS.NET 2005 Beta 2] Hi, I was wondering if anyone knows of any tools that can help determine why (binary) serialized files are bigger than expected Maybe something that graphs the serialized objects in the file If not, does anyone have any tips for finding out I'm sure I can work it out with tracing but it would be good to hear if anyone knows any shortcuts! Cheers, G. RayManning wrote: A converter from the binary format to human readable/xml would still be a nice tool to have. Definately! Thanks for the answers - even if they're not the ones I wanted to hear... G. ...Show All
Visual C# Regular expression - reading only first 4 lines
Hi Guys, I have one problem regarding the regular expression. I have to fetch the data (8 chars) from the text which starts after "EFF:" anywhere between 1-4 lines but only the first match. the text can have more than 10 lines. let me know how to restrict the regex for reading upto only 4 lines. (here enter is the end of line) Thanks in advance Text: H 01/05/2006 16:34:11 MUNI/CORP 2 16706 1 ........................................................... ENT:01/05/06:(2006) DEAL#: 1: TEXT#:1928906: REMARKS:CUSIP # CHG : IND:=N M: EFF :05/01/09:(2009) TARGET:6497168M2: :NEW YORK C: INIT:64971K6F8: :9 ...Show All
Visual Basic Loading .txt files
Hello, I am sort of new to Visual Basic, but I have completed some tutorials. I can't find information on how to make a menu with Open File for example, in it, then make it open a file such as .txt. Where or how can I script a menu to have an option called Load File that will load a .txt file or something else. So far I have made a menu with the Open File option, but I need to script it to load a file now. Thank You! An OpenFileDialog is the class you need in order to let your user browse for a text file to start with. Once you have the path: &nbs ...Show All
.NET Development javascript enabled?
How can I find out if the client browser has javascript enabled or not in my asp.net application I want him to be taken to an error page if it is turned off since my application uses a lot of javascript. Thanks Check Browser property of the Request object, then test a value of JavaScript property of Browse object. If it is equals true clients supports JavaScript. ...Show All
Visual Studio Express Editions Can't use VC# express
I installed VC# express from internet. I use Win2000 profesionnal. I can't create a new project because there is no template in the create dialog. I tried to uninstall re install but no succes. I read similar problem on the forum, where they speak about Visual command prompt, what is it can somebody help me Thanks For those uninitiated as myself: 1. Open command prompt START --> ACCESORIES --> COMMAND PROMPT 2. Type cd C:\Program Files\Microsoft Visual Studio 8\Common7\IDE This above prompt takes the user to the appropriate subdirectory. 3. Type VCSExpress/installvstemplates 4. Close your ...Show All
Visual Studio Tools for Office How to Create Outlook ContactItem in Folder, that is not the Default-Folder fpr Contacts?
Hi, I want to create a Outlook ContactItem in a MAPIFolder, which is not the default-Contact-Folder. How can I realize that I trief myFolder.add(myContactItem), but there was no success. and the myContactItem.Save()- Mehthod saves it in the default-Folder. Can Somebody help me I need to save the ContactItem in my Folder soon. You can save the item and then call the Move method to move it to the destination folder. You may have better luck asking this question on the Outlook newsgroup. http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.office.developer.outlook ...Show All
Visual C++ how to change the LONG date into CString date?
who may help me . now , I begin learning MFC programming. I have learn standard c++ one year. I do't know about microsoft c++ date conversion. who may help me to find some web for conversion thanks Check this: http://msdn2.microsoft.com/en-us/library/0heszx3w.aspx ...Show All
Visual C# inlude replacement in ASP.NET
i was using the include command to insert a simple page with just code or maybe image or menu in all pages instead of having it in all pages and change it n all pages everytime. what will be replacement fo include command in ASP.NET. let's say I want this command in a separete file: <asp:image id="Image1" runat="server" imageurl="images/header/header.jpg"></asp:image> and place it whenever & whereever I want. You can use Web User Control's wich contain a ".ascx" file that can contain ASP.NET markup. Once youv'e created the appropriate markup in your ...Show All
Visual Studio Team System Extensibility, this unknown...
Hello everybody, don't you think that when a poor developer knows about five base Web Services in TFS, his/her first though is about extensibility Is there any walkthrough about For a general intro to extensibility, you might like these Powerpoint decks: Our PM Doug Neumann's talk at PDC2005: http://www.google.com/url sa=U&start=15&q=http://216.55.183.13/pdc2005/slides/TLN301_Neumann.ppt&e=15235&ei=3_6ORJbUHZqKpAL7n82tBg Some more PPTs from "Tales from the Doghouse": http://blog.hundhausen.com/PermaLink,guid,bc78266f-94ff-40ad-a7c1-2d1957e65cfa.aspx ...Show All
Visual Basic dynamically adding resources with the My.Settings object
Hi, I recently had a client request that the column widths he set for a list view should be persistent, so that each time he opens up the application, the widths appear as he left them. This was accomplished in Visual Studio 2003 by dynamically writing the column widths out to a config file using XML. As the list view was being used many times within the application in conjunction with various controls, entries were added to the config file at runtime. It was not practical to define these entries in the config file at design time. More recently I have been upgrading the application to .NET 2.0, and I have no ...Show All
Visual Studio publishing test results from custom test type
I'm trying to publish test results from a custom test type. I don't want anything except the normal result information published. I'm not storing any different or additional data in my TestResults class, but I'm not sure how to make publishing work. When I try publishing results from my custom test I get the following error: Publish Failed. Test Type not installed on the server for test type: "Microsoft.VisualStudio.TestTools.Samples.FooTest". I've copied my TUIP and TIP dlls to the Foundation Server under c:\program files\microsoft visual studio 8\common7\ide\privateAssemblies\1033 I also added entries to the registry ...Show All
