Software Development Network Logo
  • Smart Device
  • Windows Forms
  • Visual Basic
  • Microsoft ISV
  • .NET Development
  • Visual FoxPro
  • Architecture
  • Visual C++
  • Windows Vista
  • VS Team System
  • VS Express Editions
  • Game Technologies
  • SQL Server
  • Windows Live
  • Visual J#

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

LordWolf

Member List

Stnnet
gshir
WillTartak
Daniel Joubert
BlackDragon80
Lori J
randyds
Allen Feris
rasoliver
adamt
mf32000_9
Chris Tacke
Martin2007
Black Bits Neeraj
Falken1
Zeon219
kelmsel
John Malkovich
sky35366
Nick W
Only Title

LordWolf's Q&A profile

  • .NET Development Windows Message

    I'm trying to write a program in C# that will sit in an infinite for loop, waiting for any other application to write to or read from the registry. I have a few questions, I was hoping people maybe able to help with:- I intend to override a Forms WndProc function and take in the System.Windows.Forms.Message and compare the Msg from the Message for a particular WM_ value - Could you tell me if there are particular Windows Messages associated with writing to the registry or reading from the registry - Would the application's System.Windows.Forms.Message be able to "see" ANOTHER application is writing to the regi ...Show All

  • SQL Server Help retrieving values from 2 similar stored procs

    I created one stored proc, then copied it to create another similar stored proc with just some filtering changes in the second.  Now I want to obtain the results from both like this: ProjFee   ProjGross  DailyRunRate  Var1  InHouse1  InHouse2  GrossGoal  Group Name  PostedAmount ---------------------------------------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- --- Row# 1 from current stored proc Row # 2 from called stored proc so something like this I should get in the end for example when both results are combined: P ...Show All

  • Software Development for Windows Vista If the session lost , how to make the long-running workflow going on

    As title. I published the workflow as webservice, and saved the client CookieContainer, so multi-users can operate in the same workflow instance. But if I rebuilt the webservice, the asp.net session lost, and the server said 'Current Session has no workflow instance relative with it...'.  So, I code in the Application_Start method, start the relative workflow instances. Addtional, I code in the Session_Start method, add the relative '__WorkflowInstanceID__' and '__WorkflowContractType__' value in session. The server didn't say anything error, but no response either. Is the above right How can I make the long-running workflow going on ...Show All

  • SQL Server prorating the date fields with cost

    Hi all I have got 3 columns in my table- start date,finish date and cost..in the following format... start_date finish_date cost 12/12/2000 20/12/2000 $2000 01/09/2000 12/10/2000 $400 Now if the month and year of the start and finish date is same, the cost remains same... but if the month of the two dates are different, i have to distribute the cost between the two months by calculating the cost for the number of days for both of the months.. but i am not able to figure out how i am using sql 2005 .. my table has got about 1 million rows... pls help..... dll is as follows GO CREATE TA ...Show All

  • Visual Studio Team System Work Item Fields Max Length

    Hi guys, Anybody can tell me what is maximal length for each Work Item Field Type (String, PlainText, HTML) We are migrating items from Clear Quest to TS and receiving "Invalid To Long" errors when trying to save WI. Thanks, Leon What's max length for help Text Is there a way I can increase it. I'm getting the following error, while importing the bug form.. Exception Type: System.Xml.Schema.XmlSchemaValidationException Exception Message: The 'HELPTEXT' element is invalid - The value '...........'  is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value. Thanks, Anu ...Show All

  • SQL Server Error installing SQL Server 2005 Upgrade Advisor

    I'm getting a Windows Installer error when attempting to run the Upgrade Advisor setup package (SQLUASetup.exe). The error message reads: "This installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service." The machine is running Windows 2000 sp4. Both the .net framework v2 and Windows Installer 3.0 have been installed. Any suggestions   You need to be running Windows Installer 3.1.  You can find it here: http://support.microsoft.com/ id=893803 ...Show All

  • .NET Development What happens underneath the BulkCopy Object of ADO.NET 2.0

    Hi , Does someknow how does new Bulkcopy work in ADO.NET 2.0 What happens underneath because of which the performance gets better with BulkCopy Regards, Anjana Yeah, there should be another event that you can trap the invalid row, similar to the SqlRowsCopied event except you can access the invalid row and possibly try to correct it. It should have the SqlException or whatever as an inner exception, and also be able to specify whether to retry, skip, or abort (or maybe even try an update instead of an insert for that row) via the EventArgs similar to SqlRowsCopiedEventArgs.Abort. Possibly a wrapper class (since you c ...Show All

  • Visual C# BSTR type in c#

    I received a DLL which uses BSTR as string type: example : given in the include file DLLEXPORT BSTR WINAPI I2cGetInterfaceTypeStr (BSTR Interface); how do i access this function in vc#. This doesn't work. [DllImport("I2CAPI32.dll")] public static extern string I2cGetInterfaceTypeStr ( string Interface); Other functions of the DLL which don't use BSTR are working ok. Can anyone help me. Thanks, Jan It's pretty unusual to see a function directly returning a BSTR like that, but I think this should work: [DllImport("I2CAPI32.dll", CharSet=CharSet.Unicode)] [ return : MarshalAs(UnmanagedType.BStr ...Show All

  • .NET Development Stopping Asynchronous Operations

    I'm working on using Text-to-Speech support inside my App. The problem is that if I call the Speak method on the Speech Library, my app. will be frozen until the method finishes reading the text. In the case the user decides to stop the reading, he couldn't. What I did is to call the Speak method in an Async fashion. Now, the problem is that there is no Stop method in the Speech Libarary, therefore, somehow, I need to stop the operation. I tried to call the EndInvoke method on my handler, but it requires an IAsyncResult parameter; I tried with a couple things but it doesn't work. Setting the instance of the Voice Speech Class to Nothing (nu ...Show All

  • Windows Forms VB.net help needed involving Printing and Print Previews

    Hi everyone, new programmer here. I'm working on a new .net windows form project, involving Print Preview and Printing. I just need to know how to send certain objects to the Print Preview window, then Print from there. Here's what I got so far: Public Class frmVBACCW Inherits System.Windows.Forms.Form Private Sub mnuFilePrintOrder_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuFilePrintOrder.Click 'Begin the process for Print Preview With ppdPrintPreview .Document = prtPrintDocument .ShowDialog() End With End Sub Private Sub prtPrintDocument_PrintPage(ByVal sender As Object, ByVal e As System.Drawing.Pri ...Show All

  • Visual Studio Team System Work item changes

    I've been working with the work items in Team System.  I've added a few new fields and made some changes.  After the changes I went in and opened the work item, filled out some of the fields and tried to save the changes.  I received an error stating "Error, The update has been rejected."  My question is there something in Team System that can help me troubleshoot   I've used the Debug menu option, but it doesn't give me anything.  I've commented out a few lines of code, but I thought there may be something that I could use that I'm unaware of.  Any help would be appreciated. thanks, aaron S ...Show All

  • .NET Development SQLDMO can not find most of the SQL servers on the network

    SQLCMD -L run from my system returns 6 unnamed instances and 4 named instances (including 1 named and 1 unamed on the local system).  This list is actually correct and appears to be reproducable. SQLDMO only retuns 5 unamed and "local".  The named instances are not shown at all. SOMETIMES when I run the same code from another system, 1 of the named instances will show up in the list, but if I call ListAvailableSQLServers again, it is usually not there after the 2nd call. All SQL servers involved are 2000 SP3(a) or the equivalent install of MSDE. Any ideas on how to do the enumeration correctly and find most if not ...Show All

  • Software Development for Windows Vista future activeX in MS Vista

    Hi, I'm developing a framework in winfx which can move and rotate components (panel and its children). I would like to know if can be possible (in the future) to host winfx applications in another winfx application. I mean, for example, it will possible to get an Excell (developed for vista) activeX that I can host into my application (for rotate/scale/fade it) Thanks and sorry for my english.   ...Show All

  • SQL Server Report Generation Image

    Is there any way to change the image "Report is being generated" to something else or at least change the location of it.  I have a report that is very long and our users have to scroll down to see that.  They think the report is frozen when in all reality it is still generating.  It is postioning in the center of the page and I want it to position at the top. Try this out for handling the body onload event in order to toggle the visibility of a Report is being generated label. You can also create your own spiny image here and download it as a gif image to add to your project. http://www.ajaxl ...Show All

  • SQL Server Profiler 2005 issue

    Hi! When I try to run profile 2005 ... as soon as i hit the connect button (authentication dialog) I get this error: The procedure entry point lstrcpynI could not be located in the dynamic link library MSDART.DLL any ideas Everything is up to date on my system. my configuration: SQL Server 2000 enterprise (can't wait till next week to get EE for 2005) WS 2003 w/SP1 .NET 1.1/2.0 (2.0 was installed with SQL 2005) VS.NET 2003 (going to install 2005 later) Office 2003 with SP2 ...Show All

©2008 Software Development Network