Michel Peres's Q&A profile
SQL Server Sql2005 installation headaches
I am trying to install sql 2005 on a machine that had VS2005 beat and SQL2005 CTp on it. I have uninstalled every possible component that was in the beta release, and I still get the error, SQL Server 2005 Setup has detected incompatible components from beta versions of Visual Studio, .NET Framework, or SQL Server 2005. Use Add or Remove Programs to remove these components, and then run SQL Server 2005 Setup again. For detailed instructions on uninstalling SQL Server 2005, see the SQL Server 2005 Readme The mentioned readmen file is usless, can someone please tell me what I have yet to uninstall to satisfy SQL Thanks ...Show All
.NET Development Single DLL for 1.1 and 2.0
Hi; We have a dll that we know runs fine under both 1.1 and 2.0. Is there a way that we can build the dll under 1.1 (Visual Studio 2003) but then mark it as ok for 2.0 also If not, then we have to build 2 dlls, one for 1.1 and one for 2.0. Is there a suggested anming for the dlls in this case For example, should it be dave_1_1.dll and dave_2_0.dll thanks - dave Hi, enen. Thanks Mattias. It should have been the other way around. Thanks again for noticing that. It shoul have been: " So basing on the chart, You can create a dll in .Net framework 1.1 and it could be read by framework 2.0 " cheers, Paul June A. Domag ...Show All
Visual C# What happen... class2 a = new class1 (); ?
Hi: Id like what happen in PC memory when I do: a) class1 a = new class1 (); b) class2 a = new class1 (); Id like to know the difference and where there is something to read about it. Thanks Deivich wrote: Ok. I don’t know what happen with: class2 a = new class1(); // class2 is a base class. If it were class2 b = new class2(), I understand what happen exactly. In this case, b is an object with a type of class2... a is simply a reference to an object of type class1. You told the compiler that the reference is of type class2, so you can only access that object ...Show All
Visual Studio Express Editions MDI child windows.
Using Microsoft Visual C++ 2005 Express edition I "designed" Form1 with three Form2 MDI child windows. A click event of a button of Form1 is: private: System::Void Button1(System::Object^ sender, System::EventArgs^ e) { // Tile all child forms vertically. this->LayoutMdi( MdiLayout::TileVertical ); } A click on Button1 does rearrange the windows vertically. (The windows originally are cascaded.) What should I do to get the windows tiled vertically originally (Somehow I could not do it.) Please advise (if possible via an example.) ...Show All
SQL Server Export Problem...very urgent
Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: There is no data for the field at position 6. is the message displayed in the log whenever I try to export the report in which the sub report has no data to display now how do i check the position 6 and how can i get over this issue This is very urgent plzzzzzzzzz help [Exception: An internal error occurred on the report server. See the error log for more details.] Microsoft.Reporting.WebForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, ...Show All
.NET Development Strong naming preBuilt assemblies
Hey all, I had a problem, where i strong named my project and then i got the error: Cannot emit assembly as referenced assembly is not strong named. My referenced assembly is created by IKVM tool compiling Java bytecode into .NET MSIL code. I have got one solution to strong name this dll: 1. Create Messages.il using ildasm Messaged.dll /out:Messages.il 2. Use the same key pair (used to strong name the project) to create back the Messages.dll: ilasm Messages.il /dll key="D:\sn.key" This worked for me, is there any better solution out there that i have missed out. Also, the relative path isn't working for me. I am usin ...Show All
.NET Development C# & return value from stored procedure
Hi I'm not sure if i'm posting in the right place or it should be C#. Apologies for that .. i'm using the new Visual Web Developer 2005 Express with C# language. My problem is that i'm trying to get the return value from my stored procedure.. Code: protected void Button1_Click(object sender, EventArgs e) { SqlCommand oSqlComm = new SqlCommand(); SqlConnection oSqlConn = new SqlConnection(); oSqlConn.ConnectionString = SqlDataSource1.ConnectionString; &nb ...Show All
.NET Development Unable to connect Sql Server from VS.Net
I am a new .Net user. I am trying to use Visual Studio.net 2003 to creat a Windows application. When I try to connect to my SQL server I am getting th efollowing message "Unable to connect to batabase. It is only possible to connect to SQL server Desktop engine database and MS Access databases with this version of Visual studio. Someone suggested that I may not have proper security set up. i am not sure where to start checking. Any help would be tremendoously appreciated Thanks Anand Hi, Visual Studio is an IDE which makes it easier to use the .NET Framework. You can continue using Visual Studio and write c ...Show All
Visual Studio Express Editions WebBrowser as File Browser (Explorer)
This is working but how will i change the view (Thumbnail, Details, List, etc.) Is it posible Private Sub Navigate(ByVal address As String) If String.IsNullOrEmpty(address) Then Return If address.Equals("about:blank") Then Return If Not address.StartsWith("file:///") Then address = "file:///" & address End If Try WebBrowser1.Navigate(New Uri(address)) Catch ex As System.UriFormatException Return End Try End Sub Let's stop and think things over for a second. Consider the controls that ASP has for web display. I ...Show All
SQL Server I need a second opinion on SQL 2005 syntax
I am not that experienced in SQL 2005 and I'm trying to debug a stored proc (written by a far more experienced programmer which is why I'm appending here.) At the top of the proc is the statement ' DECLARE @BillActualRoom bit'. If I understand correctly this is a local variable. Later in the code we have the statement 'SELECT @BillActualRoom = 0 FROM BillingOptions WHERE CenterID = @CenterID' where @CenterID is an input parameter. The table BillingOptions does have a field called 'BillActualRoom' and it is a bit. My question is this: Does this SQL statement make any sense at all (My gut reaction is no but I ...Show All
Software Development for Windows Vista Please Answer this question
Hi to all I want to ask is this poosible to initate windows workflow from Pdf , as this is very common requirment , like user is given a pdf form and he/she fills it and worksflows starts (in this case human based ) and after couple of reviews got terminated. Did and on had any idea or workaound for this. Hi Razi, You would have to do this from the application that is displaying and controlling your PDF's. In that application you would use the standard ways to initiate a workflow. I'd recommend you investigate Office "12" for this and use Infopath as your forms designer instead of a PDF. This will allow you pr ...Show All
.NET Development Concurrency Violation when updating related tables
Specs: -------------- P3 550MHz WinXP Pro .NET 1.1 -------------- Hi there! I'm working on this application using VB.NET and Access 2002. I'm trying to avoid reading the entire database into a DataSet, so I'm using a DataReader to get records I need (it seems fast enough for now). I want to use the DataSet only to add new records. The problem is updating the database because I have related tables. The primary key used in the DataSet will not necessarily match the PK that will be assigned by the database since it might already contain other records. The following diagram shows 2 tables in the DataSet. tblParents: ID: NAME: 1 par ...Show All
SQL Server stored procedures, parameter, tablename
Hello, I would like to pass into a stored procedure the name of a table. Following code does not work. USE pubs GO CREATE PROC test1 @tableName varchar ( 40 ) AS SELECT * FROM @tableName EXEC test1 @tableName = 'authors' I would appreciate it very much if someone could help me with this. Thanks Hello. I think you just need to change your SP as follows: CREATE PROC test1 @tableName varchar(40) AS DECLARE @sql varchar(500) SET @sql = 'SELECT * FROM ' + @tableName EXEC(@sql) ...Show All
Visual C++ Manifest file when using both /MD and /MDd DLLs
I have an application that can be built in debug (/MDd) or release mode (/MD). This application uses third-party DLLs that are built with /MD; for example the Microsoft PDH.DLL. There is no memory-mismatch issue since these third-party DLLs handle properly all memory allocations/deallocations. When I build my application in release mode (/MD), everything works. When I build it in debug mode (/MDd) and run it, I get the error dialog "This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem". I was able to work-around this ...Show All
Visual Basic Rename / Find all references
When I try to rename an identifier (any identifier) using the refactoring option in the context menu the IDE suddenly disappears (no error /watson dialog asking me to send a report to MS, nothing, the IDE suddenly disappears). This also happens when I try to find all references of an identifier (using the context menu). The behaviour is the same for Beta 2 Std Edition and Beta 2 Express Edition. Strangely enough I can rename a class if I rename its corresponding file (and the file's name corresponds to the class's name). I've installed Refactor! for VB to see if their Rename works, but the option never appears (I put their "Renam ...Show All
