Julien Bonnier's Q&A profile
Visual C# Internal Frame
Hi, Is there a way to work with internalframes with Csharp Any sample Thanks For Minimize/Maximize it should be easy: form.MinimizeBox = false; form.MaximizeBox = false; but I don't know an easy way to disable Close. But I'm wondering what an internal frame with no Min/Max/Close buttons is good for. This looks like you need an UserControl which you place in the Form and set its Dock property to DockStyle.Fill. ...Show All
SQL Server Client Printing Hangs
We are accessing SSRS reports using web service. We call the Render the reports using http://<server>/ReportServer/Pages/ReportViewer.aspx reportName&rs:Command=Render All reports render fine. However for one particular report when we click the print button on the report viewer in IE, Active-x pops up a message "Printing Now" and hangs eternally. The error occurs even when I am logged in with Admin privileges to the machine and Active-X client works fine for other reports except this one. Work-around tried: If I call the same report from Report Manager it works fine. Even on the server I have been able to print t ...Show All
SQL Server Customer Count
Hello, I have a Fact table containing sales information, and is linked to a customer dimension through a CustomerKey and to a product dimension. The Customer Dimension is a slowly changing dimension having CustomerKey as primary key and CustomerPIN as BusinessKey. A customer can have historical records in the Customer Dimension. I want to count the number of clients per product. If I create a measure Customer Count as Distinct Count on the CustomerKey, my results are not quite correct because 2 different Customer Keys might belong to the same Customer since the latter is an SCD. So what I want is actually Distinct Count on CustomerPIN, ...Show All
Visual Studio Tools for Office How to run VSTO excel file on Web Server
Hi everbody, I want to know that how VSTO excel file which is containing code running on the workbook open event. Actually i want to use this VSTO for business calculations and then import this file to OWC spreadsheet. My actual senerio is as follow VSTO (Code on Workbook Open event) ---> ASP.NET page (Containing OWC Spreadsheet) Everything is fine when i run the VSTO file in window application or ASP.NET file project. But when i publish my web project and run project from virtual path then VSTO file not running. I sure that this is the problem with IIS security settings. Can anybody help me to sort me out from this problem ...Show All
Smart Device Development [C++][Windows mobile 2005][VC 5 beta 2]ShCreateMenuBar
I've got a problem with menu bar creation i create a dialog class from atl template and i whant to add a simple little menu bar. I allready do this on WMobile 2003 SE but i can't do that on 2005. I create a blank smartphone win 32 project here is my code // DialogMain.h: interface for the CDialogMain class. // ////////////////////////////////////////////////////////////////////// #ifndef H_DIALOGMAIN #define H_DIALOGMAIN #include <windows.h> #include <aygshell.h> #include <atlbase.h> #include <atlwin.h> #include "resource.h" ...Show All
Visual C++ Fortran violation issues??
Hello Im trying to get a power anaylsis tool working in visual studio. Im using the M48AD fortran funciton to invert a (sparse) matrix . But everytime I run the code, I get this error in the fortran function: Unhandled exception at 0x10004b6b in Faults.exe: 0xC0000005: Access violation reading location 0x3800e618. I have checked all the C++ variables passed into the fortran code and they match up so I am lost as to what the problem is..( I am assuming the fortran code is working) so the problem is in the C++ side..... Any ideas Thanks Cap12 wrote: Hello Im trying to get a ...Show All
Windows Forms Read and view PDF files like adobe activeX
Hi, How to read and view PDF files like adobe activeX Thank's Alexei Hi, I have found how to do search. In path of pdf need to add #search="words to search". Also there can be another parameters. Thank's Alexei ...Show All
Visual C# How to put null value in Date Time Picker
hi How can i put the null value for the date time picker Thanks Niroshan It is not posible to insert a null value in a DataTimePicker. This is because it allways has a Date selected. You can't unselect a Date, only by selecting a other. ...Show All
Visual Basic ShowWithoutActivation does nothing???
I have added Protected Overrides ReadOnly Property ShowWithoutActivation() As Boolean Get Return True End Get End Property to my "test form" and open it using a timer from my "Form 1" but if you keep typing into the text box on form 1 when test form opens the textbox on form 1 looses its focus... It may be me doing somthing stupid so i have uploaded a test project so you can see exactly how i have done it :S you can dowload it at http://www.officebroker.com/TestNoActive.zip Wow thanks mate!!! Ill try it at work tommorow, the only th ...Show All
Visual Studio Tools for Office How to get Office project type in MS VS 2005
Hi, I want to work with visual studio tools for office(VSTO). In the msdn website I saw that there is a new project type is added named " Office " which make the developer work. The office link can replace the VBA code, but when I install visual studio 2005 on my system I was unable to get the office project. I just windows, smart device, database, and starters kit only when I tried to open a new project. please help Thanks and Regards Imtiyaz Imtiyaz Thange| Trainee Developer Agilisys - A Netdecisions Company There is some more information about each of the Visual St ...Show All
Visual Studio Team System Rights-Management in TFS-SCC
Hi Bug 1: I've denied rights (in Beta 2) to some files using the Source-Control Explorer. I am not able to remove these rights anymore (I had to do it via the database: vsteamscc.tbl_permission.DenyPermission = 0 (was 4)) and restart the scc webservice. Bug 2: removing the file(s) from SCC and re-adding them is not a solution to the above problem, as the permissions seem to stay ! Bug1: I was using the Source-Control-Explorer in VS2005 Beta 2 - with which I also added these rights-denials. Bug2: aha, sounds good - if one knows about it (or is able to remove the explicit assignment(s)). :) thank you! ...Show All
Windows Forms Problems with setup project - am I thick?
I've a c# forms project that uses SQLExpress and Managed DirectX (developed under Beta 2) I'm trying to build a setup program for it. I need to do the following:- Include DotNet 2.0 Beta redist Include SQLExpress redist Provide a .exe.config which is not the same as in the development project (e.g. some directories will be different on the target) Provide a link on the desktop and the programs menu. Included more than one executable (ideally in the same directory) I would LIKE to populate the database with a script during installation. I can do the redist inclusion with the 'Publish' option. I can do the links with a Setup Pr ...Show All
Smart Device Development Thread question (I think)
I have an application that needs to import large numbers of records into SQL CE from a text file while not slowing down the user interface. It is acceptable to take some time to load those records, but it is not acceptable to show much lag in the interface. Currently, when I kick off my import function, the interface stops until the records are in. Granted, the records only take a few minutes, but I'd like to find a way to keep my interface active rather than have my users waiting. My question is, should I investigate threads for this or just come up with a way to import, say, 50 records at a time It's been a loooong time since I played wit ...Show All
Visual C# ?? Using String.Format() for a MAXIMUM Length ??
Hello all, Is it possible to use String.Format() to specify a maximum length for a formatted item For example, let's say I have: String.Format("{0}", "FREDDY"); How can I specify that the result of the formatting should be a string no longer than, say, 3 characters I know I can easily specify the minimum length, but I am producing a report with columns. I need to specify the maximum length, truncating whatever does not fit. Is it possible without resorting to a custom formatter Please note that I want to do this with String.Format() rather than something like, myString.Substring(0,4); Thanks. ...Show All
Windows Forms deriving from Panel and how to use it in form designer
i derived GlControl from Panel. that is panel accelerated with OpenGL. now i want to use it in forms designer. what i first did, was placing a Panel in designer and then in code changed its type to GlPanel. after compiling the app, everything was fine and runnig as expected, ogl rendering was fast. but when i add anything in the forms designer,&nb ...Show All
