Search:

Type: Posts; User: Stevie

Page 1 of 13 1 2 3 4

Search: Search took 0.47 seconds.

  1. Replies
    3
    Views
    729

    Impersonation - Is this possible?

    I am trying to design a windows forms application (not asp.net) in C#, and need to know if the following scenario is possible :

    Once my application is running I need to be able to impersonate...
  2. Thread: Closing a form

    by Stevie
    Replies
    3
    Views
    420

    Closing a form

    How can I close a form, which has my start point in it, without the application closing?
  3. Thread: Create DSN

    by Stevie
    Replies
    1
    Views
    654

    Create DSN

    Can anybody give me an example of how to create a DSN in code using SQLConfigDataSource please.

    Banging my head against a brick wall!! :mad:
  4. Replies
    6
    Views
    1,499

    Cheers for that, but I need to do it from within...

    Cheers for that, but I need to do it from within SQL Server (T-SQL). :)
  5. Replies
    6
    Views
    1,499

    Cheers, but i just realised I asked for the wrong...

    Cheers, but i just realised I asked for the wrong thing.

    I actually need to (Kind of) ping sql server instances on a network.

    I've found an application that lets me do this called SQLPing.
  6. Replies
    6
    Views
    1,499

    SQL Server 2000 / Ping

    I need to be able to ping some servers from within sql server 2000, and record the results of the ping.

    Anybody able to tell me how I can do this please?
  7. Replies
    3
    Views
    338

    Wrox books are good as are O'Reilly as reference...

    Wrox books are good as are O'Reilly as reference books.

    Try "Microsoft SQL Server 2000 Programming by example" by Guerrero and Rojas.

    "Transact-SQL Prohramming" by O'Reilly is a decent...
  8. Nice :bigyello:

    Nice :bigyello:
  9. Most things like this should be done with sp's as...

    Most things like this should be done with sp's as they are a lot quicker, and a much neater way of doing things. You can also secure things properly by using stored procs instead of passing sql...
  10. Replies
    1
    Views
    344

    If you are moving the development structure and...

    If you are moving the development structure and data over to live, (in effect copying over the live version) why don't you backup the development version, and restore it over the live version.
    ...
  11. This will create table 2 and copy all the data...

    This will create table 2 and copy all the data from table 1 into it.

    SELECT *
    INTO TABLE_2
    FROM TABLE_1

    This will just copy all the data from table 1 into table 2

    INSERT INTO TABLE_2...
  12. Replies
    9
    Views
    1,363

    aha!! Thats what it's for :rolleyes:

    aha!!

    Thats what it's for :rolleyes:
  13. Replies
    9
    Views
    1,363

    Cheers Woka I think I need to use a picture...

    Cheers Woka

    I think I need to use a picture box as I am using an mdi form.

    Can't place the toolbar on the form, or in the Rebar.
  14. Replies
    9
    Views
    1,363

    I've managed to get it working now. I added the...

    I've managed to get it working now. I added the toolbar into a picture box, and added a rebar to the form as well.

    cRebar : Rebar Control
    picToolbar : Picturebox Control
    ctbrMain : Toolbar...
  15. Replies
    9
    Views
    1,363

    Did you ever sort this out, as I am having the...

    Did you ever sort this out, as I am having the same problem?
  16. Replies
    6
    Views
    803

    Freaky :D I printed out that article last...

    Freaky :D

    I printed out that article last night, and read the first half of it on the way to work this morning.

    You're right, it seems to be exactly what I'm after, and the best thing about it...
  17. Replies
    6
    Views
    803

    Cander : I know I have to pass parameters...

    Cander : I know I have to pass parameters around!! ;)

    shunt : I'll take a look at the .net design patterns. They seem to show what I'm after.

    Cheers
  18. Replies
    0
    Views
    368

    EXE & DLL : Best Approach??

    I wouldn't normally post in two forums but this is equally relevant in both, and I also need some advice quite urgently before I go down the wrong path!!
    ...
  19. Replies
    6
    Views
    803

    EXE & DLL : Best Approach??

    I have a system which I am designing in the following format :

    I have some Data Classes (which handle all my stored proc calls etc) which are used by multiple classes (which are each based on...
  20. Replies
    6
    Views
    766

    The way I have it working in the old app at the...

    The way I have it working in the old app at the moment is that when somebody goes into a record they get a token and when they update a record it the token is altered.

    This means that if you are...
  21. Replies
    6
    Views
    766

    Cheers I'll have a look

    Cheers

    I'll have a look
  22. Replies
    6
    Views
    766

    I know a DataReader is read only, that is what I...

    I know a DataReader is read only, that is what I was saying.

    I can do updates the same way I do in VB6 via stored procs.

    What I was asking was

    I'm pretty sure locking won't cover what I'm...
  23. Replies
    6
    Views
    766

    DataSet or DataReader???

    I have a system I wrote in VB6 / SQL 2000 which I have to re-write / re-design in .Net (my first .net app).

    This app gets data from the db via stored procs, and updates the db via stored procs. ...
  24. Thread: Overloading

    by Stevie
    Replies
    10
    Views
    726

    hellswraith : why would you consider that bad...

    hellswraith : why would you consider that bad practice? The principle of it is exactly the same as overloading?

    Imagine you have a method called GetCurrentUser, which takes no parameters. One...
  25. Thread: Overloading

    by Stevie
    Replies
    10
    Views
    726

    (Just found the answer in one of my books) The...

    (Just found the answer in one of my books)

    The parameter list must differ. Having different return types only will not work.
  26. Thread: Overloading

    by Stevie
    Replies
    10
    Views
    726

    Overloading

    When I write muliple versions of a method with different parameters, and call the method I will get the choice of which method to use due to overloading.

    However if I wish to have all the methods...
  27. Replies
    4
    Views
    590

    A += B is the same as writing A = A + B

    A += B

    is the same as writing

    A = A + B
  28. Replies
    0
    Views
    351

    Line feed for net message?

    This probably sounds a lot simpler than it actually is. I've got a stored proc in SQL Server that sends a net message to a specified user. However I can't seem to put any line feeds into the...
  29. Replies
    99
    Views
    3,544

    Very kind of you sir. :D I have net send...

    Very kind of you sir. :D

    I have net send stuff in my app to let users know when they have new items assigned to them, it's optional as well as email notification.

    I also created a net send...
  30. Replies
    99
    Views
    3,544

    One example is that I can see who is logged on to...

    One example is that I can see who is logged on to the system.

    A majority of the reasons (for having constant connection) are historical dating back (way back) when the system was connected to an...
  31. Replies
    99
    Views
    3,544

    Thats basically what I do, except I also have a...

    Thats basically what I do, except I also have a random number for each record which is updated when a user updates a record.

    When a user enters a screen he reads the number, and just before they...
  32. Replies
    99
    Views
    3,544

    We don't user 3 tier here (although I'd like to...

    We don't user 3 tier here (although I'd like to get into it) so I can't use pooling.

    You've got to remember here that it would be 80 odd users constantly connecting/disconnecting all day which is...
  33. Replies
    99
    Views
    3,544

    Some of the features require constant connection,...

    Some of the features require constant connection, and locking is not an issue as there I have a simple (yet elaborate :)) way of ensuring deadlock never occurs. Add to that it is also makes it...
  34. Replies
    99
    Views
    3,544

    I agree, much better to be proactive than...

    I agree, much better to be proactive than reactive!

    Woka (not meaning to argue here :)) I don't understand how you think it is quicker. How can executing a stored proc be slower than connecting +...
  35. Replies
    99
    Views
    3,544

    I don't have any performance problems though,...

    I don't have any performance problems though, only with the initial login! :D

    I don't mind a performance hit which is one off (and lets face it 5 seconds to login in the morning is sod all),...
  36. Replies
    99
    Views
    3,544

    I think it is the fact that whenever you excute...

    I think it is the fact that whenever you excute code in one of the child windows it is going to bring that window to the front.

    By running the stored proc from the parent mdi form, and not...
  37. Replies
    99
    Views
    3,544

    Don't know what make it come to the front, but it...

    Don't know what make it come to the front, but it was a major pain. I find the way I handle it a simple way of getting round the problem, also it is less network traffic as I'm only ever receiving a...
  38. Replies
    99
    Views
    3,544

    It doesn't do loads of sp calls every 5 mins. ...

    It doesn't do loads of sp calls every 5 mins. The only sp called every 5 mins is the one which will check if any new items have been added to the pinboard.

    The forms have multiple sp's to do a...
  39. Replies
    99
    Views
    3,544

    My pinboard is only intersted in new additions,...

    My pinboard is only intersted in new additions, as you are notifed in Outlook of new mails. It's not interested if any are deleted. Amended rows are treated as additions, as in Outlook terms it...
  40. Replies
    99
    Views
    3,544

    It takes a while to connect, so to connect and...

    It takes a while to connect, so to connect and excute a stored proc is going to take longer than just excuting a stored proc. :D

    A lot of my forms have loads (and I mean LOADS) of stored proc...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width