I have an WPF application which has a local rdlc report which show receipt based selling of the day. As this query have 4 columns (MemoNo, Gross, Discount, NetSales) and rows more than 1000 so its not a good idea to show data row-wise as it will waste more space per page. Is there any way to show data in column-wise so.
MemoNo Gross ...
I am trying to declare a global function as a "friend" of a class:
namespace first
{
namespace second
{
namespace first
{
class Second
{
template <typename T> friend T ::first::FirstMethod();
};
}
}
}
When I compile this code under Visual C++ 2008 ...
We have a Logitech web cam that we want to get working with .NET. It needs to recognize the device, and be able to take a picture. We just installed VS 2008, and I was wondering if Microsoft made it easier to interact with devices with some of the newer stuff like WPF, Silverlight, or whatever. If anybody can point me in the right dir...
Some Background:
I have a VS 2008 Deployment project I am not using the project output, I am adding assembly files directly because we have third party licensing and obfuscation tools that we run on the assemblies after building them. Also included in this deployment project is a Help directory with examples.
One of the Examples is a C...
Hi
I am trying to move a tab control on a wpf around dynamically. The tab control is hooked to a timer and basically if you press a button the size is shrunk so it looks and behaves like an expandable panel. However, when I 'shrink' the tab control the width is adjusted centrally, whereas I want the control to stay where it was positi...
I set version numbers in my assemblies to:
[assembly: AssemblyVersion("1.0.*")]
After first rebuild I got this version number:
1.0.3835.35633
<major version>.<minor version>.<build number>.<revision>
In MSDN article about assembly version attribute there is really short description:
The default build number increments daily....
When I develop a Windows Forms app in Visual Studio using C#, every control that I add to my form is by default marked as private, which is what I want.
When using VB.NET, every control is by default marked as Friend (the equivalent of internal in C#), which is not what I want.
Can I just change this default? It seems like surely it's ...
I am using VSS 2008 and built a Entity Framework model from SQL server 2008 database. Everything worked fine. Now I have updated a view to include a new column and tried refreshing the entire model from DB but the updated column in the view is not visible.
I opened the EDMX as XML to see the problem and it has a warning ...
Errors Fou...
Hi,
Im develop an application and while I want to generate a report using Crystal Report, it shows error Invalid TLV Record. Below is my script :
Dim CrApp As CRAXDRT.Application
Dim CrRep As CRAXDRT.Report
Set CrApp = New CRAXDRT.Application
Set CrRep = CrApp.OpenReport("C:\test\Report1.rpt")
CrRep.DiscardSavedData
The error appears...
I have a stored procedure which I edit through Visual Studio 2008. Is there a simple way to change the name of the stored procedure? Right now if I look at the sproc's properties, the name of the sproc is grayed out.
...
I would like to make one numeric-only textbox. I'd like to then add that same to the control toolbox within Visual Studio 2008
I've already built the function to allow only numeric.
How can I make it available in the toolbox?
...
Hello,
I developed an MFC application using VS2008 and the MFC featurepack.
This application UI is using a ribbon.
I now need to have F10 as a proper shortcut for one of the critical feature of my application but I seem to be unable to set the accelerator correctly as it always use the default ribbon accelerator over mine.
Any idea ho...
I have been working on a touch screen application. I need to know if there exists a ready touch screen keyboard that I can use as a Controller for my application.
I tried using the windows ready keyboard but it is too small for a touch screen.
Process.Start(Environment.GetFolderPath(Environment.SpecialFolder.System) + Path.DirectorySep...
Hi,
I have set up some User Friendly URL rules in IIS7 using the URL Rewrite module. This works perfectly on IIS7.
However, when I try to debug the site, the webserver instance that Visual Studio creates doesn't seem to obey the rewrite rules.
For example,
http://localhost/friendly-url
works on IIS7, but
http://localhost:1800/fri...
When I 'Remove' a project from a Visual Studio solution I often want to delete it. As some other posts on SO have mentioned this does not delete the physical project from the file system.
The larger problem here is that after removing the project form the solution when I attempt to delete the directory from windows Explorer or the comma...
Hi guys
i m trying to make small test driven example by using cppunit. So i have 2 project which are test and normal library project. Whatever i do, i cannot be successfull. i got alltime LNK Error. Any help will be apreciated.
...
I've been working for a while on my Windows Forms project using Visual Studio 2008, and I decided to experiment with keyboard shortcuts. After a bit of reading, I figured I had to just write an event handler and bind it to the form's KeyDown event:
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.Control && e.Alt &&...
i have around 1000 of rows in database which i want to divide in column group wise. i mean in following format
SlNo. Name Price SlNo. Name Price SlNo. Name Price
how i can write query to show data in above format as in rdlc report vs 2008 i am unable to show data in this format. Any help would be appreciate...
Possible Duplicate:
Why doesnt VS 2008 display extension methods in Intellisense for String class
Hi all.
Yesterday I noticed that Enumerable LINQ exstensions are hidden on strings (I mean hidden from the intellisense).
We all know string is an IEnumerable<char>, so automatically it should get Enumerable extensions, and actu...
Hi.. my linq knowledge is ok. i need only a loop or any other method to accomplish ado.net method :(LOOK PLEASE BOLD CODES)
public bool AccessProcess(string sp, ListDictionary ld, CommandType cmdType)
{
SqlConnection con = new SqlConnection(WebConfigurationManager.ConnectionStrings["conn"].ToString());
SqlCommand cmd = new SqlCommand(s...