I was considering trying PLINQ to parallelize some numerical methods which need to be portable. Does Mono implement Parallel LINQ? If so, how does performance compare between .NET and mono.
I have Table and i want to copy data from row to another and vice versa and i have the rows IDs.
is there any query to do that because i don't want make it by .net code i think sql query is easier than that.
thanks
I know my way around Objective-C and I have experience with garbage collection from .NET, although I never used it in objective-c. I write my code without using it.
Now I'm thinkig about using one of the frameworks (Blocks) which is available as GC-only. My question is - can I still use the framework without any changes to my current non-GC code and without using GC myself?
I've been looking all over, but I can't find anything free that will let me simply display math formulas on a window. I found one for Visual C++.net, but no APIs. Are there any out there?
Hi Anish Jhaveri,
I want to write a we based application with C# .Net and i need some framework to work with smart card in client-side.
please help me.
I am trying to import a text file into Access using a saved "Import Specification" in my access database using VBA. The import generates the Import Error table showing the errors in the last two fields. BUT if I use the same import specification manually to import the text file, the Import works perfect !!!!! Strange ..... why would they have different behavior ?
Here is the database and the text file
http://www.box.net/shared/ro7n3b7a77
Hi,
I have a Microsoft LifeCam HD-5000 webcams. According to AMCap, the camera outputs a MJPEG stream at 30fps at 720p. I want to capture each JPEG frame in a small application without doing any preview or decompression/transcoding to minimize CPU utilization to the minimum possible.
I'm a C# developer, but I'm new to DirectShow. Is there a simple way to capture the MJPEG stream frame by frame as its output from the camera in C#/.NET without decompressing it?
Hi folks, I'm about to implement a slider control component in .net that's along the lines of a music recording control. With the timebased eq graph, and with the abilities of a regular slider. Anyone have suggestions on how to go about this?
I wonder how can I enable the nullptr in the just released Visual Studio 2010. (C++ project, not managed).
This is one of the new features but it is not available by default and looking inside the documentation at http://msdn.microsoft.com/en-us/library/4ex65770(VS.100).aspx it seams that it is enabled by /clr but this is managed!
Is this a feature added only for .NET?
I have a mixed Java / C# project and use an ant script that contains a csc task to compile the dll. This works, but I get a warning
[csc] This task is deprecated and will be removed in a future version
[csc] of Ant. It is now part of the .NET Antlib:
[csc] http://ant.apache.org/antlibs/dotnet/index.html
How can I replace the csc task? I can surely create an exec task calling nant with a project.build file, but that feels completely wrong.
tracert mojpacient.si
return
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 89-212-252-73.static.t-2.net [89.212.252.73]
but if in browser i run www.mojpacient.si when i am connected to server i get connection timeout. If i am out of local network then i can connect to mojpacient.si
Does anyone have any idea how is this possible and what is wrong. I suspect IIS7 but do not know what in IIS7.
Hi all
I'm attempting to write a PowerShell script that, among other things, runs two external programs, harvesting the output of one and providing it to the other.
The problem is that the second program is interactive and asks for:
- a password
- an option (1, 2, or 3)
- an option (Y or N)
- output of external program 1
Note also that this is on XP with PowerShell v1 and .net v2.0 (no I can't upgrade)
Any ideas how I would do this?
CC
We're using javax.jws.WebServices deployed in a Glassfish server, is there a way to auto generate documentation like the one ASMX services generates?
ASMX services display methods in service
ASMX services when running locally could be easily tested with a prebuilt form
ASMX services provided a sample request and response XML message
http://keithelder.net/blog/archive/2008/01/15/How-to-Get-Around-WCFs-Lack-of-a-Preview-Web.aspx
In Glasshfish together with /test/TestApi?wsdl there's /test/TestApi?Tester but it doesn't work,
I don't know if it can be used to provide similar features as above?
I work full time as a .Net programmer in Kansas City. I would like to start picking up some side gigs for extra cash.
Anyone else doing this? How are you finding the opportunities? Any tips, suggestions, advice would be greatly appreciated.
I'm reading applications .config file using .NET ConfigurationManager like it should be done, but ....
Which one is most preferred option:
Read config and store instance of (build in or custom) ConfigurationElement for later use
Read config and store only needed values (but not instances of ConfigrationElement classes) for later use
Read ConfigurationElement from config always when configuration values are needed
These two things are in my mind:
Performance impact in case 3 when reading config all the time
Problems occuring in case 1 when using cached instances of ConfigurationElements
I have an asp.net website which as part of a wizard uses an embedded google map to select a location by clicking on the map to place a marker. How do I automate this with Selenium?
In particular I've tried:
ClickAt
DoubleClickAt
MouseDownAt
MouseUpAt
In all cases passing the map div id as the locator and "100,100" as the coordinate.
I don't care where on the map the marker is placed, as long as I can place that marker.
Hi,
Can i use XPAth expressions to navigate through DOM elements in WebBrowser control? May be attaching javascript code and use document.evaluate function is right way?
Can another activeX browser component(firefox,webkit.net) help me to solve my task?
This code was once working on sql server 2005. Now isolated in a visual basic 6 sub routine using ADODB to connect to a sql server 2008 database it throws an error saying:
"Login failed for user 'admin' "
I have since verified the connection string does work if i replace the body of this sub with the alternative code below this sub. When I run the small program with the button, it stops where it is marked below the asterisk line. Any ideas? thanks in advance.
Private Sub Command1_Click()
Dim cSQLConn As New ADODB.Connection
Dim cmdGetInvoices As New ADODB.Command
Dim myRs As New ADODB.Recordset
Dim dStartDateIn As Date
dStartDateIn = "2010/05/01"
cSQLConn.ConnectionString = "Provider=sqloledb;" _
& "SERVER=NET-BRAIN;" _
& "Database=DB_app;" _
& "User Id=admin;" _
& "Password=mudslinger;"
cSQLConn.Open
cmdGetInvoices.CommandTimeout = 0
sProc = "GetUnconvertedInvoices"
'On Error GoTo GetUnconvertedInvoices_Err
With cmdGetInvoices
.CommandType = adCmdStoredProc
.CommandText = "_sp_cwm5_GetUnCvtdInv"
.Name = "_sp_cwm5_GetUnCvtdInv"
Set oParm1 = .CreateParameter("@StartDate", adDate, adParamInput)
.Parameters.Append oParm1
oParm1.Value = dStartDateIn
.ActiveConnection = cSQLConn
End With
With myRs
.CursorLocation = adUseClient
.LockType = adLockBatchOptimistic
.CursorType = adOpenKeyset
'.CursorType = adOpenStatic
.CacheSize = 5000
'***************************Debug stops here
.Open cmdGetInvoices
End With
If myRs.State = adStateOpen Then
Set GetUnconvertedInvoices = myRs
Else
Set GetUnconvertedInvoices = Nothing
End If
End Sub
Here is the code which validates the connection string is working.
Dim cSQLConn As New ADODB.Connection
Dim cmdGetInvoices As New ADODB.Command
Dim myRs As New ADODB.Recordset
cSQLConn.ConnectionString = "Provider=sqloledb;" _
& "SERVER=NET-BRAIN;" _
& "Database=DB_app;" _
& "User Id=admin;" _
& "Password=mudslinger;"
cSQLConn.Open
cmdGetInvoices.CommandTimeout = 0
sProc = "GetUnconvertedInvoices"
With cmdGetInvoices
.ActiveConnection = cSQLConn
.CommandText = "SELECT top 5 * FROM tarInvoice;"
.CommandType = adCmdText
End With
With myRs
.CursorLocation = adUseClient
.LockType = adLockBatchOptimistic
'.CursorType = adOpenKeyset
.CursorType = adOpenStatic
'.CacheSize = 5000
.Open cmdGetInvoices
End With
If myRs.EOF = False Then
myRs.MoveFirst
Do
MsgBox "Record " & myRs.AbsolutePosition & " " & _
myRs.Fields(0).Name & "=" & myRs.Fields(0) & " " & _
myRs.Fields(1).Name & "=" & myRs.Fields(1)
myRs.MoveNext
Loop Until myRs.EOF = True
End If
Hi
I'm .NET Developer, but I'm new in Android. I'd like to test to add a feature. It is appeared clicking Menu under Contacts in Android. It includes New Contact, Search, Display Group and Import Contacts. I just only wanna get "New Contact". How could I test it? Which API do I need to use?
Best Regards
Its an option in the module setting, but when i enable it for my custom module nothing happens, anyone created a module for dot net nuke before that put the content in a RSS feed before?
I know that I can take my asp.net application and get it reversed to a UML document, but that doesn't tell the whole story of things like who can use what, what it calls in the way of stored procedures, what pages call what pages etc. etc.
Does anyone know of an article where someone has a comprehensive way to document a web application/site? Or shall I just make up my own way?
Hello
Can any one help me to find out, how I can setup Hessian Kit on existing iPhone project. What are the steps required to run a simple hello world program.
I have Hessian Kit (http://sourceforge.net/projects/hessiankit/) but don't know how I can include this in my existing project.
Please help
Thanks
SD
Hello fellow stackoverflowers, quick question. I'm using C# 3.5 and I have a date that comes in as string in the following format:
Tue Jan 20 20:47:43 GMT 2009
First question, what is the name of that format? Second question, what's the easiest and clearest way to convert this string into a datetime? I would love to be able to use a .net API/Helper method if possible.
Thanks a bunch...
My Application is a Tabbar with a navController in each of it's tabs. Now, the problem is to add a custom info button to the navController in the SecondView. I've created the App in InterfaceBuilder and entered the name of the nib to Load there. If I run my App now, the SecondView is shown, but the problem is, that the viewDidLoad is not called.
http://www.freeimagehosting.net/image.php?9d8ed67dcc.png
Using a facade controller pattern in .net. It seems as if though it is not efficient BECAUSE, for every event that happens in a domain object(Sales, Register, Schedule, Car) it has to be subscribed to by the controller(use case controller) and then the controller in turn has to duplicate that same event to make it available for the presentation, so that the presentation can show it to the user. Does this make sense? Please comment!