Blaine Anderson's Q&A profile
Windows Forms .NET LicenseProvider references?
Can anyone point me to a good resource (online or e-doc preferably) that will explain how to use the .NET LicenseProvider. I am trying to license some usercontrols that I built. I’m especially looking for an A-to-Z resource with examples on how to use the lc.exe and .licx files. Also if anybody thinks there is a better forum than this one, please let me know. Hi Santa, Please go through the below link. Hope this will be a good starting point. http://dotnetjunkies.com/WebLog/debasish/archive/2005/11/14/133746.aspx Thank you, Bhanu. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Convert from OpenGL right-hand coordsys to Direct3D left-hand
Hi, I am porting from OpenGL to Direct3D, but have some trouble going from OpenGL's right-hand coordinate system to Direct3D's left-hand coordinate system. I have a transformation matrix that I want to apply/load into to the virtual camera (the viewer): | r00 r01 r02 tx | | r10 r11 r12 ty | | r20 r21 r22 tz | | 0 0 0 1 | Where the 3x3 r's makes the rotation matrix, and the t's makes the translation vector. In OpenGL this is what I do to set the position and orientation of my virtual camera: Transpose the matrix glMatrixMode(GL_MODELVIEW) ...Show All
Windows Forms Help with custom DataGrid control
I have created a custom DataGrid control which implements a custom property HighlightRow of type Boolean. I have another custom DataGridTextBoxColumn class, which Overrides the Paint method in order to facilitate row highlighting. My question is how I can access the HighlightRow property of custom DataGrid control in DataGridTextBoxColumn class. I want to check this property ...Show All
SQL Server "Jump to URL" Navigation option - Window.Open method is not Working
Hi In my web application which is hosted as website e.g. http://abcd.abcdefg.com , we have integrated the Reports application by using the ReportViewer control and with specified Report Server URL location. It means that we are using the entire REPORT MANAGER screen into our application. In my report I have used the 'Jump to URL' option, where I am using the void(window.open('http://xx.xx.xx.xx/ReportServer/ReportName', '_blank',''))" to navigate to the another report in a new window. When I am clicking the link it is opening the error page(The page cannot be displayed ). Earlier we were using the IP address for our application, the sa ...Show All
Visual Studio Tools for Office Problem with Add-in on client machine.
Dear all, on the devlopment machine the add-in work very fine. I have a client with: Office 2003 SP2 VSTO Release candidate Microsoft Framework 2.0 Release Candidate Office assembly installed. When I install the addin on this client by the MSI, this come installed fine. but when I lunch Outlook 2003 the add-in don't come to load. in the menu Option > Other > COM Coponent , I can see the add-in without the flag, and below say : Not Load, error in COM compoments. unbelivable !!!! I solved my problem only following this link : http://blog.jausovec.net/index.php op=ViewArticle&articleId=177&blogId=1 Thank you Peter, the ...Show All
Smart Device Development Suggested method to send binary data via webservice?
Whats the suggested method to send binary data via a webservice Appreciate any feedback/ideas... Thanks! What kind of binary data In general you should be able to use the byte array either as a parameter for a web service method or as a property for a class. -Alex ...Show All
SQL Server killing sqlservr.exe from sqlclr code
I keep getting different answers from different people on regarding if you can or cannot kill the hosting sql server process with an unsafe assembly. Can you do this If so could you please attach a sample demonstrating this Thanks, Derek Is this simple enough public static void killsql() { System.Environment.Exit(-1); } Steven ...Show All
SQL Server syncronize two database ?
How can I to syncronize two database with the same structure (store, tables ecc..) There is a dedicated replication group here if you have questions. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=90&SiteID=1 ...Show All
.NET Development Getting System.Security.SecurityException during accessing WebService from WebPart
I have created a Custom SharePoint WebService and I am using it in a WebPart. My WebService is working fine with Window application. but when I try to consume that WebService in WebPart I get following error: System.Security.SecurityException: Request for the permission of type System.Net.WebPermission, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, C ...Show All
SQL Server SQL server timeout - trying to create SQL DB from VisualBasic 2005 Express Beta 2
Novice user, trying to create a SQL database object . From the Solutions Explorer -> right clicked my Project -> Add New Item ->SQL Database. After a while get the following error message: "Time out expired. The timeout period elapsed prior to completion of the operation or the server is not responding" Is this just a configuration parameter MRW Several suggestions: 1. Try installing the latest versions (just released). Check microsoft.com site. 2. See if this applies to you: http://support.microsoft.com/default.aspx scid=kb;en-us;896613 A few simple reasons for the error you get: the SQL Server is not running ...Show All
Smart Device Development Transparent controls
Hi, it's my first message to MS forums, i hope that you will be patient with me .. Well, i'm developing apps for mobile devices (smarthphones, pda's, tablet pc's, and that will become), now i have to develop my first app for smathphones and i discovered that i couldn't make my UI controls (combobox, textbox .. ) transparent, i have readen a lot of messages about this but .. any posibility design my own controls 3a party controls which it's imposible Thanks .NETCF does not support transparent controls right out of the box. There may be some third party controls available. If you end up writing your own, you ...Show All
Visual Studio Express Editions Can't remove .NET Framework 2.0 Beta 1
I'm attempting to install the VC# Express Edition 2005 Beta 2 package and have run into a snag. I previously had some of the Express Edition Beta 1 packages installed (VB, VC#, VC++), but removed them in order to install Beta 2. I also have the .NET Framework 2.0 Beta 1 package installed, which refuses to uninstall. First, I tried removing it via Add/Remove Programs. The uninstaller complained that 'netfx.msi' could not be found, and quit. Then, I ran the Visual Studio Beta 2 Cleanup tool, but VC# still said that the .NET Framework 2.0 Beta was installed. I tried Add/Remove Programs again, but now the Add/Remove Programs applet itself said ...Show All
Smart Device Development System.Data.SqlServerCe.SqlCeConnection.CreateCommand(out System.IntPtr)' is inaccessible due to its protection level
Hi all, I am working on SQLCE, but when I try to overload CreateCommand() as suggested by MSDN library as CreateCommand(out IntPtr), I got following error: System.Data.SqlServerCe.SqlCeConnection.CreateCommand(out System.IntPtr)' is inaccessible due to its protection level please solve my problem... how can i remove this error... thanx This overload is for internal use only, you should use another one (as far as I know the only one available is CreateCommand() - with no arguments). Which MSDN article suggests using this overload and for what propose ...Show All
Software Development for Windows Vista Windows Defrag Continually accesses my Diskette drive
Hello. I'm using windows 2000 professional. It's seems that in the past week that when I run windows defrag, the program seems to continually access my diskette drive. The diskette drive doesn't even show up as an option in the windows 2000 defrag. Then when I do start the defrag on my hard drive, it just pounds the heck out of the drive. I've done full virus and spyware scans with Symantec Corporate antivirus 10, spybot and lavasoft ad-aware professional. It's really annoying because it seriously slows down the defragging process and it's making a lot of noise from the diskette drive. If anyone has some suggestions I'd really apprecia ...Show All
Game Technologies: DirectX, XNA, XACT, etc. MechCommander 2 Fix Guide
For anyone who is interested in the MechCommander 2 stuff I just wanted to let you know I've posted a guide with all the bugs we've found in our Shared Source Release and how to fix them. You can find the guide at: http://blogs.msdn.com/mklucher/articles/629796.aspx If you have any comments please let me know! DS3DSoundChannel::SetPan (in as of yet the unreleased src for GameOS): The safety check if v is below -1 Seems to me there could be a copy'n'paste bug there. It seems to be: if (v < -1) { v = 1; } when it should be if (v < -1) { v = -1; } Can you ACK ...Show All
