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

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

DDarren

Member List

joginaidu
davidvo
TKwin
shishio
Darren King
textman
trevi
Mark Asztalos
Todd Saylor
Speedie
oykica
Pablo Rincon
silverdmm
Stefan Dobrev
vb_ff
MacroHard
Hardrock302
F.Costa
Bearded 1
flypp3r
Only Title

DDarren's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. slowing FPS display with timers... how?

    I'm new to timers, never used them/needed them so how would i go about implementing this What I need is a timer to display the FPS counter i have every second or so... do you mean something like this the FPS updates only after 1 second has elapsed, but it is always drawing a value. float fps = 0; protected override void Draw( GameTime gameTime) { frames++; elapsedSeconds += ( float )gameTime.ElapsedRealTime.TotalSeconds; if (elapsedSeconds >= 1) { fps = frames/elapsedSeconds; elapsedSeconds -= 1; frames = 0; } font.Draw(fps); } ...Show All

  • Visual Studio Express Editions Failed to create .NET frameworks Propertygrid component

    Hello, I get the error above when attempting to open the properties of my Visual Express project. I work with Visual Express on this project for more than 1 year, and got this error after a crash of Visual Express. I never install a beta version on my computer and tried to uninstall VisualExpress, following all the Aaron stebner instructions I found in its blog page. : After being sure that no more VisualStudio, VisualExpress, MSDN, GAC, files (in the %windir%\assembly, in the registry, in the "program file" and the "documents & settings" folder, ...) remain in my computer, I donwload and install VisualExpress Edition But without sucess ! Always the same error when I open the property page of my projects. I u ...Show All

  • SQL Server Reuse of Field Aliases

    I have been working with SQL for quiet a while but think this perhaps is a very basic question that has always escaped me: At my work I was exposed to both, MS SQL Server 2000 and Sybase Adaptive Server Anywhere/Sybase SQL Anywhere. Under Sybase I was able to use aliases in other calculations and filters but i have never been able to do the same with SQL. Example: In Sybase I can write this: Select Price * Units as Cost Cost * SalesTax as TotalTax From Invoice Where TotalTax > 3.5 However if i want to do this in MS SQL 2000 i have to go trough Select Price * Units as Cost Price * Units * SalesTax as TotalTax From Invoice Where (Price * Units * SalesTax) > 3.5 In the long run this is costing me a lot of ...Show All

  • Windows Forms Launch Conditions - Registry Search problem

    I have setup a setup project to install my application and wanted to add a launch condition to test for the existence of a dependent application, I created a file and registry launch condition and the file search works correctly but I can not get registry search to work at all, I would prefer to use registry search as it is more certain than the location of a file which might have another install location other than [ProgramFilesFolder]. The dependent application is Apple iTunes and has a registry key at HKLM\SOFTWARE\Apple Computer, Inc.\iTunes. I have set the Root to vsdrrHKLM. I have tried several variations on the RegKey value and none work: SOFTWARE\Apple Computer, Inc.\iTunes "SOFTWARE\Apple Computer, Inc.\iTunes" SOFTWARE\Apple Comp ...Show All

  • SQL Server DTS Execute from Com Object (Workgroup Version)

    Hey Guys, I have written some code that executes a DTS package from a COM object. It works great on my staging server which is MSSQL 2000 Standard Edition. I just got a new live server which has MSSQL Server 2000 Workgroup Edition. Now I recieve an error message when trying to execute the DTS package from the COM object. Is this perhaps something that is not supported with the Workgroup edition Is there anyway to varify for sure because as you all know it would cost me a good amount of money to upgrade. Thanks in advance! JayStang wrote: Hey Guys, I have written some code that executes a DTS package from a COM object. It works great on my staging server which is MSSQL 2000 Standard ...Show All

  • Visual C++ Conversions string <-> int in C

    Hi everyone! Does anyone know how to convert a string to an int and vice versa in C (not C++, only in C) I need it because I have to create txt files incrementally, whose names are 1.txt, 2.txt, ...etc. Thank you very much!   Cla82 wrote: [...] It gives no problem if the filename is for instance "%i.txt" alone, without the path. How is it I think the space for filename is too small for your longer path. Increase it. For instance: char filename[_MAX_PATH + 1]; Also replace " // " with " \\ " and check the return value of fopen in next versions.   ...Show All

  • Commerce Server Base/virtual catalogs and related products

    Hi all, I am attempting to determine the best way to set up base and virtual catalogs and I'm having some confusion on how the related products are being handled. We have a base catalog containing all of our available products. Originally we also had our related products defined there, but when we went to add products to a virtual catalog, it used the related products from the base... but didn't allow you to remove the relationship in the virtual catalog (which we might need to do if a related product isn't contained in this catalog). Soooo... because of this, does that mean related products are typically defined in the virtual catalog instead What if you want to create a virtual catalog that is a subset of another virtual catalog You w ...Show All

  • SQL Server backup with usb tape

    When i ll try to setup a new database maintenance plan, in the window database backup plan i put my usb tape device but sql can no t find this usb tape as backup location . W hat can i do for this Can Sql recognise usb device to make from agent a backup ...Show All

  • Smart Device Development What is the best Pocket PC

    Hi Everyone, Looking for a palm pocket pc to run a program for my computer. This what is required. 1. .NET Compact Framework capabilities 2. Networking or internet connection capabilities, we need to some how connect it to a point, so we can upload new information, and download current information.  3. A palm that does not require any program to connect to the network or internet. 4. Able to connect either a sq ...Show All

  • Visual Studio Express Editions Print Dialog Help

    I was wandering, if someone could help me, with print dialog... I want it to basicly open print prompt, then when the user clicks print/ok, it prints mnotepad (rich text box), could someone please help me Thanks. I hope these resources will help you: http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx http://www.startvbdotnet.com/controls/printdialog.aspx ...Show All

  • .NET Development CAS Policy Problem

    I have an assembly deployed which demands a certain permission. This assembly is strong named and lives in the \bin directory. To make configuration "easy", I figured I'd add a new Code Group to my Runtime Security Policy using the .NET Configuration tool which grants Full Trust to my assembly. The Code Group is under All_Code and the Membership Condition of the Code Group looks for a strong name of an assembly using the public key of the assembly (derived by importing the .dll). I disregard name and version. Straightforward, right It just doesn't work, though! Every time, my assembly fails the permission demand! In theory, it should have full trust, right What could be going wrong You ...Show All

  • Visual C# Application settings lost upon new assembly

    Hi all, I'm facing the same problem as issued in this topic . I tried the solution with ApplicationSettingsBase.Upgrade() but it doesn't work out. First of all I need to put System.Configuration in front of it, I don't know if this really matters. Second my intellisense only offers me .Equals, .ReferenceEquals and .Synchronized but no Upgrade. My application is working correctly, I assigned settings using the Settings designer and I use them using Properties.Settings.Default. ... To be honnest I've been reading a bit here and there but I miss the total picture, I do not see where I mess up. All help is appreciated. Hello All. Dan: Yes, unfortunately, the docs on this s ...Show All

  • Visual C++ Unable to build in 'Debug' mode

    Hello, I am trying to port a application from VC-6 to Visual Studio-2005. Though I am able to build in release mode, it is failing to build in debug mode. Following error is thrown. C:\Program Files\Microsoft Visual Studio 8\VC\include\strstream(139) : error C2061: syntax error : identifier '_DebugHeapTag_func' Can any one help me to fix this error Thanks Brian Kramer wrote: If this fails, make sure that _DEBUG is somehow not being defined for release builds, either by the project or in on of the cpp files that #include strstream. Note that strstream is old (not marked deprecated in VC8, though), and you should go with sstream for portability. Brian Thanks for the help. When I tried ...Show All

  • .NET Development Allocating large array -> out of memory

    Heya, I tried to allocate a large byte array in C#, like this: byte [] buf = new byte [len]; (where len = 1gb) But I get an out of memory exception. I have 2gb of memory in my machine, so it should work Are there alternative/better ways to allocate large amounts of memory /Bo Hi, Glad that it was helpful. In order to test your applications with this parameters you will need to: 1) compile your application 2) update the binary to use large address (you can do this in a post build event) so when the debugging starts the applicaiton has the parameter. Optional) Otherwise do the same and attach the debugger to your running application. (Tools > Attach debugger) Hope this hel ...Show All

  • Gadgets Flyout to the front?

    I have a gadget that navigates through a set of XML documents via next/previous buttons. Some of these documents link to a first page with windows media player attached to play an associated video, while some link to a second page which doesn't contain a video. You can navigate backwards and forwards through these pages of the first type, without trouble, but when you click on a link which jumps to the second page, from the first, then you lose the "focus" (I say focus warily, because I realise that actually losing focus would mean that the flyout would close, which it doesn't). What happens is that the sidebar gadget has the focus, and you have to click on the flyout twice (the first time regains focus, &n ...Show All

©2008 Software Development Network