TinSoldier's Q&A profile
SQL Server Need infos before installing SQL Express 2005 SP2
Hi, I noticed that SP2 was finally released. A few question before I dive in that install: - Must I uninstall anything before installing SP2 - Considering that fact that I keep a copy of each install programs on a disk in case of crash recovery, must I keep SP1 files as well as SP2 files or can I consider that SP2 is complete by itself, that it completely overwrite SP1 and so delete SP1 files and just keep SP2 files for backup - If I also have Compact Edition installed, is there any SP2 issued for it - Is there a place where I can sign in so I can receive some sort of email notice where an upgrade is available for download for SQL Server 2005 as well as for Visual Studio 2005 Thanks in advance, Stephane ...Show All
Visual Studio Express Editions VB.NET connecting to databases
Hi, I am having problems with a database application. I have a project which works fine which is connected to an Access database. The project is a login form which allows new users to add accounts. I want to create a new application for Admin purposes which needs to connect to the same access database. I know how to connect to this database but when new users are added to the login form, the admin form database needs to be updated aswell. If you have any ideas I will be grateful. Thanks in advance. Thanks for replying to my question. Yes there is just one database (access) and you are right when you say that the admin form needs to be updated to reflect the state of the database. I have jus ...Show All
Visual C++ Unable to create fstream
Hi, all. I can't figure out why this simple console program does not compile. All I want to do is create a fstream. The code is below: #include <iostream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { fstream file; return 0; } And the error I get is: 1>d:\development\visual studio projects\streamtest\streamtest\streamtest.cpp(9) : error C2079: 'file' uses undefined class 'std::basic_fstream<_Elem,_Traits>' 1> with 1> [ 1> _Elem=char, 1> _Traits=std::char_traits<char> 1> ] I get the same error any other type of stream. try this #include <iostream> #include <fstream> using namespace std; int _tmain(int argc, _TCH ...Show All
Windows Search Technologies Unwanted functionality
Hello. I'm running Office 2007 Beta 2 technical refresh, which prompted me to install Windows Desktop search to use the find feature in Outlook. to it's credit, the new search feature in Outlook is fantastic - I can't imagine running without it. However, WDS Has placed a magnyfying glass icon in the task area, which I cannot find a way to remove. I recently took the genuine advantage team to task for a similer problem (http://forums.microsoft.com/Genuine/ShowPost.aspx PostID=569249&SiteID=25): Task area real estate is a precious thing, even with Windows XP's ability to hide inactive icons. Am I overlooking something obvious, or is there no way to turn this off Also, Windows Desktop Search seems to have replaced the normal Start > S ...Show All
Visual C# Writing a 16-bit grayscale image
I have a byte array containing pixel values for a 16bpp grayscale image. I need a solution for converting said array to a bitmap image. So far I've come up with this: internal static Image imageFromArray(byte[] array) { const int WIDTH = 1472; int height = (array.Length) / WIDTH / 2; Bitmap bitmap = new Bitmap(1472, height, PixelFormat.Format16bppGrayScale); for (int x = 0; x < height; x++) for (int y = 0; y < WIDTH; y++) bitmap.SetPixel(x, y, (Color)array[(y * 1472 + x) * 2]); Image image = bitmap; return image; } But there is an error because I can't cast the byte as a color. So my question is, how do I actually translate my pixel data from the byte[] to the bitmap Is there a better way to do t ...Show All
Windows Forms Saving changed BindingList<> data back to original datasource
Hi, I need some help in understanding how to extract the changed data from a BindingList<Case> in order to save this data back to my original datasource. I have implemented a smart client structure so I am not directly linked to datasources. I have tried to cast the BindingList<> back to the List<> it was derived from but they are different name spaces which identifies an improper casting. I was hoping to iterate through the List<Case> collection in order to process each Case's data. Project particulars: 1. List<Case> was used to derive BindingList<Case> for windows forms controls binding. 2. "Case" business object has some primative data properties and a BindingListView<CaseC ...Show All
SQL Server Oracle provider error
I am using SQL Server 2005 on a 64 bit AMD processor machine using the Oracle 10.0.2.0.2.0 and SELECT OPENQUERY will return results from my Oracle table. When I try to do an UPDATE OPENQUERY I get this error message Msg 7333, Level 16, State 2, Line 1 Cannot fetch a row using a bookmark from OLE DB provider "OraOLEDB.Oracle" for linked server "ORADB". the same UPDATE OPENQUERY works on SQL Server 2000 using the Oracle 9 client. The provider is configured with Inprocess turned on. Any help would be appreciated. Hi, I once has a problem that I had to give a result back from my stored procedure in oracle although I didn#t actually need to return anything. It was just needed for the ...Show All
Visual C++ Start Debugging problem with SP1
Since applying the VS 2005 SP1 update, when compiling a C++ program under 'Start Debugging' the console window comes up to accept data but then displays the result (I assume) and closes instantly/ automatically. If I then run the same program in 'Start Without Debugging' the console window does not close until it has displayed the result and halts displaying 'press any key to continue...", which is how it used to operate using 'Start Debugging.' Any suggestions, please (I have run a search through this forum, but the results did not bring anything directly related.) Nick This question have asked in the Visual C++ Language forums some time back. please check it. http://forums.microsoft. ...Show All
Visual Studio Team System make code analysis rules from warnings to errors
Hi, From Server How can force to make code analysis rules from warnings to errors while compiling the code . Thanks in advance Hi Ravs, Thanks for the clarification, But if i make the security rule to errors (not just warnings) it wont allow me to checkin the code and to overide the policy till i fix that error. How to deal the scenario. Thanks Murali ...Show All
Visual Studio Team System BUG: user with dynamic username re-created on incremental updates
I have a user, which's Name is dynamic (ie create user [$(ServiceOwner) WITHOUT LOGIN...) as a managed schema-object. This user is referenced to in other managed schema-objects (like a RSB and also in the CREATE SERVICE statement). Upon first build-up of the DB, everything is ok, but any following builds cause errors that the user already exists. the DBPROJ seems to not detect the already existing user on the target database. I moved the CREATE USER script to post-deploy, but now I cannot build anymore because of the other dependant schema objects... any ideas I refactored the dependant objects into post-build script aswell, so I have no current way of reproducing things. but I'll try to answer the questions to my best of ...Show All
Visual Studio Team System Getting list of fixed bugs with each build?
After running a build I see that you get a list of work items associated with the changesets that went into the build. But what happens here is that ALL work items will appear, regardless of the 'State'. What I'd like is to see only the bugs that are listed as Resolved, or work items that are listed as Closed. This way, it is easy for the QA team to know what needs to be tested without asking the development team. Is this possible Thanks for the clarification. If it's a complex task I don't think I want to go down that route. What I'm doing now is attempting to create a query that allows users to see this information. ...Show All
SQL Server SQL Server Express Edition, Vista, and what SP
Hi there, Can someone tell me what I need to get Express on Vista, I see a lot of contradictory information. Michael Otey notes in his column SP1, but then I here SP2.... Do I have something I can run today ...if not when.. Thanks. My research has proven this answer to be untrue - -but it is what I believed. I"m being told by SSWUG, Michael Otey and MSDN that you can run SP1 on SQL Server Express Edition only, and all other editions will requires SP2 for SQL Server Vista support. Has anyone tried SQL Server Express and SP1 on Vista. I want to put Vista on my machine and get to know it and want to know if there are any gotchas with the SP1 support statement - it seems it was in respon ...Show All
Visual Studio Team System Mainline Development - label doesn't merge
Using Mainline software configuration management pattern. (Mainline for this test project is $/foo/main.) Cut label 1.0.0 on $/foo/main Branched from label 1.0.0 on $/foo/main to $/foo/Rel1-Maint Made code modifications to files under $/foo/Rel1-Maint Cut label 1.0.1 on $/foo/Rel1-Maint Merged changes from $/foo/Rel1-Maint to $/foo/main So, I shouldn't delete the $/foo/Rel1-Maint branch after the merge because I might need to get back to the 1.0.1 version and wouldn't be able to do so at a later point in time. Is this correct TFS does not support permanent deletion at the moment, so the point is kind of moot. Deleting the branch doesn't do anything for you (eg won't save disk space), but it doesn't harm anything ...Show All
SQL Server updating nodes in a nested set model
We have a nested set design in our database. The design allows multiple instances of nodes in the hierarchy. Each node has a combination of node name and its instance id as the primary key. We also maintain a unique_qty column that has the unique number of nodes below a particular node. This unique qty basically ignores the multiple instances of nodes below it and counts only the distinct node names(ignoring their instance ids). the problem that im facing is...how do i update the unique_qty when i perform any move in the tree. Thanks in advance satya phani You should be able to subtract the total unique qty of the sub-tree being moved from the all the ancestor nodes of the source and add the tota ...Show All
Software Development for Windows Vista Accessing workflow instance members from WorkflowInstance (runtime event handlers)
Hi All, Is there a way to retrieve a strongly typed reference to the actual running workflow from a WorkflowInstance instance More details: I have a runtime event handler (loaded, idled) that receives a WorkflowEventArgs parameter. In that method I would like to access some of the instance properties (DependencyProperties) of my own workflow class. The only object I have in that method is a WorkflowInstance with an InstanceId. So the question is, how can I get a MyWorkflowClass instance if I have an InstanceId Thanks in advance. I have a new sample that shows a very simple tracking service to get the current property values of a running workflow instance. The tracking service creates a profile ...Show All
