I have a windows application, where I am using send keys to navigate from one window to another. My send key sequence is like activating another window with in my app, and sending key strokes to that window. But the key strokes I am sending is getting updated in the same window where I am activating the other window.
But after few key s...
What is the real difference b/w DeleteAllOnSubmit and deleteonSubmit and which one is more appropiate to use?
...
I currently have a switch statement that runs around 300 odd lines. I know this is not as giant as it can get, but I'm sure there's a better way to handle this.
The switch statement takes an Enum that is used to determine certain properties that pertain to logging. Right now the problem sets in that it is very easy to leave out an enume...
Hello,
I need to change a method that has one parameter that takes a serie of objects. I need to find the lowest Interface (in inheritance tree) that has the Count property. Until now I was using the IEnumerable but as this has not Count I need to change it to the wider interface possible so the method can work with the biggest number o...
I have a Crystal report that is based on a parameterized stored procedure. The report displays the value of each parameter as well as the data. In normal use, everything works well.
I now need to add some extra functionality to my reporting application, to do some extra processing on the data returned from the stored procedure. To achie...
Hi ladies(?) and gents,
I am currently evaluating my options for a rewrite of the projects I'm working on and I am a bit miffed by the stringly-typed nature of our app.config files.
I'd like to move to a more structured approach, so I have two options:
Use custom SectionHandlers in the app.config
Scrap app.config and use XAML instead...
OK, I've probably misunderstood something here but, as far as I can see ...
An extension method has to be contained in a module, not a class
You can't make methods in modules Static/Shared
Therefore you can't use an extension method on a class without instantiating it.
In other words you can't make an extension method on String calle...
I have two questions:
1) I have a PictureBox and its Dock is set to Fill. When I resize the Form I cannot create a Graphic on the part of the PictureBox that is extended. What is the problem?
2) I want to convert the Graphic that is created on the PictureBox to Bitmap and save it as
*.JPG or *.bmp. How can I do this?
...
Does anyone know if it's possible to use a webcam to simulate the phone camera in the Windows Phone 7 emulator? This seems like it would be useful for creating augmented reality applications with the current tools.
...
Is there any way to generate database models from existing database (sdf file) for .NET Compact Framework 2.0? Since it doesn't support LINQ I cannot use SqlMetal.
I'm looking for free for commercial use tool.
...
I have to use a ocx in .Net application. In the toolbox, i right clicked and from com tab added the ocx. Now the ocx appeared in the toolbox and added the control to the form. When i execute the application got this error 'Could not load file or assembly 'Interop.WINCMP3XLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one ...
Hi,
I am creating a setup project using Visual Studio. I want to reboot the system after the installation completed successfully.
I want it one time effort. I do not want to modify the setup each time using any external tool/ utility before delivering it to client.
Can I tweak the setup project itself?
How Can I do that?
...
What is the best way to take a string of HTML and turn it in to something useful?
Essentially if i take a URL and go get the HTML from that URL in .net i get a response but this would come in the form of either a file or stream or string.
What if i want an actual document or something I can crawl like an XmlDocument object?
I have som...
Let's say I have an web CMS type application, and an EDM model with an entity called 'article', and I need to offer
the ability for client applications, to a read/query the articles (and other resources stored in our database)
a straightforward syndication feed of these articles to end users (along the lines of a simple RSS feed)
It ...
How do i cut,copy,paste from main menu in a multi textboxes form ?
How does the menu knows to apply on the active textbox ?
...
I'm looking for a way to implement a surface (in C#, Windows Forms) where the user can add pictures and text in resizable boxes (with resize handles) - like in PowerPoint. Does anyone know a ready-made control (preferably free) that can do that?
This is what I mean:
Thanks
...
Can I or How can I connect to Facebook chat using .net (not web code. C# vb or any other) code?
...
I get this message when running the code below:
There is an error in XML document (6, 22).
namespace N1
{
public class InputEntry
{
//FieldName is a class tht is generated from an XSD which has complex type Name and value
private Field fields;
public Field[] Fields
{
get { return ...
I've been given a Windows Mobile app written in .Net CF 3.5 to fix, and one of the problems is to do with storage.
The message 'Not enough storage is available to complete this operation' has appeared a few times - it's logged in the SQL CE database, and always happens during data access (but not the same bit of data access).
The thing...
Hi,
Just looking to clarify my understanding of the workings of the XmlWriter and abstract classes in general.
My thinking is (was) that an abstract class can not be instantiated, although it can contain base methods that can be used by an inheriting class.
So, while investigating XmlWriter, I find that to instantiate the XmlWriter, y...