H?LΛ??'s Q&A profile
Visual Studio 2008 (Pre-release) XAML Futures
Is that possible to produce something like a main logo at: http://www.relate-software.com/uk/ using XAML I mean the shape itself and 3D effects as well Thanks. You could model a 3D shape like that shown. The rendering in WPF would be true 3D not the mock 3D shown. So the lighting would be more accurate in WPF, but require more hardware to perform well. For a single logo on a page it may not matter much, but on a 700mhz P4 like my wife uses for web browsing I would not want to use that for a simple logo. A pre-rendered bitmap would be a better solution for the web where you do not know what machi ...Show All
SQL Server sql in C# Select
What is wrong with is sql statment. I get a error in the sql statment public string GetAccessLevel( string UserName) { string sqlString = "SELECT MentorUserName, MentorAccess FROM MentorUserAccess WHERE MentorUserName= " + UserName "; } Also, you should not use string concatenation to prepare the sql command. You open up your sql statements for sql injection, use SqlParameters instead: string sqlString = "SELECT MentorUserName, MentorAccess FROM MentorUserAccess WHERE MentorUserName=@UserName"; SqlCommand sqlCommand = new SqlCommand(sqlStr ...Show All
SQL Server The Cubes collection has been updated on the server - error
I am using SQl Server Analysis Services 2005 and an associated Visual Studio 2005 web application that utilizes the cube generated in Analysis Services. My problem is that after I make changes to the cube I sometimes get the error: "The Cubes collection has been updated on the server" . I've rebuilt the cube and deployed it..shouldn't that be enough I also rebuilt the web app and am still getting the error. How do I get passed this thanks, -M How do you connect to Analysis Services Do you use HTTP connectivitly What type of middle tier application you have What it is doing Edwar ...Show All
.NET Development Removing element tag names during serialization
Hello all, I have what appears to be a simple question but after quite a bit of research I can't seem to find an answer. Basically, I am serializing a class into an XML document. This is creating a XML doc that includes the following: <Document:File> <buffer>JKDIDIEJ</buffer> </Document:File> What I would like to do, is to remove the <buffer> tags while serializing, so that only the data would be present. Because of the structure of the pre-existing XML, I can't change buffer to just include it in the Document class. So is there a command, function, or the like that I can pass to the XMLWRite ...Show All
Visual Studio Express Editions Goto????
How do you say within the code of a form say If blah = blahblah then goto private sub example () because when I say goto private sub example() private becomes underlined in blue and sais 'identifier expected' in error list do I have to declare the sub or can you not write your own sub e.g private sub whatever_i_want () ... I need to know because I have lots of the same stuff to write and I'm sick of copying and pasting. and when I build it it goes really slow. // do I have to declare the sub yes And moreover, goto is used to go between parts of code within a single function. It ...Show All
SQL Server Can OWC 11 work with SSAS 2005 cubes?
Office Web Components 11 problem with SQL Server 2005 Apr 05 CTP Can OWC 11 work with SSAS 2005 cubes When using the Business Scorecard Manager 2005 builder - added a Report View - set the data source for the OWC pivot table (Used the MS Ole DB provider for Analysis Services 9.0 provider) - Test connection succeded, but cannot get a listing of the cubes under "Use Data from" Cannot get the dimension & measures in the Field list The Pivot table gives an error "Cannot connect to the server xyz. The server is either not started or too busy" Have also installed ptslite (pivot table service) - followed steps as in installati ...Show All
SQL Server Alternate Synchronisation Partners
Yes, I know synchronisation to alternate partners is deprecated in SQL2005 but.... In SQL2000 there is a Sync Partners tab in the publication properties dialog that allows you tick a checkbox for each co-publisher to be enabled as an alternate synchronisation partner. What is the equivalent in SQL2005 I've set up replication in SQL2000 following these instructions http://support.microsoft.com/ kbid=321176 and it works. Now I'm trying to do the same thing in SQL2005 but I can't find a substitute for steps 10 & 11 in the section "Set Up the Alternate Synchronisation Partner". What's the answer Thanks in advance. ...Show All
Visual Studio Subreport Data Not Loading
I have a very simple test project with just 2 tables using Access database Only have 2 fields in each table tblOrders = Order_ID(Long Integer), OrderDescription(Text) tblOrderDetails = Order_ID(Long Integer), OrderDetailsDescription(Text) Have made a master details report with the details being supplied by a subreport I can get my data to show if i run my reports separately but when i run the master details with the subreport embedded i get the message "Error Subreport could not be shown" From master report to subreport have set under Parameters Tab Parameter Name: Order_ID Parameter Value: =Fields!Order_ID.Value Sub ...Show All
Software Development for Windows Vista native API CreateProcess & redirecting output
Hi, I'm writting some code in C# that makes use of native API CreateProcess and I'm trying to read console output from cmd.exe. But my code will hang in the Read() function (last line of my sample code). I have no idea what is happening. I've looked at a lot of samples and mine seems to be alright. Any help will be appreciated. Sample Code ---------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.ComponentModel; namespace ConsoleApplication1 { public struct PROCESS_INFORMATION { public IntPtr hProcess; public ...Show All
SQL Server Error (rsInternalError) after installation
I have installed Reporting Services 2005 64bit Enterprise Edition on WIN 2003 64bit SP1 Enterprise Edition. Reporting Services Configuration Manager indicate that everything is ok, green checks except Encryption Keys and Execution Account. Reporting Services databases, ReportServer and ReportServerTempDB, is not "installed" at the same server. Tha DB's runs at a SQL 2005 Server 64bit in the same domain. I get following error: http://localhost/reportserver : An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help Object reference not set to an instance of an ...Show All
.NET Development VS2003 : Connecting To Oracle 9I [RESOLVED]
Hi everybody, Ok, totaly new a connecting VB.Net to Oracle using the Oracle Client.... But this comes back with "Unable to load DLL (oci.dll)." on my machine.............. Connecting with SQLplus or TOAD is not a problem..... Any clues Code: Imports System.Data.OracleClient Imports Microsoft.VisualBasic Public Class clOracle Public conn As New Data.OracleClient.OracleConnection Public Function ConnectToOracle() As String ' TODO: Modify the connection string and include any &nb ...Show All
Windows Forms hot tracking menuitems
How do i create a main menu with hot tracking effects. When i point to the menus i would like to change the back color of the menus just like the menus on the visual studio. This is a nice example with source http://www.codeproject.com/vb/net/vsnetstylemenusvb.asp ...Show All
.NET Development Executing SQLCommand
In a VB.NET app the user has ownership of the SServer 2000 database and can see and update data. However, the user is blocked from running code with a SQLCommand.ExecuteReader line in it. Does a user need any special security setup to run SQLCommand The only limitations would be related to whatever you are executing in the SqlCommand, not the fact that it's coming from SqlCommand. What does your CommandText look like, and what is the exact error message and call stack that you get Have you tried running Profiler on the SQL Server or checking the error log to see if any more information is available ...Show All
.NET Development .NET Framework - hotfix. Can I discard the original Framework?
I don't know where else to post this, but I just received an automated update hotfix for my .Net Framework that is 1,114 megs...this is in addition to the original .Net Framework that is also 1,114 megs. That's taking up too much of my disk space. I'd like to remove one of them if I can, but I don't know anything about the pros and the cons. Can I just remove the original and use the hotfix in it's place Thanks, Paul The update was pushed to you via Windows Update because it was rated as an Important security update. In general you don't want to disable accepting updates since it will leave your system vulnerable to attacks ...Show All
SQL Server Issues while loading in parallel into a partitioned table
Hi there, We have a Fact table that gets loaded monthly with 410 Millions rows. We therefore, decided to create a partitioned table having its partition key the week_of_Year. Process: performed using SSIS one package. We first load the data from staging in parallel using 4 different connections into 4 weekly work tables, about 108 Millions each; and during this process we perform all the lookups and transformations. The next step we load from the 4 work tables into the partitioned Fact Table. We still use 4 different connections, and data flows that run in parallel to perform this task. However, if we ...Show All
