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

Software Development Network >> Richard Hafner's Q&A profile

Richard Hafner

Member List

CrioGreen
Puspak
Kegel
clubberx
SP Steve
Dave Elliott Msdn
SheRa
wrreagle70
Yento
Nicola Lepetit
MyLady
TOWFAS
Stephen Planck
Patrick Demer
Genesis_85
Shinyzhu
Andreas Ames
raulhsj
sriksdave
Johnny Butler
Only Title

Richard Hafner's Q&A profile

  • Software Development for Windows Vista Custom activity for showing windows forms

    I've created a custom state activity for showing/hiding a windows form. Which is the best approach to do this I though to insert a code activity inside stateinitialization to show the window, is it correct Then with some mechanism (ExternalDataService ), when user clicks on close button, the activity waiting on that event performs windows closure. Samples would be appreciated. Thank you very much You have the g ...Show All

  • .NET Development TabControl differences to CF?

    I started a thread in the compact framework forum, but am not getting feedback.  I thought I'd post a link here hoping for some cross over thoughts. http://forums.microsoft.com/msdn/ShowPost.aspx PostID=55315 The idea is that i'm seeing the TabControl working differently from full .Net framework to the compact frameworks, and I'm hoping for some insight.  This looks like a runtime bug in the compact framework, but I hope it's simply ...Show All

  • Windows Forms How to find a certain record in a DataTable?

    I want to check if ID = 3 is present in this.myDataset.myTable, what should I do ...Show All

  • Visual Studio Team System Cannot connect to TFS from Visual Studio

    I am not sure if TFS is even running.  I can get to sharepoint no problem, create new sites etc.... I can get to the report services no problem and when I browse to the TFS host machine from a workstation I get the sharepoint site.  I have tried running Visual Studio as the the tfsservice account and still I get the cannot connect dialog.  How can I tell that TFS is installed and working   Is there an admin utility What dir ...Show All

  • Visual C++ "list iterator not decrementable", error.

    I am trying to use some code written in C++, by a third party and I am having problems with the run time error: list iterator not decrementable I am using VS 2005. I have limited C++ experience by the way. This happens when an STL list, in decrementing backwards, pass the beginning of the list. I am told that the list is ‘Circular’, so this should not matter because it will hit the end of the list. This code h ...Show All

  • Software Development for Windows Vista Installation hanging (Dec CTP 5270)

    I'm installing Vista Dec CTP (5270) on a HP Pavilion zd8000 (3.2 ghz, 2gb ram, 7200 rpm drive), and I get a screen that says "completing installation", but then that changes to a screen that says "Installation is taking longer than expected, but should be finishing soon." I left it on all last night (10 hours), and all day today (8 hours - after I started the installation over), and it stays on that screen. Any advice gibbensr@hotmail.com ...Show All

  • .NET Development More elegant search suitable derived class

    Hi, In my project I use following hierarchy of class (class descriptions simplified for this example): public class Message { public static bool TryParse(string s) {} } public class Message00: Message { public new static bool TryParse(string s){} public Message00(string s) { } } ...... public class MessageKT: Message { public new static bool TryParse(string s){} public MessageKT(string s) { } ...Show All

  • Visual FoxPro MSGraph.Chart.8 control

    I need to make charts. I started with MSChart Control and so far I've accomplished almost all I wanted except for one thing which totally eludes me. I need a simple line chart, not columns or a pie. I need to display a row of data like DJIA or similar indices with no additional vertical bars or other embelishments. The curve comes out nice but a lot of space on the chart is wasted because the curve is being plotted too high on the chart in ve ...Show All

  • .NET Development Advantages and disadvantages of using AsyncCall over Threading

    Hi buddies, Can any one please help me to understand the advantages and disadvantages of using AsyncCall over Threading I am totally confused on these two. Thanks for your time to read my question and sending me the answer. Regards, Vinu.P.K You might want to check "Improving .NET Application Performance and Scalability" - Chapter 5 — Improving Managed ...Show All

  • SQL Server sp_addrolemember inside a trigger

    I'm trying to handle some user management inside a trigger. When I call sp_addrolemember I get this error. sp_addrolemember cannot be used inside a user-defined transaction Is there any way to get around this error I need to assign a custom role based on a variable inside this trigger. Any help is appreciated. This kind of "designing" is the BANE OF MY DAY TODAY. Why can't Microsoft ...Show All

  • Windows Forms How do I pop up/show a form at the mouse coordinates - like a context menu?

    Hi all,      I'm trying to open a form at the location of the mouse. It resembles the way the context menu location works. My code doesn't seem to be working - it's just opening, but not at the correct location. I'm hoping s ...Show All

  • SQL Server Stored Procedure

    I have a SP that returns data into a temp table. How do I need to set things up to query that temp table for my report. Will the SP be in one dataset and the report in another Then do I just query the first dataset Thanks for any help. Can you explain you situation a little more Is the SP that populates the temp table being run on a scheduled bases like SQL Agent If your report is kicking off a SP, then c ...Show All

  • Visual FoxPro empty field

    is there a better way of checking for empty fields than select *; from myTable; where field1 = " "; into cursor data1 i need to run a complete check on the database for empty records in every field. How would i check for a 'date' data field Mike Where EMPTY(field1) This will work for all data Types. If you want to check every filled you will need: Where EMPTY(field1) or EMPTY(field2) or EMPTY(field3)... if you want some ...Show All

  • Smart Device Development Can not create Smart Device project in VS 2005

    Hello I've been coding for PocketPC/Smartphone using eVC 4.0 and prev. for several years.  Now, I've installed Visual Studio 2005 and Windows Mobile 5.0 SDKs. The problem is: 1.  When trying to create a new Smart Device project I get the following error message: "Error retrieving information from user datastore". 2.  When trying to open a sample PocketPC or Smartphone project from Samples/CPP/Win32 the error message says: "The pro ...Show All

  • Visual C++ Allocate memory in Heap or in Stack [C++]

    here is some C++ codes, {    ClassA a;  // allocate memory in stack for a    ClassA *pa;  // allocate memory in stack for pointer pa    ClassB *pb = new ClassB();  //ClassB object in heap and pointer pb in stack    pa = &a; } what I want to know is that my comments after every line is wrong or right If wrong, why   Thank you , any help will be apprecia ...Show All

©2008 Software Development Network

powered by phorum