Nick777's Q&A profile
.NET Development Console.writeline() will not write to a ASP.NET page, Framework 2.0
Thought for sure that I have done this in Framework 1.1, but will not work with 2.0 The problem is simply writting to the web page console, can not seem to get the Console.Writeline function to work.... Tried setting the Console.Setout() but still no success. No error messages just nothing displayed from the Console.Writeline function. MSDN documents the issue if the default output is not the console, nothing is displayed. Any help appreciated... Partial of the code that I am using. Have attempted to set the the Console.Setout w/o any success. Try Dim outStream As New System.IO.StreamWriter(Console.OpenStandardOut ...Show All
Visual Studio Express Editions LINK : fatal error LNK1104: cannot open file 'oleaut.lib'
I am trying to write a simple windowed program. When I build it gets the msg above. I have searched my disk and "sure nuff", no oleaut.lib. There is a oleaut32.lib. I have no idea where or why either is called. Anyone have an idea what's going on this is my first attempt to build anything with Visual c++ Express. The SDK is installed.... Further info: When I use the search function for oleaut, I get zero references. What is this thing anyway When you say you installed the SDK, did you edit the proper files afterwards See: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/ ...Show All
Visual C# converting from nvarchar to money
Operating system: Win XP Languages: ASP.NET, C#, SQL Server 2000 Hello, and thank you for reviewing this post~! Can someone tell me how to cast an nvarchar to money using C# Thanks in advanced! well there is no such thing as an nvarchar in C# so I assume you are referring to a string if so you can use decimal.Parse(string) ...Show All
Visual Studio Team System Access denied to portal (401.2) or TFS site
Everything was working fine this weekend after installing TFS. However, this morning, I get a lot of issues when trying to remotely connect over the Internet: - Can't connect to the portal site ( http://my_ip_address/default.aspx ) as I get a 401.2 error. - Can't connect to the TFS site ( http://my_ip_address:8080/ ). The page just displays: "Error. Access is Denied" - Can't connect to the server via Team Explorer. I get prompted for my credentials, but the login prompt keeps coming back. If I cancel the prompt, I get "TF30063: You are not authorized to access my_ip_address". In VS2005, I can't even get the dialog where you define your TFS s ...Show All
.NET Development StreamReader-> Search And Modify inside textfile
Hi there, I need some help pertaining to a text file. No use explaining, I'll do it as I go along. Here is an example of my text file: Sasko Sam Seedloaf 800gr [6.86] #3## Elite Gouda Cheese 500gr [32.90] #5## Wholegrain [5.00] #6## Wholewheat [6.00] #7## Coke [7.00] #0## If i break it down, using the first line as an example, each line contains: A product: "Sasko Sam Seedloaf 800gr" A price: "6.86" A quantity "3". I am using a groupbox, with all the product names loaded into it so I have the string to search for. I want to modify the quantity value. So for example, I need to be able t ...Show All
SQL Server Question about scripts and transactions
I am writing a package which will identify new partitions for my cubes, create them, and then process them. I have an XMLA file which is executed to process the partitions in a single task, which is built up within a loop. If I set the transaction level to required, will this mean that if one partition fails to process, the others will roll back Hope this makes sense! Thanks in advance Rudy, we are investigating the same process for our cubes. We would like to apply partitioning by day to the SSAS cube via an ETL job that runs after the load (or when appropriate, I'm not a pro at partitioning). Were you successful w ...Show All
Visual Studio Syntax coloring for .ReportTemplate (T3) files (contribution)
Hello. This time Modelisoft has created, a syntax coloring editor feature for the .ReportTemplate files that are generated in the Debugging solution. (and more generally for the T3 files) It enables the C# transformation code to be visually distinguised from the Template content. We think that this (again very simple) tool might be as helpfull to others that it is to us. You can find it at http://www.modelisoft.com/ColorizedT3.aspx Enjoy it ! Valerie. Hello Jean-Marc, It seems like there are some problems with your website is there a direct link to the colorizer like there is for DSLDm2Dd.zip & ...Show All
Visual Studio Tools for Office Deploying VSTO Word Project: could not find or load customization assembly
Hello! I developed a custom task pane with VSTO for a Word2003 report and now I would like to enable access for my clients to this document. I copied the document to a server folder in my intranet and tried opening it, but I got the following error:: "The customization assembly could not be found or could not be loaded" "The customization does not have the required permissions to execute." Therefore, I need to grant access to a server folder where the document and the assembly will be located. I checked http://msdn2.microsoft.com/library/k64zb6we(en-us,vs.80).aspx and followed the "How to: Grant Permissions to Folders and Assemblies" pr ...Show All
SQL Server Using OLE DB Source properties in Derived Column
I am converting the contents of 64 lookup tables from individual tables (each called lookup_xxxxx) into a single LookupReference table. The individual lookup tables are my OLE DB Source objects. I want to derive the variable part of the lookup_xxxxx table name from the OLE DB Source 'OpenRowset' property as a variable and make it into a derived column (which will be the lookup Type column in the output table). For example, extract "SpeciesType" from the input source called 'lookup_SpeciesType' and put it into the derived column. I cannot find a System variable that refers to the input data source. Does anyone know how I can d ...Show All
Windows Forms Public statusstrip in base winform is not accessible in derived form?
I have a base form that contains a StatusStrip control that is marked as Public. There are also some buttons on the toolstrip that are also marked as Public. I have a derived form and I can see the statusstrip including the buttons. When I click on the status strip the properties are greyed out. However, if I scroll down and look at the modifier property I can see that it is Public. The is quirky behavior. I'm using Visual Studio 2005 Team Edition, using C#. I have "clean"ed the solution and performed numerous Solution rebuilds. I've even gone as far as rebooting, yet the problem persists. I've searched the designer-cod ...Show All
Visual Studio Team System Problem with shelving
I've encountered a small problem with shelving. Here's a scenario I Am working with studio 2003 and using TFS as source control . I have a console app project with 1 class (Class1) Lets say I add a new class (Class2) and then check in class2. Now ,I open the class for edit and do some code. I then do shelve to the entire project . after that I undo changes in order to get back to the last checked in version. The problem is that the "Undo check in" removes the Class2 from the project . This is normal behavior but why is that when I do UnShelve to the project from TFS I still see Class2 . The UnShelve get ...Show All
SQL Server default parameter values not updated
For testing purposes, I had placed default values in my report parameters. I deployed the whole suite of reports once and tested them. Then I eliminated the default parameters and redeployed, but the server doesn't pick up the changes. Other changes are updated fine, but for some reason it's hanging on to my default parameter values Why Is there a way around this Using RS 2000 Beta 2, btw. I came across the same thing in Reporting Services 2005. However, you can change the parameters using the Report Manager. http://<servername>/Reports Click "Show Details" Click the properties icon in the "Edit" col ...Show All
.NET Development Architectual Recommendations with Web Service and Oracle Backend
I have the code working in the example below, but I want to make sure I'm doing it correctly from an architectural perspective, considering concurrent access and mild to moderate usage throughout each day. The code below queries Oracle straight from the web method. From an OO perspective, should I move any of this code into its own class, and then instantiate as "new" from the public web method For those that are well versed in .NET (OO) with web services, I'd love to hear your thoughts on a well constructed solution. Thanks! <WebMethod()> _ Public Function GetCustomerData( ByVal custnumber As String ) As St ...Show All
Visual Studio Team System installation problems
Hi, When making the installation of the line of visual studio 2005 gives to error with number 2337 and problems me with the package. the installation I am making it from a network with administrator permissions I wait for an answer urgently since I need to test tester edition for the company that work that is to partner of Microsoft, and we focused to the performance test. sorry, my ingles this is the log error: [04/26/05,16:41:05] Visual Studio 2005 Beta - English: [2] ERROR:Error 1331.Failed to correctly copy Microsoft.VisualStudio.QualityTools.Resources.dll file: CRC error. [04/26/05,16:41:06] Visual Studio 2005 Beta - En ...Show All
.NET Development Add record with null value to typed dataset
Hi, Using the typed dataset functionallity, I encountered the following problem. I created a new dataset, added a table "Keyword" to it with the designer and let Visual Studio generate the typed dataset. In this table is a column "ParentID" which has these properties: AllowDBNull : true DataType : System.Int32 When I tried to add a new record to this dataset I noticed that I have a method dataset.Keyword.AddKeywordRow (string Name, int ParentID) (Name is just another column in the table) How I'm I supposed to get a null value into the ParentID field of the new record Or isn't that possible Kind regards, Christian Mol ...Show All
