Software Development Network Logo
  • Game Technologies
  • IE Development
  • Microsoft ISV
  • Visual FoxPro
  • SharePoint Products
  • Smart Devicet
  • Audio and Video
  • SQL Server
  • Visual Basic
  • Visual C++
  • Windows Vista
  • Windows Forms
  • Visual Studio
  • .NET Development
  • Visual C#

Software Development Network >> MurrayLang's Q&A profile

MurrayLang

Member List

Vaish
Fidence
zille
Jack Hoxley
joekung
McDunkey
vbmon
amosz42
John123
TrDmitry
JIM.H.
Steven D
Peter Kahn
akdpr
Jackot
DreamingBear
bryanedds
lachlanj
CodeDigger
Alexandru Halmagean
Only Title

MurrayLang's Q&A profile

  • Visual Studio Team System VSSConverter File/Folder Results Mystery

    Hi! After running into an issue where our VSS "$/app1_doclit/com" project was created and populated, deleted, then added again and repopulated; We took Mr. Horvick's suggestion ( http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=617241&SiteID=1 ) and avoided migrating just "$/app1_doclit" and took smaller chucks which worked much better. Our question is, when we migrated: <ProjectMap> <Project Source="$/app1_doclit" Destination="$/App1/mainline/migration1"></Project> </ProjectMap> We migrated 17053 files and folders with 27985 "actions" with 1836 errors and 226 warnings. But when we changed the scripts to take smaller chunks: ...Show All

  • SQL Server SQL 2005 sp2 Reports

    Were the reports removed from SSMS 2005 sp2 I don't seem to have the icon and report list anymore. No, the Management Studio reports are still available. They have just changed their location. You used to access them by clicking on the Reports drop-down on the Summary Page. In SQL Server 2005 Service Pack 2, you should right-click on a node in Object Explorer -> Reports -> Standard Reports -> [Report Name]. Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All

  • Visual Studio The error message “Load Report Failed” and Set Parameter values Keep on popping up randomly

    I am having problem in crystal report version 10.2 in Visual Studio 2005 (C#). The error message “Load Report Failed” and Set Parameter values Keep on popping up randomly. Those that are in red…when it reach this point…the pop up start popping up…. Here are my codes: private void SetCurrentValuesForParameterField( ParameterFields parameterFields, ArrayList arrayList) { ParameterValues currentParameterValues = new ParameterValues (); if (parameterFields.Count > 0) { foreach ( object submittedValue in arrayList) { ParameterDiscreteValue parameterDiscreteValue = new ParameterDiscreteValue (); if (submittedValue.ToString() == cboV ...Show All

  • .NET Development How to veto suspend and shutdown request using C#?

    Hi, I am writing a program that absolutely need to veto (cancel) any suspend and shutdown request initiated by user. Is there any way to do this in C# using managed code .NET 2.0 seems to only give PowerModeChangedEvent and doesn't give any option to veto. Before you ask, yes, I am aware that a program should never veto a suspend request, but I really need to. And yes, I am aware that veto is no longer supported in Vista (which is fine as my program is specifically for XP). Thank you very much. SystemEvents.SessionEnding takes care of log-off and shutdown. What about standby/hibernate Seems like PowerModeChangedEvent is not cancellable using managed code Thanks. ...Show All

  • Internet Explorer Development IE7 and White Screen

    I have a sequence of webpages (200 or so) with navigation and when I sequence through them, intermittently IE7 will simply display a blank white page and a "Done" message.  Pressing F5 will load the page properly.  This does not happen in IE6 and the frequency of white pages seemed to decrease as the IE7 betas progressed.   It happens if I am using IE7 on the webserver, from my desktop on the local network, or at a remote dial-up account.  If I put the HTML pages in simple ASPX wrappers, it never happens.  I've also loaded the content on several different servers and experience the same problems.  Any ideas   I can post a link to a sample if that would help. Jay ...Show All

  • SQL Server Lookup Transform

    Hi! I am a newbie, grateful for some help. I have a Source Ole DB w sql-command selecting the customer.salary and customer.occupation, which I want to match with demo_id in Ole DB destination. salary, occupation also in dim_demographic. But in Lookup editor I find no column demo_id... how do I do this The lookup must select against your table with demo_id in it... We need more information here... If you can't find demo_id in your lookup table, and you need it to be there, well then you probably have the wrong table defined in your lookup. ...Show All

  • Visual C++ Project always links.

    Is there some kind of switch I can enable that will show me what is causing my exe to always re-link Leigh You could try boosting the verbosity of the build output. http://blogs.msdn.com/msbuild/archive/2005/09/29/475157.aspx . Neil ...Show All

  • Software Development for Windows Vista why OpenEvent will return NULL

    Hi Everyone: i have a application and a service(which run on LocalSystem),the service will a Create a gloable Event, and App will Open this Event. It seems ok on NT/XP, but on vista, when App Open this Event, it will return handle NULL. this is why Thanks The corresponding error code (from GetLastError() right after the failing OpenEvent) would be most useful in confirming this but: If it's 5, it's likely that the event is not ACLed properly so that it can be opened with the access required by the application (which probaly ran as admin on XP, and not anymore in Vista). If it's 2, it's likely that the application doesn't specify Global\ when calling OpenEvent (on XP, applications often run in session 0, and on Vista, they never do ...Show All

  • Visual Studio Express Editions Textbox updating/refresh problem.

    Hello Experts, This problem is actually making me ill, please could you spare a moment The answer is probably very simple (I just can't find it!). I have a form with an API event handling a price feed. The feed is just trying to update a textbox on the main form. Code is like Public Class MainDisplayForm . . . End Class Public Class PriceFeedFromAPI Inherits fxRateEvent . . . Public Overrides Sub handle( ByVal ei As fxEventInfo, ByVal em As fxEventManager) . . . MainDisplayForm.PriceTextBox.Text = CurrentPrice.ToString End Class The text box TextUpdate event fires OK after the update and I can see that the value gets to the .Text property (it Debug.Prints the value when fired) but ...Show All

  • SQL Server Capitalizing First Letter, and Lower the rest

    I am trying to get this code to work: (left( religion , 1 ))+ lower (right( religion , len ( religion )- 1 )) As Religion I am getting this error: Invalid length parameter passed to the RIGHT function. Forgot the UPPER :) declare @religion varchar(100) set @religion = 'a' select Case When Len(@religion) = 0 then '' else ( upper( left(@religion,1)) ) + lower(right(@religion,len(@religion)-1)) end As Religion ...Show All

  • Visual Studio 2008 (Pre-release) Show TreeView nodes connected with dotted lines

    Has anybody done any work with the TreeView control to replicate the ShowLines/ShowRootLines properties from the Windows Forms Treeview and draw dotted lines to connect nodes. I can see that it may not be too difficult to draw the horizontal line of dots but the vertical line looks more challenging. I've modified the example TreeViewItem template to add connected lines. The difficult part is to not draw the line on the last item in the list. To do this, I added a data trigger to change the line appearance and used a converter that returned true if the TreeViewItem was the last item in the list. Here's my style: <Window x:Class="WindowsApplication3.Window1" xmlns=" http://schemas. ...Show All

  • SQL Server Management Studio Express - error when attempting to run a query

    Hi, I have installed Visual Studio 2005 on my PC, and SQL Server 2005 Express was also installed. I decided to install the Management Studio Express, and the installation completed without any error messages. I created the ASPNET account after having installed the Northwind database on my PC, and I have created a test web site (ASP.NET) that creates a SqlConnection, and retrieves some data from the Products table in the Northwind database. The query returns the results i ask for, so that means that the accound has been set up properly. My problem appears when I try to run queries using the Management Studio Express. I have managed to add the sql server, and I can browse this in the object explorer, getting a listing of all the tab ...Show All

  • Visual Basic Error in DataTable

    Dear All, I get error msg "Object is not an ADODB.Recordset or an ADODB.Record.Parameter name: adodb" when I use following code. If I declare the function and calling sub as DataSet it works fine, but it makes error with DataTable. Public Function GetProductDetail(ByVal ProductID As String) As DataTable Dim techConnection As OleDbConnection = New OleDbConnection(strConn) Dim techDataAdapter As OleDbDataAdapter Dim dtProductDetail As DataTable Try Dim strSQL As String = _ "SELECT * FROM Products WHERE ProductID = @ProductID" Dim techCommand As New OleDbCommand(strSQL, techConnection) techCommand.Parameters.Add("@ProductID", OleDbType.VarChar, 20, "ProductID").Value = ProductID techDataAdapter = N ...Show All

  • .NET Development DeleteCommand causes an error ... Data type mismatch

    I've been attempting to create a button that will delete a record from a table in the database I am currently connected to. Other commands are working such as my InsertCommand and SelectCommand, but I can't seem to figure out how to work the DeleteCommand. Here is my button code: Private Sub btnDelete_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDelete.Click AddressCommand = New OleDbCommand("DELETE FROM addresses WHERE idnum = ", AddressConnection) AddressAdapter.DeleteCommand = AddressCommand AddressAdapter.DeleteCommand.Parameters.Clear() AddressAdapter.DeleteCommand.Parameters.Add("ReferenceName", OleDbType.Numeric).Value = CInt(txtIDNUmt.text);//change the type of t ...Show All

  • Windows Forms Still waiting on GenerateBootstrapper

    Hi; I just wanted to share this here. I put in a paid support request on how to use GenerateBootstrapper for Microsoft hotfixes about 2 weeks ago - and while I get calls daily where I spend 30 - 60 minutes on the phone with the MS tech - still no answer. Granted a big part of this is the MS tech as he keeps trying to find a fast answer rather than one that will work. (One week in to this he sent me the link to the GenerateBootstrapper task as the "solution.") But in his defense, I think a large part rests on the GenerateBootstrapper team. Two MS techs have been working this problem for hours and hours and haven't been able to figure it out yet. I'ld say that is a pretty large pointer at no real documentation. thanks - ...Show All

©2008 Software Development Network