Ivan Farkas's Q&A profile
Visual C# [Help]problem with an MDI Application use Singleton patterns
Here is an MDI Application, with an Main menu contains an item to Create a new child form , in the child form , I use the Singleton pattern to run only one instance of the child form , the core code is: Thank you for your help. I 'm a student from China,Majored in .NET programming.Nice to meet you all. my MSN is zxlxueying@msn.com ,and i am very glad to make friends with you. ...Show All
Visual C++ CString will not go to cout
The code: CString foostr ("This is a string."); cout << foostr << endl; Gives the output: 0035C3B8 I've spent the last two hours doing experiments and hunting around the Internet for information on this. What's going on DJO wrote: The code: CString foostr ("This is a string."); cout << foostr << endl; Gives the ...Show All
SQL Server Replication vs. DTS
I am unsure whether to use a DTS package or Replication for the following: We have four SQL Server databases on four separate servers with the same data schema, one for the north east, south west, mid atlantic, and mid west. We also have one "global" database on a separate server. First, and only this one time, we need to copy data from the four regional databases to the global database. Then, at least once a day we will need to cop ...Show All
Smart Device Development why the same code have diffren result between PC and PPC?
why the same code have different result between pc and ppc Sample Code (run as windows form ): create a form , add treeView control and add code as show following in form_load method. bool isSelected = false; treeView1.CheckBoxes = true; TreeNode tn; for(int i=0;i<40;i++) { if(i%2==0) isSelected = true;   ...Show All
Visual Studio Team System What features are specfic to VSTS Tester edition?
Can anybody elaborate which features are specific to VSTS Tester edition, that are not also in Developer (besides the Load Testing and Web Testing features) Thanks! Test view is available for both developer edition and tester edition. Test manager (aka test explorer) is only available for tester edition. ...Show All
.NET Development I couldn't find advantage of StringBuilder in .NET 2.0
I have written a small application to test differet way of appending strings Method 1: Use + operator. Like s = s + " " + str1 + " " + str2 + " " + str3 + " " + str4 + " " + str5 Method 2: Using String.Join. Like s = String.Join(" ", new string [] {s, str1, str2, str3, str4, str5}); Method 3: Using String.Format. Like s = String.Format("{0} {1} {2} {3} {4} {5}", s, st ...Show All
Windows Forms Problems with stdole.dll
Hi, I made an application and use the MapPoint ActiveX Control. When I start the app I check for the presence of MapPoint and if it is there it shows a map. This all works fine. But now I tried to deplay the app to a clean machine. XP SP2 / .NET CF 2.0 (downloaded dotnetfx.exe) are on the machine. The app deployed fine on the machin until I added tha ActiveX Control. Now after some installation work it brings a MessageBox: System Update Required ...Show All
Visual Basic running a C# project in VB
Hi, I have made a program, that starts in vb.net, getting all the data needed, but the output is in C# (using CsGL, but that doesn't really matter).Prob is, I don't find a way to get the data from the first one (the vb prog) to the second one (in C#). Meaning is that, after a button is pressed, the C# window is opened and gives the results. Anyone who knows how to do this cause I really don't find anything about it (I guess that there arent many ...Show All
Smart Device Development How to call APIs in ossvcs.dll
Hi everyone, I need to call GetWirelessDevices() to get Wireless device in the Mobile 5 . I get information as follow from MSDN GetWirelessDevices() ..... Requirements OS Versions: Windows CE .NET 4.2 and later. Header: Wrlspwr.h. Link Library: ossvcs.dll I use follow code to get pointer for GetWirelessDevices(), it return NULL for the API. I think I use the incorrect method to call the GetWirelessDevices(). But I don't ...Show All
Visual Studio Team System MSF Agile Issue Report Missing: Beta3 Refresh
MSF Agile Documentation for Scenarios states: Issue Issue is a Yes or No value indicating if the scenario is blocked on progress. If this field is set to Yes, the scenario will show up on the project manager’s issue report. Where is the Issue Report Hi Jean-Pierre, This issue report has been cut. You can use the "Work Items" report to get the same data -- just set the "Is ...Show All
Visual Studio Tools for Office Developing Smart Tags with .NET 2.0
Question1: I tried to implement the Visual C#-Tutorial descriped in the Smart Tag SDK Documentation shipped with Microsoft Office 2003 Smart Tag SDK. First I implemented it in Visual Studio 2005. Then I got an error in the Smart Tag Explorer in the Item Details under Observations: "Error loading the requested managed object: Die Version 2.0 ist nicht kompatibel.". This means sth. like Version 2.0 is not compatible. I think this is because of the ...Show All
Visual Studio Express Editions Express Feature Set
Visual C# Express... I think I understand the concepts of the Express product line. In fact, I think I'm a perfect target for their sample market. By day I'm a technical writer for a software development firm. By night, I write software on the side for personal use and to keep up with current technology. At work, I have Visual Studio 2003 Professional on my machine. At home I'm running C# Express. Great - exce ...Show All
SQL Server Universal Indirect configuration file, can it be done?
Hi, I have a questions regarding using a unique indirect configuration file for all packages. I would have in my config file all possible variables and properties I may need to use accross packages. The question is. I may not need all the things defined in the config file in all packages. When I load a package referencing my config file, I get errors if the package does not have all the same items than the config file. Is there a ...Show All
Visual C# Visual C# versus Visual Studio Standard
Hi there, Besides the extra languages in Studio, what is the difference between Visual C# Standard and Visual Studio Standard The difference in price is not so much, but if I only pay more for the extra languages, I stick to Visual C#. It is CHEAP! Cheers! Reginald Thank you very much. That wasn't too difficult! As soon as VS.NET 2005 is out, I'll be a Standard buyer (don't need a bigger version for now). What ...Show All
.NET Development Cross Database Form Parameters
Hi, The new database controls work well by permitting the ConnectionString provider name to be toggled based on the database, e.g. providerName="System.Data.SqlClient" or providerName="System.Data.OracleClient". Grids still work, selecting the data from the new database providing tables have the same names and the queries are generic SQL. Unfortunately when you start using query parameters, the parameter names appear to be ti ...Show All
