PSM's Q&A profile
Windows Forms Control.Invoke & Delegates in VB
does anyone know how to use the Control.Invoke method i want to fill a treeview from a different thread, so to add the nodes i have to use the Control.Invoke method (or the Control.BeginInvoke / EndInvoke, but that sounds even more complicated) i c ...Show All
Visual C# get lost of the focus
Ok i make a button i set: flat style = flat border=0 mouse over= transparent i dont want to be visible any border, but when the button has focus it`s automaticly painting a border... or what ever that is.. how can i lose that Does anyone understnad what is my problem Thanks Actually, Vipul already asked the question you need to answer before we can figure out the problem. What effect are you trying achieve. What would you like the look ...Show All
Visual Basic synchronous vs asynchronous
I am a newbie and can anyone explain to me the difference between synchronous vs asynchronous programming Does .NET framework (VB 2005) is synchronous by default asynchronous means the code in the background. You should use this for procedures that take a long time to run so your program does not appear to be locked up. Synchronous means the code runs in the foreground. ...Show All
Software Development for Windows Vista Horizontal flashes while drawing texture
I am rendering movie to my direct3D device, alongwith other sprites. I draw textures using TransformedColoredTextured vertices. I get horizontal flashes in the movie, on random basis. Any idea what i need to look forward. Are there any suggested settings for texture Thanks.... Sounds like a missing V-Sync glitch. Can you please check the “PresentationInterval“ member on your “D3DPRESENT_PARAMETERS“ It sh ...Show All
SQL Server Sotred Procedure - Bulk Insert - parameter
Hi everyone, I have a really stored procedure with one parameter... create proc xxx1 @PathFileName varchar as BULK INSERT dbo.xxxxx FROM @PathFilename <-- my problem WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' ) How can i ...Show All
Visual Studio Express Editions MSDN Express Edition is broken!
Hi! I had Visual Studio 2005 Pro installed on my system. As I was not using most of the features of the Pro version, I uninstalled it completely. (I followed the correct order - As specified in the ReadMe document) I then installed Visual Studio Express editions on my system. The express versions are now working fine, but I have problems with MSDN Express Edition. Almost every link in MSDN Express is broken, & it shows an error : ...Show All
Visual Studio 2008 (Pre-release) Why WSHttpBinding does not support binary encoding?
Why does not WSHttpBinding support binary encoding WSHttpBinding has a property called MessageEncoding and the only options for this property is Text and MTOM. ref: MessageEncoding Enumeration ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WinFX4VS.1033/cpref20/html/T_System_ServiceModel_MessageEncoding.htm I believe that the HTTP bindings are meant to be more standards compliant, and MTOM is the standards approach to ...Show All
Windows Forms Why in my setup project is my shortcut underlined in error?
Hi I have created a shortcut in my desktop folder on my target machine. For some unknown reason it is underlined in blue and my setup project fails to compile. What is wrong Thanks I have placed an Icon in there and&n ...Show All
Visual Studio Tools for Office Avoiding security alert in Outlook while accessing Contacts in VSTO 2005
I am trying to access Items programmatically within a VSTO 2005. When I try to access the 'magic' properties such as email1address, I get the security warning within Outlook. I do not want to go back to redemption - that's why I am using VSTO. How do I avoid the security warnings when doing something like the following: private void Form1_Load(object sender, EventArgs e) { LoadContacts(); } private void LoadContacts() ...Show All
Visual Basic VB.net 2002 Windows App and network security
I have a windows application that when run locally on a computer works great. When it is installed and run from a server the following error is received: Request for the permission of type System.Security.Permissions.EnvrionmentPermissions, mscorlib, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. I am not using a Sub Main but have the application set to open a splash screen where I perform a record check to ...Show All
Visual Studio Express Editions Refer to a Biz Logic Class - VWD
All, Any tips on how to add a business logic class to VWD Web Site In VS you could add a class library but I can't seem to find a way to do this in VWD. I simply have a class containing some methods that I would like to have access to in any one of the pages within the site. Any info would be appreciated...Thanks! Omar, Thanks for the info, I will give it a shot ...Show All
Visual C# Removing the double quotes from a CSV file.
I would like to remove the double quotes from a CSV file but am having a bugger of time doing so. My input file looks like this: "Book1 number 1",120.00,140.00,,,"Great Book" "Book2 number 1",12.00,99.99,,,"Losy Book" "Book2 number 2",19.00,34.00,,,"Do not read" First I break up the line into an array so as to be able to manipulate each field easily. string [] strSplitData = strDataLine.Split(','); I now have the ...Show All
Visual Studio Crystal Reports 11 on 64-bit
I have developed an application using .Net 2.0 and Crystal Report XI (Release 2). 1. Where can I find Crystal XI merge modules for deploying the application on a 64-bit server 2. When I deploy my app, the merge module Crystal XI For .Net (http://support.businessobjects.com/communityCS/FilesAndUpdates/crXI_net_merge_modules.zip.asp) is installing Crystal Dll's ver. 11.0.* Since my app uses Crystal DLL's ver 11.5.* (Release 2 D ...Show All
Visual Studio Express Editions Strange compile warning...
Whenever I go to compile a console program in the Visual C# Beta 2, it compiles fine but gives me these two errors: Invalid search path 'C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' Invalid search path 'C:\Program Files\Microsoft Visual Studio\VC98\lib' specified in 'LIB environment variable' -- 'The system cannot find the path specified. ' Ho ...Show All
Software Development for Windows Vista Wallpaper in c#
Tell me how to set a image as wallpaper using c# Willfin David For setting a wallpaper you can use SystemParametersInfo to set a wallpaper image programmaticly. This works for Bitmap's only, so when you want to set a other image-format you must first convert this to a Bitmap image. [DllImport("user32.dll", CharSet = CharSet.Auto)] private static extern Int32 SystemParametersInfo(UInt32 uiActi ...Show All
