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

Software Development Network >> Dave Klug's Q&A profile

Dave Klug

Member List

Klause
SHAAS
Marlon_Casusol
Aravinth
Exore
Joe K
The ZMan
basilgreatmouse
doublezen
Chandana Hathi MSFT
Tanna
granny8
GAHarlan
Russt
nidheesh
riwan
betorres
Dave Coder
Bamboo
Anonymous/
Only Title

Dave Klug's Q&A profile

  • Visual C++ VC++ Directories in Beta 2?

    Hey, I am having a wierd problem with VC++ Express Beta 2.  When I go to Tools->Options->Projects and Solutions->VC++ Directories, I barely see anything.  I can see the 'Platform' and 'Show Directories For' combo boxes, but other than that, the window is empty.  Does anyone know of a way to fix this And here is the link to the thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=1884 Greetings   Jochen ...Show All

  • .NET Development Failed to initialize huge arrays

    I have to initialize a huge constant array of structures(60000~100000), used as a lookup table , but it failed with System.InvalidProgramException when the items reach 18400. and if I change the item type from struct to class, the threshold is 35000 . It seems that there a size limition  when initialize constant in CLR. Is there any configurable parameters can be used to increase this limition in C# compiler or .NET framework. Or I'm missing something there   using System; struct st {   public  short t1,t2 ;   public st(short t1,short t2){     this.sym = t1;     this.act = t2;   ...Show All

  • Smart Device Development HTTPWebRequest

    I am writing a smart client application that talks with a thrid party listner on anouther server. This listner was written to read a <TEXTAREA> from a HTML Form "Post". I want to POST my smart client so that it looks like a Page post. That way the listner won't have to be rewritten. This is what I have so far. Can I just send HTML in this request stream I would like to just send the xml but that has not been working. How do I simulate this <TEXTAREA> StringBuilder xmlShortAddressLookUp = new StringBuilder (); xmlShortAddressLookUp.Append( "<FORM NAME='apiform'>" ); xmlShortAddressLookUp. ...Show All

  • Visual Studio Team System MSProject Fields Mapping Problem

    Hi, Based on the information we found from the list of Project fields at the following url: http://msdn2.microsoft.com/en-us/library/ms181691.aspx and also how to: change how fields are mapped to Microsoft Project from the following url: http://msdn2.microsoft.com/en-us/library/ms181686(VS.80).aspx We are trying to map the "Description" field in VSTS workitems with the "pjTaskNotes" field in MS Project but when we uploaded this modified MyProjFieldsMapping.xml file in to Team Project we are getting following error: TF82024: The following fields could not be mapped because the fields could not be fo ...Show All

  • Software Development for Windows Vista Windows Worflow Designer

    Where can I get documentation and examples of using the cancelActivity (located on the second tab of the workflow designer - on the bottom). The first tab is the workflow, second tab is the cancelActivity (for which I cannot find examples and detailed info), the third tab contains the FaultHandler activity. I would like to learn how the cancelActivity is used and whether or not it releases all resources prior to cancelling a workflow during execution process. Please email me at john_portnov@adp.com with any detailed info and/or examples of using the cancelActivity in the Windows Workflow designed (Sequential Workflow with Console project ...Show All

  • Windows Forms custom button control for windows

    I have created a simple Button control that when clicked, the button text is changed. I then added this control to the toolbox. On a new Windows Application project, I dragged and dropped this custom Button control on a windows form. When the program is run, I clicked on that button, but I did not see the text changed. What did I do wron ...Show All

  • Windows Forms Proper splash screen design

    Hello everybody, I want to ask what is the best practice for splash screen design. Should the main method start two separate threads for the main form and splash form Or some other approach Like the main form spawning the splash thread Because I'm rather confused, I've been reading quite a few articles on splash screens all use different approaches and entry points. So I just wanted to ask what's the best practice about the problem. Any advice is greatly appreciated. Regards I think I've found the solution to the .NET startup delay problem. There is a Win32 component that loads up your splash screen J ...Show All

  • Visual Basic toolbox items greyed-out

    I have just installed VS 2005, and I am trying to add dateTime Picker to the form, but this item is greyed out. How do you activate greyed-out items in a toolbox tab Thank You, Kamal I have created a web form, and it's in the design-view mode. I see dateTime Picker under "Common Control" tab, but it is still inactive. Is this control available for web forms How do you check the version of the tool, and how do you update them Thank you, Kamal ...Show All

  • Visual Studio Express Editions MSAccess Database coding, OpenDatabase

    Hi, I use to be quite good using recordsets and so to get to my databases. Any samples somewhere how to do the following it in vb2005: dim dbPictures As Database dim rsPictures As Recordset Set dbPictures = Workspaces(0).OpenDatabase(dbTxt) Sql2 = "Select * from Pictures order by id" Set rsPictures = dbPictures.OpenRecordset(Sql2, dbOpenDynaset) with rsPictures while not .eof .movenext wend end with rspictures.close dbPictures.close Thanx Andrew You must have a connection object to the database, a data adapter to fill the DataSet and a DataSet to fill. Here is a l ...Show All

  • Smart Device Development Context Menu

    Hi everyone, hope you're doing fine. is it possible to add some entries to Windows Mobile 2003 context menu can we add icons next to the entries i have added keys in the registry like it is done on windows xp but it didnt work (maybe the key names are different) :(. any suggestions Please see this post for details on where to post non-VS 2005 questions http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=223605&SiteID=1 ...Show All

  • Visual C# User Selected Database Path

    I am currently creating a frontend for a database. The frontend is essentially used to input data into the database. However, since the database needs/is stored on a server, my application will not find it, as the app.config file specifies the connection string as "C:\...\filename.mdb" which is the path of the file on the computer I am creating it on, not of the server.   Is there some way to modify this code to be set by the user, from some kind of config form Perhaps using a openFileDialog and setting the selected path as a local variable and defining the connection string as this path If this is correct, how would I code t ...Show All

  • SQL Server Problem with DTS Source using Pervasive SQL 2000 (Btrieve) ODBC driver

    I am trying to use a DTS package to extract data from an old Pervasive SQL 2000 (Btrieve) data source, and copy into an MS SQL Server table. I have installed the Pervasive ODBC driver and got linked tables in Access working.  I can see the data. When I create the DTS package, it shows a list of the tables in the drop-down, but when I hit the Preview button I get an unspecified error.  I can finish setting up the DTS package, the new MS SQL Sever table gets created, and the field transformations all look correct.  However, when I execute the package it fails.  In the logs, I get an unspecified error, the only error c ...Show All

  • Smart Device Development .NET CF 2.0 Picturebox

    I'm currently developing a graphics Pocket PC 2003 application using MS Visual Studio.NET 2005 to overlay an EMF image on top of a bitmap.  I know that metafiles are not supported in .NET CF 1.0 and the Picturebox control gives an 'ArgumentException' when you try to display it.  Are they supported in .NET CF 2.0   I'm curious because when I run the executable from the 'Release' folder in the application directory on the Windows XP desktop, it displays the bitmap and the EMF, but gives the following error when I run it on a Pocket PC 2003 device (HP iPaQ):  An error message cannot be displayed because a ...Show All

  • Windows Forms How to hide some properties?

    Hi, everybody, I want to write a control and a designer for it. The control and the designer will exist in "separated" assemblies, The control has some special proeries just for designer, I don't want user use it except for my designer. How to do that Any ideas would be great!  Thanks you are developing with .NET right  Well to create an  ...Show All

  • Windows Forms Binding Comboboxes to custom lists

    I am running .NET Framework 2.0 B2 I am missing something when it comes to implementing databinding in custom classes. I have a view class that acts as my main data source. The view class basically just loads up the data and returns via properties and BindingLists of NameValuePairs (which is just a replacement for KeyValuePair so that databinding will work) The view class also maintains current properties that tell me what the current selected id is for my state, city and street. However when I run the form the databinding seems to get behind. If I choose a new state, the cities refresh, but the text in the state box stays the same. Then whe ...Show All

©2008 Software Development Network