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

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

JohnGray

Member List

Martijn Mulder
DevelopperX
Matt Stum
Bluzdude
Marcin Książek
deen
VenkatABC
ShAdeVampirE
Dejan Kocijasevic
bucketofsquid
Oroborus
palestine
Garland
Aaron Bull
Jamie Gordon
Yeshia
Zero_
Scoutn
pblecha
Anonymous X
Only Title

JohnGray's Q&A profile

  • Internet Explorer Development magnifying glass images

    If your browser screen is smaller than the image size, the image is auto resized. With BETA(2) and RC1, I could put my mouse over the image and a magnifying glass appeared, so I could view the image at the original size. With this release of IE7 I cant view images at original size, and there is no magnifying glass to enlarge pictures. Does anybody know how to fix this ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. If my screen is white....?

    This might be a common problem, and i hope there is a simple explanation for it. But when i run my XNA program and all the graphics, which in this case was trying to be a map, is white, and only partially drawing some stuff. Anyone have ideas about why Any and all help is appreciated I haven't seen this reported by anyone else in the XNA forums before. This thread should probably be moved there so that you'll be more likely to get some help from one of the many XNA gurus there. This could be specific to your video card or you could be doing something in the code. Here's a couple of questions to get started troubleshooting this. When you make a new Windows XNA game and run it, do you get the wonderful cornflower blue screen When you ...Show All

  • Visual Studio Team System Problem with DateTime control

    Hi to all, I'm working with VSTS and I have a problem with the DateTime control that I use in my Custom Work Item for set Start and Finish Date. When I click the DateTime Control it dispays the Date Picker and once I click any of the date it correctly populates the control with the exact date. But if I click another date, without close and open again the Date Picker, it doesn't update the date in the control. It's a bug of the control or it's a problem on my computer Has anyone any suggestion Thanks in advance for your help. ...Show All

  • SQL Server RMO Class not registered Error.

    I have an application written in .Net 2.0 using the SQL Server RMO .Net assemblies to create the replication on the SQL Server and to control the synchronization between the publisher and subscribers. I have installed the application on a server that only has the following components install on it: Microsoft SQL Server Native Client Microsoft Core XML Services (MSXML) 6.0 Microsoft SQL Server 2005 Management Objects Collection When I run application everything works until I try to synchronize a subscriber, I get the following error: Class not registered. I tracked down the clsid which it can’t find to be this: 1E6ADC03-1A05-4DF0-B627-3DAE0F6DA188. This is listed to be the following class ...Show All

  • Visual Basic Copy/Paste of custom UserControl with GUID Property

    I have build a UserControl that has a Property "Guid" (as Guid) to identify the Control. If I Copy/Paste my Control in the FormsDesigner the Property Guid also will be copied. Thats right for other Properties but not for my unique Key. How can I build a new Guid if the Control is copied in the Forms designer Horst The GUID should be generated in the constructor(Sub New)...That way no matter how a new instance is created it will also create your 'read-only' identity property ...Show All

  • Audio and Video Development Checking amount persistent storage

    I've found how to check the amount of persistent storage of the hd dvd player, perhaps someone else may like this: - Start player without disc > press [setup] on the remote controller > navigate in the menu to general and press [right arrow] > navigate to maintenance and press [ok] > navigate to persistent storage and press [ok] > now press setup again and voila the persistent storage management menu displays > you can press [right arrow] to check the storage capacity The HD-A1 shows 130MB greets Thanks for posting the tip. In the future, if you have a comment (rather than a question), it's helpful if you mark it as a comment when you create the post. Then it won't appear as ...Show All

  • Smart Device Development TAPI lineIntializeEx() Compact Framework V1

    I have an application that successfully uses the TAPI functions with a .Net Compact Framework Version 2. I am trying to port that to Compact Framework Version 1 and am having issues. Here are my structure and method definitions: public delegate void LineCallBack (System. UInt32 dwDevice, System. UInt32 dwMessage, System. UInt32 dwInstance, System. UInt32 dwParam1, System. UInt32 dwParam2, System. UInt32 dwParam3); public struct lineinitializeexparams { public uint dwTotalSize; public uint dwNeededSize; public uint dwUsedSize; public uint dwOptions; public System. IntPtr hEvent; public uint dwCompletionKey; } [ DllImport ( "coredll.dll" , SetLas ...Show All

  • Visual Studio Express Editions Using Properties

    I know that it is good practice to use properties to encapsulate a variable rather than making a variable public. However consider the following code, class myClass {     public int myVar     {         get { return _myVar; }         set { _myVar = value; }     }     private int _myVar; } If a method inside myClass wanted to access the _myVar variable, would it be accessed via the property myVar or directly via _myVar I know the program will compile whichever I choose, but is either way preferable (I hope this makes sense!) Regards, Leo Kent Hello, While I use the same format: pri ...Show All

  • SQL Server Cumulative aggregation over time

    I want to do cumulative aggregation similar to "period to date", but not to a specific period in the past, but to the earliest record in the fact table. The problem is that I have 20 million accounts that I want to follow up on a daily basis, but they change rarely. After a year, perhaps half a million have changed. What I have done is to create a fact table that stores the balance when the account is opened, then only keeps track of the changes, so that when anyone deposits money a row is added with the increment. After a year that would give me about 20.5 million rows in the table. As an analyst I would like to enter a specific date, say 2005-08-20 and see the balance of all the accounts at that time. To do so, I simply need to ...Show All

  • Smart Device Development Cab installation failures due to signed files

    Hi. I have a Smart Device CAB file targeted for WM5 Smartphone. I'm using Visual Studio 2005 to build it. For my executables/dlls, I'm signing the files using the SDK developer certificate. When I'm installing on an actual phone or on the emulator, I will sometimes get errors on the signed files. Usually, they happen on the same files but not on all the signed files. I think it is more likely to happen on a file that self-registers. The problem goes away when I reinstall with a rebuilt file that is not signed. In setup.log under \Application Data\Volatile, I will get something like this: <characteristic type="fsbraille.dll" translation="install"> <characteristic-error type="Extract"> <pa ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Calculating FPS

    Ok so here is a real newbie question lol. What is the proper way to calculate FPS I noticed in the Update() method for the XNA project it does something of the sort: // The time since Update was called last float elapsed = ( float )ElapsedTime.TotalSeconds; I was wondering if I can properly calculate FPS based on this I tried to do something like: fps = 1 / elapsed; But it always seems to be 60.0024 FPS so I believe I am doing it wrong. I am only rendering 2 sprites, so I can't believe its only going 60 FPS. That and if I put a thread.sleep(500); it still says 60 although it should be 2FPS lol. Obviously I am doing something wrong. Is it more proper to use a timer of 1 second and just tally up the frames etc Thanks and t ...Show All

  • Windows Forms Admin rights for clickOnce deployments?

    I seem to be spending far too much time in this particular forum :-) I've deployed an app over our company network using ClickOnce and its been working nice for a year (apart from the whole certificate expiration thing), but deploying it elsewhere, it crashes with a Dot net error, not the usual Exception errors (Eg. before the app hits the first line of Form_Load) Each user is a domain user, and a regular user on their PCs, but if we change them so they are administrators of their own PCs, everything works fine. This is how we've run it here for the past year. So what is it that I need to do to make it work without making them administrators on their PCs. presumably ClickOnce would need to be able to uninstall/install otherwise the updates ...Show All

  • .NET Development Can you send me the code - thnx

    Hi, Im using a custom UsernameTokenManager in WSE 3.0 but it always authenticates when it should'nt. I'm missing something but don't know what.     my Web Service code is: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = " http://tempuri.org/ ")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [Microsoft.Web.Services3.Policy("usernameTokenSecurity")] public class Service : System.Web.Services.WebService {     public Service () {         //Uncomment the following line if using designed components         //InitializeComponent();   &nb ...Show All

  • SQL Server SSAS & SSRS - Getting parameters into an OLE-DB query

    SSRS only supports MDX queries with Measures on columns. In many cases, it's possible to re-write the MDX query in such a way that SSRS can do the re-formatting to get what you wanted. I've got a case where, near as I've been able to determine, SSRS simply can't transform the query results the way I'd like, so I'm forced to use an MDX query that structures the results correctly. By using an OLE-DB connection, I'm able to get SSRS to accept the query despite the fact that it has measures on rows instead of columns. Problem is, how do I get parameters into the query now The OLE-DB provider apparently doesn't support named parameters, and so far, my attempts at using unnamed parameters have only resulted in a useless error message (&qu ...Show All

  • Visual Basic Ethernet Port Watcher

    I am trying to write an application similar to file watcher, but instead of watching a directory I want to watch a wireless connection, as soon as the computer get connected to that specific connection an application will be automatically launched. any ideas Thanks. A Particluar Wireless network or any wireless network If it is aparticular wireless network for youc can identify the NIC by its Gateway addr then poll the nic for it's status. ...Show All

©2008 Software Development Network