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

Software Development Network >> Ben Santiago's Q&A profile

Ben Santiago

Member List

Basiclife
Evan Mulawski
Redgum
kart
akaRickShaw
Salvatore Di Fazio
Fran431916
hye_heena
Rumen Filkov
vladb
Ed Dixon
Sniper167
CodeJingle
michaelleewebb
TedWagner
NotMyself
sean3409
kymaita
Joseph22
elamathi
Only Title

Ben Santiago's Q&A profile

  • Windows Forms ContextMenuStrip & MenuStrip fading

    Hi, Does anyone know how to enable "fading" for the new "ContextMenuStrip" and "MenuStrip" objects When I select all the fading options such as "Fade or slide menus into view" and "Fade out menu items after clicking" through System Properties -> Advanced -> Performance Options -> Visual Effects (basically I just choose the "Adjust for best appearance" option), all the main menus and context menus in all the applications (anywhere from notepad to office applications) have fading enabled except for the app I'm writing in C# using VS 2005. The menus in my app just pop up without a fade-in. I've tried different render modes on the items but I could not produce th ...Show All

  • Visual Studio Express Editions I lost the Registration Key

    I have had Visual Studio express for almost a year now, and when I downloaded it I, of course, procrastinated the registration. Now, it tells me that I have 26 days to register. This wouldn't normally be a problem except for the fact I lost the key. Is there a way to find the old one or obtain a new one without having to re-download it over or something like that Thanks! ~Dariusz iccle wrote: From the registration FAQ at: http://msdn.microsoft.com/vstudio/express/register/faq/ 9. I registered my Express Edition and received my registration key, but I misplaced it before copying it into the Product Registration dialog. What should I do You can obtain a new valid r ...Show All

  • .NET Development I don't think so

    I've found that JScript is powerful script. It can do many thing. Example i can format a drive or change priority of process... But i don't know whether jscript call Win32 API. Please answer this question for me. And if jscript can using Win32 APi, please tell me the way to call some Win32 API function such as ExitWindowsEx in User32.dll or DeleteFile in kernel32.dll. Thanks and best regards. I don't know how to call Win32 API using JScript (Window Script Host). Because i found that Window Script Host (JScript) is a powerfull Script. I can use Window Script Host to read or write to Registry or change priority of process, so i think there have some way to call API using Window Script Host. Can you tell me my opinion right or wrong, Wh ...Show All

  • Visual Studio Team System Unit Test Wizard on WPF based Window and User Control

    Hi, I am trying to do auto generation of unit test cases for my WPF based project using the VSTE Unit Test Wizard. However, when I tried to use the wizard it seems like it displays only the project's namespace without any of the classes. In effect it doesn't generate any of the test cases for the project at all. Is there a patch for Visual Studio Team System to allow me to auto generate test cases for my WPF based projects Thanks and Advance. Regards, Alex Hello Alex, Unfortunately test generation for WPF projects is currently unsupported. We will be addressing this issue in future versions of Visual Studio. The current workaround is creating your test stubs manually. Thanks, David Gorena Elizondo ...Show All

  • Visual C++ Small executables

    Hello. I'm working on a project where file size matters. I'm compiling an empty project about 6-7 kb-s. is there anyway to get smaller file thanks, I know about packers. I will use them, but what I want is that I saw some compiled exe files which were 3 kb. so I wonder, is there any way i can compile exe files in such size using VS 2005 ...Show All

  • Software Development for Windows Vista Transaction failed

    Heloo, has anyone any idea about this error loged in MsDtcCMErr.. log file 11-24-2006 13:07 51:541: CM Error Value = 0x00000005, Call to RpcEpResolveBinding failed, d:\qxp_slp\com\com1x\dtc\dtc\cm\src\iomgrclt.cpp (453) 11-24-2006 13:07 51:541: CM Error Value = 0x80004005, Call to SetRpcSecurity failed, d:\qxp_slp\com\com1x\dtc\dtc\cm\src\iomgrclt.cpp (533) 11-24-2006 13:07 51:541: CM Error Value = 0x80004005, SecureBuildContextWrapper call failed. This is usually due to security/network configuration issues., d:\qxp_slp\com\com1x\dtc\dtc\cm\src\iomgrclt.cpp (332)   Exception raised in the rpc call C_BuildContextW., d:\qxp_slp\com\com1x\dtc\dtc\cm\src\iomgrclt.cpp (607) 11-24-2006 13:50 34:764: CM Error Value ...Show All

  • Software Development for Windows Vista Writing to HKLM

    I'm using the RTM release of Windows Vista and testing my application to see if it will run on Vista as a standard user. I'm seeing some strange behaviour and I'm wondering if anyone can help me figure this out. My application writes some data to HKLM\Software. I was expecting to see this write getting redirected to the VirtualStore when running as a Standard user. However, that does not seem to be happening. My app is able to write to HKLM\Software. My app is not running with elevated privileges and Virtualization is ON. I even tested my app with the Standard User Analyzer tool thinking it would possibly show me some errors when writing to registry but nothing showed up there either. Strangely enough, I see the same behavior when running ...Show All

  • Visual Basic Representing a Method

    I am currently working on a module that contains a class that will help me in my future VB projects. I need to know how to make a object that holds a method, so that I can set that object to the method I want exicuted at a latter time. Any help would be much appreciated. ---- Just in case I did not make myself clear, I will try to show you what I want; I kinda want to do what is shown below EXCEPT with methods instead of objects: Dim SuchAndSuch as Integer Public Pic_Holder as PictureBox = AlreadyMadePicBox1 Pic_Holder.Left = SuchAndSuch Im pretty sure I already knew how to create an object, but its my fault for not making clear what I want; let me explain better. My module is a enha ...Show All

  • SQL Server connection string error

    OK - I have seen lots posted on this, but the behavior is very strange, and I am trying to understand: I am using Visual Basic 2003 with SQLEXPRESS 2005 to connect to a database and to develop a desktop application. My connection string is: Conn_Str = "Data Source=.\SQLExpress;AttachDbFilename=" & _ Directory.GetCurrentDirectory & "\CWW.mdf;" & _ "Trusted_Connection=Yes;" I get the following error: "An attempt to attach an auto-named database for file C:\Documents and Settings\Brian\My Documents\Compressor Program Development\bin\CWW.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share." However, if I c ...Show All

  • SQL Server Update temp table with stored procedure joined with table

    Hello Is it possible to insert data into a temp table with data returned from a stored procedure joined with data from another table insert #MyTempTable exec [dbo] . [MyStoredProcedure] @Par1 , @Par2 , @Par3 JOIN dbo.OtherTable... I'm missing something before the JOIN command. The temp table needs to know which fields need be updated. I just can't figure it out Many Thanks! Worf In addition to what has been said, if your procedure doesn't make any changes to the database, then you could rewrite it as a function. You could call it from a procedure as well, if you need to maintain a constant public interface. Then it is easy: [dbo] . [MyFunction] (@Par1 , @Par2 , @Par3 ...Show All

  • Smart Device Development Application.Exit() problem

    Hi, I use the Application.Exit(); to exit my program. Sometimes, the program exits. But sometimes, the program dies without response. What is the problem Thanks. Toby ...Show All

  • Software Development for Windows Vista Monitoring problems

    Hey! Just installed Vista a couple of days ago, and it works really smoothly, except one problem. When I start a game, and try to tab out - the only thing that happens is that I get alot of thick green/white lines all over my monitor (A 19" Sony XDK95) the same happens when I don't touch the computer or any programs are running (It takes maybe 30 minutes) there's no way to get into Vista, I have to reboot every time. I'm going VGA->Dvi (Monitor->GFX) I've got the newest GFX drivers (Nvidia 7950 gt) My other specs are (If that should matter somehow) is E6400 2,13ghz Core2duo, 1gb of DDR (5400 Corsair memories) and Msi Power up Edition. Anyone encountered the same problem and knows how to solve this issue ps: (Whil ...Show All

  • Visual Basic Calculations

    This is totally differetent from Access I have got a field's property set to money I need to divide that field by 2(sounds simple) but VB is haven a fit. I am used to me.text1= me.text2 / 2 its saying that / is not defined how do you divide and multiply in VBE Davids Learning Thanks I needed that! Thats probably why my old apps sometime act a little funny. But that is why I am doing this to get away from Access and the issues that I had. It will take me about 8-10 months to put my app together and get it published. But I do like what I've seen so far, and I can tell things will be better, so it is worth what I am going through. Thanks for the pick me upper! Davids ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. VertexBuffer and IndexBuffer For Height Map

    I'm trying to create a heightmap from an image using a VertexBuffer and IndexBuffer but it isn't working. When I run my program, I just see a blank screen. Any ideas using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace HeightmapDemo { public class Heightmap { public static float HeightScale = 50f; public static float CellSize = 20f; protected VertexPositionNormalTexture[] vertices; protected short[] indices; protected VertexDeclaration vertDecl; protected VertexBuffer vertBuffer; protected IndexBuffer indexBuffer; protected BasicEffect effect; public void GenerateModel(GraphicsDevice graphicsDevice, Textur ...Show All

  • Visual C++ pdh.h - Error Occured

    When I include the pdh.h header file I recceive the following error: error C2040: 'HLOG' : 'void *' differs in levels of indirection from 'struct _HLOG' The error occurs in the header file. Any idea what could I be doing wrong Thanx in advance The only programmers that are better than C programmers are those who code in 1's and 0's..... Programm3r   pintu* wrote: [...] Actually VC6.0 Doesn't Contain any File With name <LMJoin.h> [...] Nevertheless the erroneous line 50 " typedef HANDLE HLOG "  seems to be in PDH.h file from Visual C++ 6.0. Maybe the author mixes files from different versions of Visual Studio   ...Show All

©2008 Software Development Network