Toan's Q&A profile
Visual Basic Amazing super serious bug..
Using 2005 RTM In our file based Webb application, we add a new page. Then we add this simple code. Dim bTest as Boolean = True If Not bTest Then Debug.WriteLine("bTest is false") End If And Guess what, the debug line is printed. If I do a breakpoint on the If line, and add a watch for bTest its TRUE, still it goes into the if statement. Rebuilding the solution dont help. I cant replicate it on any other project at the moment, b ...Show All
.NET Development How can I populate my combobox with data of a column?
How can I populate my combobox with data of a column I am using Oledb (JET engine) and having .mdb database. I wounder if there some Enamurator method so i can use foreach or using loop. Because, I tried the Datasource method and its not beeing populated. Regrads, Omer kamal Excuse me on my bad english. English is not my native language. Just asking, look for the combo's MaxLength property. If it has the value ...Show All
.NET Development Application performance
Hi all, i want to know how to Use application performance Control. Hi! What is "application performance control" Where you see it This forum is for suggestions about forums web site, I think we should move your question to forum where people can find it. ...Show All
SQL Server Adding SDF data into a Listview - C#
Hello everyone, I finally got the SDF file on my pocket pc, and now am having trouble loading the data into the listview. I am not sure where I am going wrong, but the code is listed below. Any ideas Thanks so much, everyone. private void LoadList( string szSQL) { // Clear out anything that might already be in the list CollectionList.Items.Clear(); // save off the SQL Statement m_szCurrFilter = szSQL; ...Show All
Smart Device Development MissingMethodException in SqlServerCe 2.0
I am running MW 5.0 on a AXIM X51 and using ActiveSync 4.0. I am writing code with VS 2003 in VB.NET->Smart Device Application and deploying in Pocket PC. I can produce a good HELLO WORLD application that works on the POCKET PC 2002 EMULATOR as well as the DEVICE(AXIM). While I have had success with .csv type database tables and XML tables I can not get the System.Data.SqlServerCe to work on the device. My application will run on the emulat ...Show All
Visual C# How do I add windows form controls without setting the positioning or location
Hi, How do I add windows form controls such as Textbox, Labels without setting the positioning. Is there something like a Flow Layout in C# without creating my own custom object to achieve this Thanks. Hi Chris, I search on the net realised there is such feature in .NET 2.0. If I create my own layout manager, isnt it wasted if I upgrade to .NET 2.0 later Or is there any other alternatives/metho ...Show All
Windows Forms Regarding opening a application inside the Form
Dear All, I want to open a application inside a from.Can it be acheived I checked the "AxWebBrowser1" It is just allowing me to open the Microsoft Exe ..But if i want to open the Oracle Forms inside the Window how can i do it.. C ...Show All
Visual Studio Team System AvoidUnusedPrivateFields fires a false positive
In the following simple scenario: ----------------------------------------------------------------- class Class1{ private const string suffix = "End"; private const string s = "String"; static void Main( string [] args){ System.Console.WriteLine(s + suffix);} } ----------------------------------------------------------------- the FxCop 1.32 fires AvoidUnusedPrivateFields for ...Show All
Smart Device Development Can eVC++ applications also run in desktop WindowsOS's?
Hello all, I am porting a series of PalmOS applications (primarily GUI's) to CE.NET using the eVC++ SDK. Is there anyway I can rebuild these app's into .exe's which will also run on Win9x/XP/etc. These are simple GUI's with COM1 serial I/O. thanks If you mean "same EXE which runs on CE and desktop", then no, you can not. You'd have to use managed code for that. If you mean "recompile C++ sources with desktop C++ compiler so ...Show All
Windows Forms OpenFileDialog "hangs" on Windows 2000
I have a WinForms remoted application using a simple OpenFileDialog control. When I instantiate the dialog, the program hangs and never responds. This only happens on Windows 2000. The program functions perfectly on Win XP & Win 98. The ...Show All
SQL Server Microsoft OLE DB Provider for DB2
The Microsoft OLE DB Provider for DB2 can be downloaded as a part of the SQL Server 2005 Feature Pack located at: http://www.microsoft.com/downloads/details.aspx familyid=D09C1D60-A13C-4479-9B91-9E8B9D835CDC&displaylang=en It worked great for me to receive data, but when it came to Inserting data or updating data, I could not get it to work. Using the statement Select col1, col2 from LinkedServer.DB2.X.Y works, but using Insert Into Li ...Show All
SQL Server The Xml field in SQL database is so slow!
I feel when I operate XML field, it's so slow! no matter insert or delete e a record. how about you Hi! Could you send your scenario and tell what are your expectations We can try to meditate on this with our performance team. ...Show All
Visual C# c# Syntax
how do you make a carriage return in c# so..... w + \n\r + ww If you are concerned about portability, you might also want to look at Environment.NewLine. It guarantees that you get the right combination depending on the platform. --mc ...Show All
Windows Forms How to display welcome screen
Hello everyone, i don't know if anyone has posted this query before, but anyway here it is: H ow do they display the starting screen(or sort of a welcome screen) in Windows forms applications, for eg. in Adobe Acrobat the starting screen shows the 'loading plugins' details and an image appears, or in Visual Studio a starting picture is displayed. It's there in games also. Is that starting screen also a Windows Form Or is it something els ...Show All
SQL Server Performance counter problem
I'm installing SQL2005 September CTP on a fresh W2K3 SP1 machine running on Virtual Server. When I want to install SQL it says there is a performance counter. The installation guide is clear about what I need to change in the registry to get this to work but the data type for the perflib/009 keys is REG_MULTI_SZ and the other one is REG_DWORD. I have used the January 2005 MSDN disc to install the OS. Can anyone help me with this please Thanks, ...Show All
