Lacan's Q&A profile
Software Development for Windows Vista about showwindow
In early Windows version, the window is not be shown immediately after ShowWindow called, only idle or UpdateWindow called, it will be shown immediately. But in Vista, the window is shown immediately after showwindow called. Because it, the black will flash in the window. How to reslove it Thanks. When hbrBackground is set to NULL, you are supposed to process the erasing of the background. MSDN documentati ...Show All
Windows Forms Reply wanted
Hi, We have a smart client app whose front end is an windows form and we are using 3 browser controls within that form. On one of the browser we load the data supplied from back-end web services. We have forms that allow users to fill in data. For some reason, I am not sure whether its a browser setting thing (i did not find it), the form does not allow use of Delete key on the keyboard, Backspace works but not the Delete Key. Nothing happ ...Show All
Visual Studio Reportviewer Paper size
Is there any way to set the paper size for the Reportviewer control other than at runtime using the Page Setup button. It always defaults to "Letter" which is not really suitable for all countries. I am using Visual Studio RC1 on Windows Forms application. Thanks for the Information. Come Service Pack Come Come Come .... ...Show All
Visual C++ Can't change the folders..
Greetings! I'm a new user of the Visual C++ 2005 Beta 2 enviorment. I've experienced a strange problem, when I simply can't view, change or edit my include and lib folders. The page is blank, what's wrong Hi, Take a look at the following post: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=2995 Ronald Laeremans Visual C++ team ...Show All
Windows Forms MdiWindowListItem oes not reflect changed form text
Just started using the MdiWindowListItem property, but the list does not refesh the text when the text property of the forms changes, until the focus leaves the changed form. Is there a simple solution to this Thanks For any c# coders this seems to be working for me.... private void toolStripMenuItemWindow_DropDownOpening(object sender, EventArgs e) { if (this.ActiveMdiChild != n ...Show All
Visual Studio Team System Static Analyzer reports leaking memory in atldbcli.h, is there a workaround?
When I run the VC 2005 static analyzer in release mode with ATLdbcli.h included I get the following warning: c :\program files\microsoft visual studio 8\vc\atlmfc\include\atldbcli.h(4095) : warning C6211: Leaking memory 'pBinding' due to an exception. Consider using a local catch block to clean up memory: Lines: 4066, 4067, 4068, 4069, 4072, 4073, 4074, 4078, 4092, 4094, 4095 C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include ...Show All
Visual Studio 2008 (Pre-release) TypeExpression for Referenced Component
Trying to set a TypeExpression in a DataTemplate for a class referenced in another Assembly. For a class in the same project it looks like the following: < DataTemplate DataType = " {x:Type local:Person} " > What about for a class in another assembly you need a mapping at the top of the XAML (you probably have one for "local" as well). < Mapping XmlNamespace=&qu ...Show All
Visual C++ How to create a .doc file ?
Hi, I use VS2005 ( VC++ ), How can I create an empty .doc file or open a .doc file and append a few lines of plain text or a hyper link, etc, to the file and the document created, processed by this method will be compatible to which version of MS Word or WordPad Thanks. You can still use a RTF control that is invisible! It will still take your commands and can stream out a file. Try and do it on your o ...Show All
SQL Server Strange issue with Precedence Constraints and Set Values
Hey everyone, I have used the set values option of the execute package utility many times to change values on variables in the package with no problem before, however have run into a stumbling block when coupling this with precedence constraints. I have a package that goes down a different path based on a precedence constraint that works perfectly if the default value of a variable is used....however when I pass in a new value via Set Values in ...Show All
Visual Studio Team System BUG : WorkItem DateTime field causes crash
Setup: TFS beta 3 Refresh - VS2005 RTM I have a custom workitem type that I have been playing with. I created a field with type DateTime. If you enter a date in this field with a 4-digit year, it causes the entire VS IDE to crash back to the desktop. 2-digit years work ex: Jan 12 06, 1-12-06, 1/12/06 4-digit years cause the IDE to crash to the desktop ex: Jan 12 2006, 1-12-2006, 1/12/2006 Is this a known bug Thanks in advance - ...Show All
Visual C++ Warning C4793 and #pragma unmanaged
Hi Flap! I'm getting the following warning in an header file included within a #pragma unmanaged block: 1>c:\devel\DXSDK\SAMPLES\C++\DirectShow\BaseClasses\wxutil.h(384) : warning C4793: '__asm' : causes native code generation for function 'void *memchrInternal(const void *,int,size_t)' 1> c:\devel\DXSDK\SAMPLES\C++\DirectShow\BaseClasses\wxutil.h(379) : see declaration of 'memchrInternal' Given ...Show All
Visual Basic checking properties of folders
Hi all, I am trying to run some processes to tidy up our SAN storage. A couple of the things I am struggling with are : 1) Checking the security of the folder properties to check who the owner is 2) Checking the security of the folder to check if "Inherit" is ticked 3) Search a text file for specific text I already have a process to run SETACL to fix ownership and permissions, however this ...Show All
Windows Forms ToolStrip
Hi all, i have a toolstrip with a toolstripdropdownbutton. I'd like to know how can i know if the Toolstripdropitem are visible. Like when the user click on the arrow. it show a submenu ... id like to control the show and hide of that submenu ... i can't find a property in the toolstripdropdownbutton to control the show and hide of the submenu .. please help you may be better off loading the sub items at run ...Show All
Visual Studio Express Editions Windows Picture and Fax Viewer...
Hi, i'm not sure if i'd should be posting in this forum but i coulnd't find an off-topic forums and i have a vb question aswell... My problem is is that windows picture and fax view dosn't work. I tried open with>windows picture and fax viewer, I set the windows picture and fax viewer (shimgvw.dll) to be the default application (from tools > options >files types) to run when a .jpg, bitmap is clicked on but when i click on one nothin ...Show All
.NET Development TCPClient timeout???
I want my TCPClient to timeout for a second every two or three minutes run some stuff then come back and just listen again. How do you set it to timeout. I can get my networkstream to do this with one of it's properties but TCPClient doesn't seem to have that and the TCPServerIP can change so I definetly need it to jump out for a bit then come back in... or can you change my TCPServerIP on the fly while in the do while() the code ...Show All
