Search:
Type: Posts; User: Stevie
Search:
Search took 0.47 seconds.
-
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...
-
How can I close a form, which has my start point in it, without the application closing?
-
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:
-
Cheers for that, but I need to do it from within SQL Server (T-SQL). :)
-
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.
-
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?
-
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...
-
-
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...
-
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.
...
-
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...
-
aha!!
Thats what it's for :rolleyes:
-
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.
-
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...
-
Did you ever sort this out, as I am having the same problem?
-
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...
-
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
-
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!!
...
-
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...
-
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...
-
-
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...
-
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. ...
-
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...
-
(Just found the answer in one of my books)
The parameter list must differ. Having different return types only will not work.
-
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...
-
A += B
is the same as writing
A = A + B
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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 +...
-
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),...
-
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...
-
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...
-
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...
-
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...
-
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...
|
Click Here to Expand Forum to Full Width
|