Jiajia's Q&A profile
SQL Server SQL reporting services 2005 with CLR
Hi, I am trying to use reporting services 2005 with a VB SQL stored procedure that i created in visual studio using CLR. The stored procedure was created successfuly in SQL server but while linking the report to the stored procedure, i am receiving the following message "An error occurred while retrieving the parameters in the query. The stored procedure 'mysp' doesn't exist. Thanxs in advance ...Show All
.NET Development .NET Framework design guideline download ?
Is there a place to download all the .NET Framework guideline as a doc or pdf files to print it http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpgenref/html/cpconnetframeworkdesignguidelines.asp Thanks. Also, note that there is a book on the card. See here: http://blogs.msdn.com/brada/archive/2005/05/11/416567.aspx ...Show All
.NET Development How can I communicate with an Java (JDK 1.5.0) Application over the Network with with Serialized Objects?
Here is the problem I am looking to solve. I have done a fair bit of searching on it but there is little to nothing on the web about Cross Language communication between Sun Java and C#. I want to send serialized objects between J2SE (Sun Java JDK 1.5.0) applications and a C# server program. The server program also needs to be able to send objects back to the J2SE client program. Both need to be able to read the objects an ...Show All
SQL Server Calculating YTD for previous year
HI, I need to calculate the YTD for the previous year based on the month selected. How do I use the parallelperiod and YTD in conjunction with each other. Any suggestions Thanks in advance PMNJ ...Show All
Visual Studio Tools for Office Problem using ServerDocument.AddCustomization
Ok, here's the situation. I am creating a system modeled closely to this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/odc_vsto2005_ta/html/OfficeVSTOBenefitsRegistration.asp I am at the point where I am adding the customization to an uploaded word document. But I'm getting an error, and I can't make sense of the error, so I can't proceed to fixing it. I hope someone here can help. Here is the error I'm receiving (I' ...Show All
SQL Server Difficult Query
Hello, I am new to Transact SQL and am not sure how to get the proper result set. If there is OE 1 and only EP 1 for the same sysprojn (see 3000021), I only want to select the row with the OE 1. If there are more EP rows for the same sysprojn (see 3000024) then the sum(bookd) of the EP rows equals the bookd of the OE. In that case, I need to select all the EP rows and the OE row. Any help would be ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Calculate "slope"
Okay, here's my problem. The game I'm making is a 2D platformer, where you use the keyboard to move the guy around. When you click somewhere on the screen, your shot is supposed to make a beeline for the coordinate you just clicked. Somehow, I need to calculate the projectile's "slope". Assume that (0,0) is the top-left coordinate of the screen, and (3,3) is the bottom-right. If my player is at (0,3), and I click at (1,1), then my s ...Show All
Visual Studio 2008 (Pre-release) Client user name in ActiveDirectory environment
Hello, I am using NetTcpBinding to connect a client to a server. Both computers are registered in the same Active Directory domain. On the server side I would like to know the name of the logged in windows client user for the current service request. How can I accomplish this Regards, Christoph You can set your ClientCredentialType to Windows which will use your windows account to authe ...Show All
Visual C# Difference between out and [Out]
Hi Does anybody know what is the difference between out and [Out] For example if I'm passing byte[] to unmanaged c++ and I use fun(out byte[] bArray); // this doesn't work fun(ref byte[] bArray); // doesn't work too fun([Out] byte[] bArray); // this work perfectly C++ fun(*byte); The out keyword is equivalent to the combination [Out] ref. So the difference between out and [Out] is that [Out] by itself doesn't make a byref ...Show All
SQL Server SSAS newbie/simple cube/dimension creation question
I am starting with SSAS September CTP and am trying to build my first cube but it is not working at all. I have 1 table named FACTtable with 4 fields, CustCode, Country,TranDate and Amount. I am trying to produce a cube that will sum Amount by the dimensions CustCode and Country and also to have the TranDate as a dimension (visually along the top)with the ability to automatically sum up to month/quarter/year etc. There is only 1 table involved s ...Show All
Visual Studio Team System Import Tool from ClearCase
Will TFS have an import tool to allow one to import ClearCase/ClearQuest migration to TFS And if so will it preserve the history of the files, labels, etc Please look up http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=150445&SiteID=1 for a sample tool ...Show All
Windows Forms Invokepaint to paint another controls image on your control
Ok Does anyone know why this doesn't work Public Class UserControl1 Inherits System.Windows.Forms.UserControl Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs) Dim CB As New ComboBox()   ...Show All
Visual Basic WriteAllText Method
Hi guys, I'm a new VB6 user. I'm trying to write text to a file using the reference provided on MSDN ( http://winfx.msdn.microsoft.com/library/en-us/dv_vbalr/html/f507460c-87d9-4504-b74f-3ff825c7d5c4.asp frame=true ) I'm using this code: Private Sub Command1_Click() ' Declaration Public Sub WriteAllText(ByVal file As String, ByVal text As String, ByVal append As Boolean) End Sub My.Computer.FileSystem.WriteAllText("C:\TestFolder1\test.txt", "Thi ...Show All
Visual Basic Installing VB.Net without product ID
I lost my CD box that has product ID on the back. I want to install vb.net 2003 on my new laptop. I have vb.net installed on my desktop. Is there any way I can install vb.net from my desktop or using the original CD without using product ID While I don’t know how to install VB2003 without a product key, this may be an opportune time for you to make a free upgrade to Visual Basic 8 with Visual Basic Expr ...Show All
SQL Server Ad hoc reporting Model and Security Filters
I am having some problems with creating security filters. The way my system is setup is that I have a main table that contains all my data. I also have a security table that tells me what records each user has access to. I created an entity for my security filter and have a security filter defined that limits the data to the rows that have the logged on users id. This works fine if I look at the data I see the rows that ...Show All
