Rania171's Q&A profile
Visual Studio Team System Preventing the need to rebuild TFS warehouse cube
We're encountering the TFS warehouse cube problems described in "Warehouse Cube Won't Process" thread on this forum. There are a few other similar thread on this forum, too. We don't encounter the problem until we create a new team project. The problem is that the students in our class do this in one of the early exercises, which means we lose 15-30 minutes getting the students to apply the fix described in that thread. That's a lot of time to lose in class--especially a VSTS class. Does anyone know how to prevent this from happening Is there something we can do on our virtual PC image before starting the class It has a fresh installation of VSTS-TFS. Thanks! Seth Livingston | Director of Learning | Adventos ...Show All
Visual Studio Team System Versioning Websites (Shared Solution Files?)
What is the solution that eveyone is doing to allow a developer to fix bugs on a web site v1.1 for example while then needing to switch back and forth to v1.2 which would be a branch from 1.1 containing new features ect Ideally, what we want is to open a solution file and or switch workspaces and have TFS provide the latest version of all files related to that solution file and or workspace. For example.... Solution 1.0 websiteA 1.0 websiteB 1.0 DALProject 1.0 Solution 1.1 websiteA 1.1 websiteB 1.0 DALProject 1.1 NOTE: Workspaces cant have the same local directory (IIS Virtuals in this case) in two different workspaces point to unique directories in TFS source control Actually, we do have ou ...Show All
Visual Studio Tools for Office SQL DBA Needs help with Word Document Creation, using VSTO
Like the subject says I am a DBA, not a word macro programmer, But the Boss says since this is running from the server its a server project so here goes. I have created a Word Project using VS.NET 2005 and Word 2003 Template file and a code behind page. When the Template file is opened, it opens a recordset and generates a letter using the information in the recordset, it then saves the file in the customers directory so the account rep can review and approve it. I have just about everything working, Create the document in different directories, remove customization so the saved doc doesn't get the error message and all apears fine. Then I copy the Word Template and associated files to the SQL server, but the docu ...Show All
Visual Studio Team System Team build CTP6 datadude project
I'm trying to team build a solution with a ctp6 Datadude project but the build fails stating the next line in the buid.log file Target SqlBuildScriptName: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets(26,5): error MSB4044: The "SqlBuildScriptNameTask" task was not given a value for the required parameter "TargetDatabase". Done building target "SqlBuildScriptName" in project "SenterNovem.Ras.Database.dbproj" -- FAILED. Can someone give me a hint where to look to solve the problem. It may be, Ruben. You might want to take a look at the following help topics that were new for October: Ho ...Show All
SQL Server How to enable clients to access the same DB via SQL Express
Hi to all! My problem comes from this situation: I have two PC connected via a network calble; on the first I have SQL Server 2005 Express, an MDF data file in a shared directory under the "Document and Settings" path, and my program written in VB .NET 2005. On the second PC I have only my program, and I would like to have it connect to and work on the MDF on the first PC. The program on the first PC works well and uses a connection string like the following: Data Source=.\SQLEXPRESS;AttachDbFilename=<path>\<name>.mdf;;Integrated Security=True;User Instance=True I am able to access to SQL Express from the second PC (I have enabled the Client to use the right TCP ports, told the firewall to let them work and enabled ...Show All
Smart Device Development Tray Icon in C# in WM5
Is there any way to add tray icon of an application that is executed in background I wrote an application in C# and i want when it is sent to background(it is minimized) to get an icon in the tray. When i click the tray icon, i get the application back again... I work in C#, in Visual Studio 2005. The whole project is about PPC Windows Mobile 5 device. Thank you The msdn C# notifyicon sample download does not work with VS2005 CF 2 WM 5. Works fine on 2003 devices CF 1.1. Any alternatives to the opennet dll TIA ...Show All
Software Development for Windows Vista i cann't Tracking ActivityEvents
Workflow99 only have 2 activity private CodeActivity codeActivity2; private CodeActivity codeActivity1; private void codeActivity1_ExecuteCode(object sender, EventArgs e) { Console.WriteLine("Here in working_ExecuteCode."); } private void codeActivity2_ExecuteCode(object sender, EventArgs e) { Console.Wr ...Show All
Visual Basic Edit properties of controls on other forms
I understand how to change the value of a textbox by making a new form in the code Dim Form2 as New form ... Form2.show() This however does not work for me, i need to edit existing form controls that i make in the designer. So instead of making a new form in the code, i wnat to just edit one i already made. Right now i can only get the code to run when I dim Form1 as new Form I cant dim it as new, then nothing works and i get null erros and such. Any help will be greatly appreciated, I did search the forums and all i found was what i have above and that wont work, atleast i dont believe it will. Hmm, i believe i understand how to make that work, but I still cant edit the defaul ...Show All
Microsoft ISV Community Center Forums LBound and UBound functions
Is there a reference library I need to enable in the VBE to get LBound and UBound functions They don't appear to exist in the Object Browser with the current reference libraries I have enabled. Many thanks! I used UBound on Excel VBA before. No additional reference. I guess it is just like Ucase(), they don't have intellsence pop up. ...Show All
SQL Server Extremely slow Excel MDX
Using Excel as a client is most of the time exceedingly slow. For example writing a simple query of the type: SELECT [Measures].[Some Measure] ON 0, [Product].[Product-Version].[Product] ON 1 FROM [Cubename] in Management studio is in Excel transformed to: SELECT NON EMPTY HIERARCHIZE(AddCalculatedMembers({DrillDownLevel({[Product].[Product-Version].[All]})})) DIMENSION PROPERTIES PARENT_UNIQUE_NAME ON COLUMNS FROM [Cubename] WHERE ([Measures].[Some Measure]) which takes several times longer to execute. As one starts drilling down it becomes increasingly worse with excel producing MDX that takes 100:s of times longer to execute then if I handwrite the mdx. This is with a very simple cube where Some Measure is no ...Show All
Visual C++ Help button get chm instead of hlp
I have a application built around a CPropertySheet derived class. The help button is looking for 'app.hlp' file (this is the default MFC stuff, I've not added anything other than moving the button). How do I get it to look for a 'app.chm' file instead I've tried the following using a test help file in InitInstance() //First free the string allocated by MFC at CWinApp startup. //The string is allocated before InitInstance is called. free((void*)m_pszHelpFilePath); //Change the name of the .HLP file. //The CWinApp destructor will free the memory. m_pszHelpFilePath=_tcsdup(_T("C:\\filezilla\\filezilla.chm")); EnableHtmlHelp(); but i just get "Failed to launch help" I think you ca ...Show All
.NET Development UdpClient in two threads
HI, I'm trying to use the same UdpClient instance in two different threads. The first is continuously blocking on a Receive() method while the other uses the Send() method to send data to another host. The problem is that I can't use Receive() and Send() methods simultaneously in different threads. When I try to Send(), the thread that is block on Receive() throws a SocketException saying that an existing connection was forced to close by remote host. Any help Thanks, Spulit I gave up using UdpClient and started using Sockets but I came up with the same problem. I have a like this (simplified version): class SocketRW{ public: SocketRW() { // Initialize socket; }; send(){ socket->BeginSend ...Show All
.NET Development How to do image conveting
Hi guys I need to be able to convet image types on my web server can anybody tell me how best to do this Paul Please only post 1 topic: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=568626&SiteID=1 As for your question on "server hit" - depends on alot of things such as the server configuration/performance, what format you are going to be saving the image to, the size of the image etc... however it shouldnt be a big hit at all. If its going to be saved over a network stream then there will be a small hit I believe. Probably best doing something like: 1) take file 2) resize/convert 3) get link of resized/converted file and show ...Show All
Visual C# Using C# to Delete contents of entire Access Table in one step
I need to delete the entire contents of an Access Table after I am done using it. I am using the Table to store data until it is printed in a Crystal Report. After it is printed I no longer need that data in the Table. I have been able to delete individual rows in the past using the .Delete(...) and then the .Update(...) functions. The prblem is that doing this for 5000+ records several times a day would be cumbersome and time consuming. Is there a comand for deleting all the contents of the table in one step currently for testing purposes I am just opening the database and manualy deleting the entire contents of the table. Here is my current code for deleting the data: public void LoadDelete ( int Count) { StreamReader read ...Show All
Smart Device Development SHFullScreen too often returns "true" - How to check state of taskbar etc.
SHFullScreen(m_hWnd, SHFS_SHOWTASKBAR | SHFS_SHOWSIPBUTTON); To my mind, this call should return FALSE on a pocketphone because the SIP button isn't supported, right However, it returns TRUE. What's the proper way to check to see if there is actually a taskbar, sip button, start button, etc. currently displayed on screen Also, it would be nice to have a call that returns the actual height of the taskbar in case that ever changes (or will it never change ). I suppose we can rely on the following: a windows CE application always launches with the taskbar displayed at the top of the screen a windows CE taskbar is always 26 pixels the location of an application frame window always starts at (0, 26) The third assertio ...Show All
