|
i am having problem while installing vs.net 2005 and sqlserver 2005. Problem is that vs installs dotnet framework 2.0 and after installation of that when i tried to install sqlserver 2005 that installs dotnet framework 2.0 beta. they both conflict with each other. 2ndly plz tell me how to check whether sqlserver 2000 is correctly installed because when i run my application it always gives sql connectivity error i.e under default setting sql server doesn't allow remote connections. i am using win xp service pack 2.
|
|
|
|
|
ManiMughal wrote: sqlserver 2005 that installs dotnet framework 2.0 beta
Then you are using a beta version of SQL Server 2005 - Please don't.
ManiMughal wrote: how to check whether sqlserver 2000 is correctly installed
I thought you said it was SQL Server 2005. SQL Server 2000 does not install any .NET framework.
ManiMughal wrote: when i run my application it always gives sql connectivity error
If you are giving the machine name in the connection string then you must enable TCP/IP connections.
|
|
|
|
|
Can i get/set the comments on latest version of VSSItem(Visual Source Safe Item(File), I know there is an interface "IVSSItem" through that i can checkin/checkout/label etc, but I couldn't find a way to get/set the comments of the latest version, is there any way?
Best Regards,
Mushq
Mushtaque Ahmed Nizamani
Software Engineer
Ultimus Pakistan
|
|
|
|
|
hi
how can I execute .Net programing on an OS that doesn't have .NetFramework!?
like win98!
|
|
|
|
|
Install .Net? .Net will install on windows 98.
There are commercial packages around that will allow you to run .Net apps without the framework installed but I belive these wont work on OS's that .Net doesn't support.
|
|
|
|
|
And those packages that let you avoid the .NET Framework cost a small fortune.
|
|
|
|
|
awwwww you spoiled the suprise :P
|
|
|
|
|
I'm such a party-pooper.
|
|
|
|
|
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Mono[^]
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios[ ^]
|
|
|
|
|
Sorry without .netframework you can run your programm
.net framwrok 3.0 is free down load and run the programm
have a nice day
|
|
|
|
|
Hi,
I need to create and Ms-Word addin that will add a footer to all the pages of an open document. I have browsed and got some code.
I have referred MS knowledgebase article and have created an addin, but that code is not adding any button to the commandbar of Word. It did one for outlook. When I made some changes to the code to make it word specific, it still didn't do anything. I have written the following code in OnStartupComplete method:
object oMissing=System.Reflection.Missing.Value;
CommandBars cmdBar = wordApp.ActiveDocument.CommandBars;
try
{
this.myButton = (CommandBarButton)cmdBar["Tools"].Controls.Add(1, oMissing, oMissing, oMissing, oMissing);
}
catch
{
this.myButton = (CommandBarButton)cmdBar["Tools"].Controls.Add(MsoControlType.msoControlButton, oMissing, oMissing, oMissing, oMissing);
this.myButton.Caption ="Hello";
this.myButton.Style=MsoButtonStyle.msoButtonCaption;
}
this.myButton.Tag ="Hello Butom";
this.myButton.OnAction="MyAddin1.Connect";
this.myButton.Visible =true;
this.myButton.Click += new _CommandBarButtonEvents_ClickEventHandler(this.myButton_Click);
But this is not working. I am also not able to debug it.
Please help!!!!
|
|
|
|
|
Did you get it to work? I have been faced with the same issue.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
I'm gonna try using remoting with an IPC channel. I haven't seen any evidence that a given remoting channel is bi-directional.
I'm either just not seeing it, or it doesn't do it. Can anyone tell me which is the case.
If a single IPC channel is not bi-directional, can a given app be both a client and a server?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
To use it bi-directionally you'll need to set the SerializationLevel to full.
Heres how you do that with configuration files:
note that this is for tcp and binary formatting but it's pretty much the same for any formatter and channel (with a few different attributes in the channel def).
client
<system.runtime.remoting>
<application name="xxx">
<client>
<wellknown type="xxx, xxx" url="tcp://127.0.0.1:xxx/xxx/xxx.rem"/>
</client>
<channels>
<channel ref="tcp" port="0">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
server
<system.runtime.remoting>
<application name="xxx">
<service>
<wellknown mode="Singleton" type="xxx, xxx" objectUri="xxx.rem"/>
</service>
<channels>
<channel ref="tcp" port="xxx">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
<clientProviders>
<formatter ref="binary"/>
</clientProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
It can take some fiddling* to get the config files right but it's well worth it for the ease of configuration later on.
* read: days of looking for single wrong cased letters and trying different combinations.
See the way "wellknown" is all lowercase? when done progromatically they do it WellKnown. Because of that i put wellKnown and it took me agood couple of hours dealing with the inadiquate exceptions to find that one ... even had my boss over helping for an hour of that.
Just a note with the IPC channel. It has a bug with remoting events. Now most of the time you shouldn't rmeote events anyway but you'll often want to with IPC as it's obviously on the same machine and so not so bad to do. THe issue is that after your first client disconnects the server will break. heh ... not so good huh? This means for now you'll have to use TCP, but on the bright side if you use the remoting configuration files (and you should ) then its very easy to switch channels.
Heres the link to the connect bug report:
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=293769[^]
Edit: forgot it doesn't like xml
|
|
|
|
|
Ya know, if you put a pre tag around that, it'll format...
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I did ... and it still ate half of the tags :/
thats when I then switched to using html encoding X(
|
|
|
|
|
Either way, I can't seem to get my head around this remoting stuff.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
hmmm I'll try and put up an article on how I personally do it. I have the little exmaple project I came up with for that bug report which I'll try and pad out with an article. It covers most of the basics and imo impliments some important stuff which is often missing from remoting examples (like shared interfaces and use of config files).
I'll see if I can get round to it tonight (I'll be home in 2 hours) and post it up before I go to bed.
|
|
|
|
|
Many thanks.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Hmmm I went through the stuff I have last night and I'm not sure when I'm gonna have time to write it up :/
I do have a very good ebook if you would like to errr borrow it ... I'd highly recommend buying the paperback version if you like it.
COdeporject doesn't have a PM system does it?
|
|
|
|
|
As answer to your question
John Simmons / outlaw programmer wrote: can a given app be both a client and a server
the answer is yes.
I've been home on paternityleave for 5 weeks and bored as I was of Soapseries in the evening;), I started making a chatserver and clients using remoting. I created two objects to expose through remoting - server channel object and client channel object. When I fire up the server, it starts a remoting server and exposes the server channel object. I then created a method in the server channel to allow clients to register with the server. When the client fires, it too sets up its own remoting server and exposes the client channel. Upon client registration, the server retrieves the remoting proxy from the client for bi-directional communication.
Hope that's of some help.
Best of luck!
-Larantz-
|
|
|
|
|
Could you please tell me how can I drag and drop single/multiple rows having multiple cells from a Datagridview1 to another i.e Datagridview2 ?. I have two datagridviews in a Windows application in C#.
With Regards
Tapan
|
|
|
|
|
I just observed an elegant overload of System.Console.Beep in .NET Framework 2.0 BCL which supports musical notes through C#.
http://msdn2.microsoft.com/en-us/library/system.console.beep.aspx[^]
But I find the way to configure musical notes is bit different and a bit more tedious compared to QBasic Play. Has somebody tried this out and any clue on the mapping between Play Notes in QBasic Play and Beep in .NET Framework 2.0. Also, a quick search in Google didn't much give me much examples too. Perhaps this is kind of unexplored jungle yet?
|
|
|
|
|