ar_pad's Q&A profile
SQL Server Viewing reports designed on SQL 2005 Reporting Server
I have built the reports that I need using Visual Studio and the SQL 2005 Reporting Server, but now I need a way to view the reports via a web browser. I am not much of a web/programming expert, so any help that could walk me through the process of publishing the .rdl files that I have created via a web browser would be much, much appreciated. Again, I am a novice in the the web arena, so the more straight forward the steps the better. Thanks! Thanks so much for the help. Is there also a way to create reports that are dynamic and regenerate based on new data ...Show All
Visual Studio Trapping Ascii keypress events.
Hi, I want to handle Ascii key press events in my .Net 2003 plug in. I am able to trap arrow key press events but could not trap the same for ascii keys. There is only one linechange event in text editor, but what if one insert data in the same line.This will not raise any event. Is there any other way to do this. Kindly help me out please. Thanks and regards, Ruhina Parveen. Ruhina, It can't be done with DTE - you need the Visual Studio SDK (formerly VSIP), but once you have that, I describe how to do it for an IVsTextView in great detail on my web site: http://www.ngedit.com/a_intercept_keys_visual_studio_text_editor.html HTH, - Jon ---------------------------------------------------- ViEmu - vi ...Show All
SQL Server Unable to change SQL 2005 database Autogrowth through Server Management Studio
I have a database that seems to change its autogrowth settings every so often. When I initially set this up, I set the autogrowth at 500MB. After some time, I noticed that the autogrowth was set to 645000%. When I tried to change it through Management Studio but recieve the following error ' Value of '645000' is not valid for 'Value'. 'Value should be between 'Minimum and Maximum'. Parameter name: Value(System.Windows.forms) This occurs when I try to open it in order to change it. The only way to change it is through Transact. USE master GO ALTER DATABASE mydb MODIFY FILE (NAME = mydb_data, FILEGROWTH = 500MB) GO This will work, but for how long I do not know. I have done this twice before. The first problem is ...Show All
Visual Studio Report Viewer returns Object reference not set to an instance of an object.
Hi, I'm having a problem using the report viewer with a remote report on a server. Whenever I try to load a report in the report viewer control or from the Report Manager website I get a " Object reference not set to an instance of an object" error where the report should be. The parameter bar shows up with the right parameters, but no report. If I use the ReportExecution Web service I can get the report to output to pdf or whatever format I want and save it, but those same reports won't display in the reportviewer. This happens with any report even if all the report contains is a static textbox. I can use the reporting serivces on my development machine and everything works fine, I just can't get the reports from the other se ...Show All
Software Development for Windows Vista Privateprofile access win.ini as filename hung app
I have found that when using pathname\win.ini as the filename for use with private profilefunctions that this will not work correctly in vista. Vista reports a hung app message. If the filename is changed to something else such as pathname\setup.ini, the same code works exactly as expected. This fault was found in vista beta 2, and then again when tested on release version of vista. I believe Mo Nail has found a closed and resolved bug similar to this issue. It appears that this bug may not be resolved. Mo Nail is driving this issue. ...Show All
SQL Server SSAS: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
Hi, Iam getting Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) error, when Iam trying to browse a cube in the SQL Management Studio or the Business Intelligence Development Studio. Please let me know how to resolve this asap. Iam able to query on the cubes using mdx, but to see the pivot table view or browse tab, iam getting the above error. Iam using SQL Server 2005 and Visual Studio 2005. Regards, Varma. Try www.sysinternals.com filemon & regmon tools to determine which assembly is missing. Regmon should tell you what key it is trying to find in the registry. Perhaps try repairing MDAC http://www.macropool.com/en/download/repair_mdac.html ...Show All
Software Development for Windows Vista Visual resizing
Hi! I am re-hosting the workflow designer. Is there any way to enable visual resizing of the activites in the workflow Thanks! Hi guy. because the WorkflowSurface has a task to Schedule child activity execution , it is not same to SequenceActivity that start by Activities[0]. as the WorkflowSurface allow child activity to be drag-drop anywhere,so it is important that the WorkflowSurface contains a special Activity that point it a workstep starter. and the workstep ender is also very necessary. so , you maybe need to implement StartChildActivity and EndActivity the 'OnSequenceComplete' method is a new method you need to add to WorkflowSurface class, maybe, more suitable name can b ...Show All
Windows Forms Fake key press
Can I cause a form to simulate the tab key being pressed. And in faking this press will the focus switch and all the things that go along with it. Basically when I press the tab key the first time some things on the form change, such as UICues, etc ... and I want this to be done without the user actually having to press the key. Any suggestiongs, the RaiseKeyEvent does not do it. you *could* use SendKeys to send "keystrokes" to the application which has focus, so you could send the TAB key. http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx but this would send the keystroke to the application that has a foreground focus. when this tab key is pressed in your application, have you implement ...Show All
Visual Studio 2008 (Pre-release) XAMLdev.com - XAML Resources
Hi all .. i just want to indroduce my new website related to XAML and WPF. www.xamldev.com All the comments will be really apreciated www.xamldev.com Some other Xaml/WPF community sites are Adam Nathan's XamlShare and my site LearnWPF.com . ...Show All
Visual Studio 2008 (Pre-release) Complex (?) Layout
Hi all, I'm trying to make a layout which looks like the following image (drew with Expression Design so i have XAML code) : http://img443.imageshack.us/img443/2481/layoutoz8.png The gray area is where the content will be. I want that when i resize my app the "borders" keep the same size and only the gray area gets bigger and thus allow more visible content (ie no Zoom). Is there another way to do this than using a layout "a la Web" : divide my decoration as a grid with 3 columns and 3 rows, the first and last columns and rows gets a fixed size so that only the center gets resized Thanks, Guillaume are you looking for something like this < DockPanel > < Border Bord ...Show All
Windows Forms Resizing DataGridView
I want to resize my dataGridView to fit the specified number of rows and columns (upto a limit) without displaying scrollbar. I tried doing this in the following way - dataGridView.height=dataGridView.Rows.GetRowsHeight(DataGridViewElementStates.Visible)+dataGridView.ColumnHeadersHeight; and a similar statement for width of dataGridView. But doing this, i don't get the exact width and height required to fit the rows and columns. Could anyone please tell me what is the proper way to calculate the width and height required to fit specified number of rows and columns. Also, how can the width of vertical scrollbar and height of horizontal scrollbar be calculated. Thanks in advance. With regards, ...Show All
Visual Studio 2008 (Pre-release) certmgr.exe makecert.exe in Windows xp2
I develop in Windows xp2 . i understand that makecert.exe and certmgr.exe built to run only on windows vista http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=340297&SiteID=1 if i should to use certmgr.exe what i can to do i think we have some known issue in FEB CTP,you can implement following workaround http://blogs.msdn.com/edpinto/archive/2006/03/03/543061.aspx i installed June CTP on my machine,we don't have this problem in june CTP -Thank you Madhu ...Show All
.NET Development oracleCommand error
someone..please tell me what is wrong with my code i get an error when trying to open the connection. but in my second form i could connect to the database. i just dont get what is my mistake in here... OracleCommand insert1 = new OracleCommand("insert into customer(cusnum, cusdt, cusid, cusstatus, cuscode, cusname, cussex) values (:p1, :p2, :p3, :p4, :p5, :p6, :p7)"); insert1.Connection = new OracleConnection(oracle); OracleCommand insert2 = new OracleCommand("insert into request(reqnum, reqcode, reqname) values(:p8, :p9, :p10)"); insert2.Connection = new OracleConnection(oracle); OracleParameter p1 = new OracleParameter(":p1", OracleType.Number); p1.Value = txt1.Text; OracleParame ...Show All
.NET Development Data provider could not be initialized
Hello, I'm using OleDB provider to connect Access 2003 database. My connection string is: "Provider=MSDataShape;Data Provider=Microsoft.Jet.OLEDB.4.0;Data Source=MyDb.Mdb" After my application is executing about 200 commands one by one I get the following error: System.Data.OleDb.OleDbException: Data provider could not be initialized. Unspecified error at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection) at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection own ...Show All
Gadgets Determining 64-bit OS
I have an app which reads from the registry to look for some registry keys written by a 32-bit app. When run on 64bit windows, the registry entries are under Wow6432Node. How do I determine if the user is running 64-bit windows. Thanks Dan Check the "PROCESSOR_ARCHITECTURE" environment variable. If it's not "x86" it's 64 bit. I think the valid values are "AMD64", "x64" and "IA64" (obviously not relevant to Vista) ...Show All
