Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: djdidge
  • Order by date
  1. djdidge

    T-SQL Print Function

    The Answer! http://groups-beta.google.com/group/microsoft.public.dotnet.framework.adonet/msg/a5cf3b1642f671a6
  2. djdidge

    T-SQL Print Function

    i run the stored proc from my vb.net app...using ado.net but if i run it with the query analyzer it runs but only shows the row count in the "messages" tab
  3. djdidge

    T-SQL Print Function

    Hi I used to use the PRINT function to return debug msgs to myself. They appeared on my screen as message boxes. They no longer work! Any ideas what may stop these messages getting through? Regards GRUNGE
  4. djdidge

    URL style prefix (http:// Ftp:// ed2k:// etc...)

    ive found this.... worth a read http://msdn.microsoft.com/library/default.asp?url=/workshop/networking/pluggable/overview/aplugprot_overviews_entry.asp
  5. djdidge

    URL style prefix (http:// Ftp:// ed2k:// etc...)

    hi, Not quite VB.NET i believe, but its a dev question that ive had no luck with in OS specific forums. using Win 2000 & XP I need to use a URL style prefix to access my application. e.g. http:// ... opens up default web browser ftp:// ...opens up default ftp browser...
  6. djdidge

    determine bbp (bits per pixel)

    thanks to the TheLearnedOne for this answer in another forum.............................................. Private Const BITSPIXEL As Integer = 12 Private Declare Function GetDeviceCaps Lib "gdi32" _ (ByVal hDC As Integer, ByVal nIndex As Integer) As Integer Private Declare Function...
  7. djdidge

    determine bbp (bits per pixel)

    tried using this API... Private Const BITSPIXEL = 12 Private Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long ... MsgBox("This system is using " & Format$(GetDeviceCaps(Me.Handle.ToInt64, BITSPIXEL)) & "-bit color.") this returns a...
  8. djdidge

    determine bbp (bits per pixel)

    oops... BPP :)
  9. djdidge

    determine bbp (bits per pixel)

    basically i need to find out the colour settings of my PC. Preferably using the framework. Ideas? Regards DiDGE
  10. djdidge

    Set a variable being embedded in SQL

    had it answered in another forum... You just need to assign the value you're interested in to a previously declared variable and RETURN it at the end; viz: CREATE PROC ReturnAsExitValue AS BEGIN DECLARE @RowID INT SELECT @RowID = MIN(TransactionID) FROM tbl_Transactions RETURN @RowID END...
  11. djdidge

    Set a variable being embedded in SQL

    i tried this .. .didnt work (tried to use the AS to populate @Returny INSERT INTO tblProductRecord SELECT (SELECT MIN(ProductUID) + 1 AS @Returny FROM tblProductRecord WHERE ((ProductUID + 1) NOT IN (SELECT ProductUID FROM...
  12. djdidge

    Set a variable being embedded in SQL

    Hi there, I have finally come to the point where i can't proceed without learning how to use return parameters! i need to return minGroupID or ProductUID ... they are the same. So somehow i need to set the variable @Returny ideas? ...
  13. djdidge

    Update a record from another record in same table

    Works a treat thx! UPDATE b SET ProductName = t .ProductName, TypeUID = t .TypeUID, CampaignUID = t .CampaignUID, PMUID = t .PMUID, PPUID = t .PPUID, StartDate = t .StartDate, EndDate = t .EndDate, ChargeUID = t .ChargeUID, Objective = t .Objective...
  14. djdidge

    Update a record from another record in same table

    Thx chap... ill give that a go!
  15. djdidge

    Update a record from another record in same table

    Hi there, Thanks for your reply... I simplified the SET set due to the huge list!... lets assume I have 2 fields to SET. Can that be done with 1 select statement? intead of having to run a query for each field. Regards,
  16. djdidge

    Update a record from another record in same table

    UPDATE b SET ProductName = t .ProductName FROM tblProductRecord t INNER JOIN tblProductRecord b ON t .ProductUID = b.ProductUID WHERE t .ProductUID = 1887 AND b.ProductUID = 1884 This almost works.... not quite! Ideas??!
  17. djdidge

    File:// - File URLs

    ah nice... just reincorporated the %20
  18. djdidge

    File:// - File URLs

    thx! that seemed to sort most of my issues with it... now just need to figure out how to get the rich text box to detect a 'URI' with spaces.
  19. djdidge

    File:// - File URLs

    Hi there, Im embedding file links into my rich text box ... like this... file://c:\test.txt Now this works fine until i get paths with spaces in... so i tried to replace the spaces with %20 .... like this File://C:\Documents%20and%20Settings\David\Desktop\Test.txt However, this %20 thing...

Part and Inventory Search

Back
Top