Lakshan's Q&A profile
Visual Basic Making a picturebox have a transparent background
I have a picture of a panda with a pink background (panda_down.bmp) and I was wondering: how do I get that pink background to be transparent Never say never, my friend! I ran into the same program you're having. The EXACT same problem.... Well.... I didn't have a pink panda.... But still.... The SHORT answer to your question is that you can't have transparency in a picturebox control without doing some pretty complex coding. If you w ...Show All
Visual Studio 2008 (Pre-release) 2 files needed from WinFX SDK beta2
Several files was corrupted while downloading img file. It's require too many time to redownload 1GB using modem... I found that at least 2 files (maybe more) needed: 3Mb - Setup\WinBuild-SDK_Core_BLD_Common-common.1.cab 750Kb - Setup\WinSDK-WinSDK_PowerShell_RefAssembly-common.0.cab Can anybody send these files to ivanshumilin at gmail.com If several files were corrupted, I recommand you to re-download the SDK ...Show All
Visual Studio Tools for Office Running multiple templates simultaneously giving an error
Hello All, I have developed multiple templates. I run the first template and while it has opened i run the second template. On opening of the second template it is giving error "The Customization Assembly could not be found or loaded...". Running both template separately is perfectly fine and not giving any error. I also noticed that i opened the word instance on the basis of Normal.dot and remained open and then run the my templa ...Show All
Windows Forms Simple Drawing Question for Windows Forms
Hey, I have been working on this for a long time, and so far, no one can help. I have a Windows Form Application written in C++. On the Windows Form is a Button called "Draw" an Up and Down Box, and then a Panel called& ...Show All
Visual FoxPro Load Data
Hello, Can I know how to load the data/information from text file to Visual FoxPro Thanks a lots for help. i dont think that the code below is what you really need but i though i give it to you anyway,actually you can find it in help too Public pathtemp pathtemp="c:\mydirectory\" ************** IF FILE('PREVIOUS.txt') && Does file exist gnErrFile = FOPEN(pathtemp+'PREVIOUS.txt',1)&nb ...Show All
Software Development for Windows Vista Shell Namespace Extension changes in Vista
Is there any documentation or articles that explains the namespace extension changes that is made in Windows Vista One thing I noticed is that IShellFolder::GetUIObjectOf doesn't get called to retieve the IExtractIcon interface to display custom icons of a folder. Bryan Hey Bryan, I have a similar problem and was wondering if you found any documentation or had any responses Thanks. ...Show All
Visual Studio Express Editions events in VC++express 2006
Can someone help me with the events in VC++express 2005 I dont't know what to write at the events(click- ) I assume you mean .NET events and you want to consume (use) events, and not make your own events. If you're a new developer, I recommend you learn how to do events in C#. The process of consuming events in C++ is [almost] the same as consuming them in C# (the lightning symbol is in both IDEs). Creating your own events for othe ...Show All
Visual Studio Team System Is it possible to have multiple configuration in Single FXCop project file.
Hi, In our regular Visual Studio project, we can have multiple configurations like Debug, Release, Albha, Final Release. The same way, is it possible to have multiple configurations in FxCop Project, like Begining of the Development time - I want to include only subset of the rules, even in Naming rules, include only subset of naming rules. At my 2nd Stage of development, I want to use different set of rules to be included. I could do this ...Show All
Windows Forms Enabling IIS compression breaks NTD deployment
For the last couple of months, I have been scouring the internet for reasons why my NTD application would not deply from my Windows 2003 server, but works fine from a Windows 2000 server. I had tried all of the suggestions I found in ...Show All
Visual C++ Calling C++ dll from C#
I am trying to use a C++ dll in my C# application but unsuccessul. Here is what I have done: 1. The C++ code was developed using open BSD. 2. I made a C++ CLR dll using visual studio 2005 - "tc.dll" 3. In my C# application, I add the "tc.dll" as a reference from the solution explorer 4. I tried to instantiate the class of tc.dll using myClass mc = new myClass(); The C# program can not find the class at all. ...Show All
Visual C# Help on winmm.dll exception: "A StringBuilder buffer has been overflowed by unmanaged code"
Sorry if the format is messed up; I normally don't post here. This message html editor is really messed up, sorry. I click my eject button on my program, and I get an exception after it opens the CD Rom drive. Exception: Warning: A StringBuilder buffer has been overflowed by unmanaged code. The process may become unstable. Insufficient capacity allocated to the StringBuilder before marshaling it. Why is thi ...Show All
SQL Server "Too low memory" and XML in cache
Hi, I've read that the parser can use 1/8th of the available memory for the xml-cache, but I've run into this limit much sooner than I'd expect. I'm not using "sp_xml_preparedocument", but rather operating on columns with XML as datatype. This means I don't have the handle to the document and can't use "sp_xml_removedocument" to free the memory. It's a simple application written in C#, so should it be sufficient to & ...Show All
Visual Studio Team System Beta 3 Refresh: Cannot add users from another (trusted) domain to team project.
Hi! We have TFS Beta 3 Refresh running in our development domain (DEV). All our user accounts are living in a different domain (PROD), which is also in a different forrest. DEV is a native Windows 2003 domain, while PROD is a Windows 2000 domain. There is a one-way trust from DEV to PROD. When we try to add a user from PROD to a team project group such as Contributors, the following error message appears: Couldn't add user/group 'USERNAME'. ...Show All
SQL Server Question about Paging?
- where running a server 4GB of RAM - set to use a min 2.5GB and max of 3.9GB -- the problem is that microsoft sql server 2000 is only using 1.6GB and is paging a lot Please post this question to the database engine forum: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=93&SiteID=1 This thread might also have already answered your question: http://forums.microsoft.com/MSDN/ShowPos ...Show All
Visual Studio Express Editions Newbie - How to port application from VB Express to Web Developer
Good morning, I have surprised myself by creating a wonderful little app in VB Express Edition 2005 that reads SQL data, allows the user to use various filters, calculates fields, updates the datavaiew/dataset, and exports data to Excel. Between each of the three pages the app creates a xml file of the data. I have now downloaded Visual Web Developer 2005 Express Edition as I would like the application to be available on the web. Am I r ...Show All
