|
.NET framework comes preinstalled with Vista.
The .NET framework is a runtime library, it's not part of the OS itself, and neither the OS or any of it's cruical applications does depend on it. Some accessories or games that comes with the OS might depend on it.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hi....
actually am doing a simple application using
" WCF Service Application " & " ASP.NET Web Application "..........
my code is correct and everything is perfect..
but when i run, it displays the following message....
" An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue "
when i run in the morning the output is displayed..but after sometime , when i run it shows that message.....
whats the solution...??...
|
|
|
|
|
Are you trying to irritate people by spamming the forums with the same question asked repeatedly? It is considered rude you know.
|
|
|
|
|
...
"Well, we're getting "F"'d at work. WPF, WCF, and WWF... WTF?" --John Simmons
|
|
|
|
|
how to save the replace the existing file?
|
|
|
|
|
What existing file? And replace it with what?
|
|
|
|
|
Hi,
I suggest you use File.Move to rename the existing file.
PS: great subject line, it really warns us for the message content.
|
|
|
|
|
|
vid1985 wrote: hi
Hola.
Mark Salsbery
Microsoft MVP - Visual C++
|
|
|
|
|
You're Spanish then? or an Angel[^]?
|
|
|
|
|
Hi,
My Web Service application make a EventLog entry with ID 10016 in case I not give the Network Service DCOM Lunch Permissions for netman.
This is ok I can set the permissions by using dcomcnfg. But I do not want to do this for all installations by hand. So is there any way to set this permission programmatically.
Thanks
-- Daniel
|
|
|
|
|
Dear Friends,
I will show Image from Mssql server 2005 into crystal report by vbdotnet dynamically,give ideas for me.
|
|
|
|
|
Hello,
I have an Application Where in The Code Reads from a File present in Application Directory.
Now if the file is not present, then the code displays the message that File Not Found along with the Full File Path.
This is what i don't want, I need only to display File Not Found and not the file path.
Could anyone please tell me how can i check what kind of Exception has occured in the catch block and display my own messages as per the exception.
Hope I have explained my problem properly,
Thanks in Advance.
|
|
|
|
|
In C# catch below exception
System.IO.FileNotFoundException
--Akki
|
|
|
|
|
Hi Experts,
I am making an vb.net application in vs2005. I run a ppt( quize ) (which is a VBA application again,) from a button click using process.
Now my problem is to link/share the vb.net variable with the variable which i am using in VBA coding(ie total score of quize). so that I can write the score for the particular user who has logged in in my application and has ran the powerpoint(VBA).
[ score is a vriable in VBA, username is the variable present in vb.net application ]
Thanks in advance
Himangshu
|
|
|
|
|
Don't post the same thing in multiple forums. Pick the right forum and stick to it.
also "urgent" will work against you.
|
|
|
|
|
sorry for that Luc. Actually I was frustrated with the problem I have so...
|
|
|
|
|
I am trying to create a program to copy a large amount of files from 1 hard drive to another. I do not need network copy capabilities. I was trying to figure out which program will transfer files faster. I am not an expert at programming, but I am capable of creating a program in either language. If anyone know of a better language for this purpose, I am open to suggestions. Thanks for any help anyone can give me.
|
|
|
|
|
Since they are both .net languages speed isn't an issue, they will each produce the same il (or should). If speed is what you want then you'll need to use unmanaged C++.
only two letters away from being an asset
|
|
|
|
|
I can't update the content of the field called "VALUE". Is there any work around to get "1" into that field?
Dim conn As New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\;Extended Properties=dBASE IV;")
Dim adapter As New OleDb.OleDbDataAdapter("SELECT * FROM Test.dbf", conn)
Dim recordsAffected As Integer = 0
conn.Open()
Dim sql As String = "UPDATE Test.dbf SET Value = '1' WHERE Keyword = 'Over_here'"
Dim da As OleDb.OleDbCommand = New OleDb.OleDbCommand(sql, conn)
recordsAffected = da.ExecuteNonQuery()
conn.Close()
|
|
|
|
|
'value' is a keyword in t-sql which is what the problem probably is. You could wrap the word in square brackets '[value]' which might solve the problem - I haven't got time to try it right at the moment though...
It definitely isn't definatley
|
|
|
|
|
|
In my application (VBexpress 2005), I would like to have a process read data from an incoming stream and process it. A blocking read would be fine except that I would like the user to be able to switch between serial ports and TCP connections. It would not be acceptable to simply leave the unused connections open--system requirements dictate that they actually be closed.
Which of the following approaches would be best:
- Use a blocking read with a timeout, and figure out some method to get rid of all the 'first chance exception' messages for the timeouts (can anyone tell me how to do that without having to globally disable all first-chance messages)? This would involve some waste of CPU time, but if I use a one-second timeout it wouldn't be too bad; delaying the release of the resource by a second would not be objectionable.
- Use a blocking read, and then use .Interrupt on the thread if the port needs to be closed. I'm not sure whether that's guaranteed to work without problems, however.
- Use a blocking read, and then rudely close the port in another thread. I think that would probably "usually" cause the read to immediately return a failure, but I don't know that such behavior would be guaranteed.
- Use a non-blocking read and close the port while it's pending. I'm not sure whether that would be "safe" either.
- Somehow do a read which will wait up to an indicated amount of time (without busy-waiting), but--if no data arrives--will simply return no data rather than throwing an exception. I think I can do this with the TCP ports, but don't see how to do it with serial ports other than busy-waiting.
- Something else?
If there were a documented way of telling the system to abandon an asynchronous read operation, that would probably be the ideal method. Unfortunately, I know of no way to do that. I don't want to simply experiment and go with whatever works, because--other than the timeout method--all the approaches rely upon partial thread safety of operations which are not specified as thread-safe. The timeout method is in some ways a little icky, but I'd actually prefer to go with that for simplicity if I could get rid of the annoying "First chance exception" messages. Is there any nice way to do that?
modified on Thursday, January 8, 2009 2:55 PM
|
|
|
|
|
You'll pretty much have to read with timeout. The blocking reads will block in unmanaged code... which prevents things like thread.abort.
I normally have "break on thrown" on, and then disable that for all the exceptions that I can't work around. Current app I'm working on is a very large SCADA app - and the only "expected" exceptions come from an SVG library that doesn't have a "TryGetElement" :S
|
|
|
|
|
You'll pretty much have to read with timeout.
What sort of brilliant designer doesn't allow a 'wait and see if any data comes in, but recognize that a lack of data is also a normal condition' operation? Probably the same one who designed .net 1.0 without things like Date.TryParse I guess.
I wish there were some sensible way of enabling the diagnostic messages for exceptions in some cases but not all. In some of my applications there are exceptions which will be somewhat expected though they shouldn't be terribly frequent. In such cases, I sometimes just swallow them (assuming they're of the right type) but the "First chance exception" diagnostics can alert me if they're happening much more often than they should. Is it possible to hook in some sort of event handler for a first-chance exception that could log exceptions that seem suitable (using a thread-safe logging system, of course)?
|
|
|
|