I have an application that currently uses SQL Compact Edition as its database for capturing realtime data. Some of my users would like to write their own applications to query and report against this data while it's being captured by my application. However, SQL Compact edition runs in-process with my application and therefore does not...
I created my first Silverlight project in VS 2008 Express, and am trying to call a WCF webservice with it. The web service is very simple - I basically just took the default code created when using the WCF Service template from VisualStudio, renamed everything so it wasn't the default "Service1" name, and even removed the complex return...
Hi,
How do table adapters make use of connections?
To explain that a bit, do they automatically open and shut connections or if I already have the connection open before calling a tableadapter method, do they use it and leave it open?
Regards
...
How long is a .NET DateTime/TimeSpan tick?
...
I am using a code generator called SmartCode Studio to generate the database layer for a ASP.NET application. The generated code uses NHibernate to talk to the database.
This has worked well in the past when we used SQL Server. SmartCode retrieves the SQL data types from the database and determines the correct corresponding .NET data ty...
Is it possible to provide datatable rows with names in string form as one does with columns? I want to be able to refer to a row via a name rather than an index.
EDIT:
My bad. I am working in C#. I should have stated that.
I am doing market correlation studies using statistical analysis. I want to store the outputs of correlation stu...
What order should these be done in? I'm doing this from the command prompt for a .Net app. I was able to do just strong name and code signing successfully, but when I tried all three, it doesn't look like it worked (==> Vista still trying to run the app with elevated privileges resulting in a prompt, though I set the requestedexecution...
I've been reading a lot about web services and I've come across the case where one could be very useful.
I've been thinking of implementing it with WCF but the host will be ASP.NET in a shared hosting environment with medium trust so from what I've read WCF doesn't seem like an option.
Also, I'm thinking of a RESTful web service and SOAP...
Which DataAnnotation attribute can I use to instruct the silverlight data form not to show that field?
...
Is there a winform keyboard control out there? I am looking for a control which I can drag and drop. This is for a warehouse application which have touchscreen capability, like the ones found in the resturant applications.
...
I have the following vbscript code that returns the local IP address. It works great. I am trying to provide the same functionality in my winform .net app.
All the solutions I have come across involve using DNS. Any ideas on how to "port" this script for use in .net?
A different way to do this maybe?
Thanks!
Function GetIP()
Dim...
I'm protyping an application with WCF and I'm trying to define a Callback
Contract with an interface that derives from another one.
Doing so, the generated proxy code (using svcutil.exe) does not see the base
interface and a "NotSupportedException" is thrown on the Server when trying
to call methods defined in base interface.
I have als...
After you have added Items to the "root" level of a System.Windows.Controls.TreeView, what is the proper way to add in "subitems" by name?
System.Windows.Controls.TreeView.Items <-- doesn't seem to have a Find() or [] by name.
UPDATE:
Oh, wait... is it TreeView.FindName() ?
Actually looks like FindName won't work because it returns ...
I have a Window with several Frame controls and would like to find the Bounds/Rectangle of the controls at runtime. They go into a grid on the window using XAML with Height/Width/Margin attributes.
The Frame control doesn't have Bounds, Rect, Top or Left properties.
The purpose is to test each frame to see if the mouse is inside when ...
I am running Windows XP pt-BR (Portuguese - Brazil), a WCF service on a Windows Service container with HTTP Binding.
I also wrote a test WCF client. And since I made a small modification on the service I am getting a MessageSecurityException. "An unsecured or incorrectly secured fault was received from the other party. See the inner Fau...
I am using the repository pattern and was wondering about what data type I should return. In my database I have a string that is variable length that needs to be broken up based off of fixed lengths. I was initially thinking of passing out the string and letting the service layer do the parsing based on the lengths of the configured co...
Here is the example that I have run. It has the same Mode, Padding, BlockSize, KeySize. I am using the same init vector, key and data.
Using the RijndaelManaged produces an encrypted value of:
0x8d,0x81,0x27,0xc6,0x3c,0xe2,0x53,0x2f,0x35,0x78,0x90,0xc2,0x2e,0x3b,0x8a,0x61,
0x41,0x47,0xd6,0xd0,0xff,0x92,0x72,0x3d,0xc6,0x16,0x2b,0xd8,0x...
I'm developing a retained mode drawing application in GDI+. The application can draw simple shapes to a canvas and perform basic editing. The math that does this is optimized to the last byte and is not an issue. I'm drawing on a panel that is using the built-in Controlstyles.DoubleBuffer.
Now, my problem arises if I run my app maximize...
Normally when you add a new assembly you have to go into Visual Studio and add a reference (the .dll is stored in the /bin directory).
Since this website compiles on the fly, is it possible for me to just add the .dll to the live website, and then use that .dll in an .aspx page?
Currently in Visual Studio I can't see the .dll unless I ...
I'm working on an application that needs to run 24H a day, and am working on correctly implementing support for DST. All times are currently stored in UTC, but I'm having issues when I try to display in local time. Right now I'm using savedDate.ToLocalTime() to convert from DB values to local time for display. This seems to be working...