Software Development Network Logo
  • Game Technologies
  • Microsoft ISV
  • Smart Device
  • Architecture
  • Windows Vista
  • SQL Server
  • Visual C#
  • VS Team System
  • Visual J#
  • .NET Development
  • Visual Basic
  • Windows Live
  • Visual C++
  • Windows Forms
  • Visual FoxPro

Software Development Network >> ::BulletMagneT::'s Q&A profile

::BulletMagneT::

Member List

Straw
Rowland
Aseem Bansal
Roundhill
F.Chen
neosamz
Kangaloosh
Andrew Cowan
ColSchmoll
Greg Johnson
Bransam72783
EgorKDie
vipinmathews
Kyralessa
Byaloz
Flame_Djinn
ph23ms
Magpie
XTheSimpleton
VFP
Only Title

::BulletMagneT::'s Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. D3DXSaveSurfaceToFile PNG format broken in Apr 06 SDK?

    I've been using D3DXSaveSurfaceToFile for screenies for a while. Saving to .PNG format produces only solid white images since we've updated to Apr 06 SDK. Full debug output (including compiling with D3D_DEBUG_INFO) gives no errors. Anyone else hear of any problems with this specific format Hi, Can you repro this issue using texconv For instance, say you have texture in a bmp file: imagefile.bmp. Then you can do the following: texconv imagefile.bmp -ft png Does the imagefile.png file contain what it should If not please send both files to directx@microsoft.com . If you have further issues, ...Show All

  • .NET Development Is there any way to invoke a button event from code?

    In vb6 I could invoke a button event by just calling the button_click procedure.  Is there anyway to do that in vb2005 Thanks Dick You can still call the button_Click method, or call button.PerformClick. The latter will invoke all event handlers registered (in case there's more than one). ...Show All

  • Visual C# Can I Mix languages in same project? C# and VB in Same project?

    Ok, I have a C# project developed by a friend. I don't know much about C# and my friend does not know much about VB but I do. Now what we want to do is this. I have a VB blog application that we would like to add as a folder to his existing application. That is,  all the codes and everything about the blog resides in a separate folder inside the C# application. Will this work Thanks This might help http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconbuildingmulti-fileassembly.asp ...Show All

  • Windows Forms Questions about MSDE...

    MSDE is called a "desktop" DB engine, is it not  I think it is.....so anyway....my question goes like this... I'm writing an app that requires some variables common to all users of the app. The app store much data not does it need much data to run. So, since the company I work for is not ready to purchase SQL server yet (we need&nbs ...Show All

  • SQL Server Porting IFilters or Wordbreakers from 32-bit to 64-bit SQL 2005

    (repost) We have a custom wordbreaker coded and working in SQL 2000 32-bit, and are trying to get it to work in SQL 2005 64-bit. A simple cross-compile as an IA-64 dll worked with no errors, but getting SQL to load or use the file is proving difficult. To make things worse, the LRTEST.EXE that ships with SQL 2005 32-bit seems to be missing for the 64-bit version of SQL 2005, making diagnostics on any wordbreaker or ifilter next to impossible. The registration and where to put the bits in the registry has obviously changed, and the only clue I could find relating to installing a custom word breaker is here: http://blogs.msdn.com/sh ...Show All

  • .NET Development CDO.Message failure when email username contains trailing dots

    I have a SQL2000 SP3 server and a stored procedure similar to this: CREATE PROCEDURE Usp_SendMail @To varchar(100) = '"Administrator"<hi@test.com>', @From varchar(50) = '"Server"', @Subject varchar(50) , @Body varchar(1000) , @Format int = 1 AS DECLARE @object int, @hr int EXEC @hr = sp_OACreate 'CDO.Message', @object OUTPUT EXEC @hr = sp_OASetProperty @object, 'To', @To EXEC @hr = sp_OASetProperty @object, 'From', @From EXEC @hr = sp_OASetProperty @object, 'Subject', @Subject EXEC @hr = sp_OASetProperty @object, 'MessageFormat', @Format EXEC @hr = sp_OASetProperty @object, 'TextBody', @Body EXEC @hr = sp_OAMethod ...Show All

  • Visual Studio How to add solution items?

    Hi, I'm new to this forum. I just wanted to ask for some help. Just got interested with the automation and extensibility functions of Visual Studio. I used the DTE and Solution objects for creating a solution and projects. Here are some of my questions. 1. How do you add solution items 2. How do you reference a project to another Lets say I wanted my Dal to be referenced in my BL. 3. How do you set a default namespace for a project I've been doing this for almost two weeks and I haven't found the object or property for this. Hope you would be able to help me with this one. Thank you very much. ...Show All

  • Visual Studio 2008 (Pre-release) how to open a word file thru my application

      hi, i need to open a word file. i got that solved from a recent thread posted in this forum. i opened it by using Process.Start("winword.exe","C:\myfile.doc"); but it opened in a new window. what i need is, i wanna open that file in  a panel ( a canvas) in my application Window.  How thanX advance, Sris Hi, You add web browser control from toolbox and the load word document in it. Even you can opend any document that browser support e.g. word, excel, pdf and swf etc... Example Load Word webBrowser1.Navigate( "C:\\word.doc" ); Exa ...Show All

  • Visual Basic How to display an alert message in VB.NET

    I am developing an IT Asset Tracking System using VB 2005 Professional. One of the fields I have is a Warranty Start and Warranty Expiry date. I would like to be able to display some kind of informational alert to indicate that a particular asset's warranty has expired or is about to expire in 7 days. How do I go about implementing something like this and where is the best place to display this. Regards Dipendra Let's assume that you have a list of the data sorted by expiration date, which you are keeping updated. (This could be a separate list of existing objects that you are inserting into, or ma ...Show All

  • Visual Studio Express Editions How do I set a variable for Brushes?

    Visual basic 2005 Express Edition: I have a large subroutine that handles printed output. I want to call the same subroutine, but, with different colors. How can I substitute RadioButtonBrush for Brushes.Black, for example, in the code below, so that I can change the color of RadioButtonBrush before calling the subroutine xPos = Center - 1 .DrawString(RadioButtonTxt(i), _ mFont, Brushes.Black, xPos, yPos) yPos += lineHeight ' Under Public Class Form1 say Private mycolor As Brush ' have some event code set the color you want mycolor = Brushes.Blue ' in your drawstring statement, re ...Show All

  • Windows Forms Strange Errors in VS.NET

    Have any of you experienced the following error while compiling a windows forms application: The application fails to compile and the errors are on lines numbered  16707566 +/- .  If you click on the error in the task list it doesn't take you anywhere.  The solution is to close the solution and re-open it. I'm just curious, and yes I am using ...Show All

  • Software Development for Windows Vista Speed difference between GraphEdit and custom application

    Hi, wonder if anyone has encountered this problem. I have a custom transformation filter, which runs basic thresholding computer vision algorithms. In GraphEdit, it uses 47% of CPU capacity and runs very fast, but when loaded into my custom application, uses 99% of CPU capacity and runs very slow. I use an Acer Travelmate 8104 2GHz Centrino. The obvious culprit is the application, which I initially wrote in C# using DirectShowLib from sourceforge.net. But when I wrote a basic application in Visual C++ using native libraries to test that theory, I had the same problem. So, something else is causing a massive speed drain. A search of the we ...Show All

  • SQL Server Reading from a XML Source

    I am trying read certain attribute from a XML Source based on a particular attribute. My XML source has the following Structure:<Database ID = "1" Source = "ABC" ></Database><Database ID = "2" Source = "ABC" ></Database><Database ID = "3" Source = "DEF" ></Database>. I would like to fetch the list of IDs filtering upon Source = "ABC". (which should idealy give me 1,2) I tried using the For Each Nodelist Enumerator By specifying the Enumeration type as Node and IDrect Input for the OuterXpathString as DATABASE[@Source="ABC&q ...Show All

  • Visual Studio Team System Finding each call to a method

    I'm writing a rule that needs to find each call that is made to a method and inspects the parameters that are provided in that method call. I seem to have been able to obtain a list of the callers via CallGraph.CallersFor(Method), but am having trouble getting the expressions / literals that are provided for the parameters, as well as knowing which parameter they relate to. I'm sure there's something obvious that I'm missing. Should I be locating instructions with OpCodes such as call and callvirt instead, and then working my way back up the stack to find the parameters I'd prefer not to have to do this if possible, since it seems that it wo ...Show All

  • Visual Basic No Edit and Continue in VB Project migrated from VS2003

    I've got the message "Cannot currently modify this text in the editor. It is read-only" when I try to modify code after hitting a breakpoint in debug mode. Edit and continue IS enabled in Tools/Options/Debug/Edit and Continue settings I can edit and continue some other VB and C# projects The file has not the readonly file attribute set. It’s checked out from Source Safe The problem with this project could be reproduced in two other machines This project was developed in Visual Studio 2003 and migrated recently to 2005 (I don’t know if this is relevant) It references some third party assemblies made for the .net fr ...Show All

©2008 Software Development Network