Hello All,
I'm currently trying to write a website for testing / learning purposes that will wrap around the IMDB datasets that are dumped.
I'm having trouble determining the best way to extract the data into a format that is easier to manage. I will need to pull data from several files:
movies.list = Movie list of all movies and yea...
I'm using 2005 Windows Forms in C#. I've only been working at this for a day, so go easy please.
I'd like to have a submit button that saves changes to a DataGridView. I've gotten data into the DGV and can edit, but am stuck on the Update().
I've created an .xsd named scDB and one DataTable called - SSIS Configurations Staging. I t...
I need to call a couple of methods asynchronously with different priorities.
My first idea was to use the ThreadPool and change the priority of the Thread like this:
static void Run()
{
ThreadPool.QueueUserWorkItem(new WaitCallback(SomeMethod));
}
static void SomeMethod(object o)
{
Thread.CurrentThread.Priority = ThreadPriority.Be...
Using NetServerEnum (PInvoke of NetServerEnum) I can get every machine in a domain, but what about other domains?
The file explorer under "My Network Places|Entire Network|Microsoft Windows Network|" shows a list of domains, so there must be a way to get the list of domains and from there one could use NetServerEnum.
How do I get the l...
First of all, the static keyword.
I've read several articles and past threads on here covering the static keyword. I haven't found many scenarios listed of when I should use it. All I know is it doesn't create an object on the heap which tells me it would be good from a performance point of view for an object used a lot.
Is there any o...
I've got an HTTP handler set up in the web.config file:
<add verb="*" path="*_*.aspx" type="SeoHandler"/>
And have a file SeoHandler.ashx in the root of my web site that points to a SeoHandler.ashx.cs in the App_Code folder (the web site isn't a Web Application project).
When I run the site locally and type in a URL like "dor...
I am wanting to implement automated testing, using the Microsoft testing framework in Visual Studio, for my software development projects. I have created some tests, and all in all, it's pretty easy to use.
What are some better practices for testing business objects, more specifically ones that read and write to a database.
Is it best ...
Hi ,
I'm trying to work out how to validate a user in my application but i don't know how.
I wish create a form with Username and Password to enter in the application(WPF) using Linq toSql to store and validate Username and password in the database but i don't know so much about Linq to Sql so i keep in stuck now.
I have a database with...
What's the best approach for reading in XML data and building a query to insert the values into a SQL Server DB?
Anyone have a best approach for this type of scenario?
...
I have a web service that I am calling and their published WSDL doesn't actually define much of the service, 3/4 of it you have to manually build afterwards.
The problem I have is that they need a SoapHeader with some specific information in it, but I don't have any way of doing it. The only real things I have for the service is a prox...
I'm working on a site that lets users add calendar entries, on the main page all users can then see these entries with some text saying how long until those entries are current for example
Entry 1 : 5 Minutes
Entry 2 : 7 Hours
Entry 3 : 4 Days
The problem I'm having is that everyone could be in different timezones. I've decided I want ...
At work we use DevExpress for the user interface. The first time a form employing a DevExpress control is opened there's a long pause (sometimes 15-20 sec on some clients). In Visual Studio i can see that tons of assemblies are being loaded during that phase. Is there a way to preload that assemblies into the AppDomain in the background ...
Through my automated crash collection for MaxTo I got the following crash report:
V8.12.0.0 - System.ComponentModel.Win32Exception - :Void UpdateLayered():0
Version: MaxTo8.12.0.0
Exception: System.ComponentModel.Win32Exception
Error message: Not enough storage is available to process this command
Stack trace:
at System.Windows.Forms...
Data :
Empcode Amount
30034 27.25
30034 124
linq code
Dim ComputedData = From p In AllOrders _
Order By p.Field(Of String)("EmpCode") _
Group By Key = p.Field(Of String)("EmpCode") Into Group _
Select EmpCode = Key, _
Consump...
Hi folks!
I want to use object serialization to communicate over the network between a mono server and Silverlight clients.
It is pretty important that serialization is space efficient and pretty fast, as the server is going to host multiple real time games.
Any suggestions on what technique I should use? The BinaryFormatter adds a l...
How mature is the mono project atm? I've browsed their site but didn't find any indication of how feature complete mono is towards .NET 3.5 / SP1 ?
Duplicate of Is Mono Ready for Prime Time?
...
I would like to generate an Open XML document containing a Chart using the Open Xml SDK 2.
I found an SpreadsheetML example, but I can't work out how to add the chart in a .docx...
Is there a good source for documentation/examples for the Open Xml SDK 2?
...
Imagine that you need to develop and schedule an application/script to do the following:-
Reference one or more .net assemblies
Query the API, get some objects
for each object call another method in the API
What would you use?
In the past I have created small console applications that do the above, but it seems a bit clumsy and over...
I'm looking for a toolkit to allow me to draw lines and boxes at design time in Visual Studio 2008 for .NET Compact Framework 2.0.
I've looked over the VisualBasic PowerPacks but that seems to be available only for desktop .NET.
Does anyone know of any such tool?
...
Hi,
I'm trying to implement a log viewer in my application. The idea is simple, a listbox that shows some messages sended from other classes, but I don't know what is the best way to do this.
My initial thought was to make a Logger class (singletone) that contains a List or Queue, then I'll add a method AddMessage(string s) or somethin...