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

Software Development Network >> Tom Frey's Q&A profile

Tom Frey

Member List

dsallow
webflier
bsam
edukulla
allenwfc
Robin Debreuil
andrew17
Imesh
Buddy
Jim Bennett
keithpsft
riemerg
Fire3.san
Troy Lundin
Hans H
Sunkyu Hwang
shmulik_segal
lou_1
bahadir
redfish
Only Title

Tom Frey's Q&A profile

  • Visual Basic adding handler to a button generated at runtime

    everytime I try to add this code: AddHandler btnLogin.Click, AddressOf mybutton_click it gives me the following error: name 'mybuttom_click' is not declared. Here is the code that I am using to create the button: Imports System.Drawing Module formsLogin Public Function loginForm() Dim btnLogin As New Button With btnLogin .Location = New Point(55, 75) .Text = "Login" .TabIndex = 3 End With Dim btnCancel As New Button With btnCancel .Location = New Point(175, 75) .Text = "Cancel" .TabIndex = 4 End With D ...Show All

  • Visual Studio 2008 (Pre-release) XamlWriter how to serialize a collection ?

    Hi, I'm trying to use XamlWriter to serialize a tree of object which are not UIElement. It work fine & my Properties are serialized in the xaml but not when they are Collection like List<T> here my test sample :   using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; using System.Windows.Markup; using System.Xml; namespace XamlTest { public class MyNode { private string _Name ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XACT postmortem from a sound designer

    Hi all, I’m on the tail end of initial implementation of sounds created by the XACT engine and I figured this forum deserved a little postmortem (even though its not dead quite yet) that covered the XACT tool, the process, and the implementation. A quick note about who I am: My name is Rene Coronado and I work for Dallas Audio Post Group. I am an audio engineer and sound designer with a history in television and film, voice production, and long form things like corporate training. I’m not a programmer, level designer, writer, or producer. I am a gamer as well as a fan of film, good tv, and sports. My company was charged with re-doing the sound for a first person shooter MMO type game that has al ...Show All

  • Visual Studio Express Editions How do I

    Hi, How do I get a form that I have designed to do the following: Take the data from 5 seperate input boxes (5 seperate text boxes used for input) and output the largest and smallest number to seperate output boxes (2 seperate labels used for output). If the user inputs a number in each box for example 25, 15, 75, 45 and 67 and then clicks my button "Find" I want the largest number to go in the largest output label and I want the smallest of them to go in the smallest output label. How do I code my button to take these 5 input numbers regardless of their order and output only the largest and the smallest of the group of numbers I hope someone understands what I am asking. Thanks, DC Thank you for explainin ...Show All

  • Visual Studio Express Editions convert from code from visual c++ 2005 to visual C++ 6.0

    hi, i have a code thats written in visual studio C++ 2005 express edition and i want to convert it to its previous version ( visual c++ 6.0 ).. i have used the STL in my code and it does not run on 6.0 .. the error that is being shown is that ostream : ambiguous symbol.. how can i rectify this problem.. and more the workspace or project file for the 2005 edition is .vcproj.. can i open it in VC++ 6.0.. if yes then how.. and if not then what can be done.. You can't use your .vcproj file in VS6. To help you diagnose the ostream error, we need to see the exact error message and the snippet of code that generates the error. ...Show All

  • Windows Forms Drawer for form?

    Hullo all, I was looking around with VS2k3 and wondering if there was any way to have a 'drawer' component on a form. Off hand I can't think of any windows programs that have one though there may be some out there, what comes to mind is Apple and OS X. For example, If you were to create a document viewer where the center of the app was a text editor you could click a button and a 'drawer' would pull out of one side of the form that would allow you to choose different files to view. Is this functionality in VS or is it (as of right now) Apple only Thanks Thomas The only programs I can think of that have this feature are OS X programs like iCal.... Would there be a way to create my own component to do somet ...Show All

  • Visual Basic PrintForm does not Install via ClickOnce Deployment

    PrintForm works on my development workstation in both IDE & the application EXE installed from ClickOnce site. However, on 2 client PCs, both running Windows XP, the EXE fails with "Could not load file or assembly 'Microsoft.VisualBasic.PowerPacks.Printing.PrintForm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified." During ClickOnce install: No errors. In fact, I can find no install log in C:\WINDOWS\Temp\Temporary Internet Files afterwards. No signing. No elevated permissions. gacutil finds Microsoft.VisualBasic.PowerPacks.Printing.PrintForm on my development workstation, but does not find it on a client PC. the e ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Playing Cards ?

    How would I approach a 3D representation of a playing card(s) If using a model, would 52 different models be required so that each card has it's own texture Can user primitives (i.e. 2 triangles to make a card shape) have different textures on each side What would be the best method for this Bill Reiss wrote: And when I say I'd like a 3D card rendering engine, I'm not talking about the dime-a-dozen card engines out there, I'm talking about something almost photo-realistic for the cards (similar to how pretty the Pocket-Jongg sample in the video montage makes those mah-jongg tiles look). And I'd like it to be free to the XNA community. Hey well I can dream. So who wants to take that project on ...Show All

  • .NET Development Insert passwords to sqlserver

    How can I insert passwords as '*' into SqlServer Thank you not sure I follow. If you insert * into SQL Server then it won't really be a password as it is just storing the textual values. You would need to insert the passwords as encrypted from the client then decrypt it when reading it from the database (Encryption/decryption algorithm). This is what most people do. SQL Server just stores the data as is. It's the Client's responsibility/job for inserting it and making it secure ...Show All

  • Visual C# How to get .NET control properties from WindowHandle for a .NET control that is running in a different proc?

    What I want is this:-- 1. I have window handle for a control, which is running as a different process 2. I want to get/set Forecolor, Backcolor, Anchor, Text, Font and likewise. How can I do that I was trying to do SetText() by pInvoke but although it is doing it [The changed text is shown by Spy++] but it is not showing to the naked eye. Actually here is the answer to the query:-- http://msdn.microsoft.com/msdnmag/issues/06/04/ManagedSpy/ And, this comes with a library that does that. ...Show All

  • Windows Forms Using a Form app's classes in another app

    I have a Forms app and want to use some of the classes from it in another app. I created a Solution file with both apps as projects, added the source for the shared classes to both projects, and compiled both. The original app runs, but the new app throws a "Cannot find the assembly MyOriginalProjectName " exception. Wassup The source files should be stand-alone, without any dependency on either app. The original app is a .exe and the Add References dialog only accepts .dll files. How do I use the same source in two different apps When you add a reference, there are 5 tabs at the top, with .NET selected. Select Projects, and try adding the reference to the other project. -Scott ...Show All

  • SQL Server SSMS scripting Stored Procedures to separate files

    I have noticed that in (SQL Server Management Studio) SSMS the ability to individually script stored procedures appears to have been removed (it was there in Enterprise Manager (SQL Server 2000) and I found a comment in another thread which appears to confirm this: Steven Twitchell wrote: >We've had several requests from various sources for functionality to script objects to their own files rather than one large file. I have been scripting stored procedures to individual files and then using sourcesafe to compare databases to ensure syncronisation with a client. I can do this on one file but it does not give the same granularity in my audit history. My question is therefore: Is there a workaround in the command line / T-S ...Show All

  • SQL Server undo delete statement...is it possible

    I've made a very silly mistake. I was supposed to run this statement delete table_columns where col_id = 1223 but instead I mistakenly executed just the 1st line. I have no backups....is there any possible way to undo this before my boss finds out thanks.... I know that this advice doesn't help you with your current predicament, but it is often a good idea to issue a BEGIN TRANSACTION statement before performing manual data modifications. Once the data modification statement has completed you can then issue either ROLLBACK TRANSACTION or COMMIT TRANSACTION as appropriate. Chris ...Show All

  • Visual C# Get System Information

    Hello Everyone, Is there any way to get the System information on the applications installed, as like Microsoft Office or any other application from the about box you can pull all the system information... Can be of local machine or a remote computer on a network.... How can I do that using C#... Thanks, Harsimrat This example uses the technology WMI and if you are using VS.NET you need a reference to the System.Management namespace. This example will return the current screen resolution. ManagementScope oMs = new System.Management.ManagementScope(); //get Fixed disk stats System.Management.ObjectQuery oQuery = new System.Management.ObjectQuery("select * from Win32_VideoControlle ...Show All

  • SQL Server Puzzle: NULL in Conditional Split Error

    A little puzzle with this Error - Status and PropertyType fields do not allow nulls while other columns do ( there are about 20 columns in original expression but left out for simplicity - these are created the same way ). Any ideas how to solve it [Conditional Split Filter Changes [813]] Error: The expression "LOOK_Status != Status || LOOK_PropertyType != PropertyType || (LOOK_OfficeName != OfficeName || ISNULL(LOOK_OfficeName) != ISNULL(OfficeName)) || (LOOK_OfficeID != OfficeID || ISNULL(LOOK_OfficeID) != ISNULL(OfficeID)) " on "output "Listing Changed" (885)" evaluated to NULL, but the "component "Conditional Split Filter Changes" (813)" requires a Boolean results. (My wish for nex ...Show All

©2008 Software Development Network