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...
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...
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
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
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)...
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...
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...
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
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.