madura's Q&A profile
.NET Development .NET Framework & AIX
Hi, Does anyone know if the .NET framework is available for aix I know there is at least one other software package, mono, which works on unix but it doesn't offer an aix version. Any help would be appreciated. Cheers Alistair The Microsoft .NET framework is only available for Windows. However, you can download the Shared Source CLI , which is based on the v1 .NET framework and compiles on Windows, FreeBSD, and Mac OS X. -Shawn ...Show All
Visual C++ cannot convert from 'float (*)[3]' to 'float *[3]'
I'm having an issue with Visual C++ .NET 2003. This compiled and worked fine in C++ 6.0. In my include file I have: typedef struct Data { float (*cvec)[3], ... } Data; Data Store; In my cpp file I have: int num; Store.cvec = new float[num][3]; where num is determined from a file. The error I'm getting is: View.cpp(847) : error C2440: '=' : cannot convert from 'float (*)[3]' to 'float *[3]' There are no conversions to array types, although there are conversions to references or pointers to arrays How do I get this to compile In my experience, this should work. By the way, there is an example in t ...Show All
Windows Forms general purpose button event handler to navigate to windows form,
Hi, I have a windows form with a number of buttons on it. Clicking on each button takes you to different windows forms. how can I make a general purpose Button_click event handler for all buttons on my form that can take me to the different forms depending on which button is clicked. I can set the Button Tag property as the name ...Show All
SQL Server PivotTable Total from Database
hi, i'm trying to create a PivotTable in which I will be able to see totals coming from the database, not a calculated total field performed by the PivotTable. The data are structured with a hierarchical dimension for wich values are existing for each low level detail item and also for the high level detail item. Is it possible to create a PivotTable based on a ROLAP(with SQL query) access that provide this kind of result (with total from the database). For example, with the following table of data, I want to produced a PivotTable with 2 columns (E1Dim2 and E2Dim2 values) and 2 rows (E1Dim1 and E2Dim1 values). The PivotTa ...Show All
SQL Server Replication between SQL CE 2.0 and SQL Server 2005 not working
Hi, I've been trying to get my merge replication to work with a sql ce 2.0 on sql server 2005, but it keeps generating shapshot scripts my pocket pc can't execute. Example of my table.sch file in my snapshot folder: drop Table [dbo].[Application] go SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Application]( [AppID] [nvarchar](20) NOT NULL, [AddOnInfo] [nvarchar](50) NULL, [MaxClients] [int] NULL, [AppName] [nvarchar](255) NULL, [NbrDaysHistory] [int] NOT NULL CONSTRAINT [DF_Application_NbrDaysHistory] DEFAULT (10), [NbrDaysFuture] [int] NOT NULL CONSTRAINT [DF_Application_NbrDaysFuture ...Show All
Windows Forms Force autocomplete combobox selection
I really like that VS2005 has incorporated autocompleting comboboxes, but I cant figure out how to stop user from typing something which isn't in the list. Because my combobox is bound to a lookup table I dont want users typing a name which isn't in the list, because it doesnt find the correct foreign key to place in the table. Surely I dont need to implement my own checking on key press events :-\ Thanks for your help and suggestions Have not tried this one so I am not sure if it works but at least its a nudge to the right direction imho: 1. Set the AutoCompleteSource of your listbox to Cust ...Show All
Visual Studio 2008 (Pre-release) [BUG] BitmapEffect of DropShadow not working on Label
I have a Label and applying a BitmapEffect of a drop shadow has no effect on the element. I would expect the text to get a drop shadow effect. This is a very common case for drop shadow. I hope this will be addressed for release if not for Beta 2. Also try reducing the Softness property to something as low as 0.2 then the font shadow is very effective even in small font sizes. ...Show All
Visual C++ 1780 null reference pointer was passed to server - is there really anyway to get rid of this????
hi, I am now working in a project which has the following environment. OS : windows 2000 server Platform : .net 1.1 language : vc++.net currently this project is in vc++ 6.0 (rpc server) and a vb 6.0 (rpc client) app will communicate to this thru rpc calls. now i have successfully (of course after having MANY number of errors) compiled it into VC++.NET. for some reasons, the vb 6.0 app will remain as it is. my problem is , i cannot make vb 6.0 app to communicate vc++.net application IN ALL OF MY MACHINES . in one machine, i can run the project successfully. but when i copy all them , register all components into anoth ...Show All
Windows Forms Windows Form Designer does not include the section 'Windows Forms Generated Code'
When designing a new Windows form, the form is displayed. The code for the form only has the class name. There is no command "I nherits System.Windows.Forms.Form" or is ther a section for the 'Widnows Forms Generated Code." This has worked fine in the past. Other forms in the application are still fine. New forms do not have this information. In addition, the new forms have an error "Type SqlDataAdapter is not defined." I have reloaded Visual Studio 2005 and have checked for updates. ...Show All
Visual Studio Team System TFS Warehouse errors
The trials with Beta 3 are still going well, but I've spotted the following in the Application Log. Apart from watching TFS Version Control, TFS Services, TFS Warehouse and TFS WorkItem Tracking stopping and starting themselves, we've been getting hourly errors. It has settled down now to be: ERROR MSSQLServerOLAPService : Event 3 : OLE DB error: OLE DB or ODBC error: The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value.; 22007. WARNING TFS Warehouse : Event 3000 : An unexpected condition has occurred in a Team Foundation component (etc.) Process Details: Process Name: w3wp P ...Show All
Smart Device Development "My Company" by default in cab, no matter what Provider is set in ...PPC.inf
Hi, Following: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/netcfdeployment.asp I made an installer for my pocket pc application. The application name is Qadds Mobile and I would like to install it as R Limited Qadds Mobile on the Pocket PC. For this I set the QaddsPocket_PPC.inf: [Version] Signature="$Windows NT$" Provider="R Limited" CESignature="$Windows CE$" [CEStrings] AppName="QaddsMobile" InstallDir=%CE1%\%AppName% Now I create the cab files, then create the installer and running it, I see that on the Pocket PC it is installing: My Company Qadds Mobile. Checking in the contents of the cab files, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Vertical Sync in Managed Direct
I am experiencing a tearing effect on the edge of objects which are moving. This seems to me to be the classic problem which vertical syncing was designed to address. The idea being you syncs each frame to one refresh of the monitor. So you in effect lock the FPS to the monitors refresh rate. How do I implement vertical sync in Managed Direct X. I have scoured the web and MSDN. I have found references to it in Direct 7 using the C++ interface, but not Managed DirectX or even Direct X 9. Is there some better way of stopping the tearing effect I am experiencing. Also how do I cap the frame rate, as my app at 250 fps is very smooth ( ...Show All
Visual Studio Team System Work Item text fields
Work Items fields like "description" looks to be persisted as HTML to the DB. In fact, the control used to render it on Team Explorer client is HTML compatible and I can paste HTML content inside it (images, formatted text, links, etc.). That looks great, but when I save it, it lost its rich format and becomes plain text. Is there a plan to offer support for rich text in final release Will there be a format toolbar for helping during input Regards, Max Andrade The "Description" field is defined as "Plain Text", so it can not store HTML. To be able to keep Html, it must be defined as HTML t ...Show All
Windows Forms How to use HelpcontextId in HelpProvider
I have help files in many languages created by authors from around the world. In VB, I used to call up a help topic using a help context ID as follows: HtmlHelp Me.hwnd, App.HelpFile, &HF, ByVal 1009& where 1009 is the help context ID of the form (Note: its a variable in the real code. This is only for example). How can I do this using the HelpProvider class As far as I can discern, the only way to do it is to set "HelpNavigator on myHelpProvider" = "Topic" and "HelpKeyword on myHelpProvider" = "HowToSaveFiles.htm" This does not help me. In German, this may be called "WieManDateienSpeiche ...Show All
.NET Development HTTPHandler and CustomErrors
Hi, We've a HttpHandler that parses requests to .html files on our site. The URL will contain an ID that we'll use to draw data from the database. We also have a custom 404 page setup in the web config (this works fine for .aspx pages). For the files parsed by the HttpHandler if the ID refers to an object that isn't 'live' we want to show the custom 404 page. I've tried this in the same way we do for other pages when we're programmatically calling a 404, I use the HttpContext.Current.Response object, I call .Clear() and set it's statuscode to 404, then call end() (I've also tried calling .Flush() instead of end() and doing both, flush( ...Show All
