SiJP's Q&A profile
Visual C++ The debugger isn't displaying std::wstring values
I have tried to use an std::set<std::wstring>, and the debugger appears to have a problem with displaying the values that are stored in the set (this also happens when using std::wstring as the key value in a map. Sample code: #include <set> #include <string> int main() { std::set<std::wstring> test; test.insert( L "1234567" ); // this is displaying correctly in the watch window ...Show All
.NET Development Intellisence Support for Custom Config Sections
How do I get intellisense support for a class that inherits from ConfigurationSection Thanks, Paul ...Show All
Windows Forms C# - clearing all textbox on a form
Hi all, i've a lot of textbox on a form, inside a groupBox. After saving textbox data, im trying to clear them: [code] foreach (TextBox txt in this.Controls) { if (txt.GetType() == typeof(TextBox) { txt.Text = string.Empty; //tryed already with txt.Clear(); } } [/code] Thanx at all in advance. Use this procedure: Pass your form on control paramter, like this: ClearTextBoxes(this); [code] p ...Show All
Visual FoxPro my SQL passthrough problem
Good day to all, could i ask where i got wrong with this code , because when i run the .prg for this code, at first try it won't work, then the second time around it works, as if no error. Like when you open VFP, then at the command window you execute the do command, it won't work, but at the second or 3rd try it works. Please help...thanks in advance LOCAL lcConnect STORE 0 TO lcConnect STORE SQLCONNECT ('My SQL Server C ...Show All
Visual Basic Memory usage of Forms..?
I am new to .NET programming.I am trying to develop a text editor(GUI) in VB but i have noticed that displaying a single form (even with out any controls ) is taking around 10,000 kb of memory. The interesting thing is that when the application is first launched it is taking huge memory as said but when i minimize the application it takes around 300kb or so ...Show All
Visual Basic Missing Right and Left String Functions
I have lost my Right and Left string functions. Mid is still present, but Right and Left now refer to the distance in pixels from the edge of a control. How can I get my string functions back again they should be in the Microsoft.VisualBasic assembly. is that referenced ...Show All
Visual Studio Team System identifying class level attributes
How would you do this I saw an example on the forum for identifying attributes applied to members but when I look at Attributes at the TypeNode level it's empty. Where am I going to find this information Thanks. Ah. Not everything that's rendered with an attribute syntax is actually emitted as attribute data in IL. You've put your finger on one here. In this case, there is a bit in the flags associated with a ...Show All
Visual Studio complib.hlp
Hello, I started on a project in my home desktop. I copied the project's folder to another computer. Now when I try to build the project on this computer I get the following error: Compiling... SqlManager.cpp .\SqlManager.cpp(1) : fatal error C1093: API call 'ImportFile' failed '0x80070003' : ErrorMessage: The system cannot find the path specified. Description: The system cannot find the path specified. HelpFile: complib. ...Show All
Visual Studio Team System Changesets, Merges, and atomic cherries.
I've been having a look at the capabilities of changesets and merges, in particular I was interested in the following: * Cherry-pick merges -- you can merge specific file change to another branch without merging the changes that were included in previous versions of those files. Thus, if you've got 2 bug fixes which touch the same file, you can merge the second one without merging the first. So, I conducted the following simple experim ...Show All
Visual C# Opening a file / stream.
Hi folks, i've got a file in a System.IO.Stream object. kewl. i have a button on my windows form which, when the user clicks it, the file will open with the appropriate default program. I'm not sure how to 'kick in/execute the file'. examples: 1) If the filestream object is an mp3 (ie. extension is .mp3), the default program for .mp3's will kick in 2) if the extension is .txt, notepade or wordpad (whatever is setup as defaults) will ...Show All
Windows Forms Terrarium Challenge
What happend with the Microsoft Terrarium Ecosystem Challenge http://www.windowsforms.net/terrarium/contests/intl%20contest%20-%20may%202003/rules.aspx Where are the names of the winners No, I never did post the names of the winners as the challenge ended quite some time ag ...Show All
Smart Device Development Request EDB samples for WM5
Hi all, I have been reading a lot of EDB reference, but still can't figure our how to work on EDB, can someone post a sample it here (PS. I cannot find any EDB samples in WM5 SDK) Hi, Here is a sample EDB application that is self-explanatory. Hope this helps. /* * Program to demonstrate a particular usage of EDB APIs. * The program creates a database volume and * writ ...Show All
Windows Forms Passing arguments in a ClickOnce UNC deployed project
I have a ClickOnce application that I am distributing by both web/HTTP and UNC. I need to pass arguments to my application. When I launch from the web address, I can use System.Deployment.Application. ApplicationDeployment .CurrentDeployment.ActivationUri along with a launch URL of URL.application arg=value and parse the query string. However, I can't find any way to do the same for a UNC URL. The ActivationUri is null whe ...Show All
Visual Studio Team System New folder in Documents doesn't open
When I add a new folder to the Documents folder in Team Explorer, I can't open it. However, when I go the project portal and create a new folder in the documents folder, there's no problem opening it. If I upload a document to this folder, I can access it through the Team Explorer. Is this a bug, or is it a local problem ...Show All
Visual Studio Express Editions Is there a way to determine the color of a point?
Well, the title pretty much outlines my querry. Is there a way to find the color of a given point, if the point is known I've written a code to randomly draw a "land mass" (a polygon that's flat on 3 sides and randomly "mountainous" on the upper side) for a simple game that I'm creating. I've filled in this polygon as green. When I made a very similar game in QBasic, there was a function for determining a pixe ...Show All
