renis's Q&A profile
SQL Server Reporting Services Docs cached when called from webserver
I am having a caching problem running reports from my .NET application. It happens when I have documents with the same name using different parameters and it doesn't refresh. i.e. #1 Core.rdl - running with (default,param1) returns a result #2 Core.rdl - running with (standard,param2) returns #1s result and does not return the new results I do not have caching enabled on the report server. I believe I need some C# code to clear this out and none ...Show All
Windows Forms Datagrid: Photo's
I'm trying to fix up my boss's work (am not really an expert in VB but I know a bit). We already have the ability to load photo's into the database (and they work fine). However, when I click the "Load" button I get the&nbs ...Show All
Windows Forms need suggestion
im developing a custom tab style which hosts link label conttrol i need a suggestion abt that shud i let the data entered via control and displayed as link or control shud display the data only ..not allow to edit it any new suggestions would&n ...Show All
Visual C# Intellisence not auto show?
some day ago,i install a Resharper!but my memory is too small to run it! so i uninstall it. after that,I found the Intellisence is not work normal! the Intellisence can't auto show the box! but i enter the shortcut ctril+K and ctrl+L,the Intellisence box will appear! but this is too complex to write code!I don't know what' wrong! Is there someone can help me Thank you very much! --sorry for my poor english You c ...Show All
Windows Forms listview scrollbars
Hi All, I am setting listview scrollbars property to true in design time. how do I capture the event when I click on scrollbars (horizontal or vertical). Thanks Just add this code to ur class. private const int WM_HSCROLL = 0x114; private const int WM_VSCROLL = 0x115; protected override void WndProc( ref Message msg) { // Look for the WM_VSCROLL or the WM_HSCROLL messages. if ((msg.Msg == WM_VSCROLL) || (msg.M ...Show All
Windows Forms How to display "&&" characters in Menu Items using .Net
I am using .net version 1.1. I want to add the menu items dynamically. If the menu item having the text "char &&&&&& &&&&&&", it is displayed as char &&& &&&. How to display the character as normal text. I knew Mnemonic function avoiding the underscore to display. Please help me. Since the & identifies a mnemonic you have to double & to get it to ...Show All
SQL Server About Indexes & Where caluse
Hi, I am struggling with the sequence of parameters in my where clause. In my databse table i have index on Broadcast_Date(some table field).The Index also include some other parameters which might become part of where clause. The first field of the index is broadcast date. So I want to know whether it is always compoulsory to have broadcast date as my first field of where clause. Will it not scan the index if my where clause is ...Show All
Game Technologies: DirectX, XNA, XACT, etc. running windows media player on top of directx app?
I have a really broad question here ... need some feedback to point me in the right direction before i embark on this project. I want to use windows media player control in a fullsreen directx app. How would you guys go about it I was thinking of making two windows, and running the wmp control on top of the directx app. Now, what if I were to use directshow Would I be able to get the same functionality out of it any direction would help .. th ...Show All
Windows Forms How to display a dynamic grid/table?
I'd like to display a grid/table that contains some data i've stored in different data types. The data changes every few seconds, so i'd like to be able to access each and every cell and do it as quickly as possible. How can I do so As I understand, there is a new control in VC++ 2005 - DataGridView - but there is no avaliable sample in MSDN for me to see. Thank you in advance, Moshe ...Show All
Windows Forms Proof of Concept: MDIForm does not call MdiChildActivate event
Goodday, I've got a strange problem! I've got a MDIForm which has form docked to it. The only thing this form does is to be the default background of my MDIForm (I realy don't know how to set the background of the MDIParent) I Don't want it to be clickable so I set the .Enabled propert to false. Now everytime I make a new form and show it in the MDIParent and I'll close that same form the MdiChildActivate event isn't raised. If I ...Show All
Windows Forms Simple Unistall Question
I have created a configuration file in the Application Folder of my project after the installation. Since this file was not part of the installation, it is not removed when I unistall my product. How do I write a custom action to do this I haven't been able to find a good example when looking through the threads... Thanks! You should pass in the path using the CustomActionData property which you can set in V ...Show All
Software Development for Windows Vista WinFX/Vista release schedules and questions
1) WinFX can be deployed to XP, W2K3, but NOT W2K Server 2) Can partners/OEMS like my company include final WinFX redists in our products and ship them before Vista ships (if Vista is delayed for example) Apologies if this isn't the right forum. B2 Hi, 1. Thats Correct. WinFX can be deployed to Windows XP SP2 and Windows Server 2003 SP1 and higher but Windows 2000 is not supported. 2. From what I have ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Taking hi-res screenshots.
I'm currently using the following code to take screenshots: Surface backbuffer = device.GetBackBuffer(0, 0, BackBufferType.Mono); SurfaceLoader.Save("Screenshot.bmp", ImageFileFormat.Bmp, backbuffer); backbuffer.Dispose(); The problem is it only takes screenshots that are the same size as the windows size. Does anyone know if it is possible to make my app take screenshots of an arbitrary size irrespective of the window size ...Show All
Visual Studio Express Editions Open a dialogbox with vb.net
Environement:I'm using visual basic studio express edition and sql server express edition. Problem: I write a code to delete some datas in the sql server. But i want that before deleting, a message box opens with two options in it. One option as yes if user is sure to delete the data and no if the user changes his idea. I tired to add a new dialogbox to the project with ok, cancel. I was thinking to use DialogResult.Yes but ...Show All
.NET Development performance of NGENed C++ .NET assemblies vs native C++
I'm writing a hobbyist type direct X game in C++ express edition. I've opted to go for targeting the .NET framework instead of the win32 api since i'm more familar with it from having programmed in C# a lot but I have native C++ code from another project i want to reuse. What i'm wondering is what will be the performance impact of targeting .NET as compared to targeting native code If i run NGEN over my assembiles at install time will this im ...Show All
