|
|
hello guys....i m a newbie and wanted to ask if there is any difficulty using VS 2008 on Linux. I mean the way we use it on windows, i wanted to use it on Linux, will it make any difference? Any tutorial link is also welcome
|
|
|
|
|
You can't run Visual Studio on Linux.
|
|
|
|
|
Muzammil Saeed wrote: i m a newbie and wanted to ask if there is any difficulty using VS 2008 on Linux. I mean the way we use it on windows, i wanted to use it on Linux, will it make any difference?
You can't run Visual Studio 2008 on Linux, but you can create .NET-compatible applications using Mono[^]. The MonoDevelop-IDE[^] is a nice alternative to VS, albeit not as powerfull.
If you "can't live without" the VS IDE, then install it on Windows-machine. You can even make it look as if it were running locally, by using SeamlessRDP[^].
Enjoy I are Troll
|
|
|
|
|
Hi,
I'm trying to implement KeepAlive method in one connection by using the following code.
void SentMsg(String[] msg, int MsgNum )
{
try
{
String reqURI = "www.xxx.com"
ASCIIEncoding encoding = new ASCIIEncoding();
HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(reqURI);
myReq.Method = "POST";
myReq.KeepAlive = true;
foreach (int index in MsgNum)
{
String readContent;
Byte[] byte = encoding.GetBytes(msg[index]);
myReq.ContentLength = byte.Length;
Stream requestStream = myReq.GetRequestStream();
requestStream.Write(byte, 0, byte.Length);
requestStream.Close();
HttpWebResponse response = (HttpWebResponse)myReq.GetResponse();
Strean receiveStream = response.GetResponseStream();
StreamReader readStream = new StreamReader(receiveStream, Encoding.UTF8);
readContent = readStream.ReadToEnd();
Console.Write(readContent);
readStream.Close();
}
}
}
There is no problem on the first request send and gotten response.
When sending the second request, the console shows the following message.
"This property cannot be set after writing has started."
Is my concept wrong when implementing KeepAlive method?modified on Tuesday, March 9, 2010 8:38 PM
|
|
|
|
|
please read and follow the guidelines[^] including #7. You can still edit the existing message.
|
|
|
|
|
I haven't created custom assembly attributes before, so maybe this isn't possible, but what I'd like to do is compile a custom assembly attribute and have it displayed to the user if they get the properties of the DLL.
I'm using C#, VS2008, and .NET 3.5. I've added custom attributes to my DLL (ala http://www.codinghorror.com/blog/2004/11/custom-assemblyinfo-attributes.html[^]). It compiles and I've verified that the custom attributes are in the compiled assembly (with Reflector), but when I select the DLL and view the properties (via Windows Explorer) and then view the 'Details' tab, my custom properties aren't displayed.
This is the first time Ive ventured into this area... is this possible? Or does Windows Server 2008 only display a list of known assembly attributes?
Thanks,
Jeff
|
|
|
|
|
The short answer is that this isn't possible. The explorer process in Windows only displays properties that it "knows" about. The assembly attributes that you are seeing are assembly attributes that the compiler adds to a Win32 resource which is embedded in the assembly. Those attributes map to specific entries in the resource, which the OS knows how to display.
It is possible to do this (for example, Office files like Word), but it isn't simple and can't be done from managed code.Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
Darn. I thought that might be the case. Thanks for the reply and confirmation.
Jeff
|
|
|
|
|
Hello all,
my employer Kryptiva and I have put out a first release of a new plugin for Microsoft Outlook 2003 and 2007 called echotracker.
echotracker is a mail indexer and personnal information aggregator that installs itself as an panel in Microsoft Outlook. The software isn't feature-complete but is already providing useful information about mails in Microsoft Outlook.
This is released under the terms of the LGPL 2.1 license which means it's OPEN-SOURCE! There aren't that many open-source Outlook plugin out there so I think this is interesting stuff for developers.
We need developers and courageous users to build and test first developer preview. We accept bug reports and patch on our mailing lists. I'd be glad to answer any kind of questions on this forum but we would prefer people to use mailing lists.
François-Denis Gonthier
|
|
|
|
|
I wasn't sure what message board I should post this on, since none of the CodeProject boards seem to allow for the VS reports.
In my RDLC report, I'm trying to negate a decimal value when another field is null. I used this expression:
=IIf(IsDBNull(Fields!dst_ledgeritem_fk.Value), -Fields!dispamount.Value, Fields!dispamount.Value)
However, when the IsDBNull(...) evaluates to true, the cell on the published report shows "#Error". When it evaluates to false, the plain old "Fields!dispamount.Value" displays perfectly.
I've tried several variations for the "True" part of the expression:
-Fields!dispamount.Value
0.0 - Fields!dispamount.Value
0.0 - CDbl(-Fields!dispamount.Value)
All of them turn up "#Error". What am I doing wrong? Is there a way to get more useful information out of the report than just the useless token "#Error"?
Thanks in advance.
|
|
|
|
|
Hi.
I'm building a project where the data access is made with ADO .NET Data Services. In the client project i reference the data service project and execute the LINQ query. My doubt is: the query is executed in the cliente project,where i use LINQ, or in the data Service?
Thanks.Regards Jonatan.
|
|
|
|
|
If you execute the LINQ query on the client side, it should effectively execute the query on the client system.Me, I'm dishonest. And a dishonest man you can always trust to be dishonest. Honestly. It's the honest ones you want to watch out for...
|
|
|
|
|
|
Hi Abhinav. First thanks for your answer.
By client side/system you mean the client project that consume's de Data Service, right? Like a windows form aplication or a simple class library.
Thanks.
regards jonatan.
|
|
|
|
|
Saltmarch Media's annual Great Indian Developer Awards honors software products across 12 categories on their pro, based ductivity, innovation excellence, universal usefulness, simplicity, functionality and most importantly on the ground feedback from India’s software developer ecosystem. In the Development Environment Category, the final shortlist consists of IBM’s Rational Application Developer; Microsoft’s Visual Studio 2010; Adobe’s Flex Builder; Popular open-source IDE – Eclipse and Microsoft’s Expression Studio. Oracle’s JBuilder was the first IDE to win this award in 2008 followed by Microsoft’s Visual Studio 2008 in the 2009 chapter of the same awards.
If there is a particular development environment that you personally endorse to your colleagues or you evangelize about them at the first opportunity you get, here is your chance to vote for it (voting closes April 10 2010) and see it win this prestigious award. Who knows? You could win along with it too. At the end of the voting process, a lucky draw will be conducted and one person will receive a surprise gift from our prize sponsor. So visit the 2010 Great Indian Developer Awards website and cast your vote. It counts! (http://www.developersummit.com/gida3_llist)
|
|
|
|
|
Hi.
I'm building a ADO .NET Data Service.I created the DataBase(i'm using SQL Server2008) then I built the Data Model(with the name service.edmx). After that I built de Service(with the name service.svc). But in the Service i can only use the services by default. Can built custom service operations? and where can i put them in the service.svc.cs or in the service.Designer.cs?
I'm using Visual Web Developer 2008 Express Edition.
Thanks very much. regards jonatan.
(Excuse my english but it is not my language )
|
|
|
|
|
hey guys . What's the best program for making installation (with highest flexibility)?
|
|
|
|
|
My personal favorite is the WIX toolkit[^] which is available as an addin for Visual Studio, or as part of Sharp Develop, which is free and can do just about anything given enough effort.
Alternatively you can pay for applications such as WISE[^] or Installshield[^]
|
|
|
|
|
Hi All,
I am getting the following error while building the solution on MS Visual Studio 2005.
Error 1 The "CodeAnalysis" task failed unexpectedly.
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Build.Tasks.CodeAnalysis.GenerateFullPathToTool()
at Microsoft.Build.Tasks.CodeAnalysis.Execute()
at Microsoft.Build.BuildEngine.TaskEngine.ExecuteTask(ExecutionMode howToExecuteTask, Hashtable projectItemsAvailableToTask, BuildPropertyGroup projectPropertiesAvailableToTask, Boolean& taskClassWasFound) TellerConfiguration
Thanks,
Kindly Help Me Out
|
|
|
|
|
Plz someone reply for my query
|
|
|
|
|
Unless you can provide the source code which relates to the function call being shown, noone can.
I suspect a configuration issue though that needs to be confirmed.
|
|
|
|
|
Sir, im working on my senior software thesis, i decided to create a voice recognition using vb.nnet, the function of my system is to open an application, edit an application using ms word,ms powerpoint etc., play videos Using voice command. Can you teach me how to do it? Where should i start?, thanks sir, this is my e-mail harry_ozmawizard@yahoo.com, thank a lot !
|
|
|
|
|
Read How to get an answer to your question[^]. Next time please give the proper Subject line not like "hello?". Then nobody will not contact you through your mail id.
My suggestion is just create documentation, design the architecture, then UI design, code. When you feel trouble/doubt in your code, ask question here. Many people here to help. All the best
|
|
|
|
|
Osairisblue wrote: Can you teach me how to do it?
In one single answer to this question? I hardly think so.
Osairisblue wrote: Where should i start?
At the beginning: learn VB.NET, the Speech API, Office Interop etc. If you have no idea about any of these then I doubt that this is the best choice for your thesis.txtspeak is the realm of 9 year old children, not developers. Christian Graus
|
|
|
|
|
I thought the point of a thesis was to write about something you are expert in, or research it and become an expert in it. A thesis by google does not seem like a worthwhile pursuit. I suggest you start by buying a good book on programing in .Net and go from there.
By the way, you probably want to edit your post and remove your email address before the world's spammers fill your inbox to bursting point. Anyone replying can do so safely through Code Project without exposing your email address.
|
|
|
|