michael.e.obrien's Q&A profile
Visual Studio Team System Get Specific Version using Force Get Flag not working...
Ok, I made the mistake of deleting my local copy of the files that are in source control instead of handling all updates via Source control. In the treeview for the files it shows that the files have a status of "Not downloaded". I have been unable to Get the Latest version of the files at all. I've tried the following to resolve this to no avail: Get Latest Version: Which shows that all files have been downloaded, use the get Specific Version and use the force flag. Get Specific Version with Force Get Flag Set: Which gives the same error asking me to Get Specific Version with the Force Flag Set. Open the project via Open From Source Control: Which gives the error Th ...Show All
.NET Development sending and receiving xml files
I'm trying to send an xml file to a webservice URI and receive back an xml file using VB. I've looked at three options all of which I seem to be missing something on. Please stear me in the right direction Option one: is to use MSXML 6.0, I have downloaded this, installed it and VB.net is not reconizing it. Dim o As New Msxml2 Dim s As String s = "< xml version=""1.0"">" & vbCrLf & _ "<env:Envelope xmlns:env=""http://schemas.xmlsoap.org/soap/envelope/"">" & vbCrLf & _ "<env:Header/>" & vbCrLf & _ "<env:Body>" & vbCrLf & _ "<QueryRequest xmlns="&quo ...Show All
SQL Server multi step OLE DB error
Hi All, I have a MS Access DB that I have successfully u/graded to SQL Express 2005. I run my code using a recordset as normal, and all connections to the database work fine, but I receive the multi step OLE DB error when it gets to a line trying to populate an address field which has a datatype of nvarchar(max), null. (Field was Memo in Access version before). This field in SQL2005 has allow nulls. I've tried to add an empty string " " to the variable before being saved, but this still doesn't work. Any ideas No. Actually the address field doesn't need to be that large, it will only have 3-4 lines of an address. But I can't work out why this error is happenning ...Show All
Windows Forms Updating newer to older!?
Hi guys, I have an application deployed and updated using ClickOnce. I have version 1 deployed on a server and version 2 on my hard drive. I install version 2. From the program, I check for updates (using clickonce API). It says an update is available. I've put this line of code MessageBox.Show(string.Format("CurrentVersion = '{0}'\nAvailableVersion = '{1}'", MyApp.CurrentVersion, e.AvailableVersion)); It displays: --------------------------- CurrentVersion = '0.7.2.0' AvailableVersion = '0.7.1.0' --------------------------- Isn't the update process supposed to check for versions! If I do not update, on next app reboot it displays the standard clickonce update prompt... I mean, seriously, what's wrong. If I want to release a p ...Show All
SQL Server 70-431 (MCTS - SQL 2005)
Hi, Somebody can speak (tips) about exam 70-431 Tips Amount Questions Time .... Many thanks, Abdul, for that "heads up". If you or anyone else here come to know of any test exams based on this new pattern I am sure we all would be eager to know about them as soon as possible. Regards ...Show All
Visual Studio Team System Trouble scheduling a build if buildtype has spaces in it
I can't seem to get my build to work if my build type has spaces in it following either the scheduled task option or creating using a batch file as documented here: http://blogs.msdn.com/abhinaba/archive/2005/11/21/495179.aspx http://blogs.msdn.com/abhinaba/archive/2005/11/21/495179.aspx I can do it from the command line using quotes, but the automated options keep misinterpreting the space. What's the trick Deleting and recreating the build type without the space is a hassle but can be done I suppose. You don't have to delete and recreate the Team Build type, just rename the type in Source Control Explorer (under the TeamBuildTypes folder) and then check in the pen ...Show All
SQL Server Poor performance with functions in selects
Hi We have the following query that we were trying to execute and it performs very poorly... SELECT ITEM_ID , PART_NO , PART_TITLE , dbo . SFDB_NVL_VARCHAR ( DRAWING_NO_DISP , 'N/A' ) AS DRAWING_NO , dbo . SFDB_NVL_VARCHAR ( DRAWING_CHG_DISP , 'N/A' ) AS DRAWING_CHG , DRAWING_NO_DISP , DRAWING_CHG_DISP , REV_SOURCE , ITEM_ID AS ASSY_ITEM_ID , dbo . SFDB_NVL_VARCHAR ( DRAWING_NO_DISP , 'N/A' ) AS ASSY_DRAWING_NO , SFMFG . SFDB_NVL_VARCHAR ( DRAWING_CHG_DISP , 'N/A' ) AS ASSY_DRAWING_CHG FROM SFSQA_CHAD_PART_DSPTCH_DSP_SEL ORDER BY PART_NO The function SFDB_NVL_VARCHAR is nothing but a replication of nvl function of oracle. CREATE FUNCTION [dbo] . [SFDB_N ...Show All
SQL Server Schedule Job Keep on failing!
Hi, Actually i saved a SSIS package into a SQL Server 2005, then scheduled to run a job from SQL Agent, but, the job keep on failing and no error message was returned in order for me to toubleshoot. After the job failed, i restart the job again, and it actually continue to run, but unfortunately, it stopped again after some time. And, before i sheduled the job, i actually tried to run the package itself in SQL Server Business Intelligent, it runs suceessfully. In the package, i actually set the ProtectionLevel to DontSaveSensitive. Another option that I used to run the pakage was using dtexex.exe: dtexec.exe /FILE "E:\Package.dtsx" /MAXCONCURRENT " -1 " But, the error message returned also not so u ...Show All
Visual Basic keylisteners in vb
how to implement keylisteners in vb.i want the password entered to be edited to charecters in odd and even positions and store the two separately for my college project.am using visualstudio 2003 for developing it.can somebody help it not sure I quite follow. You can implement one or more of the the key events (keyup/keydown/kepress) of the textbox and do whatever you want when they press a key in that textbox. how do you mean by store them in odd and even positions store the characters to what what about the odd/even positioning ...Show All
Visual Studio 2008 (Pre-release) getting the co-ordinates of any visual object
Hi, is is possible to get the current client co-ordinates of a WPF object in runtime, with out going for a hit-test. I just have the Name of this control with me, is it possible to get the rectangle area which it is acquiring.. Thanks and Regards brij The following method can calculate the bounding rectangle area allocated to a specified element: public static Rect CalculateBounds( FrameworkElement element, Window rootWindow) { GeneralTransform transform = element.TransformToAncestor(rootWindow); Point upperLeft = transform.Transform( new Point (0, 0)); Point lowerRight = transform.Transform( new Point (element.ActualWidth, element.ActualHeight)); return new ...Show All
Software Development for Windows Vista Using AVIStreamWrite seems to be corrupting AVI headers on Vista (RC2 build5744)
I am using the Video for Windows (VFW) API to create AVI files. My code works fine on XP Pro SP2 and Windows 2000. However, the same code running on Vista creates the AVI files with bad headers. The corruption begins after the video and audio stream format headers starting at the JUNK chunk. Example: //Stream header info comes before this Low rate size 00000294 (660) 00000000000000D4 JUNK 00000000 00000000000000DC LIST 0002200E movi 00000000000000E8 00000000 00000000000000F0 00000000 00000000000000F8 00000000 Notice the JUNK chunk has an invalid size of 00000000. And the 'movi' tag falls within the junk chunks. This throws off the indexes. I found that this "junk" gets wri ...Show All
.NET Development deploying on 64-bit
Hello, I have a VB.Net 2005 application using SQL 2005 developed and compiled on 32-bit machine. However the client's server is 64-bit. What procedure should I follow to make my appliction running on 64-bit machine. I am reading through newsgorup threads, however if any of you guys has been through this before and can guide me through the process or links where I can find some help material, it would be great. I am hoping that there won't be a lot of work envolved to make it compatible or at least that my application will still work on 64-bit. Thanks for the guidance, Grace ...Show All
Visual Studio Data Break Problem
I created an app like this: int _tmain( int argc, _TCHAR* argv[]) { float a,b,c; (breakpoint) c=0; a=.23; b=.45; c=a+b; (breakpoint) cout<< "Hi there!" ; return 0; } So when I hit the first break point, I set a data breakpoint when "&c" changes in the C language with 4 bytes (default). And yet it only stops on the cout line, not on the c=a+b line... What's wrong here Each time you start your program all data breakpoints are initially disabled (as the memory in question does not yet 'exist' or at least is not active). Therefore you must re-enable them each time you start the program - I do this by having a regular breakpoint in my program before the point ...Show All
SQL Server including fields that are not measurement in the fact table
Hi, I built a cube from a flat file. All of my dimension key fields and measurements fields are from that flat file. The problem that the flat file still have othe fields that were not used as dimension key or measurement and the cube user want to see these other fields as part of the cube. If these other fields are not dimension or measurement how I should bring them to the cube to be seen by the cube user Please help! Aref Maybe what your looking for is a junk dimension. Look at: http://rkimball.com/html/designtipsPDF/DesignTips2003/KimballDT48DeClutter.pdf I think gives you a more clean solution for your problem. ...Show All
.NET Development implementing save as : created new access file but not able to populating it with data
Hi everybody, I was trying to implement a "save as" routine. I used the DataAdapter.InsertCommand but no data is being inserted into the newly created datatable. > When it executes it says " New file created and saved successful" > A new access file is created with a table named "datatable" with all the required fields. > But no data in the datatable. The code follows please help. thank you vishal Private Sub SaveAsToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveAsToolStripMenuItem.Click 'Create a new SaveFileDialog and display it. Dim objSaveFileDialog As New SaveFileDialog With objSaveFileD ...Show All
