Michael OHanlon's Q&A profile
Smart Device Development Native error exception
HI, My PPC apps working fine with my desktop. When i try to run the apps from laptop,getting some native error exception. 0x80000002. Just i tried to trace the error. What i found is, the error appears when i try to update SQLCE table. ie, da.update(ds1,"Table1") When i install VS2003, Emulator related files are not installed. Got some pbm. Will it affect the current case Kindly suggest me to solve this pbm. I'm testing ...Show All
Visual Studio 2008 (Pre-release) VB .net Issues?
Hi, I have been coding my WCF apps with C# for a long time. A friend of mine asked me to write a WCF app in VB .net. I wrote a very simple hello world program, everything seems to be perfect but when hosting the app i get the error message "Zero application end points defined ................" Is there anything that has to be done for coding WCF apps in VB .net Are there any similar problems when coding with VB .net for WCF ...Show All
Software Development for Windows Vista Standard MFC toolbars incorrectly sized in Vista?
Has anyone else noticed that if you create a standard MFC app that includes a toolbar (e.g. just use the wizard in VC++ 7) and give that app a manifest to get the themed look, the toolbar is not tall enough to display its buttons on Vista Any suggestions on how to fix this in a clean (i.e. robust) way The toolbars seem to be the biggest problem in my MFC app running on 5308. I'm waiting until the public beta be ...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
SQL Server The database principal owns a schema in the database, and cannot be dropped.
Trying to get my hands around all the new security features of SQL Server 2005. In Management Studio did something I don't know how to undo. I added a database role ReadOnlyRole and clicked the box next to db_datareader in the owned schemas box. Then I tried to remove the ReadOnlyRole and could not. How do I undo what I did Is it possible The below is the TSQL that generates the my issue. Use [master] go create database [test] go ...Show All
.NET Development Document types
Hi there, I have this little application that needs to know if a document is a MIME. Is there any method that can tell whether or not it is one I tried FindMimeFromData(...); but it's not exactly what I want to do, since this method does not check for document's validity as a MIME document. Anyone has an idea Thank you, -Jeremiorama ...Show All
SQL Server Need distributed service broker sample
I'm working with the April CTP of SQL Server and I'm trying to create a proof of concept using service broker. I'm struggling with the "abc's" of it. If anyone has or can point me to a distributed "Hello, World" for service broker between SQL Server 2005 and SQL Express instances it would save me some time and trouble. thx! Niels, The two link http://staff.develop.om/nielsb/code/routing2.zip http:// ...Show All
Visual Studio Team System Can I put more than one Check Method in a Rule
Hi Guys, 1) Is correct to develop a own rule with more than one check method I need to compare a string on the file name (in *.vb) and if the string exists in the namespace inside those files, like: file name : cXPTO.vc namespace : CompanyName.fxcop.XPTO 2) May I develop support methods to get informations os anything and prepare those informations to be used by the check method Like that: class xxx i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Transparent textures cause background objects not to be rendered
How can I get this fixed Please take a look at my screenshot . My first idea is to turn off z-buffering and sort the meshes by hand. However I would like to avoid this. Isn't it simply possible to set a render state (which can be used when rendering transparent textures) that will switch the eliminating of background polygons off Thanks in advance, SecurityException Ok, thank you for that information. I guess ...Show All
Smart Device Development .Net Runtime Error Event ID 500 on App Sartup
Hello, I'm having a problem deploying a smart application. On some machines, the .Net 2.0 applications starts perfectly. On onthers, the above error is logged. It appears to be occuring when the process is started, yet not into the application. No UI is shown. I have debug points as my first statements in the form.load function that never display Any advice is appreciated. More Errr ...Show All
SQL Server What is the environment for data mining programmability?
Hi, all here, I am new to data mining programmability. And as we know with the data mining programmability, we can integrate data mining with client applications via a series of data mining programmability APIs like AMO.NET, ADOMD.NET,SERVER ADOMD.NET, OLEDB, ADO,ADO.NET and so on. So what is the environment for the data mining programmability then I mean what kind of IDE can we develop the data mining programmabiliy Thanks a lot for any guidanc ...Show All
Visual C++ Is the /GS switch working as expected in Beta 2?
Something appears a little broken in VS 2005 Beta 2. The code below will produce the expected buffer overrun dialog box when compiled retail in VS 2003 but does not in VS 2005 unless I set optimization to /Od. void causeAnOverrun( _TCHAR *badName ) { _TCHAR myNameBuffer[5] = {0}; _tcscpy( myNameBuffer, badName ); } int _tmain( int argc, _TCHAR* argv[]) { _TCHAR *name = _T("Long Name"); causeAnOverrun( name ); _tprintf( _T("I got ...Show All
Windows Forms How to get icons of applications and system ?
Dear all, Currently, I had create listview which sames window explorer. However, I have a issue to get icons of applications or system associate with items in listview. I think somebody had same my issue. If you had solved it please share it for me. Thanks for your help. Steven. I Think I Got it. Try this code: /// <summary> /// Util class to extract icons f ...Show All
Visual C++ Win32 File Writing Problem
Hi all, I want to write a large amount of data (char data[7000][2]) to a file and I have to write those characters one by one, I tried to use Win32 WriteRile() fuction to write them. Ofcourse it can write the data correctly, but it is very inefficient and I have to wait a long while. I know some other platform (symbian) has APIs like WriteInt8() or WriteInt16() to handle this kind of problem and these fuctions are very ef ...Show All
Visual Studio Crystal Reports 9 .Net Server Setup
Can anyone assist Have been trying to deploy a website that uses crystal reports and am getting the apparently common error that keycodev2.dll is missing... Have tried all the fixes set out in the Business Objects and MS Visual Studio sites but all to no avail. Have just tried running the CR 9 .NET Server Setup on the web server and when prompted for the 19 digit licence code and being told that is not valid or had expired. The code i have start ...Show All
