prestorm's Q&A profile
Software Development for Windows Vista borland developer studio 2006 on Vista rc2(5744) x64
Hi, I just try and clean installation of Borland Developer Studio 2006 on Vista RC2 x64, after i install all the requirements ( .NET 1.1 sp1), and after logging the msi installation i always get : InstallFiles: File: Borland.Delphi.dll, Directory: , Size: 102400 DEBUG: Error 2337: Could not close file: GetLastError: DEBUG: Error 2835: The control ErrorIcon was not found on dialog SetupError Internal Error 2835. ErrorIcon, SetupError Internal Error 2337. MSI (s) (6C:B8) [16:29:20:310]: Product: Borland Developer Studio 2006 -- Internal Error 2337. is any known compatibility problem between .net 1.1 sp1 and vista new build or any known issue thanks. cosmin Hello Dumian, This appears to be an issue t ...Show All
.NET Development Cannot make editions with XPathNavigator (CanEdit==false)
Hi I have problems with XPathNavigator. It's not editable. I dont understand why. I load a table from SqlServerExpress into a DataSet. This dataset is used when creating a XmlDataDocument. And this document Im using to create a XPathNavigator. But the XPathNavigator.CanEdit is false. Why :( I want to edit/add using XPathNavigator, and then have the datatable synchronized with the database. After applying stuff with the XPathNavigator, I call "AcceptChanges" on the DataSet to have the database updated as well. This should work, shouldn't it " SqlConnection con = new SqlConnection(@"Integrated Security=SSPI; Data Source=(local)\SQLEXPRESS; Initial Catalog=TestDB"); con.Open(); SqlCommand com = con.CreateCommand(); ...Show All
SQL Server how to perform this statement?
I am using this SQL in a stored procedure : INSERT INTO staff_address (staff_number, block_number , block_name) VALUES ( @staff_number , @block_number , @block_name ) and I want to update the value @block_number from blocks database with: SELECT * FROM blocks WHERE block_number = given_block_number It sounds like you are looking for this: INSERT INTO staff_address (staff_number, block_number, block_name) SELECT @staff_number, block_number, block_name FROM blocks WHERE block_number=@block_num ...Show All
SQL Server Execute SQL Task not running?
Hi All, I have a strange problem that I can't find any information about and was hoping someone could help me out. Some background: * I am calling an SSIS package from ASP.Net using the in-process, .net methods. * I am importing a flat file into a staging SQL Server table using the OLE DB Destination. * After I import the data, I call some Execute SQL Tasks that does some cleaning of the data. * I then move the data from the staging table to a final table. Here's the problem: When the SQL Task like this: WHILE @@rowcount > 0 UPDATE Staging_Table SET [Test1] = REPLACE([Test1], SUBSTRING([Test1], PATINDEX('%[^a-zA-Z0-9 ]%', [Test1]), 1), ' ') WHERE PATINDEX('%[^a-zA-Z0-9 ]%', [Test1]) <> 0 is supposed to be run, sometimes i ...Show All
Visual Studio 2008 (Pre-release) DLINQ and Biz Rules/Data Validation
Hi there, Are there any plans to include some hooks into a DLINQ objects life cycle to allow for easy valication I was thinking along the Rails ActiveRecord path where the DAO has validation build in that is automatically applied before an objects is saved. So in DLINQ what I really want to do is add some validation code to a known method(s) in my class - say orders as an example and have DLINQ check this during a save, and return false/ throw an exception if it does not pass validation. Anyone been able to achieve this with DLINQ, or does anyone at MS know if there are any plans to include it Thanks. Hi Jay, Thanks for the response. Property gettters/Setters are OK, but a lot of the time you need to perform entity level validat ...Show All
SQL Server Does MS plan a GUI
Hello all, We are planning to base a product on Microsoft SQL-2005 Notification services. However, one of the required properties from this software is to provide the client administrator a user interface to configure the Instance Configuration File (ICF) and Application Definition File (ADF). Working with XML files will not do for us, once the responsibility is delegated from a developer to an administrator. Before going into the process of writing such an application from scratch, I would like to know if Microsoft has such an enhancement on the SQL-NS roadmap, and if so, when it is scheduled to. Does anyone have any thoughts or knowledge Thanks Ziv G. Hi Ziv - ...Show All
SQL Server No Services in Configuration Manager
Hi I installed sql server 2005 (final) in our company. I can connect to databases in other systems in network (lan), So when we tried to connect local system it failed. For solving the problem I went to sql server configuration manager, but there was no services in "sql server 2005 services" root, like I saw in sql server express : 1- Sql Server (MSSQLSREVER) 2- Sql Server Browser How can i add or enable them and Am I in true way to connecting local system Let's remind that in "Sql Server Surface Area" I got this error message : "No sql server 2005 components installed or your not system administrator", so How can i install components Thanks. If ther ...Show All
Visual Studio Team System Team Build error MSB4019
I have a database project that I am trying to build and am getting an MSB4019 error on the the AfterDropBuild" task. The actual error is as follows Target AfterDropBuild: c:\build\Larrys test\DB\Sources\Database Projects\Database1\Database1\Database1.dbproj(74,11): error MSB4019: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamData\Microsoft.VisualStudio.TeamSystem.Data.Tasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. Done building target "AfterDropBuild" in project "TFSBuild.proj" -- FAILED. Looking at the build machine I do not see the missing object although there is a folder called TeamBuild that contains Mi ...Show All
Visual Studio 2008 (Pre-release) MSMQ Activation does not work
Hi, I've developed several WCF services using netMsmqBinding. When receiving new messages from the service client, the server-side service does not automatically start. In order to start the service, I need to open a browser and open the service help-page or WSDL. I've configured the hosting environment (WAS, IIS7, Vista) according to the documentation: 1. The WCF service is using an application pool running under a specific user account. 2. The Net.Msmq Listener Adapter service is running under the same user account. 3. The related MSMQ queues provides Full access for the user account. 4. The Net.Msmq Listener Adapter service is running using unrestricted token (command: sc sidtype netmsmqactivator unrestricted) ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Texture Surface Level
I am encountering problems sizing using the following code: textureA = TextureLoader.FromFile(device, filename); SurfaceA = textureA.GetSurfaceLevel(0); the file that I am using for textureA has dimensions of 549 x 710 yet the SurfaceA is coming up with dimensions of 1024 x 1024. What am I missing Thanks! Hmm. It appears that in grabbing a surface from a texture created from a file, the size of it defaults to the nearest multiple of 512...I just lowered the image dimensions manually, resaved it and slightly below 512 in each value and it came up as 512. Interesting. Ok, next question is I am trying to render a .PNG file texture (the image is not a hard rectangle...it has curved edges) onto a blank textur ...Show All
Visual Studio Express Editions Media files mp3's in VB express please help..to another computer
New in VB . I put a mp3. file in my application using AxWindowsMediaPlayer and putting the url C:\Documents and Settings\ etc...It works on my pc, but i tryed sending the exe. to somebody else but they can't hear the music. They could run the exe program but can't hear anything. So i was wondering if anybody could help me........to fix this problem ...what could i do thanksssssss you have it done incorrectly again. it should be: Dim theOpenFileDialog As New OpenFileDialog() theOpenFileDialog.Filter = "MP3 Files (*.mp3)|*.mp3" theOpenFileDialog.ShowDialog() If theOpenFileDialog.FileName.Length ...Show All
Visual Basic How to Rotate Text in RTF
Hi Folks, Any RTF experts out there I want to insert a text object that is rotated like what you can do in Powerpoint's text box or Word's Word Art. Unfortunately, when either is saved in RTF, the text content is lost in the raw code, so I cannot do a search and replace on the rotated text. Word only saves the text content if the text box is used with the alignment changed to vertical. Is there any way to create rotated text that is visible in the RTF code I am prepared to insert all the required positioning code myself, if I only knew what was required. Any ideas would be greatly appreciated. Hi Nobugz, I must be missing something here. My version of Word 2002 does not allow free ...Show All
SQL Server ReportViewer error "Page navigation is out of range"
I am embedding the ReportViewer in an aspx page and the report comes up fine, but when I press the "Next Page" or "Last Page" buttons, I get the error: "Page navigation is out of range". The application has session state turned off. The problem occurs whether or not the viewstate for ReportViewer is turned on or off. How can I fix this problem A follow-up question on this - the workaround is great. I noticed that the "pages" are longer now than my paper size is set to (they seemed to match my paper size when async was set to true). Async I have 18 pages (same with PDF export) - No async and I only have 5 long pages. Any idea if there is a way to control/set this Tha ...Show All
Visual Studio Tools for Office VSTO Distributed Deployment Issue; Need Help; Please Reply
Overview: I have created an Excel Template project using VSTO 2005. I have deployed my solution to a shared folder on my server and modified that server's security accordingly. On my client's machine, I installed the pre-requisites and added the security group pointing towards the shared folder. I then created a shortcut to the .xlt file located in the shared directory and placed it on my client's desktop. My client can then run the template. *Note: I did nothing with the application or deployment manifests during the install. In fact, I never even generated them. Template Description: The template is a simple invoice spreadsheet that "talks" to a backend Great Plains Sql Server 2000 database. It grabs customer and i ...Show All
Visual Basic app.config settings
I have a solution made up of 2 projects; ProjA is a windows forms app, and ProjB is a Data Access DLL. ProjA references ProjB and uses methods and objects from ProjB to get it's data. The connection information for ProjB is defined in an app.config file (within ProjB). When running within VS2005 everything work fine (i.e changes to the settings are reflected in the connection string built and used by ProjB). I now want to do some testing of the application on another machine so have done a build of the solution. The ProjA\bin\release folder contains most of the files that I would expect (including the ProjB.DLL), but there is no ProjB.DLL.config file. However the application runs fine on the other computer! - Where is it getting t ...Show All
