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 TouchToneTommy 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: *

  1. sand133

    Winforms - Events

    Hey Jason, thanks for your reply, I guess the solution you provided is ok for this situation or one where I dont have deep nested controls. What if I have control A that needs to listen out for an event and control A is embedded in control B. How would I do this? Control B is on the form with a...
  2. sand133

    Winforms - Events

    Hi, I have a basic form with a button and a usercontrol (which is just a label). What I want to do is when I click the button, raise a custom event and have the usercontrol listen out for it. Any ideas how i can do this? I have got as far as this. The Event --------- using System; using...
  3. sand133

    Javascript Readonly

    that works great but for dropdowns it does not work, any ideas?
  4. sand133

    Javascript Readonly

    I cant seem to make these readonly any ideas, thanks for(i=0; i<document.forms[0].elements.length; i++) { { document.forms[0].elements[i].readOnly = true; }
  5. sand133

    regualr expression

    got this "Intesa Sanpaolo ST: the downside prevails <ISP.MI>" i want to extract all data in <...>. how woudl i do it in c# thanks
  6. sand133

    SSL, C#

    Figured it out my url was incorrect, if anyone does want to know then you set the Credential property of the HttpWebRequest object, passing in the username and password, as seen below. HttpWebRequest req = new HttpWebRequest(); req.Credentials = new NetworkCredentials("<your...
  7. sand133

    SSL, C#

    Hi, i had a look at the article, thanks but i dont want to write my own httpObject, I sure this must be easy with the HttpWebRequest class, but how do i pass the username and password? so far got this HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url); // Set some...
  8. sand133

    SSL, C#

    Hi, im trying to request some data from a server using HttpWebRequest and HttpWebResponse classes.However all communications with the servers are encrypted using the HTTPS (HTTP over SSL) protocol. I have been given my username and password from the vendor. Question is how do I pass these into...
  9. sand133

    ThreadPool class

    Thanks bledazemi that was the perfect solution.
  10. sand133

    ThreadPool class

    I have the following code... static void Main(string[] args) { for (int i = 0; i < 10; i++) { ThreadPool.QueueUserWorkItem(new WaitCallback(Method)); } } // This thread procedure performs the task. static void Method(Object stateInfo) { //do...
  11. sand133

    DateTime format

    That doesnt give me what im looking for but thanks for the PDF.
  12. sand133

    DateTime format

    Hi I have a dataRow that has a field which contains a datetime. Does anyone know how i can get it into the following format in C# Friday, 15 June 09:11am Thanks Gary
  13. sand133

    year, month, day of current date

    does anyone know how do it in SQL, thanks
  14. sand133

    year, month, day of current date

    thank you brother
  15. sand133

    year, month, day of current date

    Hi, does anyone know how I can achieve the following in c# as a string... (1) The current year (2) The current month (3) The current Day in the following format 20080422 im having problem with the 04 bit, DateTime.Now.Month.ToString() returns 4 not 04. thanks
  16. sand133

    process task problem

    Hi guys i have a ssis package with a "Execute process Task" that executes a batch file. What I want to do by using expressions is to send multiple arugments do it. Batch file looks like this.... cd %1 echo %1 pause Ive set up my variables but how do i send mutiple values as the following...
  17. sand133

    downloading files

    Hi, does anyone know if there is a way of downloading files from a server using c#. Im trying to download files from a client they dont want to use FTP and its on an address like https://xxxx.xxx.com so its using HTTPS protocol thanks
  18. sand133

    data issue

    Could you give me an example becuase precision is very important
  19. sand133

    data issue

    Hi I am trying to convert the following value of type double 0.000001096492799312173 to string, the problem is that it is removing the last digit, "3". i.e as a result I get 0.00000109649279931217. please Help any ideas?
  20. sand133

    Connecting to sql 2000

    Hi I want to connect to a sql 2000 database using the windows credentials of the request. The reason I'm doing this is because certain users have restricted access to some tables. On IIS i have set windows authentication, question is what else would i need to do. thanks

Part and Inventory Search

Back
Top