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

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

Haziman

Member List

Albion Simon
shah_hs
Hoodwinked
Mystagogue
JSR2005
Barry Kwok
Stelek
srinivas_kv80
LamptonWorm
Whoisit
we3dyz
Gert Jan Veenstra
Richc12345
Jon Stroh
CJW99
cdun2
Piyush77
dag.loraas
laserbeam
gabriel h
Only Title

Haziman's Q&A profile

  • Visual Studio Team System Cannot connect to Hostname:8080 but can connect to Localhost:8080

    Hi, I just installed TFS and Team Explorer on a single instance and VS2005 and TE on a workstation. Both the workstation and server instances of TE give me a connection error, "The request failed with HTTP status 403: Forbidden" I am able to connect to localhost but can't seem to connect at all by web or TE to the actual hostname URL even with the TFS Admin account I have. I looked at the file permissions and the permissions in IIS Manager and they seem to be correct. Any suggestions Kyent Have the workstation try to access one of the TFS web services directly, like: http:// server :8080/services/v1.0/serverstatus.asmx When hitting that URL with IE, you'll likely get the same error, ...Show All

  • Visual Basic Dynamic execution method (release/debug mode)

    I understand that a VB app may be compiled 2 ways (ie.,Release,Debug). Generally, we would like to use release version in production but there are times when I need to use the debug mode. I do not want to maintain two versions of exe. My application reads off data from a SQL Table so I'm thinking of leveraging that for an IF... Else statement. However, I need to know if it is possible to include the execution mode into the VB script rather than rely on the compile method. Is that possible Thanks. Hi Jade, Generally, a release version of an assembly has certain optimizations in it that make it not debuggable. Information is often optimized away that is necessary for stepping through (debugging) the a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 2D Sprite Rotation Issue

    For some reason my sprite will jitter while moving if I rotate to 270 degrees (it flips at exactly 270 degrees). Any suggestions float xSpeed = (float)(Math.Sin(Angle) * mSpeed); float ySpeed = (float)(Math.Sqrt((mSpeed * mSpeed) - (xSpeed * xSpeed))); if (adjustedAngle < 0) { ySpeed = ySpeed * -1.0f; } if (adjustedAngle < -180) { ySpeed = ySpeed * -1.0f; } if (adjustedAngle < 90 || adjustedAngle > -90) { xSpeed = xSpeed * -1.0f; } if (adjustedAngle < -270 || adjustedAngle > 270) { xSpeed = xSpeed * -1.0f; } ...Show All

  • SQL Server ProcessAdd processing hangs

    I'm trying to do an incremental process of a cube that has 3 measure groups. The first measure group is fairly straightforward, run-of-the-mill measures. The other 2 are distinct counts of an ID. When running the incremental process (ProcessAdd), the status seems to complete, and then everything just hangs. I can't find anything that the server is doing, but it won't return. This happens in BIDS using debug, management studio wizard, and management studio XMLA execution windows. Sometimes I can get the first measure group to return... Once the 3rd returned. The 2nd has never worked. Thoughts on what's happeneing Does anyone know how to see what's going on in the background I have a SQL trace going and a trace on the SSAS server, and not ...Show All

  • Visual Studio Team System determining number of lines of code in a method - custom fxcop rule

    How do I determine the number of lines of code in a method Thanks in advance. Also keep in mind that you will need to ignore instructions with the following OpCodes as these instructions will not have source context information: _Locals, _Try, _EndTry, _Filter, _EndFilter, _Catch, _Finally, _Fault, _EndHandler. -Todd King ...Show All

  • Visual Studio Deploying Crystal Report with application written in VStudio 6.0

    I have written an application in Visual Studio 6.0 It uses Crystal Report XI controls to display reports. There is all fine if I run application on computer which has installed Crystal Reports XI. Problem begins when i install this application on computer which has no Crystal Reports installed. How can I install necessary modules (I have only Visual Studio 6.0, and I can not (can I ) use merge modules for .NET instalation). From what I have noticed, it is required to have installed proper DLLs, image files, *js files,... which are placed in ProgramFiles/CommonFiles/... directory. (Crystal Report requires that files to display input parameters dialog - it uses Internet Explorer window embedded in application window). Thanks for ...Show All

  • Silverlight (formerly WPF/E) Can arbitrary bytes be passed as the ImageSource of the ImageBrush?

    I'd like to download an image from a server using XML / AJAX. Is there any way I can load these bytes of the image into an array and pass that to the ImageSource of the ImageBrush Thanks. Good question. I also want to know how to do it... Perhaps in DHTML, it is very easy to done with the new Image(); But I don't know how to do it in WPF/E,too... ...Show All

  • Visual Studio Team System Trouble With Web Deployment Project and Team Build

    I'm trying to deploy a simple web site using Team Build and the Web Deployment Project. The web site builds fine on its own. On the property pages for the Web Deployment Project, under the Deployment section checked the box for "Create an IIS virtual directory for the output folder" and entered a name for the virtual directory. Every build from then on failed with the error stating "Error Virtual Director 'x' already set to path c:\documents and settings\..._deploy\Debug". I got this error no matter what I entered into virtual directory name. Next I decided to to check the box to have it replace the existing virtual directory and I got an error stating "Access Is Denied". Does anyone have any ideas of what ...Show All

  • Visual Studio Threads names

    Hello, i am developping a multi threaded app using Thread class. When ever i do Thread th = new Thread(); i do th.name = "blabla"; My qestion is why don't we see the thread name in the output window when the thread is exited instead of the ID. The thread 0x12e0 has exited with code 0 (0x0). Thats something we can see. Though, if i add a breakpoint on the line: th.name = "blabla"; and then do F10 once and then F5. When ever the thread is exited, i will see: The thread 'MyThreadName' (0xdb4) has exited with code 0 (0x0). Why is this Would there be a way to always see the threads names when they are exited, even if i am not currently debugging or breaking into the code. Thanks in advance! ...Show All

  • Visual Studio How to get win app to work using Microsoft.VisualStudio.SourceSafe.Interop.dll running on a computer without VSS installed

    Hello Im trying to run my win application that uses Microsoft.VisualStudio.SourceSafe.Interop.dll on a computer without VSS installed. First off, I got the "CLSID {783CD4E4-9D54-11CF-B8EE-00608CC9A71F}  failed". I got rid off this by running regsvr32 ssapi.dll (copied from the development computer). Trying my luck again, I get a message box titled Visual Source Error, saying: "A required resource cannot be found on your computer. To resolve this issue, run setup to repair your Visual SourceSafe installation." And an exception: System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component. This occurs when i try to open the css database. Is it possible or recommended to utilize the ...Show All

  • Internet Explorer Development CSS Div problems

    Hallo all i get this problem whit my code i can understand why the to top and bottom background is more px in i defind the div tag to be. here is my HTML and CSS code. <div style="width:586px; height: 216px;"> <div style="height: 4px; float: left;"> <div style="float: left; height: 100%; width: 8px; background-image: url('. $Url .'includes/images/gbog/topLeft.png);"></div> <div style="float: left; height: 100%; width: 570px; background-image: url('. $Url .'includes/images/gbog/top.png);"></div> <div style="float: left; height: 100%; width: 8px; background-image: url('. $Url .'includes/images/gbog/topRight.png);"></div> </div& ...Show All

  • SQL Server connect to sql server from other computer

    hi i have 2 computers named pc1 , pc2 . i have lan connect between this computers. in pc1 i have server named center , in this server data base named library. how i can connect to this database from pc2 . note: i am working with visual basic 2005 . please help me , Are these two servers in the same domain If not, you'd better first configure the authentication mode of the SQL Server to Mixed Authentication and change the password of the sa account, which by default is blank. After this, you can specify a connection string for the SqlConnection class in VB.NET, specifying the machine name of the sql and username and password. After this, you should be able to connect to the remote server. It is not much different ...Show All

  • Software Development for Windows Vista DirectShow with Managed C++

    Hi, I am trying to use DirectShow with Managed C++ and have compile errors. When including <dshow.h> I get the following error C:\Program Files\Microsoft DirectX SDK (February 2006)\Include\strsafe.h(221) : error C3641: 'StringCchCopyA' : invalid calling convention '__stdcall ' for function compiled with /clr:pure or /clr:safe Therefore I have some questions... a) Is it possible to use DirectShow with Managed C++ b) Is there a Managed C++ sample c) Is there a simpler way to just playback video from my app I am using the following... 1) Visual C++ Express Edition 2) Platform SDK " Windows Server 2003 SP1 SDK Release Notes" 3) Sample from "C:\Program Files\Micro ...Show All

  • Windows Live Developer Forums New clustring concept

    Man do i need help. i started off and got to this point and realised i was going in 2 opposite directions. i have a simple VE Map page using HTML/JS. i also have a PHP page that Queries a MySQL server and returns results. all i am looking for is how i would be able to do the following: allow a person to cruise(browse) the map in my simple page, and have 4 buttons to the side that would be toggled on/off to show 1 of 4 categories in my MySQL DB. obviously i realised with PHP it's server side and couldn't update on the fly. i am using a linux provider for this, which means no ASP.NET or any other gr8 MS jazz. the layout: MySQL-DB (name,address,type-of-place, lat, long). i currently dont have lat and long info (i'm guessing thats what everyon ...Show All

  • Visual Studio Tools for Office Question about install Outlook Addin writen by VSTO2005

    I had the following question when I install a Outlook Addin: An exception occurred during the Commit phase of the installation. This exception will be ignored and installation will continue. However, the application might not function correctly after installation is complete. The savedState dictionary does not contain the expected values and might have been corrupted. Then the installation rollback. but had grant trust to it's assemblys. Could any one help me It's very urgent. Thanks at first. Isabella, Do you have more specifis on this Are you doing a custom action during the commit or install phase Are you touching the dictionary that is returned from the custom actions Cheers, ~Joe ...Show All

©2008 Software Development Network