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 wOOdy-Soft 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: mp89
  • Content: Threads
  • Order by date
  1. mp89

    partitioning hard drive

    I want to format my laptop and partition the hard drive so that I can have Visual Studio 2003 on one partition and the Visual Studio 2005 Beta on the other. I'm wondering whether if I do this and install my copy of Windows XP Pro on both partitions will it complain when I try to register it on...
  2. mp89

    newbie question

    How do I input parameters in a UML diagram? e.g. I have a class called ClassA (by adding a Class object, and a method called MethodA (by adding an Operation), you can add a Return Type, but where are the parameters that are being passed to the Operation? Any help would be really appreciated...
  3. mp89

    split using string as delimiter

    How do I do a split on a string using a string as the delimiter i.e. I want to split a string using a country code as the delimiter (e.g. 44, 49, 1, 358 etc). strStartRange = '0' + strStartRange.Split(strCountryCode)[1]; Any help would be really appreciated. Cheers, Mike
  4. mp89

    msxml4.dll

    How do I use the library called "Microsoft XML" (msxml4.dll). I want to be able to use this code : Dim req As New MSXML2.xmlhttp req.open "GET", "http://smssrv/sms/aql.php?cmd=credit", False req.send MsgBox req.responseText Any help would be really appreciated. Thanks, Mike
  5. mp89

    App.Major in c#

    What's the C# equivalent of doing this in VB6? Form1.Caption = "Program version " & App.Major & "." & App.Minor & "." & App.Revision Cheers, Mike
  6. mp89

    non-UK/US character set

    How do you change the setup of SQL Server to allow foreign characters such as ä, ö, å? Cheers, Mike
  7. mp89

    fetch page and set variables

    I want to fetch a page and set variables without doing a redirect to that page. e.g. in PHP : $url = 'http://smssrv/sms/aql.php'; $req =& new HTTP_Request(); $req->setURL($url); $req->addQueryString('cmd', 'send'); $req->addQueryString('from', $from)...
  8. mp89

    string encryption

    I need a way of encrypting strings that provides a fairly high level of encryption. I've looked at System.Security.Cryptography at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemsecuritycryptography.asp, but there are so many different algorithms I don't...
  9. mp89

    instantiating class

    I am instantiating a class in a switch statement as there are a number of different overloads depending upon the data entered by the user. The problem I have is that after instantiating my class, when I try to call methods in the class later on in my code using the same object I cannot, I get...
  10. mp89

    generating random numbers

    I have a method that I am using to generate random numbers using Random.Next. However, every time I call the method I get the same random number. Is there a C# equivalent of Randomize is VB6? Thanks, Mike
  11. mp89

    case statement error

    Can anybody tell me what is wrong with my case statement? The updates/inserts work fine on their own, but I must be making some syntax error in building up the case statement. case @destinterest when '40' then begin if @longdescription between 10 and 20000 begin update division...
  12. mp89

    use of raiserror

    I want to raise an error in my stored procedure and then have the code go to a specific part of the sproc to deal with errors before exiting. Is this the right way to go about doing this? e.g. if (condition) begin rollback tran raiserror goto on_error end --other stuff on_error...
  13. mp89

    test for UPDATE/INSERT success

    Is it possible to test whether or not an UPDATE or INSERT actually updated/inserted a row in your stored procedure? Cheers, Mike
  14. mp89

    double data type

    What is the equivalent of a C# double in SQL Server? Cheers, Mike
  15. mp89

    real data type

    What is the equivalent of the SQL Server real data type in C#? Cheers, Mike
  16. mp89

    transaction question

    Can anybody tell me what is wrong with my stored procedure (it's the first one I've written using transactions so I'm not 100% sure of what I'm doing) : CREATE PROCEDURE DatabaseUpdateDirectoryChange ( @DIVID INT, @CUSTNAME VARCHAR(30), @LISTDIRECTORY INT, @ADD1 VARCHAR(50), @ADD2...
  17. mp89

    stored procedure using transactions

    I'm trying to write my first stored procedure using transactions. First of all, can anybody tell me if I am going about it the right way, and secondly, if I need to return the result of the transaction to the calling application (C# in this case) would I just declare an output parameter and set...

Part and Inventory Search

Back
Top