|
An interface can't contain any behaviour (it doesn't have any method bodies).
An abstract class can have some behaviour allready defined and can allready store properties into fields, etc..
Choosing wich one to use realy depend on your situation.
|
|
|
|
|
Hi psamy,
what do you mean exactly? Using a naming convention myself an interface starts with a capital I (I think MS does it the same way).
Was this your question?
Regards
Sebastian
|
|
|
|
|
I have been developing a vsto Word 2003 document action pane solution
. Now a trouble has come to me. It is how can deploy my build, including a word file, a dll, and some configuration files in xml format, to the share point portal document library. My questions are,
1). The word file can be upload to portal doc lib. But the related dll file cann't.
2). Even if the word file and all its related dll and xml files can be upload to portal doc library, i also confuse about the posibility of downloading related files of opening word file automatically. If the answer is yes, what is way to do so. please teach me. very thanks.
3). another thing is about the security policy, what means that how can the vsto word file be run when it is moved to a new position of hard disk from the original development place.
Very thanks!
jacklin
Sep 4, 2006
hangzhou, china
msn: shwlin@hotmail.com
jacklin
|
|
|
|
|
I think you're better off deploying the solution using clickonce deployment.
Be sure to exclude the clickonce directory from the sharepoint installation.
WM
|
|
|
|
|
Can you describe what you mean in more detail. very very thanks.
jacklin
|
|
|
|
|
I did publish my solution to share point portal document library, but failed with message "can't create web site on share point web service". can any one tell me the reason and what can i do now?
very thanks.
jacklin
|
|
|
|
|
i want to use this image with the move ...
http://www.shoppinp.com/loading100.gif
in my C# application
Palestine
|
|
|
|
|
what i can make
Palestine
|
|
|
|
|
Hi,
there should be a control named PictureBox. I don't know exactly if this control can handle animated GIF, but give it a try.
Regards
Sebastian
|
|
|
|
|
I've build the following, of wich I know it's not the way it's supposed to be and I also know how to fix it. I'm just wondering how it's caused.
- I open a SQLConnection
- I create a SQLCommand
- I run SQLCommand.ExecuteReader and store the readerobject in a variable
- I set the SQLCommand to null
- I create a new SQLCommand in the same SQLCommand variable
- I run ExecuteNonQuery
Doing the above will result in an InvalidOperationException with the message:
"There is already an open DataReader associated with this Command which must be closed first."
I looked to see if the setting to null and the creating a new SQLCommand actually resulted in a new object and it did.
Just for my understanding, how does this work in the background?
|
|
|
|
|
Jonathan van de Veen wrote: Doing the above will result in an InvalidOperationException with the message:
"There is already an open DataReader associated with this Command which must be closed first."
Command? Connection surely!
|
|
|
|
|
I'm affraid not. I've copied the message straight from VS.
|
|
|
|
|
Hello
You should call the SqlDataReader.Close() first, or make a new command object.
Regards
|
|
|
|
|
I was thinking the same thing, but...
I can't close the datareader as I still need it.
I tried making a new SqlCommand in a different variable, but this didn't solve the problem.
I now have two connections wich I don't realy want.
|
|
|
|
|
Hello
Jonathan van de Veen wrote: I now have two connections wich I don't realy want.
Sorry! It's not a perfect world!
Regards
|
|
|
|
|
Oh, I guess I took a wrong turn near Mars somewhere.
|
|
|
|
|
Hi All!
if my Program is running, and i create a messageBox that apears if there is a change in the prohramm, to get the first Focus of all the tasks, i mean if i run an application and then i open a web page and then there is the messageBox creation, how can i do that it will pop up in front of the web page or visualy, or any other application that is running in the background.
Thanks.
Do i need to activate the Focus function on the Form(My programm) and then create the messageBox?
|
|
|
|
|
I guess this is really more of a JavaScript question then a C# question, but you could try to call Window.focus(); in Javascript.
|
|
|
|
|
I am sorry, you got it all wrong, when i gave the web application i ment a task that is running in the forground and that my Form is running in the background or minimized.
So i mean in a Winapplication not javascript
|
|
|
|
|
|
i want to make sql statment that use mod % Div /
i have tow colum
tt | time
---------
1 | 1
2 | 2
3 | 9
i want to make list for all record if (time % 5 = 0)
* how can make this
Palestine
|
|
|
|
|
you could make this by typing the query and executing it.
the query has to be written according to your database rules (most likely sql 92 standard).
the modulus operator is available too (and its the %-char).
as a special hint: use the where clause (where x % 5 = 0)...
|
|
|
|
|
select * from [TableName] where time % 5 = 0
Kind Regards,
John Petersen
|
|
|
|
|
Hi,
I have created a windows service (in vs.net 2005 for windows 2000 pro) and set the startup type to automatic.
But when I reboot my computer, I have to restart the service manually.
Does somebody know what the problem is here???
Thanx
|
|
|
|
|
Could this be a setting in one of the standard service objects?
|
|
|
|