Software Development Network Logo
  • Visual Studio
  • IE Development
  • Smart Devicet
  • Audio and Video
  • Visual FoxPro
  • SQL Server
  • Visual C#
  • Visual C++
  • Microsoft ISV
  • Windows Forms
  • Visual Basic
  • SharePoint Products
  • VS Team System
  • Windows Vista
  • .NET Development

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

ben22

Member List

Jolly Jelly Bean
kennm
Martin Kulov - MVP
Vantoko
Jack.Ma
WolfgangEngel
P Willy
jwagner20
Adrian Heath
Paul Bates
Lee John
Peter Haik
jdunlap
Cyberpro60
Ultrawhack
MikeLR
jw700
SKK*
Farrokh Moori
J. Clark
Only Title

ben22's Q&A profile

  • Visual C# Displaying a Generic.Dictionary object in a PropertyGrid

    Hi, I have a property in one of my classes that returns a Dictionary object: public abstract partial class NonStationary : Structural { protected NonStationary( string name, Shape. Shape shape) : base (name, shape) { } private Dictionary < string , Motors. Motor > _motors = new Dictionary < string , Motors. Motor >(); [ BrowsableAttribute ( true ), ReadOnly ( false ), TypeConverter ( typeof ( CollectionConverter )),] public Dictionary < string , Motors. Motor > Motors { get { return _motors; } } } There are four classes th ...Show All

  • SQL Server Major performance hit in select statement once database reaches 50,000 records

    I'm running SQL Server 2005 (64bit) Evaluation Edition. I'm doing an evaluation on performance for an internal project here at work. The machine has 2GB of RAM and is an AMD 64 running Windows XP 64 with SQL Server 2005 64 Eval The database has about 200,000 records in the person table. Select * from person is the statements "very simple" The results up to 49,000 are acceptable then at 50,000 it goes into a crawl and starts returniong 100 records every 2 seconds. Does anyone know what is going on here I assume you have a very good reason for sending tens of thousands of records back to a client... You may easily solve your problem by using something like a where clause. The number of records in a table lik ...Show All

  • Visual Studio Express Editions Printing RTF

    I have made my own rich text application but how can i print in rich text The 'Print function' code is at http://support.microsoft.com/kb/811401 Replace 'handle' in line res = SendMessage(Handle, EM_FORMATRANGE, wparam, lparam) With your RichTextBox handle. ------------------------------------------------------------------------------------------------ Use code similar to that below to call the code in the link. The highlighted 'print' below calls the code in the link above. Private Sub PrintButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button7.Click StartPosInRichTextBox1 = 0 StopPosInRichTextBox1 = RichTextBox1.TextLength PrintDoc ...Show All

  • SQL Server Getting meta-data for Linked Servers

    My customer has a .NET application that reads meta data from SQL Server, Oracle, DB2, and several propritary databases. Because each DBMS stores the meta data using various techniques, they have written custom code for each DBMS. They are working on a generic ODBC/OLEDB suppport, but in the interim I was trying to use SQL Server to link to an Access database. The Access linked server works fine for queries in Query Analyzer, but I would like to be able to programatically read the metadata for an Access DB (tables, columns, types, etc) via the linked server. SQL Server's usual mechanism for storing meta-data in the Master database aparently is not used for Linked Servers. Does SQL Server expose Linked Server meta data How would one ...Show All

  • Visual Basic Running clock

    Hello all. This is my first post, so pardon the noob stuff. I am trying to get a running clock inside a text box. I have everything setup except getting the clock to refresh itself every second. txtClock.text = TimeOfDay My question is how do I refresh the clock. I been thinking about putting it in a loop statement, however, I can't get it to run (endless loop). It complies fine but won't display anything. I don't want a specific time for it to end, that’s why there is not a (i += 1) in the loop. Dim i As Integer = 0 Do While i <> 1 txtClock.Text = TimeOfDay Loop Any help would be appreciated. You could use the timer control (it's in the toolbar) Jus ...Show All

  • SharePoint Products and Technologies Multivalued bdc column - a dream?

    I think (based on experiment and crawling through the internet) that this is impossible, but I will ask again - does anyone know of a way to make a BDC column multivalued I have a web service that allows people to seach for values from an external system, but they need to select more than one value. Please let me know if you know the solution. Thanks, Ishai Sagi Well, I do a lot of Enterprise Application Development with a service oriented midset. Knowing that, you could create a web service interface to retrieve the information and return it in a format that the BDC can consume (this is not near as intuitive as pulling from a SQL database but it is possible. This allwos you to use your AD Data in your apps without direct ...Show All

  • Visual Studio doing a search in MSDN techinal articles, columns and msdn magazine

    Pls, How can I do a search in msdn or msdn2 that returns results only from technical articles, columns, periodicals and msdn magazine withount including the regular .Net help documents. Thank you For my previous question: returns results only from technical articles, columns, periodicals and msdn magazine withount including the regular .Net help documents I just discovered that doing a search for: My word 1 My word 2 Article Returns mostly articles (from MSDN magazine, columns, technical articales...) instead of regular help documents any other suggestions (I find that articles are very efficient for people who re beginners like myself to dig into a technology and understand its practical aspect) Thanks. ...Show All

  • Audio and Video Development Text to Display Rending

    Here's the issue in the simplest terms I can explain it. This all started with subtitles. It is obviously easier to have a markup file with all the subtitle text in it instead of having to make individual graphics for each. Far as I know, this should be possible. Unfortunately, it's not going so well. After many attempts at subtitles, I decided to just add a very basic text output from the main markup file. It still did not work! I've checked the fonts, tried a few, and they are all Open Type. It's a very simple piece of code that just sets the position, font, and color. I left out all the timings and animations to be safe. Is there a bug in the Toshiba Players that won't do this or I am just overlooking something right in front of my face ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bones and X Importing

    Hey all, Took a look around and couldn't find a post about a similar problem on the forum, and just wanted to know if anyone encountered any problems importing an x file that included a skeleton, I created the following test animation (forget the animation at the mo, it doesn't seem to get past the importing stage let alone processing) of a cube in Maya 7, importing it using the directx X importer plugin for maya from the august SDK (the december one crashes everytime i try to use it, and i have yet to try the february one). When i so much as add the x file to my project, without referencing it in the code (so all it goes through is the content X importer and default Model XNA processor) and try to build it returns the error: 'Error 8 Vert ...Show All

  • .NET Development How to force web services not to omit null fields in response SOAP message?

    Hi, We use web services to expose data manipulation services to another system developed with a different technology. Unfortunately, that system cannot handle missing fields in SOAP message (By default, SOAP messages generated in web services do not include fields with null value). Any one know how to force web services to generate the field tag even the value is null Thank you! You need to use [XmlElement(IsNullable=true)] on your reference type members to achieve what you want. Unfortunately if you are using attributes (members marked with [XmlAttribute]), there is nothing you can do: you would have to initialize them in the ctor. Thanks, Elena ...Show All

  • Visual Studio Print Layout mode showing incorrect # of pages at first

    Sometimes when switching to Print Layout mode, it will say page 1 of 1, switch back to Interactive Mode and back to Print Layout mode again, and then it will display the correct # of pages. Anyone have any idea how to correct this FYI: I am using the report viewer in local mode. Most reports work just fine. I too get a similar problem, except when the report is generated it only shows 1 page, but when i goto Print Layout, it will show the right # of pages. I installed SP1, how do i know the files in the GAC are updated When i use windows explorer my version for Microsoft.ReportViewer.* is all 8.0.0.0 and the Public Key Token is b03f5f11d50a3a Thanks in advance ...Show All

  • Visual C++ MSVCR80.dll

    I was trying to install a disc from my college classes and i keep getting this error, couldn't find libraryMSVCR80.dll (required by C:\PROGRAM~\COMMON~\MICROS~1\OFFICE12\MSOXMLMF.DLL) I have run RegCure to try and fix the problem to no avail. Any suggestions Also at start up, I get a rundell.dll error is this the problem Hello Jonathan. Thanks. Absolutely right. Unreg cured my problem. I was reinstalling Logitech Set Point (Blue Tooth older vers) and got the same mess. Now, OK. >> regsvr32.exe /u "c:\program files\common files\microsoft shared\office11\msoxmlmf.dll" DanMS ...Show All

  • Visual Studio Express Editions Visual Web Developer 2005 Express For ASP?

    I want to debug Classic ASP Apps using Visual Web Developer 2005 Express  . Can i and how to adjust it( Visual Web Developer 2005 Express ) Hello, I'm also interested in developing classic ASP solutions using Web Developer 2005 Express. Syntax highlightning works fine. However, I've got some questions 1) how can I jump to the declaration of a sub or function as known from Visual Basic's cursor menu "goto declaration" 2) intellisense works in case I have declared a class inside my source file, have created an instance and want to see the properties and methods by typing the name of the instance variable and the dot (.) But how about intellisense in case I ...Show All

  • SQL Server Table transfer errors

    Hello, I am trying to transfer a database from one server to another using the Import Export wizard in SSIS and I am consistantly getting this error on 2 different tables so far. - Execute the transfer with the TransferProvider. (Error) Messages * ERROR : errorCode=-1073451000 description=The package contains two objects with the duplicate name of "output column "ErrorCode" (79)" and "output column "ErrorCode" (14)". helpFile=dtsmsg.rll helpContext=0 idofInterfaceWithError={8BDFE893-E9D8-4D23-9739-DA807BCDC2AC} (Microsoft.SqlServer.DtsTransferProvider) This error message is beyond cryptic and when I click on the link it sends me to a web page the just tells me that there is no informat ...Show All

  • .NET Development How to allocate a large size array on 64 bits machine

    hey, I am using 64 bits machine (windows XP) and VC++2005. I want to allocate a 60,000x60,000 two dimensional float array. But it falied, though the system allow me to allocate two 30,000x60,000 float arrays. Is there any way that I could allocate one array instead of two separate ones Thank you in advance!! Unfortunately arrays larger than 2GB in size are unsupported on the current framework. I've written a blog entry about this here: http://blogs.msdn.com/joshwil/archive/2005/08/10/450202.aspx -joshb ...Show All

©2008 Software Development Network