Software Development Network Logo
  • .NET Development
  • Visual C++
  • VS Express Editions
  • SQL Server
  • Visual J#
  • Game Technologies
  • Visual C#
  • Windows Forms
  • VS Team System
  • Architecture
  • Windows Vista
  • Windows Live
  • Visual Studio
  • Visual FoxPro
  • Smart Device

Software Development Network >> Heniek's Q&A profile

Heniek

Member List

BurnChrome
Jim_Bromer
Martin Sawicki - MSFT
underSt8ment
Carlos Gonzalez
Eli.weiwang
SChava
fast_
Wesman
Alnilam
Cat Herder
FloatingPoint
sevanoaks2005
ApellA
mattwink
ComputerSolutions
reb1577
Erik ETS
BertB
dippleblue
Only Title

Heniek's Q&A profile

  • Visual C# Sharing variables between classes

    Hi all I have the following project.  I would like to have a common property across all classes, i.e. such as skin color in the example below.  Is there a better way of constructing this object and assign the skin color Thanks for the advice, Steve using System; using System.Windows.Forms;   namespace WindowsApplication1 {   public class Class1  {    public static void Main()   {    Person myPerson = new Person();    myPerson.SkinColor = "Purple";      myPerson.myArm.description();    myPerson.myLeg.description();   ...Show All

  • Visual Studio Express Editions Database Update Allows Additions but not Deletions?

    Hi, I’ve created some code to add new rows to my database which works fine, and after restarting the program, all new rows are still there. (I’ve modified the database parameter from ‘Do not copy‘ to ‘Copy if newer’.) Another subroutine I’ve created removes certain rows. While the program is running this works fine! However, when I restart the program the deleted rows are back in the database! This seems really strange! I can add new rows which are updated to the database, but deleted rows are not being properly deleted from the database, because when I restart the program they are back. It seems the database is ...Show All

  • Visual Studio Team System Web Test Unable to Record

    I have found an issue with the Visual Studio 2005 Web Test which is preventing me from recording any further scripts. Each time I attempt to record a new test it no longer records the URLs visited. The left had pane in IE normally displays information on the Web Test tool and information on URLs visited. This appears as just a grey panel – I’ve also noticed that the PC is running very slowly and the memory usage is maxing-out at 100%. (The PC I’m using is a P4 1.8GHz with 712MB RAM.) I have been able to record several tests in the last week without any issues and this problem has only just arisen. - Things I ...Show All

  • Visual C++ VC8, Adding __event to non-CLR code gives error C2712

    In a non-CLR class I have a number of __events defined. When compiling the source code in which the corresponding header file has these __events, I receive the error: error C2712: Cannot use __try in functions that require object unwinding pointing to the last of the __event lines in my header file. When I look at the error message it says: "cannot use __try in functions that require object unwinding". Further it is mentioned that "object unwinding" means "destruction". Needless to say I am not using __try anywhere but perhaps the code being generated by the __event extended keyword is. I have no idea what the function that "requires object ...Show All

  • Windows Forms How to improve Listbox performance in ADO.NET 2.0?

    I have a bunch of listboxes on my windows forms with a couple of thousand records in each one of them. It takes almost about a minute to load a form in .NET 1.1 We are migrating the application to .NET 2.0 and was wondering if there is any way to improve the performance in ADO.NET 2.0 so that the listboxes are loaded faster in .NET 2.0 I tried running speed test as per: http://msdn.microsoft.com/msdnmag/issues/05/11/DataPoints/default.aspx fig=true#fig6 and was really satisfied with the promising results. Please let me know if you have general tips / suggestions to improve performance of ADO.NET Windows Forms Application in g ...Show All

  • Visual Basic VB6 keywords, language to VB.net

    VB6 Language reference provided all keyword data, language reference data, etc. sometimes with little code snippets. Where is there equivalent information on VB.net that is in simple format like that used for VB6. I find help in vb.net so confusing as to be worthless. Also where can one find an equivalency table VB6 to VB.net. For example, a VB6 keyword not covered in VB.net, should indicate a workaround. For example screen height in VB6 refers to the monitor screen, VB.net indicates an error with screen. Where are the workarounds This is an interesting discussion. The other day, I was looking up del ...Show All

  • Visual C++ testing event == nullptr

    With the old syntax you had to test whether there was any handler connected to an event by writing   if (myevent != nullptr) myevent(this, myargs); With the new syntax you no longer have to perform the test, which is good, but what if I really want to know if there are handlers What would be the syntax then Chris. Hi Chris: the feeling of the C++/CLI design team was that an event is an abstraction of add, remove and raise and that users shouldn't really be peeking behind the curtain . If you really want this level of control then I would suggest that you use a raw delegate instead of an ...Show All

  • Visual C# C# and Lotus Notes

    Does anyone have any suggestions for using C# to do a lookup in Lotus Notes address book Any Help would be apppreciated Thank You A quick google came up with http://www.proposion.com/site/proposion.nsf/pages/N2N , but it also says you can use ODBC to access Notes. Maybe this helps: http://builder.com.com/5100-6388-5116212.html ...Show All

  • SQL Server Formatting Job Step Commands

    When I create a script for a SQL Agent job I like to format the job step command with tab's and line-feeds using CHAR(9) and CHAR(13) respectively within a string of SQL.  This then gives me a nicely formatted string when you view the job through EM. If I view the same job through 2005 Management Studio the step commands that were so nicely formatted  in 2000 EM are now just one long line, wiht no formatting. Is there a way that I can format the step command string as I creat the job through my SQL script ...Show All

  • Visual Studio Team System MPP: Attatch Custom Field

    I have a custom field in mpp and I have a custom field in work item type. So how to map them and how to populate the field from mpp. Check this article: http://msdn2.microsoft.com/en-us/library/ms181691(VS.80).aspx Thanks, Alex ...Show All

  • Visual Studio Team System Team System - Website Under source control

    I have the Team Build Configured and I am also able to start the build from any of the client machines. The library, console, windows services and application are all compiling with out any errors but when it comes to compiling websites I am running into issues. All of these projects are under Team System source control. The website has Project references to other library projects within the same solution but the team build does not seem to be copying these referenced assemblies into the website's bin directory after compiling those libraries, because of this the website compilation is failing, is there any thing that i need to do ...Show All

  • Visual C# writing images from SQL in a table...

    Hi, I would like to know if there is a way to print in a html page a table with 4 images, and it's description queryed from SQL Server... Like, I have already a page, and in the body, I have <% response.write(table) %> And in my .cs I insert all html....and together with this html I need to put the image !!! Thanks Hi, It worked, but instead of print the image it's printing System.Byte[] Any Idea Here is the code... try { IDataReader dr=cons.consulta_imagem(Request.QueryString["cod"].ToString()); dr.Read(); string tipo=dr["Tipo"].ToString(); byte[] images=(byte[]) d ...Show All

  • Visual Basic VS 2005 seems unusable for large VB converted project. How do I turn off the background compiler.

    VS 2005 seems unusable for large VB converted project.  How do I turn off the background compiler. I have a fairly large project that I migrated from VB6 to VS2005.  This is the RTM version of VS2005.  There are many issues that I need to fix up in the code, but every time I change one line of code, my system runs 100% CPU for 30 seconds. This is not even close to usable.  You might think I have a slow machine, but I am running this in a P4 3.5 GHZ with 1GB of RAM, and a SATA 150 hard drive. I will be forced to abandon use of VS 2005 for this project unless I can find a work around for this issue. Please help! ...Show All

  • Windows Forms Can't get images on toolbar buttons when running

    Hi everyone,  I have a VB.net application that has a toolbar with several buttons.  The first two buttons are the standard "save" and "print", with those typical images.  My problem is they show up and work fine in the form designer, but when I run the application the images assigned to the buttons do not appear.  Can anyone tell me  ...Show All

  • Visual Studio 2008 (Pre-release) AddVisualChild question

    I have a design where I want to load a visual dynamically from an assembly (a plug-in system). I won't know which assembly or namespace ahead of time, so this has to happein in code-behind and not in xaml. I have created a class that derives from FrameworkElement called PluginHost. PluginHost loads the visual from the assembly and creates it just fine, but I can't figure out how to get the visual instance added to the PluginHost. AddVisualChild doesn't seem to do anything. VisualChildrenCount still shows zero and nothing appears after the call. Can someone help To add visuals to your class you need to ...Show All

©2008 Software Development Network