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

Software Development Network >> Hans Groeneveld's Q&A profile

Hans Groeneveld

Member List

JoelMags
cyWrenDave
frank chen
zot166249
JKelley
Raffiq Eddy
Lan Nguyen
AllyJarrett
Chango V.
Rakesh Rajan
OceanMASMJeff32
Gokhan Ertas
swpsaint
Devesh Srivastava
gruskada
Sam_Tuteja
pine_ant
PeterMo.
SobyOne
Cyber Wombat
Only Title

Hans Groeneveld's Q&A profile

  • Visual C++ __FUNCTION__, __FUNCDNAME__ and __FUNCSIG__ macros

    I posted this a while ago, but it seems to have disappeared from the forums. As has the reply from Ayman Shoukry asking if it was still an issue. It is... None of these macros work! I'm using the __FUNCTION__ macro to output the name of a function when tracing generic run-time errors, and it always expands to "__FSTREXP __FUNCTION__" . All the others fail in a similar way - and I had such high hopes for using them! The fact that it does compile means that there's something wrong with the definition, or I guess it could be the way that I'm using it: I'm stringizing the expansion and widening it (my app is pure unicode out ...Show All

  • Windows Forms format date in bound control

    How do you format date (to dd/mm/yyyy)in a control bound to a datetime database field with this code: this.txtFollowup.DataBindings.Add(new Binding ("Text, dsData["Results"],"Followup")); Me.OrderedByTextBox.DataBindings.Add(New System.Windows.Forms.Binding("Text", Me.BindingSource, "OrderedBy", True, System.Windows.Forms.DataSourceUpdateMode.OnValidation, Nothing, "mm/dd/yyyy")) ...Show All

  • Visual Studio Express Editions VC# New Project button disabled

    I have installed the C# Express for a while and some how the New Project and Open Project button disappeared from the File menu. The only thing I can do is to add a file. After that under the File Menu Add item I can add new project. I tried to put the New Project button back to the File Menu but it will be disabled. ...Show All

  • Windows Forms TreeView & ListView contols

    Hi How can i add node to Treeview and Listitems to Listview controls TreeNode to TreeView:   TreeNode trn = new TreeNode(treeNodeName);   childInTreeView.Nodes.Add(trn) childInTreeView is also TreeNode. ListViewItem to ListView:   ListViewItem lvi = new ListViewItem(listViewItemName);   listView.Items.Add(lvi); listView is object of ListView type. ...Show All

  • SQL Server Register CTP to Enterprise Manager

    Is it possible to register SQL Server 2005 to Enterprise Manager of SQL Server 2000   If yes, what are the components that need to installed on the machine having the Enterprise Manager Thanks. Hello, The ADO.NET 1.1 connection and application will work fine with SQL Server 2005. The issue is for application that uses SQL Server 2000 DMO (DMO 8.0) to connect SQL Server 2005 will see similar error. For example, SQL Server 2000 Query Analyzer will work fine with SQL Server 2005 as it do not uses DMO 8.0. hth, Rajesh Patel ...Show All

  • Visual C++ Problem In MFC AppWizard(exe) 3

    How can i get a value(in the form of int or double) from an edit control and then manipulate it in my calculations The idea is like this: a=b+c; b and c are from edit controls. How can i obtained b and c KitZ_CK wrote: How can i get a value(in the form of int or double) from an edit control and then manipulate it in my calculations The idea is like this: a=b+c; b and c are from edit controls. How can i obtained b and c If a, b and c are CEdits, you can use GetWindowText to retrieve their text, then use atoi to convert them to integers, add them, and use _itoa to conve ...Show All

  • .NET Development Pivot Table Control

    Hi I can't get the pivot table control (as in part of Microsoft Office Web Components 11.0) to show on the toolbox in a web project. It shows up when I have a windows project open but not for a web project. I am trying to put a control on the page to enable the user to drill through an Analysis Services cube. If the pivot table control will not work in a web project is there something else I could use Regards ...Show All

  • Windows Forms passing variables to form

    I made my textboxes on form1 public. I was able to access them through my form2, after I made a statement like form1 form2 = new form1();   Problem is, the text boxes are all empty on form2. Is this because I initiated a new form1 and therefore the textboxes are set back to their default as empty How can I access variables stored in form1 from form2 thanks. Awesome.. thanks.. that worked.. I have no idea why I never tried that. So all I gotta do is define my variables globally. I thought I tried that.. guess not cause I tried a few tests and it works great. Jeez this language makes it awkward to p ...Show All

  • Windows Forms No-Touch Deployment - Who is using it?

    Hi all, My company is writing an enterprise app and we are strongly considering no-touch forms for the workhorse parts of it.  I am curious about how prevelent the no-touch approach is becoming. Are people seeing a lot of interest in no-touch   Are a lot of people actually developing for no-touch   Has anyone started deploying no-touch forms   If so,&n ...Show All

  • Visual Studio Team System Content of FxCop report file

    I try to set up command line FxCop environment which uses my base report and then if new exceptions are detected it calls FxCop GUI. To get a report that can be opened by FxCop GUI, I specify /o:report.FxCop as an output file for my FxCopCmd.exe. First thing that I do not understand is that "report.FxCop" is always smaller than if I specify "/o:report.xml" for instance. What is the reason of that Second, and more important to me, is that when I open "report.FxCop" in GUI, all messages that were supposed to be "new" are not being shown as "new" (there is "No" in column "New"). Could you advise on this Thank you. ...Show All

  • Windows Forms Datagrid ColumnStyle MappingName To SubClass of a Collection

    I have a custom collection ProductsCollection that contains products  objects. ProductsCollection is derived from the CollectionBase. Product object has properties:  name and supplier. Supplier property is another custom object Supplier. Supplier object has properties:  name and country. I want to do custom mapping of the ProductsCollection on datagrid  (System.Windows.Forms.DataGrid). Her is the pseudocode: Pr ...Show All

  • SQL Server Error 6522 Trying to Run Assembly from database

    Hi, I am attempting to load an assembly that has been stored in a table as a byte array. I have created a c# class called AssemblyLoader that takes in 2 parameters, the assembly name and the parameters for the assembly (just a query string). From this it returns the assembly byte array using a simple sql statement within the class using the assembly name to select the assembly bytes to return from the database. The returned byte array of the assembly is loaded using:      Assembly assembly = Assembly .Load(assemblyBytes); This seems to be the line that SQL Server 2005 is erroring on. Do I need ...Show All

  • .NET Development SQL Question

    Is it possible to do this with an SQL statement My table contains name,address,phone,email I want to return all rows where email exists in table more than once, i.e. i'm checking for duplicated email addresses Thanks SELECT name,address,phone,email , COUNT(*) FROM MyTable GROUP BY email HAVING COUNT(*) > 1 ...Show All

  • Visual Studio Express Editions Visual Studio Installation Express

    Have just installed Visual Web Developer Express with SQL Express. Seemingly successfully Running the program for the first time and creating a "personal website" a suggested produces this error on attempting to view the newly created site " The file "\\fs01\Users\robin\My Documents\Visual Studio 2005\WebSites\WebSite3\App_Data\Personal.mdf" is on a network path that is not supported for database files." My PC is part of a W2003 domain and the My Documents folder is redirected to the User's home network drive. I don't want to change this. How do I place the database on a local drive Any hel ...Show All

  • Visual Studio Team System ReportServer and missing System.XML

    I have finally made it. After couple of sleepless nights I managed to successfully install VSTS. I checked and all required services are running (Analysis, Reporting, SQL and SQL agent). I can open http://localhost/Reports , however I have an error when I try to open http://localhost/ReportServer . See the error below: Server Error in '/ReportServer' Application. Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0234: The type or namespace name 'Xml ...Show All

©2008 Software Development Network