CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sudheeratwork

Page 1 of 3 1 2 3

Search: Search took 0.04 seconds.

  1. Replies
    1
    Views
    698

    exposing the DAL

    I am designing the BLL and DAL for a web application that is being build with .net 2.0 tech.

    We use only one data source (SQL Server 2000) always.

    The ways of calling the DAL that I can think...
  2. Thread: Bll Dal

    by sudheeratwork
    Replies
    0
    Views
    1,552

    Bll Dal

    Microsoft recommends that a web application should be having these layers.

    Presentation - BLL - DAL - Database

    I am trying to understand the significance of the BLL and went about reading the...
  3. Replies
    0
    Views
    898

    C# COM object for ASP

    I have written a C# COM object for ASP. I am mostly successful but for being able to pass session info to the COM object. I have implemented the OnStart Page with the scripting context as the...
  4. Replies
    0
    Views
    783

    how to supress a message box

    My C# code access a COM object and fires a method. This method throws a message box when it encounters an error. At which point my C# code execution stops.

    I would like to know if there were a...
  5. Replies
    13
    Views
    3,177

    Re: Is this good programming?

    I dont think U need this line of code at all:


    prc.StartInfo.FileName = "C:\\WINDOWS\\system32\\cmd.exe";

    after you have executed the code and process is dead(according to you), check the...
  6. Replies
    6
    Views
    1,722

    Re: Web Service asmx problem

    Identify the code generated by the studio in the asmx.cs . Copy the same into the custom class that you have and u will be good to go.

    :thumb:
  7. Replies
    6
    Views
    1,722

    Re: Web Service asmx problem

    If you do not want any UI objects in your web service u dont have to derive from System.Web.Services.WebService. if you do not derive from this class the web service designer is of no use.

    Try...
  8. Replies
    13
    Views
    3,177

    Re: Is this good programming?

    I think this is what might be happening:

    prc.StartInfo.FileName = "C:\\WINDOWS\\system32\\cmd.exe";
    The command prompt is associated with your process type variable prc
    and

    prc.Start();...
  9. Replies
    2
    Views
    846

    Re: Time Deviation

    IMHO:
    Have two fields in you table,
    1. a boolean indicating a positive or negative time span.
    2. the actual timespan (datetime type) value. Only that u have to make it a positive value before u...
  10. Replies
    3
    Views
    1,035

    Re: Pass Objects to Message Queue

    Yeah it depends on how your are saving the serialized data...

    ne ways u know how to do it... good :thumb:
  11. Replies
    3
    Views
    1,035

    Re: Pass Objects to Message Queue

    Use XmlSerializer to serialize ur object. Save the serialized xml string message to the queue.

    When you want to recreate your object, get the message from the queue and deserialize it.
  12. Replies
    25
    Views
    36,928

    Re: Difference between c#.net and VB.net

    What about the capabilities?

    Can VB.Net do every thing that C# does , I mean can we implement the same functionality in both the languages... are there any "if's" and "but's"...
  13. Replies
    7
    Views
    1,221

    Re: parsing application

    button click is an event,

    button1_Click(object sender, System.EventArgs e) is an event handler.

    The event and event handler are married using the line below


    this.button1.Click += new...
  14. Replies
    5
    Views
    1,089

    Re: Properties in C#

    I will bet on klitan's approach on any day.... :thumb:
    mine was just one way :p ...
  15. Replies
    7
    Views
    1,221

    Re: parsing application

    use this code in the button_click event handler

    In this code I am Opening a .txt file and shouting out its name..
    The openfile dialog allows only files with .txt extensions to be opend in this...
  16. Replies
    5
    Views
    1,089

    Re: Properties in C#

    plz disregard my earlier post... my bad

    This should work.....




    private string _res;
  17. Replies
    7
    Views
    1,221

    Re: parsing application

    Create a new Windows Application project
    In the "toolbox" under "windows forms" u will find the OpenFileDialog component. double click on that.. You will see that this component will have been added...
  18. Replies
    5
    Views
    1,089

    Re: Properties in C#

    this should work



    private string res;

    public string result
    {
    get{return res;}
    set{res = value;}
  19. Replies
    7
    Views
    1,221

    Re: parsing application

    U can use OpenFileDialog Component

    Check out this like
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vboriopenfiledialogprogramming.asp

    It is very clearly...
  20. Replies
    10
    Views
    2,306

    Re: Stopping a service from inside

    You are correct Noods :thumb: .

    stop the timer and then do this


    ServiceController controller = new ServiceController();
    controller.MachineName = ".";
    controller.ServiceName = "STOP...
  21. Replies
    10
    Views
    2,306

    Re: Stopping a service from inside

    When an error has occured do something like this


    timer1.Enabled = false;

    and the service stops.....
  22. Replies
    9
    Views
    3,700

    Re: Querry one record at a time?

    Can you post how you are planning on implementing this scenario...

    Just Curious :D ...
  23. Replies
    3
    Views
    1,215

    Re: Newbie needs expert advice

    Use a dataset !!!

    If your datasize is not too big, preload your dataset with all the names from the database. Yo hold on dont gimme that look yet, I know :p this is ridiculous if your datasize if...
  24. Replies
    4
    Views
    1,320

    Re: bitmap question

    ok let me re-phrase my question

    here is wat I did. Added an existing item (image) to my project and made it an "Embedded Resource" and then declared this bitmap



    private Bitmap bmpFrmBack =...
  25. Replies
    4
    Views
    1,320

    bitmap question

    I have gone through the shaped controls example code and am playing around with this code..... I have got a question here



    private Bitmap bmpFrmBack = new Bitmap(typeof(Form1), "back.bmp");
    ...
Results 1 to 25 of 69
Page 1 of 3 1 2 3





Click Here to Expand Forum to Full Width

Featured