Suresh B's Q&A profile
Visual C++ Problems in System::String::Split... can't understand why this dosn't work...
I'm trying to have a system::string that is a list of arguments separated by '#' character broken down into individual arguments and placed in an array, like so CODE cli::array<__wchar_t,1> ^charsplit = {'#'}; arglist->Split(charsplit, this ->listBox1->Items->Count,System::StringSplitOptions::None); arglist2->Split(charsplit, this ->listBox1->Items->Count,System::StringSplitOptions::None); /*(I also tr ...Show All
Visual C# The IDE often automatically changes the file subtype from "Form" to "Code" in the .csproj file
The IDE often automatically changes the file subtype from "Form" to "Code" in the .csproj file, which renders the forms unviewable in design view until that change is undone. Is there any way to prevent the IDE from doing this automatically Thanks, Wilfred look at this url http://lab.msdn.microsoft.com/ProductFeedback/viewFeedback.aspx FeedbackId=f39a46fc-5dac-4a55-81ef-e1d262fe0040 ...Show All
Smart Device Development Anyone give me a poom's sample. c#
please don't use inthehand's dll and language isn't c++, it can run on ppc 2002. Hi Geng, The ability to call COM components directly from managed code (C# and VB.NET) was added in NETCF V2.0 NETCF V2.0 is not supported on PPC 2002. So you are limited to the NETCF V1.0 approach in which case you'll have to use P/Invoke wrappers which involves native code. http://blogs.msdn.com/stevenpr/archive/2004/ ...Show All
Visual Studio Tools for Office Unable to cast COM object of type 'System.__ComObject' error
Hello all, I have created an add-in which adds user properties to appointments. When I try to recover these user properties from the calendar of other users, I use the find method to recover all the appointments between a period of time of 3 months. Then, I browse the results to find if the properties meet the criteria, I have the following error : Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.I ...Show All
Visual C# good c# book for window form and ADO
I have read Jesse Liberty's Programming C# third edition. Now I am working on C# 2005 ( window , ADO ,database) , and looking for a good book with more pratical codes inside. Please give suggestion. The best book on Windows Forms programming that I've encountered is: Windows Forms Programming in C#, by Chris Sells. But be aware that a new version of that book is coming out on May 5th. (The title's changed to Windows Forms 2.0 Programmi ...Show All
.NET Development How do I set up remoting with VS 2005?
Could someone point me to a tutorial or descussion on setting up Remoting with VS 2005 I was able to set it up with VS 2003, but now there seem to be some changes with how Web sites are created/published in 2005. Can anyone explain these differences Thanks, Nate Update: I've set up an "Empty Web Site" in an IIS Virtual folder with a Web.config file, a Global.asax that configures at startup using Web.conf ...Show All
Smart Device Development Decrypted file in pocket pc?
Hi, i want to store a decrypted file in pocket pc that should not be visible to the user. In windows application i can do it by using IsolatedStorage (System.IO.IsolatedStorage). How can i do it in pocket pc application Remote server is your only option for truly invisible file. Files in IsolatedStorage on desktop are visible to the user if user knows where to look and has access rights. For practical purposes ...Show All
Windows Forms Docking Controls on Forms
I have a form on which I would like a Left docked OutlookBar and another dynamica control to fill the rest of the form area. I have used the DockStyle.Left for the OLB and DockStyle.Fill for the control, but the control paints itself  ...Show All
Visual Studio Express Editions Order Tables Ascending in DataSet
Hey there, I have a problem cause I don't know how to order tables ascending within a dataset, so I need to know how can I do that, I have for example these tablenames within a dataset in this order: "0050Colors" "0021Cars" "0120Symbols" "1008Field" "0215Country" that's the order in what the tables are added into the dataset, and I need them in the next order: "0021Cars& ...Show All
Visual Studio Express Editions Cost of the Express Editions
I understand that the express editions will cost $50. Will that be the cost for each programming language such as vb.net or will that be the cost for the studio edition. Probably per language. Although remember no pricing is usually set in stone till the day the product is released. Nobody really needs the whole plethora. I am unsure what makes people think they need the whole suite when in actuality they usually ...Show All
Visual Basic Programmatically changing user permissions for Access MSysObjects
Hi, I am using VB.Net to connect to an Access DB and have tried to read the MSysObjects, but the User group does not have read permission. I know that you can manually change the permissions in Access, but I have 850 Access DBs (result of a Lab Test that students took) and now want to programmatically search through each one and see what Tables, Queries, etc are in there. If I manually change the permission everything works fine, but I ...Show All
Visual Studio 2008 (Pre-release) Control looping
Hi, I have a panel and I want to loop through all the controls on it, to set certain properties like Text, etc. Is there an easy way of doing this Generally it depends on a type of the Panel (ItemsControl has Items collection, Canvas/Grids have Children property. For the general case you can use smth. like: foreach (FrameworkElement f in MyPanel.Children) { if (f is Label) { … do processing f ...Show All
Windows Forms FYI - "Fixing" javascript events with .NET Framework 1.1 and SP1
For those of you who are using or were using javascript events prior to SP1 with the .NET Framework and are having issues - there exists a fairly straight forward workaround. Steps to take: 1. Do not use standard Javascript event syntax or object.at ...Show All
.NET Development Enable/Disable network card
Hi. Is there any possibility to control the network card ( enable/disable) using c# in .NET Framework 1.1 Thanks.Mircea Can you point me to the right direction so I can solve this problem Thanks. Mircea ...Show All
Game Technologies: DirectX, XNA, XACT, etc. VertexBuffers: Lock/Unlock and same memory address....
If i create only one static vertex buffer in my program and i do: Lock/Unlock....Lock/Unlock....Lock/Unlock....etc - all this calls return me same start memory address for vertex buffer data if this buffer not been recreated or not P.S. sorry for my english pls :) Tom is correct - it depends on what pool the VB was created in, what lock flags are used, etc. It will also depend on the driver behavior, and ...Show All
