Tryin2Bgood's Q&A profile
Visual Studio looping through report items of a rendered report
Hi all, Situation: I have a WinForm application that uses the SQL 2005 reportviewer component. That reportviewer uses a local report. The report definition contains a report item (textbox) called "txtEmail" in the table header. Would it be possible to walk (in runtime!) throught all the report items of a rendered report so I can get the value of the report item "txtEmail" I've tried this code to walk through all the items in a rendered report: ListControls(reportViewer.Controls); private static void ListControls(Control.ControlCollection control) { foreach (Control e in control) { Console.WriteLine(" * " + e.ToString()); ListControls(e.Controls); } } but it didn't list the actual report items ...Show All
SQL Server Cube not refreshing?
AS and RS 2005 My cube is built on views both for dimensions and the fact table. I am using reporting services and the report i have designed works fine except it does not update when i change the data. I can see the change in a select from the view so it is definitly there. It does refresh if i reprocess the cube. This happens in rolap as well as molap. Any Ideas Thanks, Jules Most chances it is Reporting services problem. You can try and browse your AS cube using cube browser built-in in SQL Management studio to see if new numbers are avaliable. Edward. -- This posting is provided "AS IS" with no warranties, and confers no rights. ...Show All
SQL Server Flat File with Nested Data
I am looking to import data into SQL Server 2005 using SSIS. I want to take data that is contained in a flat file and place it into the various appropriate tables in my system. The flat file contains nested data. For example... Bob,Smith,555-5555,123~3.33|245~1.99,Active So I want to build a package that brings in the records as follows Client Table: First Name, Last Name, Phone, and Status (Bob, Smith, 555-5555, Active) Order Table: OrderID, Amount (ID 123 @ $3.33 and another row ID 245 @ $1.99). If possible I would also like to tie the orders to the client record that was inserted. My first question is if SSIS supports nested fields as in my example. Can it break a file by commas, then within a field by other delimiters I ...Show All
Windows Forms Change the default install directory
Is there any way to change the default installation directory in VS.NET 2003 It is a setup and deployment project. I have found the dialog in the user interface, but there is no property to change the default location from "C:\Program Files\..." to a different path. Is there some other way to do this Thanks ...Show All
.NET Development Fail to Load dll from C# when no VS2005 installed -'System.IO.FileNotFoundException'
Hi, I am running C# application with a MFC dll on VS2005. When I copy the .exe file and the dll to another computer I get the following errer: An unhandled exception of type 'System.IO.FileNotFoundException' occurred in FilesUpdateApplication.exe Additional information: Could not load file or assembly 'StrtData, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified. Where the StrData is my dll file. Please advice, Thanks Idit 1. Look at your project's bin/debug folder and copy all the dlls/exe to another machine where you are running this and getting this exception. The cause is that any of dependency of StrData is not found so whatever other dlls ...Show All
Visual Studio Duplicating a Project in VSS
I searched for ppl with similar objectives, and I found this one post that had a similar issue, but I'm not really sure what to think of it. In my situation, there is a VS .NET 2003 project stored away in VSS; this accesses dB's that I otherwise also have access to. I would like to upgrade the project to be used with VS 2005. However, I require the following constraints: 1. I need the original project preserved in unaltered form. I also require that to remain the primary version, and the version that other ppl will edit. 2. I need a local copy of an upgraded project -- a copy that I can work on by myself. How do I do this Thanks for any help! - Jason "DiZASTiX" Hi Jason, Wha ...Show All
.NET Development Error 25007.Error occurred while initializing fusion. Setup could not
Hi, I am trying to install .net framework 2.0 on Windows XP OS. I get the following error " Error 25007 . Error occurred while initializing fusion . Setup could not load fusion with LoadLibraryShim(). how do i solve this I have the same error installing on Windows XP (home) and Windows Vista (beta 1) This renders the MSDN Professional that I bought USELESS. ...Show All
Visual C# Howto use switch with string.startswith()?
I want to parse a text file and wonder if it's possible to do that with switch. The problem is, that i cannot split the lines, so i have to wantet do to it as follows: foreach(string s in list) { switch(s) { case s.startswith("text"): etc. case s.startswith("text2"): etc. } } but that is not possible. Is there a way or do i have to use if else etc. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. SpriteBatch Vs Sprite : 0 - 1
I have created my own TiledLayer class, converting my old code. I have noticed that the new SpriteBatch class is more slow than old Sprite class. Someone Knows why I use 16 x 16 tile in a 640x480 screen. With new class the render is very slow, while with the old one I have also to reduce the animations' speed. I am doing step 2. It sounds like the other guy is doing step 1. I tried both ways. To be honest, they are the same speed. Slow. :) Edit: However, I have not done the source rect to grab the image from the loaded texture. I have tried just one texture, a wall, and drawing a 50x50 map of one texture is still slow. void Draw_Map() ...Show All
Visual Basic Flash Cards
I am doing an addition problem with flash cards, i have done the code for the addition part but i am lost on the flash cards though. Any suggestions would be welcome. thanks a lot i will take another look around. i have only just started programming again. it looks so very different from pascal and c. ...Show All
Visual Studio Dreamweaver-like website setup
Hello, I recently switched from Dreamweaver to Visual Studio 2005... How do I setup my programming environment to automatically FTP any changes to my web host's server when I save my ASP pages, but at the same time create a local copy of that file as well I would like to have a local backup on my PC, as well as being able to quicky search and globally find/replace content throughout my website. (Dreamweaver used to automatically create a local copy of any files that I saved on my web host's server via FTP...) I am told that this could be done by extending the Visual Studio 2005 IDE. I would appreciate any pointers. Thanks. The Visual Studio shell doesn't do this automatically so you wil ...Show All
SQL Server Error while trying to deploy SSIS Package
Hi, I am trying to deploy a DTSX package to 32-bit SQL Server 2005 in a 64-bit machine from my installer. I am getting the following error in the SaveToSQLServer method: The SaveToSQLServer method has encountered OLE DB Error code 0x80004005 (Communication Link Failure). The SQL statement that was issued has failed. However I am not facing this problem when I try to deploy the DTSX package to a 32-bit SQL Server 2005 in a 32-bit machine. Can anyone tell me why this happens and how this could be solved Thanks, Sandhya Hi, I tried importing the packages. I was able to do that successfully. Still when I tried to install, the packages were not gettign deployed. So I reinstalled SQL server 2005 and tried. It worked. But when I try ...Show All
SQL Server The Problem 800a0ea9 absolute recipe what ?
Windows X64 - IIS6 The Problem 800a0ea9 absolute recipe what conn.asp <% set Bag = Server.CreateObject("adodb.connection") strConn = "DRIVER={Microsoft Access Driver (*.mdb)};" & "DBQ=" & Server.MapPath("db/vt.mdb") & ";" bag.open strConn %> ADODB.Connection error '800a0ea9' Provider is not specified and there is no designated default provider. /test/ vt. .asp , line 16 Found the cause of your problem. http://support.microsoft.com/kb/197902 I suggest you use Jet oledb provider instead. <% set Bag = Server.CreateObject("adodb.connection") strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & ...Show All
Visual Basic Database problem/mistake...
I am developing an app that uses an SQL Express DB as the backend and VB as the front end. After reading much information I think I initially made a mistake when I created and connected to the database. After installing an initial version (one click) I now have three databases. The one being accessed by the installed version is in a strange directory (documents and settings/user name/.....). I wish I had started out with a single SQL Express DataBase in a location that would be easy to back up with SQL Management Studio. Now the question, can I copy the database that is being used by the deployed version of the app to a directory normally used by sql and then delete the version used by the IDE and connect to that version If I did this ...Show All
SQL Server problem with role distribution
hello to everybody. well i have a problem with role distribution too users in a local network. well i crated the roles (browsers) and when they acess report manager they can see only the reports. but when they try to run the report they get a message that either thei don't have access to the analysis services database or the database does not exist. when i ppublish a report isn't there a datasource view with it then why they cannot run the reports thnxs do u mean in the report manager yes when i enter as an administrator and and i look in the properties of a report in the report manager i see the data source of the report. i have chosen integrated security of windows. ...Show All
