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

Software Development Network >> Frank Flack's Q&A profile

Frank Flack

Member List

Shawn Wildermuth - MVP (C#)
Mark Benningfield
JackStri
Igor D.
Marius Onofrei
SJ0775
ArcPadNewbie
vivian20060829
soulmate75
Kartit
StevenR2
dashley
ekkapop
IamHuM
mattdawg
ManojS
bxchan
Guybace
DBRICHARD
Jimmy Seow
Only Title

Frank Flack's Q&A profile

  • Visual Studio Is there a Multivalue property for (Select All)

    The article "Using Parameters in Expressions" in SQL Server 2005 Books Online ( http://msdn2.microsoft.com/en-us/library/aa337293.aspx ) discusses various properties of Multivalue Parameters, for instance: =Parameters!<MultivalueParameterName>.IsMultiValue What I don't see is a property that exposes the True/False value of the (Select All) option. Obviously, the reportViewer is aware of this value, but it does not appear exposed in the API. We are very interested in evaluating if the user has selected the (Select All) option. MSFT...Might this be one of the features in the SP1 update, but not yet documented in Books online Thanks - Mike Hi Robert, I think you have misun ...Show All

  • Visual Basic retrieving a selected value from DataGridViewComboBoxColumn

    How do you retrieve a selected value from a DataGridViewComboBoxColumn Thank you, I managed this with MsgBox( "The content of the Combo box is " & Me .DataGridViewTextBoxColumn5.DataGridView.CurrentRow.Cells(0).Value, MsgBoxStyle.OkOnly) seems rather a long winded way to get a control value, but I did get there. ...Show All

  • Visual C# How do I execute a vbscript from a c# windows application?

    I've created a simple windows form-based application that has a single "start" button. When this button is pressed, it fires off the following code: strFileName = "cscript.exe"; strArgs = "c:\\scripts\\Admin\\Info.vbs >> c:\temp.txt"; strWorking = "c:\\windows\\system32"; System.Diagnostics.Process objShellProcess = new System.Diagnostics.Process(); objShellProcess.EnableRaisingEvents = false; objShellProcess.StartInfo.FileName = strFileName; objShellProcess.StartInfo.Arguments = strArgs; objShellProcess.StartInfo.WorkingDirectory = strWorking; objShellProcess.StartInfo.CreateNoWindow = true; objShellProcess.StartInfo.UseShellExecute = true; objShellProcess.StartInfo.WindowStyle = System.Dia ...Show All

  • SharePoint Products and Technologies SharePoint Webcasts for March

    TechNet Webcast: Planning for and Deploying SharePoint Server 2007 (Part 2 of 2) (Level 200) Friday, March 16, 2007 - 9:30 AM - 10:30 AM Pacific Time Blain Barton, TechNet Presenter, Microsoft Corporation http://msevents.microsoft.com/CUI/EventDetail.aspx EventID=1032330088&Culture=en-US TechNet Webcast: Security for SharePoint Products and Technologies (Level 200) Monday, March 19, 2007 - 9:00 AM - 10:30 AM Pacific Time Michael Murphy, TechNet Presenter, Microsoft Corporation http://msevents.microsoft.com/CUI/EventDetail.aspx EventID=1032330328&Culture=en-US TechNet Webcast: Installing and Configuring Search in SharePoint Server 2007 (Level 300) Wednesday, March 21, 2007 - 9:30 AM - 10:30 AM Pacific Time Karl Kuhnhausen ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Graphic Card Questions

    I am wanting to start messing around with the XNA Game Studio Express to try and learn how to make Xbox 360 games. I am getting a Dell from my sister that is a couple of years old to use for this. It has an Intel 82865G graphics chip so I figure I will need to get a video card for it but I really don't keep very up-to-date when it comes to PC hardware. The system is a Dell Dimension 3000 P4 2.8GHz which doesn't have PCIe or AGP so I will need a plain-jane PCI graphics card. I don't plan to join the Creators Club until I have something worth deploying to the Xbox 360 so the PC will be the main thing I will be running any games on for the time being. I know it would be better to get a system with PCIe (or even AGP) but I basically want to i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I like that... maybe with a list?

    Hi: Are there any tutorials regarding applying any effects to sprites or textures For example I want to apply 'motion blur' based on the sprites velocity vector. Do I need to write some kind of custom shader or does the XNA framework have this included Any help greatly appreciated! Regards: John Drawing 10 instances may not be anywhere near as slow as you are expecting. As long as you use a single SpriteBatch object to draw them all, only begin drawing once, then draw all the ghost images within that single begin/end block, it will be pretty quick. ...Show All

  • Visual C# C# pointer

    I need to create a C# pointer for a DLL function. I wrote byte* Read_Data_ptr, but I get the error: Pointers and fixed size buffers may only be used in an unsafe context Any help with this would be geatly appreciated. Thank you, Mike It shouldn't need to be a pointer. I looked at the documentation for your USBm.dll library. If you look at their Visual Basic declarations: Public Declare Function USBm_WriteA _ Lib "USBm.dll" _ (ByVal device As Byte, _ ByVal data As Byte) _ As Integer and Public Declare Function USBm_ReadB _ Lib "USBm.dll" _ (ByVal device As Byte, _ ByRef data As Byte) _ As Integer Then you can see that for USBm_WriteA , device is passed by value, ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Content Pipeline and FX files

    I noticed that on the post which Michael Klucher made on the content pipeline back in August that the FX files had importers for the Content pipeline included. I was wondering if anyone knew how it works ie does it a: simply compile the shader and create the binary shader file, which is loaded in at runtime b: Create an effect wrapper around it. By this i mean a little like a strongly typed dataset - rather than having to constantly lookup what parameters are required by a particular shader (ie worldviewproj), does it created a descendant of Effect and have properties that are set at designtime, so we know that we should never get errors from passing in values with incorrect names. I would guess that a is what will be in there, bu ...Show All

  • Visual C++ Intellisense becoming unable to resolve objects

    I'm posting this here and not in the general Visual Studio forum because my experience so far tells me the situation with C++ is different than with, say, C# (I have so far at least one example where VS's tools behave worse in the C++ environment than in that of C#). I have Intellisense getting confused and unable to resolve objects so often that I find myself closing the solution, deleting the *.ncb file, and reopening the solution. It almost makes me wish I had a "rebuild Intellisense" button... Kamen That's good, let's do that. Just one technical question. When I do come across the issue, I'd want to "freeze" my environment and send it to you so it can (hopefully) be reproduced. (And let's say that I'm willi ...Show All

  • Visual Studio Tools for Office Publishing Outlook Addins -- Does Publish Actually Work with Outlook?

    I realize that the pseudo-ClickOnce publish feature cannot deploy an Outlook app because it can't set CAS or create the necessary registry entries. So what can it do, with regard to Outlook addins I envisioned an msi-deployed Outlook addin, with an embedded application manifest that points to a deploy point. The idea is that you run setup once to install your addin, using the "add file" functionality of the setup project to include the application manifest from a previously-published deployment package. The setup program sets CAS and modifies the registry to point to the app manifest. Since the app manifest was actually created with the publish functionality, it actually points to a valid deployment manifest. Later, when ...Show All

  • .NET Development Why isn't this Select Statement working?

    I changed my code to this string createString = "SELECT * " + "FROM GeoLiteCityLocation " + "WHERE locId = '130957'" ; cmd.CommandText = createString; OleDbDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { MessageBox .Show(dr[0].ToString()); } dr.Close(); From this, which worked, string createString = "SELECT *" + "FROM GeoLiteCityBlocks " + "WHERE endipNum = '67129343'" ; cmd.CommandText = createString; OleDbDataReader dr = cmd.ExecuteReader(); while (dr.Read()) { MessageBox .Show(dr[0].ToString()); } dr.Close(); and now I am getting an exception that say's Data type mismatch in criteria expr ...Show All

  • Visual Studio Tools for Office Error HRESULT E_FAIL has been returned from a call to a COM component.

    And back to the error with no meanings: I’ve created a document, published it on an IIS, and opened it from the IIS, resolved the security problems, and now facing this error message: Error HRESULT E_FAIL has been returned from a call to a COM component. ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been returned from a call to a COM component. at Microsoft.Office.Core.CommandBarControls.Add(Object Type, Object Id, Object Parameter, Object Before, Object Temporary) at CreditCommentsDoc.ThisDocument.ThisDocument_Startup(Object sender, EventArgs e) at Microsoft.Office.Tools.Word.Document.OnStartup() ...Show All

  • Visual Studio Team System New TFS VersionTree addin

    All, I just wanted to let people know that a new TFS version tree addin for Visual Studio is available from the wesite below http://www.cupithome.com/foundationtree/home.html Please feel free to download and try it out. Jem Jem, The screencaps from your site look great. I downloaded v1.1 and installed it, but I am also getting the "Invalid License Information" found message in the license dialog. This is my first installed version, so there is not collision between this version and v1.0. I'm really looking forward to using this. - Steve ...Show All

  • Visual Studio Team System TF command line checkin

    I am trying to update our old vss command line scripts to be used with Team Foundation Server. I have successfully tested the tf get , tf label and tf checkout commands. However when I run the tf checkin command it returns 'No files checked in' I am using this command line: tf checkin /comment:"Doing a new build" /override:"Build process commandline checkin" /noprompt On the screen I am seeing the check in policies that are not being meet (in yellow), then a line saying policies have been overriden (in blue) then 'No files checked in'. If I just type tf checkin and go through the GUI the files are checked in. Am I missing something or is this a bug Thanks, John Ames John, I've tried to repro this, but I can't.  I'll need some ...Show All

  • Visual Studio Express Editions Directory in Use

    Hi everyone! I am currently writing an app that needs to delete a directory, however, when I use the Filesystem.DeleteDirectory , I get an error "Directory in use." I've checked all the connections in my app, but can't find any answers. Can anyone please help me Johannes No, there is no all-in-one. You must be able to understand and handle errors and limitations that the operating system may throw at you. For example: My .Computer.FileSystem.CurrentDirectory = ( "c:\aaa" ) My .Computer.FileSystem.DeleteDirectory( "C:\aaa" , FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin) Will cause your error, because your program has the directory to be deleted as it's curre ...Show All

©2008 Software Development Network