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

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

PitbullPT

Member List

maarga
imnotbillg
VBAddict
Pete Atkinson
David S. Anderson
Martin Gentry
ntsoo
BridgetteG
ironfede
Herru Perdana
msdnzoo
Pranavr
donkaiser
christine21
Kelandom
Evan Mulawski
Hassan Ayoub
vb2005
Aghasadeghi
markm75c
Only Title

PitbullPT's Q&A profile

  • Visual C# "No source code available for the current location"

    Using VS 2003 C#, XP SP2. I have developed a 'Class Library' but I'm getting the "No source code available for the current location" error message when trying to call a method in the class library for a certain class. My solution contains both class library project but also the windows appliction that uses the functionality implemented in the class library. In the "References" section of the windows application I added the class library as a "Project" referring to the source code directory where the source code of the class library is located. I have deleted all files for all sub projects for the solution and rebuilt it, but still I'm getting the "No source code..." error message when trying to step into method in class library. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture creation robustness question

    I've been simply using the A8R8G8B8 and X8R8G8B8 format to create textures for quite some time. These formats are quite commonly supported in recent years, as well as R5G6B5, DXTn, etc. But I'm just thinking that in theory they're not guaranteed to succeed, and it may need some fallback to other formats. It reminds me of the OpenGL way that you can pass in data in any format and it will convert the data into some internal format so that it will seldom fail. When I tried to design some fallback mechanism, two issues are in my way: 1) Fallback to what format TextureLoader. CheckTextureRequirements() seems a nice function to solve this, but the parameters are wrongly set to out parameters instead of ref. 2) How to convert to the fallback form ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox360 to PC Comparison

    Does anyone have an idea what performance I can expect from the Xbox360, I am writing my game purely for the console because I dont want to have to write a load of code for dealing with different spec machines (throttling the number of creatures, etc) and different types of input. The game I am porting is this (original is in vb.net and MDX) - http://www.entombed.co.uk I have managed to port the models, parrallax occulsion mapping shader and per pixel lighting. But I dont know how the Xbox360 is going to perform. My PC is this spec ( cr@p ish) - Intel P4 2.4 (400 FSB) ATI X800 XT PE 768 MB AGP x4 I am receiving an excellent frame rate from my PC and wondered what I should expect from the console, will it be twice as quick or mo ...Show All

  • Visual Basic File.Exists and FileInfo.Exists fail to recognise existence of file

    I'm having problems in accessing files that are newly created in a SharePoint location. I'm mapping a drive to a SharePoint share, and using the path as expressed through that mapped drive letter. However, when I try to work with a file that is created within that path, .NET's file system classes fail to recognise the file. Some observations: 1. FileSystemWatcher seems unable to respond properly to file changes within the path, and won't recognise that the file has been created. 2. File.Exists and FileInfo.Exists return FALSE for a file that exists. 3. Windows Explorer doesn't list the file when it's created. Pressing F5 will list the file. From then, .NET's .Exists method seems to work. 4. Directory.GetFiles and Director ...Show All

  • SQL Server Getting List of Database

    I have a 2 query here ; 1. That get's all the Database in a Server (a) 2. Get's all Table in Database (b) but the problem i ha a.) SELECT table_name = sysobjects . name FROM sysobjects where sysobjects . xtype = 'U' b.) select * from master . dbo . sysdatabases order by name , dbid Is there anyway i can join this query ex. Database containing list of tables Thanks 1) select Name from master.dbo.sysdatabases 2)If user selects Notrthwind then generate the following query.. select Name from Northwind.dbo.Sysobjects where type='U' ...Show All

  • Visual Studio Autogenerate exception comments?

    First of all, this might be in the wrong subforum, but I didnt find any better, anyways... Is there a way to "automatically generate" the Exception comments (i.e. "/// <exception cref="ArgumentException"></exception>") A small example /// <summary> /// Example method /// </summary> /// <param name="file">My File</param> void f(string file) { StreamWriter writer = new StreamWriter(file); } Is there any key combinations or predefined macros to add the exceptions thrown by StreamWriter(string) (the ones specified in its comment) to my methods comment You can use the macro recorder to find code how to do this. Start the macro recorder, then type ///, this should record so ...Show All

  • Windows Live Developer Forums Bug using window.external.Users and IE7

    Hi, I've been working on a Messenger activity and keep running into a problem with Live Messenger and IE7. For instance, if I create a web page and include this script in the body: <script type="text/javascript"> if (window.external.users.inviter === window.external.users.me) { document.write("I am the Inviter."); } else { document.write("I am not the Inviter."); } </script> On a machine running IE6 it works as expected on IE7 I get an error "Library not registered" Any help is greatly appreciated. This is a HUGE problem! Thanks. I originally thought that might've been it too, unfortunately not. Not that it matters, but my c ...Show All

  • .NET Development COM Interop Exception

    I am trying to do COM Interop and Marshal an object to a VARIANT. The call returns the object and Marshals it to a VARIANT correctly, or so it seems, but then a couple of lines later another function is called that takes as a parameter the VARIANT that was just returned from the previous function call. I then get the following exception: First-chance exception at 0x7c81eb33 (kernel32.dll) in vstesthost.exe: Microsoft C++ exception: EETypeLoadException at memory location 0x051ebaa8.. The exception gets thown when the _ComCallPreStub function gets called. Does anyone know what this exception means. Thank you, Jon ...Show All

  • Visual Studio Team System Customize the Email format for Build Completes Notification

    Hi all, I need to know how i can approach to customize the email format for the build completes or any other event.... Please help me in this regard. Thansk in advance, Kathir Hi U could add the following mail task to any target on the execution of which you want a mail to be sent. As DQM said, override the AfterDropBuild to send out the email <MSBuild.Community.Tasks.Mail Condition="'$(SkipEmail)'!='true'" IsBodyHtml="true" Body="specify the body of the email here" Subject="subject" To=" xxx@xxx.com " From=" yyyy@yyy.com " SmtpServer="smtpservername" /> Thanks, Ramya ...Show All

  • SQL Server database compatibility between sql 2005 standard v/s sql 2005 64 bit

    I am a newbie developing a web site. My local machine has sql 2005 standard edition on it. The host that I am trying to use only has sql 2005 64 bit version. would I be able to do the use the same database between the two ( i.e. once my site is running at host, would I be able to download the database on my local machine, make changes to my site and then upload again on the hose without any glitches ). In addition, how about sql express doing the same with sql 2005 64 bit. Thanks a lot for taking time to read the post. get a new host lol...come to my employeer, www.hosting.com . we offer express & std 32BIT lol who only offers 64bit. ...Show All

  • Visual Studio Team System Can we insert an image in a new bug without having to insert a File Attachment?

    Hello all! Simple question here...we currently find bugs in our application. We take a printscreen, then paste it in Snagit then use image effects on the printscreen. We then paste that image inside a WORD document with some repro-steps and what not... Then we open VSTS and create a new bug. After entering a bunch of fields, we click on the "File Attachment" TAB and attach the current WORD document. This process is nice and clean but it isn't effective enough. Would it be possible to directly paste that image inside the "Detailed Description and Histpry" field of the "Summary" TAB Would such a thing be fesable Is there an add-on somewhere that would allow me t ...Show All

  • SQL Server "One or more DataSources is missing credentials"

    Get this when selecting parameter value in Report Manager Report is working fine in preview Up to me, it has nothing to do with credentials I have some analysis server reports. I have a single value report parameter, the report runs fine with the default value, when I select another value than the default one, I get above message immediately. I got the error since I rebuild the report with SP2 CTP. Strange thing is that the other single value parameter of the report works fine (year) And that I get the error also with other reports, and on the same dimension (Organisation) And that I do not have the error when I change the parameter to multi-value (but as the report is not written for multiple values. ...Show All

  • Smart Device Development textbox.Focus() after end of character

    I am developing a smart device application. Just added a button called "Loose". This button will display "Loose" character on the textbox, however the cursor is not on the textbox. So I added .Focus() function. But the cursor appear at the start of the textbox (before "Loose") instead at the end of the character "Loose". Is there anyway that I can make the cursor to blink at the end of "Loose" character This should do the trick: textBox1.Select(textBox1.Text.Length, 0) ...Show All

  • Visual Studio 2008 (Pre-release) XpathMessageFilter, how to form the XPath?

    Hi all, If I have a Message that is sent with this contract using Test1: [ServiceContract] public interface ISendContract { [OperationContract(IsOneWay = true)] void Test1(int a); [OperationContract(IsOneWay = true)] void Test2(int a); } and that is read with this contract: [ServiceContract] public interface IReadContract { [OperationContract(IsOneWay = true,Action="*")] void AllMessages(Message m); } I want to examine m in the AllMessages service callback to see if it matches some XPath expression (in this case, I want to see if the message is Test1, and not Test2, but ultimately I want to be able to do more sophisticated matching). I'm currently doing this: XPathMessageFilterTable<bool> filterTable ...Show All

  • Windows Forms Displaying Status Messages to Avoid Not Responding Message

    Hi, i have a windows application built with visual studio 2005. I simply have a textbox and a button. When you enter some text and click submit it does alot of calculations and takes some time to process. However after a while i get a not responding message appear therefore i figured i would display a message to the user everytime a calculation is made to help it out. I come from an asp background where i would normally use response.buffer to write the contents out to the page. How could this sort of affect be done with .net and what control would you recommend i used to write the results too so that i could scroll through the outputted results Appreciate your help. Thanks Check MSDN for the Back ...Show All

©2008 Software Development Network