Software Development Network Logo
  • SQL Server
  • Visual Basic
  • Microsoft ISV
  • VS Express Editions
  • Visual C++
  • Visual FoxPro
  • Architecture
  • .NET Development
  • Windows Vista
  • Visual Studio
  • Windows Live
  • Visual J#
  • VS Team System
  • Visual C#
  • Game Technologies

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

Tom Freedman

Member List

Sweey
CharlottesvilleDeveloper
Xavier R. Javier
JVAF
Byrnie
Amardon
adidion
scorpion_anshul
Spongebob34
Ran23
Key_46
PeterNL
Requiem for a Dream
GlennC
JaysonGo
deepshikha
EgoStripper
DaverDee
m_hussein
KevinBurton
Only Title

Tom Freedman's Q&A profile

  • Windows Forms LShiftKey doesn't work

    Hello, Does anybody know why the following code doesn't work Keys.LShiftKey exsists but you cannot use it, isn't that strange Regards Arjen private void Form1_KeyDown( object sender, KeyEventArgs e) { if (e.KeyCode == Keys .LShiftKey) { MessageBox .Show( "Left Shift pressed" ); } } Try to look at this thread, I have a working VB example of using GetKeyState to determine which shift key is pressed: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=204734&SiteID=1 Regards, -chris ...Show All

  • Visual Studio Express Editions Visual Web Developer Express - No Publish Button

    Hi, I am trying to publish an website that I built with VWD.  I test the site (f5) and it works well, but when I try to publish the site, the only choices I get is build website or copy website.  I do have IIS 6.0 server with asp 2.0 loaded and ready to go, and I can connect to it, but I can't seem to publish to it.  Has anybody run into this and have a solution   PS I'm using a connection to sql server 7.0 which VWD and my server can see. Thanks for any help. I dont have one either - It looks like nobody does. I found this note in the help files: The Publish Web utility is not available in Visual Web Developer Expre ...Show All

  • Visual Studio 2008 (Pre-release) Developing full screen WPF applications

    How would I create borderless full screen applications with WPF Is that possible with Navigation Applications as well Thanks, Neno Hey Neno.. you can refer 3d-full-screen-windows also. - Ankit ...Show All

  • Visual C++ Can not cancel the creation of a CWinFormsView object?

    If the PreCreateWindow returns FALSE, then the program asserts and crashes when trying to cast the managed control to ICommandTarget. BOOL CWinFormsView::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) { m_nFlags |= WF_ISWINFORMSVIEWWND; BOOL ok=__super::Create(lpszClassName, lpszWindowName, dwStyle, rect,pParentWnd, nID, pContext); ASSERT(ok); ok=ok && m_control.CreateManagedControl(m_pManagedViewType,WS_VISIBLE, rect, this,nID); ASSERT(ok); ICommandTarget^ pICmdTarget = dynamic_cast<ICommandTarget^>(GetControl()); return ok; ...Show All

  • Visual Studio How to wrap words of one single line to multiple lines that fit in a shape?

    I try to make a comment shape for my DSL, but the comment is displayed as a single long line. I would like the line to be cut (automatically) into multiple lines so it fits in the shape even if the size of the shape changes. Here is a temporary workaround: Remove the current visualization of the value property and add a partial class to your designer to do the text drawing yourself. Here is a sample: public partial class CommentShape { public override void OnPaintShape( DiagramPaintEventArgs e) { base .OnPaintShape(e); Font someFont = new Font ( "Arial" ,10); ...Show All

  • Visual Studio Express Editions GUI for SQL Express?

        Hi, I've read that "a new, free management tool, SQL Server Express Manager, will be available for SQL Server Express". Where can I download it, I'm sure I saw a link for it yesterday but now I can't find it. If it's not released yet, how do you intend that we should use and test the database meanwhile Thanks! /MD Hi, the tool is called " SQL Server 2005 Express Manager" here is the link: http://www.microsoft.com/downloads/details.aspx FamilyID=3212A9A2-B658-4710-B04E-8A28355F836D&displaylang=en ...Show All

  • Visual Basic DirectDraw7 SemiTransparency?

    I have started making a game in DirectX7 and VB.Net 2005 Express, and I was wondering how to make a surface display to the screen as being a certain amount of translucency. The code I used to make the surface is: Sub LoadCDSurface() Dim ddsd As DDSURFACEDESC2 ddsd.lFlags = CONST_DDSURFACEDESCFLAGS.DDSD_CAPS Or CONST_DDSURFACEDESCFLAGS.DDSD_HEIGHT Or CONST_DDSURFACEDESCFLAGS.DDSD_WIDTH ddsd.ddsCaps.lCaps = CONST_DDSURFACECAPSFLAGS.DDSCAPS_OFFSCREENPLAIN ddsd.lHeight = 32 ddsd.lWidth = 32 CDSurface = dd.CreateSurfaceFromFile(dataLocation & "disk.bmp" , ddsd) Dim key As DDCOLORKEY key.high = RGB( ...Show All

  • Windows Forms URGENT Question -- DataGridView Cell Text Formatting

    i've got a datagridview textbox cell and in read only mode would like to set the date portion of a datetime as bold and leave the time portion as non bold...and i'm at a loss at how to do this.  Any insight would be very much appreciated. As far as I know, you can set part of a string in a TextBox control to a different font or style. Did I understand your question correctly ...Show All

  • Visual Basic Sharing Constants in VB.NET

    Greetings, I have a very simple question and cannot find a post on the subject, so I am most likely overlooking some key aspect of VB.NET. Anyway, how does one share constants (or enums) easily among classes Say I was to declare: Public Const BUYS_ONLY = 0 Public Const SELLS_ONLY = 1 Public Const BUYS_AND_SELLS = 2 Public Const NO_BUYS_OR_SELLS = 3 in one file (or class) and share these constants among all classes in the project. Again, enum would be fine to, e.g. Enum TradeState BUYS_ONLY SELLS_ONLY BUYS_AND_SELLS NO_BUYS_OR_SELLS End Enum Tx, Scott ...Show All

  • Software Development for Windows Vista The Future of DirectShow

    Hi, I'm getting ready to start a new project using DirectShow that involves displaying text over the display of video files and live feed video, but I'm a bit concerned about the future of this technology. I have noticed that it has been removed from the DirectX SDK, and that Microsoft no longer recommend it's use. If this is the case, what does Microsoft recommend in it's place What is even more confusing is the location of this forum within the Windows Vista section. Thanks... Bruce > Microsoft no longer recommend it's use. Where did you see this While it is true that DS has been removed from ...Show All

  • Visual Studio 2008 (Pre-release) How to get scrollbar on ListView?

    I'm populating a ListView with several items (~100) -- more than can be shown on the screen. However, I never can get a vertical scrollbar to appear (I haven't tried for a horizontal one yet). I can select an item and hit the down arrow key and the selection goes off screen, so the selection logic appears to be working. How do I get the scroll bars to appear ListView is derived from ListBox and the vertical scroll bar appears when I use a ListBox and bind my data to it. Just for the heck of it, I put the ListView inside of a ScrollViewer, but that didn't work (I didn't expect it to). I was having a si ...Show All

  • Visual Studio Team System Test Case Design

    Hi, I'd like to know were is supposed to be the place to design Test cases. I mean, in order to manage our test we usually write our test cases (test case design) in a descriptive way. We then can code it or execute it manually. In VSTS there are Manual test cases and the "Coded" test cases, but none of them has structured information that allow me to manage it. Work items has structured information but there is no Test Case Work Item. Is there any standard way to manage it or the solution to manage test cases design with some level of structured information is to customize a new Work Item type Thanks a lot ...Show All

  • Visual Studio Recommended installation order for development tools

    Hi, I'm looking for the URL (MSDN) where it says in which order I should install all my development tools ( Visual Studio .NET 2005 Professional, IIS 5.1/6.0, Visual Studio .NET 2003 Professional etc. ) and what things to avoid. The best thing MS could do is to make a doc (a Walkthrough) for each of the OS's that support VS2005 and IIS and publish it on MSDN. There are so many things that can go wrong. Thanks, ZAiNT I just read the readme of the "Team Foundation Server Workgroup Edition", it recommends MsOffice (Excel in particular) to be installed prior to installing the Team Ex ...Show All

  • Smart Device Development Accessing SQL Server that is on Wired & Wireless Network

    Hi All, I have application that is accessing sql server running on My Network. how can i access sql server in wireless environment Thanx in advance, you can connect to SQL Sever on the device as you would in the full .net framework. Just add a reference to SQLClient in your smart device application the other option is to use RDA or webservices ...Show All

  • SQL Server Partitions and Slices without query binding

    I have a fairly straightforward cube in SQL 2005 SSAS, with date as one of the dimensions.  I created a partition for each year and quarter, and set the slice appropriately.  However, in order to create the partition, I had to use a source query, because I got an error about re-using the same table.  I then created a single partition that was based off the table and set a slice and reviewed the SQL that SSAS issued, and it did not restrict based on the slice. My question is:  Can you make SSAS (2005) work like SQL 2000 where it automatically generated (albeit not perfectly) a where clause to restrict the part ...Show All

©2008 Software Development Network