In my WPF application I have a View that is given a ViewModel, and when given this View it adds event handlers to the ViewModel's PropertyChanged event. When some action occur in the GUI I remove the View and add another View to the holding container - where this new one is bound to the same ViewModel.
After this has happened the old V...
We're revamping our winforms user interface to use the Weifen Luo DockPanel Suite and since our old UI didn't have tabs, we would like to show a ballon tooltip when a new window is docked to the document area, informing users that they may rip-out the document and float it wherever they would like.
I figure to do this I need to be able ...
I'm working in Asp.net and IntelliSense isn't finding the methods in app code. It executes the code well without any issue at run time, but I'm not able to see the method names while coding. Any idea how to fix this? Thanks in advance
...
i need create an email list sending to many emails. what is best solution in mvc to call long time operation? better with example
...
I have a VS.NET 2008 project. Is it possible to check for classes that are not used anywere in the project? With FXcop I can find unused variables and unused code, but not unused classes.
...
I have a user control contained in a tabpage. The Form has set AutoScaleMode = AutoScaleMode.Font and the UserControl has set AutoScaleMode.Inherit.
Now when I enlarge the font size of the form then the font is enlarged in the user control too, but the controls contents are not scaled. If I explicitly set AutoScaleMode.Font on the user ...
Hi all I have this code to check if an item from a textbox is in a listbox and its giving me the error at the bottom. Any ideas what im doing wrong? I copied it from another part of my project and it was working for that part so I cant see whats wrong.
If LocationsSearchTextBox.Text <> "" And LocationListBox.Items.Count > 0 Then...
I have a .NET COM assembly I am attempting to deploy to a web server (IIS 6 Win 2003). We have successfully deployed this assembly to our test environment, but the production environment is not working.
The assembly is being called from a classic ASP page. Every time that page tries to initialize the assembly with “Set LTMRender = Creat...
Hi,
I am writing some code to add file attachments into an application I am building.
I have add & Remove working but I don't know where to start to implement open.
I have an array of bytes (from a table field) and I don't know how to make it automatically open e.g.
If I have an array of bytes which is a PDF, how do I get my app to ...
I am planning to rebuilding the code of one asp.net project to another asp.net project.
but i am stuck some where ...
i drag and dropped the master page and the views (4 nos) into the master page.
Now i need to recode what is there in the view using designer
Shown below the code inside the first view. How i could recreate it using th...
So here's my issue. I have an image that I need to shrink. The original image is a grayscale PNG, which isn't a huge issues except that when I shrink it down, the thermal label printers pickup the artifacts and print them on the label. So, what I did was change the image to black & white (Format1bppIndexed) before resizing, like this:...
Does anyone know of a .NET API (source-code is preferrable of course) that I can access all the common chat clients thru it (GT, Yahoo, MSN, AIM, FB, ICQ, SKYPE and more)?
I guess I am looking for a .NET library project that performs something like pidjin.
I need it because I hate Pidgin's interface and functionality, and I want to hav...
Reading existing code at work, I wondered how come this could work. I have a class defined in an assembly :
[Serializable]
public class A
{
private readonly string _name;
private A(string name)
{
_name = name;
}
}
And in another assembly :
public void f(Type t) {
object o = Activator.CreateInstance(t);
}
...
hi guys am new to vb.net, i am working on application that needs Shopping Basket,
can anyone help me how to add product details in basket and is will carry to the new page ?is it with the help of session ?
...
I have a C# form based program and have been using System.Text.Encoding.GetEncoding(1252) but I've had trouble reading non-English characters, I've discovered System.Text.Encoding.GetEncoding(1255) works however I don't know the implications of changing this so I'm hoping someone can shed some light on the difference and possible implica...
Well, as you can see I want something quick-and-dirty!
How can I get a string from a db that has aspx databinding syntax in it and have the databinding expressions evaluated?
So I have text such as this stored in the DB:-
Hello <%=User.Name %> I haven't seen you since <%=User.LastVisit %>
And I want it to be inserted here say:-
......
I have a bunch of Workflow foundation 4.0 RC code activities that consume web services and talk to databases that I want to add some error handling in.
I would really like to be able to attempt to call my web service / db, catch any faults such as a communication failure and then retry the same operation in 1 hours time (after I have lo...
I have a base class with a property called Name, which has an XmlText attribute.
When an inherited class is serialized I get an exception saying:
There was an error reflecting type
'[type name]'. --->
System.InvalidOperationException:
Cannot serialize object of type '[type
name]'. Base type '[base type name]'
has simpleCon...
Does anybody know of a way to create a DataSet such that when I call GetXml() on the DataSet I will get an exception? I'm trying to write some failure testing for this scenario and am having a hard time. Is it possible?
...
I have developed a web browser in .Net Compact Framework and i need to restrict the users from downloading files which in turn will show the file open dialog box and expose the internal files from the device. I need to restrict the browser from showing file open dialog box.
...