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

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

beefeater

Member List

bboylen
WXS123
Hemant Hindlekar
Mainiac007
wasimf
thysie
cdun2
spelger
pdb
OniShiro
ING
vitich
Socal5vee
Maranello
SukhiNew
Mavericko
MojoRising
JustbobChico
Neil East
Demchuk
Only Title

beefeater's Q&A profile

  • .NET Development [C#] shell extension : IContextMenu.GetCommandString

    i am looking into the SDK\v1.1\Technologies\Interop\Applications\ShellCmd which come with VS.Net 2003 (guess, me copy it somewhere from internet) the sample work well except the IContextMenu.GetCommandString, it should show the description on the Explorer statusbar, but it not. me have try to add MessageBox.Show() to check whether it have fired or not, and it fire when me rollover the menuitem. me running Windows XP SP2 is there any idea to make it work :: code copy from the sample :: void IContextMenu.GetCommandString(int idCmd, uint uFlags, int pwReserved, StringBuilder commandString, int cchMax) { switch(uFlags) { case (uint)GCS.VERB: commandString = new StringBuilder(m_items[idCmd - 1].command.Substring(1, cchMax - 1)); ...Show All

  • Windows Forms MSI PRoblem

    I have created a MSI in VS 2005. The MSI copies the file at target location in a folder. But the problem is if the same file is already present on the target location at the same folder then MSI doesn't replace it. Can anyone please suggest how to resolve this PLease note that i have already tried to rebuild Do the files have version numbers Please see topic "File Versioning Rules" in the SDK: http://msdn.microsoft.com/library/en-us/msi/setup/file_versioning_rules.asp You may also want to create a log file ( www.msifaq.com/a/1022.htm ). This should include information why the file wasn't replaced. If this is a Small or Minor Update please also look for SELMGR errors in the log. ...Show All

  • Gadgets All-in-One XML Web Gadget?

    I have just developed a special ATOM feed that really needs to be rendered in a Gadget in order to be best viewed -- the inline HTML must be viewable when someone "subscribes" to the feed, so I easily developed a Google Gadget, which was easy. Everything was inline, maintainable in one XML document. When I explored the Live Gadgets, it seems to me that all the examples in the SDK call external documents: html, CSS, and JavaScript. Is there anyway one can write a Live.com Web Gadget all-in-one The ATOM feed is very simple, all of the content being held within the [CDATA[...]] wrapper. The same thing with the Google Gadget: < xml version="1.0" encoding="UTF-8" > < Module > ...Show All

  • Visual Studio Team System Question about Avg.Page time counter

    Hello, Using VSTS, from the Overall Counter Set, what is exactly the Average Page time Is it (for a real world) the response time in second for a Page to be totally displayed in the Client "browser" Where Can I get more information regarding the schema of a response time /per page and request Is it the time taken from the client (VSTS) to IIS server and back to the client (Round Trip Time) I would like to know how to understand what is teh real meaning of those numbers show in that counters and understand the degree of "simulation" for a "client browser" point of view Thanks a lot in advance Jeanvo #1The agent (or vstesthost.exe for a local run) issues the request and retrieves the response; then optiona ...Show All

  • Smart Device Development Localize Network Folder

    Hi, I need to localize the Network folder (name). How can I do this Thanks in advance, Stefano With WNetAddConnection3 I connect a PC folder to my device. I'll find this folder under the <Network> folder on my PDA. If the operating system is english, this folder is Network, if it's italian is Rete. I need a function to get the localized name. ...Show All

  • SQL Server SQLsvr.exe Process

    There are a few instances of SQL; flavors of sql on a server. Microsoft Embedded SQL Microsoft##SSEE'. & MSDE 2000 SQL. A process of sqlsvr.exe is taking 1.6Gigabyte of RAM. There are several sqlsvr.exe running in process 'task manager. Question- * How do I determine which version of sql is running the sqlsvr.exe process that is consuming this large amount of RAM I need to determine which sql version so I can apply correct Service Packs and Patch. Thanks, Hi, download the sysinternals suite and investigate the threadid (using process explorer and task mamager) which marks the proess you are searching for, have a look at the file access (using the file monitor) to the appropi ...Show All

  • Smart Device Development task manager

    hi, i am trying to make a task manager with the aid of this article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/ProcessManager.asp but this articles shows the running processes in a list without showing the icon of the application beside it in the list. i want to show a list of a the processes with thier icons beside like this program http://www.phm.lu/products/PocketPC/TaskMgr/ thanks You may try to p/invoke ExtractIconEx or SHGetFileInfo routines for every process and then use the technique descibed in this this article from Alex Feinman. ...Show All

  • Audio and Video Development How to set default button and global variables?

    Two questions: 1. Total 3 menus with several buttons in each of them. how can I return to the correct menu with correct button focused after playing through each clip 2. If I have several .js file, where should I set the global variables that could be shared among all .js during disc playback Many thx! Could be a Sonic bug (does it work on HDiSim ) Also remember that you MUST set the XPath variable in your markupLoadedHandler, otherwise the markup engine will crash on all players due to an undeclared variable. ...Show All

  • Visual Studio 2008 (Pre-release) Computer needed to properly develop WPF applications

    Hi! I'm curious what computer do you think is needed to properly develop a WPF application under Vista and run them. What processor, graphics card and how much Ram. Currently I have a P4 3Ghz, 1GB Ram and an (old) Geforce FX 5700LE graphics card, and Expression Blend works very slow for me. Also many applications don't work slow too (programs like Nostalgia, Denounce form Thirteen32 and UniveRRS). I have an 2.1 Aero experience index in Vista. Well, my machine performance rating is only a 3.6 . It runs pretty smooth with VS 2005 & Blend running at the sametime along everything else too. My machine is 2.8 ghz, 2 meg of memory and a Radeon x600 256meg. ...Show All

  • Visual Studio $(MSBuildProjectDirectory)

    hi, i have a questions regards $( MSBuildProjectDirectory ) property, for example when I create <DevSourceDir> tag in the msbuild file I want to assign it to my current project Directory, which is very simple just use MSBuildProjectDirectory but my problem is, I don’t want to use the full path that is coming from MSBuildProjectDirectory I want to actually delete the last part of the path, for example MSBuildProjectDirectory = c:\program file\software1\source\BuildScript But all I need from MSBuildProjectDirectory is = c:\program file\software1\source So I don’t want the last part (\Build Script), so in my case I want to do this <DevSourceDir> $(MSBuildProjectDirectory) excluding this part (\Build ...Show All

  • Visual C++ Optimizing loops with switch() statements?

    I'm implementing a Monte Carlo simulation engine in my pet program right now. Running simulations with up to 200,000 iterations wouldn't be uncommon. With each pass requiring a multitude of calculations, I'm obviously trying to make everything run as fast as possible. My question is this: can I use a switch statement to optimize the loop Outside of the standard optimizations, I was also thinking that instead of having the user input an arbitrary number of iterations, they can select from a premade list (i.e. 1000 times, 5000 times, 25000 times, etc.). I would then use a switch statement to handle the various number of iterations. Would this enable the compiler to unroll the loop to the greatest extent possible It seems that it would ...Show All

  • SQL Server Analysis services?

    Hi! I am confused ...downloaded Microsoft SQL server 2005 (for reporting services) to my Windows 2002 (32-bit systems), but it asks me to install the service packs as well... So Windows XP Service Pack 2 is already installed. And I need to download Windows server 2000 or 2003 R2, but where could I find a free trial version Do I also need Asp.net and IIS I would be very grateful for some help... to clarify which components needed. Analysis Services does not ship with any of the Express SKUs. It is part of the other SKUs (Enterprise, Standard, etc). If you want to play around with it, you can download the evaluation version found here: http://www.microsoft.com/sql/downloads/trial-software.mspx Thanks, Sam Lester (MSFT) ...Show All

  • Visual Basic How do i insert several records into SQLserver (2005)?

    Hi, Im new to VB.NET 2005 and i want to insert several records into a SQLServer database. The first record is ok, but the next will crash. Heres my code: Dim iCnt As Integer Dim cmd As New SqlClient.SqlCommand Dim con As New SqlClient.SqlConnection cmd.Connection = con con.ConnectionString = "[MY CONN STRING]" Try con.Open() For iCnt = 0 To 9 cmd.CommandText = "INSERT INTO Prod (Field1, Field2, Field3) " _ & "VALUES (@Field1,@Field2,@Field3)" cmd.Parameters.Add("@Field1", SqlDbType.NVarChar, 10).Value = "Test " & iCnt cmd.Parameters.Add("@Field2", SqlDbType.NVarChar, 20).Value = "Another test " & iCnt cmd.Parameters.Add(& ...Show All

  • Visual C# Typing in Visual Studio 2005 Text Editor is extremely slow

    Has anyone else noticed that typing in Visual Studio 2005 is extremely slow   Whey I type it seems that the screen is always 2 words behind where my hands are.  It makes it extremely frustrating to get anything done. I'm mainly referring to C# code.  It seems like Intellisense is going nuts trying to guess every word I'm going to type and never actually prints the characters to the screen. Has anyone else experienced this   Is there an option I can turn off to get my text editor back ! By the way, I have a very fast computer with Dual 3.0 GHz Zeons with 3GB memory and everything else that should make "typing" very fast. I had the same problem - very slow typing - after I turned on wordwrap. I have now turned i ...Show All

  • Visual Studio Team System Renaming Objects & Generating scripts? How handled?

    I haven't had a chance to play around with the new tool too much yet, but will quite a bit in my new role (once I start it.....). I remembered an issue from previous dev days and a different tool where the developer had renamed an object within SQL Server. I ran the change compare, generated a script, and reviewed with the developer. He was okay with it, even though it dropped one table and created a new one instead of renaming it. The question I have here - what will happen if I rename an object inside the tool Will that name change be generated as part of my change script or could I potentially run into the same issue as the very bad one that happened in my example above. I realize that I have no control outside of the tool, but that le ...Show All

©2008 Software Development Network