Software Development Network Logo
  • VS Team System
  • Windows Vista
  • Visual C#
  • Visual FoxPro
  • SharePoint Products
  • Game Technologies
  • IE Development
  • Microsoft ISV
  • Windows Forms
  • Audio and Video
  • Visual Studio
  • Visual Basic
  • SQL Server
  • Visual C++
  • .NET Development

Software Development Network >> traderhen's Q&A profile

traderhen

Member List

vivek.athalye
EnterBS
BLeRg
Vagif
nbrege
astrocrep
Uppy
paraGOD
Evan Mulawski
SIYER
narend
Leo Liu
Jakein2006
Mike Riley
clay.routh
delma
Spider
Angry SQL 2005 User
_MC_
danadanny
Only Title

traderhen's Q&A profile

  • Visual Studio How to get an application instance defined by the method OnConnection of an Addin towards an VS Application ?

    Hi all, I have a problem to get the application instance defined in my addin ex : Public Sub OnConnection( ByVal application As Object , ByVal _ connectMode As ext_ConnectMode, ByVal addInInst As Object , _ ByRef custom As Array) Implements IDTExtensibility2.OnConnection _applicationObject = CType (application, DTE2) _addInInstance = CType (addInInst, AddIn) End Sub I want to get this attribute in an other VS application (ex : Windows Application). In my addin (EVA_CAT) I defined a shared property to get this attribut ex: Shared _applicationObject As DTE2 Public Shared ReadOnly Property AppObjt() As DTE2 Get Return _applicationObject ...Show All

  • .NET Development Problem with ASP.net with p12 or pfx import

    when i do this from vb.net it work fine but same code from ASP.net fails any ideas here is ASP.net code that failed Dim fs As FileStream = File.Open(Server.MapPath( "App_Data\CISCUSTD.p12" ), FileMode.Open, FileAccess.Read) Dim buffer() As Byte = New Byte () {} ReDim buffer(fs.Length) Dim count As Integer = fs.Read(buffer, 0, buffer.Length) fs.Close() Dim myCert As X509Certificate2 = New X509Certificate2(buffer, "CISCUSTD" ) MFHTTPPost.ClientCertificates.Add(myCert) Here is vb.net code that has no problem. Dim fs As FileStream = File.Open( "C:\Inetpub\wwwroot\cctsicon\App_Data\CISCUSTD.p12" , FileMode.Open, FileAccess.Read) Dim buffer() As ...Show All

  • Windows Live Developer Forums Tile overlays in V4 3D using GetTilePath

    Is anyone successfully overlaying tiles using the dynamic "GetTilePath" property on the VETileSourceSpecification in V4 3D ...our V3 2D application when switched over to V4 3D no longer works :-( - it does work in V4 2D. Will the GetTilePath callback ever be supported for custom tile layers I noticed in AddFeederSource method that the XML manifest it uses contains several extra URL modifiers (ex: http://local.live.com/Manifests/RoadContentManifest.xml ). These would be very useful in cosuming tile resourses that cannot change their url naming conventions to match the the MS quadtree[1]. Will these be accesible from the javascript API in the future Also, TileX and TileY seem to map to XPos and YPos but does Tile LOD (numbe ...Show All

  • Visual C++ How to set WS_CLIPSIBLINGS on an edit control?

    How can one specify WS_CLIPSIBLINGS for controls in a dialog in VS2005 The Dialog Editor doesn't seem to have these as options for controls such as edit controls. Hi, Are u able to set the WS_CLIPSIBLINGS on an edit control If u r, could u please post how did u do that Thanx in advance. Ch.T.Gopi Kumar. ...Show All

  • SQL Server get first row first column value into a variable

    It is my second time on this forum Nice people managed to help me on my first thread. I am encouraged to proceed with you ! Well   I  have an Excel source that returns One row , two columns: what I want is get the value returned in  the first row - first colum into a variable so I can then execute sql tasks based on this filter parameter ! Can you guide me   Regards Jacques   You can use an execute sql task in your control flow; you will need a Excel connection manager pointing to the excel file and a variable to held the value to be retrieved. Then inside of your ExecuteSQLTask: GENERAL TAB: Connection Type: Excel Connection: <Your exce ...Show All

  • SQL Server How do you handle SQL Parameters in an IN clause?

    Hi all, if I have a SQL string that has an IN clause in its WHERE statement so that I only bring back rows for certains primary key values, how do I handle this with SQL Parameters without having to do any string concatenation Thanks in advance. Thanks for teh link, Umachandar. Not sure if this will apply to me as the I am using SQL Mobile Everywhere, so Functions, SP's and sub-queries are not allowed. Just wanted to know if there was a standard way of doing it like in the normal way you apply SQL Parameters to a query. ...Show All

  • SQL Server GUID for SQL 2005

    Hello Everyone, I'm trying to write a script to detect SQL 2005 by querying the Registry; this involves me to know GUIDs of all SQL Editions of 2005. I wasn't able to locate the KB article for SQL 2005 GUIDs; If someone has seen it please let me know. Hi, why not reading the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion key in the registry HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SkyBox Effect using a BasicEffect

    HI Guys, I am currently creating a skybox for my game and I need help with the BasicEffect settings . Right now my skybox looks like a cube with a texture on each internal face. I would like the inside of the cube to appear like it is one continual texture, not showing the corners and edges. I will be creating a skybox with a custom effect later, but right now I would like to use a basiceffect. Can you tell me what basiceffect settings I should configure to create this effect. thanks in advance. Alan Hello, adding to the qestion. I have seen some games using 3D skybox, like CS:S. It has certain 3D models in the skybox so you can get closer to it. Unlike the traditional skybox that is statio ...Show All

  • Visual C# The old version remains after instalation...

    I have a C# project and within the same solution I have a setup project, a few weeks ago I built the setup project and released it, now I released a new version, with a higher version number, but if they had the previous version installed, they still get the old version... but the people who install with no previous versions it works just fine... I removed any reference to my program manually on one computer, cleared all the temp folders, restart and install and I still get the old version, after toying with it for a few hours I've decided to ask for help. any suggestions jankowiak, There are two properties you must set in your setup project that will allow the setup to detect an older version and remove ...Show All

  • Visual Studio Report with Subreports, Changing Servers Programmatically

    Greetings: I have one main report with 3 subreports. The main report takes a parameter called ClaimID which is tied to its stored procedure on SQL Server. Two subreports take a PricingID which is not displayed on the primary report but is within the stored procedure. The last subreport takes the ClaimID. I have three development environments (DEV/UAT/PROD) on three separate SQL Servers. I have to programmatically change the servers depending on the environment. Currently when we design the CrystalReport we connect to the DEV server and it's stored procedures. When we are in the DEV environment we load the report fine. If we move the environment to UAT we get errors stating: This field name is not known. Error in File ... Error in ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Mousewheel weirdness.

    Okay, this doesn't make any sense to me and I'm not seeing any references to it online. When I use the mousewheel I get a sudden position jump, too. When I move the mouse position after, I get another jump followed by smooth movement. Movement without touching the wheel works just fine. It looks like the mousewheel change also changes the reported position of the cursor and keeps it changed until a new mouse movement. That didn't make sense to me, so I started a new XNA Game and made only the following changes. Results are inline. protected override void Update() { // The time since Update was called last float elapsed = ( float )ElapsedTime.TotalSeconds; // TODO: Add your game logic here UpdateMouse(); // ...Show All

  • Internet Explorer Development Window pops up behind parent window

    Hello, I'm opening a popup window with Javascript as follows: <script language="Javascript"> function openWin() { window.open('somePage.html', 'newWindow', 'toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=375,height=325'); } </script> <a href=openWin()">click to open window</a> Usually the window opens fine, in front of the parent window, but sometimes it opens up behind the parent window, and users don't know that the window opened up at all. This only occurs intermittently, and only in IE7. I have never encountered this problem in IE6. I do not have any idea what is causing this problem because I seem to be doing the same thing each time. ...Show All

  • Software Development for Windows Vista Standard User Analyzer causes COM and ActiveX to fail

    We have a legacy application programmed in C++ and MFC that runs on Windows 2000 and XP but has problems with COM and ActiveX when run on VISTA. This app is built with Visual Studio 2003. I remotely debugged this app running on Vista from my development machine and found that the COM and ActiveX problems is the app trying to instantiate the COM components but they return E_ACCESSDENIED. I have checked the following: 1. The COM components on both my development machine (XP) and the test machine (VISTA) have the same ACL’s. 2. The access denied problem occurs if I am logged into the test machine (VISTA) as a local user or an administrator (Admin Approval Mode). 3. I added: HRESULT hr ...Show All

  • Windows Forms Readonly databinding with a business object

    I tried to bind a property of a business object to a TextBox control. I used a BindingSource component to accomplish this task. So far so good :-) The property of the business object is a read only property. I thought that data binding recognize this and set the TextBox control to read only. I was wrong. But it's even worse. If I change the text in the TextBox control I can't leave the focus from the TextBox anymore. The focus is trapped in the TextBox control and the user doesn't get any error message. Is it possible that data binding recognize the read only property and set the bound control to read only Can I prevent the TextBox to trap the focus I think the usability for trapping the focus in a control if the validation ...Show All

  • SQL Server Problems executing Database Engine Tuning Advisor

    We are trying to optimize one of our databases (SQL 2005) and we are running analysis on some of the stored procedures. However, the Database Engine Tuning Advisor is resulting in either Event does not reference any tables. Or Statement does not reference any tables. Anyone have any idea why this would happen Thanks for replying. Sorry I lost track of the thread. Essentially, all we are doing is executing a stored procedure in a query window and analyzing that directly. Also, if we log the execution and use the trace log to do the analysis we get the same. It has been tried in multiple machines. It is weird since there's no errors with the stored procedures. Thanks again. ...Show All

©2008 Software Development Network