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

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

Frank Miller

Member List

Bill Gates II
Neotick
Cordell Swannack
DonMartin
DixieDog
mido1971
Chapio
Sharma Rajat
humbroll
CSharpNewbie22
WinFXGuy
sudheer_316
PeterVrenken
UnKnown Nick
Fiddel
notoriousport
sql2005 user
NH_Mtn_Biker
enric vives
mpco
Only Title

Frank Miller's Q&A profile

  • Windows Forms Custom Menu's

    Hi Folks, I'm using MS Visual Studio with Managed C++ and I'm curious to know how I might go about trying to get Menu's that look similair to the fancy ones in MS Outlook 2003 Any ideas -Zero There's no "out-of-box" control in VS2003 to do this as far as I know. You can play with DrawItem/MeasureItem events in order to customize the painting, but in VS2003 this functionality is not provided by default. ...Show All

  • Connected Services Framework New features/enhancements in next version of CSF

    Hi, Please let me know what new features will be available in next version of CSF – especially the enhancements to the existing features and from developer productivity point of view Thanks, Ashish Malhotra Hi,   When do you plan the next release of CSF  Will it happen this year   Thank you ...Show All

  • Visual Basic datetime field

    i m working in vb 6 and sql 2000 i have a table in sql with fields like revtime (datetime) i want to add date and time in field revtime which is datetime field through a recordset from vb 6 recordset!revtime= what will be the syntex for doing this ...Show All

  • Windows Forms How to determine position of a button control?

    Hi, How to determine the position of a button control (which is on windows forms) with respect to monitor Actual requirement is as below: I have a parent form with a button control in it. Whenever button is clicked, an another form is poped up. I would like to position the popup dialog near to the button control. Thanks & Regards, kalai   Hi we assume that your button is called button1 and your new to poen form is called form2 Dim point As New Point(Button1.Width, 0) point = Button1.PointToScreen(point) Form2.Show() Form2.Location = point   Remco ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA 360 Payment Methods

    Hello all, I've been really interested in XNA for a while now and today it's finally released! However... Since I don't have a credit card (and I don't intend to get one) it seems I won't be able to buy it! So obviously my question is, is there any other payment methods besides credit card (ex: Microsoft points ^^) Thanks. The current implementation is not permanent, at least from what I've seen the XNA team say. The current implementation is what could be done given the time frame that they had and the need to make sure security was ensured. Patience young Padawan, and all shall be revealed in time. ...Show All

  • .NET Development How can I convert this c# code into a regular expression?

    I'm trying to create a "path validation method" to check if a string can be used as a valid path in my program. The path must contain an indication character at the beginning of it which can be either minus, tilde or a dot. In case of a minus character than it must be followed by a number. In case of tilde or a dot than it must be followed by any valid step format. A valid step format is either a s tring enclosed by a sharp brackets , a number or a combination of a string enclosed by a sharp brackets followed by a number without white spaces between the brackets and the number. After the initial step we can have a dot separator to indicate that we have additional steps that must follow the normal step format without the starting indicatio ...Show All

  • .NET Development Looking 4 a simple TCPClient.BeginConnect sample...

    Networking code, makes my head hurt. I am trying to create a class that implements a form of connectionless messaging. I have my DoSendMessage method that is using TCPClient.Connect but the problem is that if the server is not availible the Connect method hangs for about 5 secs while it tries to connect. Meaning my application also hangs. Very bad.... What I am looking for is a COMPLETE and WORKING sample that is simple and uses the asynronous method for connecting using TCPClient.BeginConnect. But I have not been able to track down any easy to fallow sample code. Does anybody know of any tutorials or links that can help me out. Thanks in advance! My code is as fallows ... Private Sub DoSendMessage(ByVal Server As IPAddress, B ...Show All

  • Visual Studio Tools for Office Shutdown word application forcefully

    How to shutdown word application forcefully without even saving the document using VSTO This sounds like a strange requirement. But, it is a valid scenario for my application. Thanks, Yuhang. object SaveChanges = false; object OriginalFormat = Word.WdOriginalFormat.wdWordDocument; object RouteDocument = false; ((Word._Application)Globals.ThisDocument.ThisApplication).Quit(ref SaveChanges, ref OriginalFormat, ref RouteDocument); ...Show All

  • SQL Server Usage base aggregation design.

    I have collected statistics of cube usage. I start Usage Based aggregation wizard, but it shows 0% stubbornly for reached performance gain. What to do Is this wizard mature thing (SP1 + hotfixes) or better to leave this thing on the shef and make aggregation manually Usage Based optimization wizard is running variation of Aggregation Design with additional weights given to the aggregations answering queries logged in QueryLog. You should first take a look at the things that influence aggregation desing algorithm. Analysis Services performance guide talks in length about aggregation design. Take a look at the AggregationUsage property. As for the future. You should expect upcoming SP2 going to have ...Show All

  • Visual Studio 2008 (Pre-release) Destroy event for FrameworkElement

    Hello, I have a UserControl on one of TabItem pages on the TabControl. I would like to subscribe to some event that notifies me when UserControl gets disposed. Similar to Control.Disposed under WinForms. FrameworkElement.Unloaded event is not good because it is fired not when control is disposed, i.e. it fires when switching between pages in TabControl for the UserControl positioned on the closing tab. Any ideas would be welcome. Edmundas I do not beleve there is an event like what you are asking for. There is the standard GC finalization process for when the object is recovered by the garbage collector, but that could happen any time after the object is not live. You could use unloaded and che ...Show All

  • Windows Forms how to open MdiChild from another MdiChild

    I open MdiChild_1 from the parent MainForm and I want to open MdiChild_2 from a button on the MdiChild_1 I tried this code but not working.. frmMain MainForm = new frmMain (); frmRemarks RemarksForm = new frmRemarks (); RemarksForm.MdiParent = MainForm; RemarksForm.Show(); problem solved with: frmRemarks form = new frmRemarks (); form.MdiParent = this .MdiParent; form.Show(); ...Show All

  • Visual C++ 1>.\Form1.cpp(3) : fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory

    This is anoing, 1>.\Form1.cpp(3) : fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory ,  I include everything in the VC++ directory in options Project directories $(Program Files)\Microsoft Platform SDK for Windows Server 2003 R2\Include $(Program Files)\Microsoft Platform SDK for Windows Server 2003 R2\Bin $(Program Files)\Microsoft Platform SDK for Windows Server 2003 R2\Lib $(VCInstallDir)bin $(VCInstallDir)include $(VCInstallDir)PlatformSDK\bin $(VSInstallDir)Common7\Tools\bin $(VSInstallDir)Common7\tools $(VSInstallDir)Common7\ide $(ProgramFiles)\HTML Help Workshop $FrameworkSDKDir)include $(FrameworkSDKDir)bin $(FrameworkDir)$(FrameworkVersion ...Show All

  • Visual C# How to set image property of buttons in a DataGridViewButtonColumn??

    I want to display a icon on each of the buttons of a DataGridViewButtonColumn.. So that the icon is displayed when button is pushed and the icon is made invisible when its pushed again. There is not an image property for the DataGridViewButtonColumn you can however draw the image in the cell paint event. Here is a simple example. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.SqlClient; using System.Drawing; using System.Text; using System.Windows.Forms; namespace CSButtonColumn { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load( object sender, EventArgs e) { String st ...Show All

  • Windows Forms Intellisense style code completion

    Hello I'm making a development environment for Javascript applications, using VB.NET 2005. My question is this: How do I make an IntelliSense-style automatic code completer Thanks in advance. this will involve looking up your list of words as well as implementing say, the textchanged event and creating custom control, like a listbox type, similar to the way VS works when you type in the first couple of characters of the keywords/classes/functions etc.... So say you have an RTB (Rich text box, not Return To Base) control, implement the textchanged event or better yet, the keypress/keydown event. Once the event is fired, show the listbox with the keywords filtered in depending on the text that has currently been entered. It's ...Show All

  • Audio and Video Development aquiring IDirect3DDeviceManager9 interface from within a Media Player Plug-ins

    I would like to develop a media player add-ins for vista to control a custom functionality exposed by a display driver (dxva 2.0 decode extention). To do that, I need access to IDirect3DDeviceManager9 interface from within the plug-in compoent. Is it possiable to aquire this interface from with in the plug-in component How Are you talking about a Windows Media Player DSP plugin Unfortunately, at least in Media Foundation (the media pipeline that WMP uses for playback of most WMV, WMA, and MP3 files on Vista), there isn't a way to make this happen from an effect that isn't a decoder. The reason is that WMP uses the default Media Foundation topology loader, which sets up D3D stuff only on decoders that i ...Show All

©2008 Software Development Network