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

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

BobInIndy

Member List

Deldy
calmal20
AhXue
Kamii47
John Woodiwiss
CinoV
ivl
Michael Miller
LpAngelRob
Troy Lundin
Paula M
djroberts
Tom Replogle
AlanKohl
chiraj
BobInIndy
Sarwanan
Gage
Eugene Agafonov
ZardoS42
Only Title

BobInIndy's Q&A profile

  • .NET Development Recomended number of threads ?

    What is the max recomended number of running threads in an application(win app) What is the "limit" that above it, it will be better to use a thread pool Thanks Avi Threadpool is the good solution. if you don't want to use it... you can do some test with them and you'll see that you'll see the breakdown differs on every machine. what I can say to you...is not to abuse of threading. :) If you need more info about the reason to use Threadpool I can explain it . I hope this can help you. Dario ...Show All

  • Internet Explorer Development how to use onToolBar and tab event

    Hi... I found out that using : Invoke(DISPID dispidMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pvarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) on dispidMember = DISPID_WINDOWSTATECHANGED try to get value from (int)pDispParams->rgvarg[1].bstrVal if the value is 3 that means the current tab is active if the value is 2 that means the current tab is hidden. if the value is 1 that means the current tab is disable by some windows dialog. izzit correct are there any other values I can also use IsWindowVisible to check whether currrent toolbar is active or inactive, visible/invisible, hide/unhide. However, when i try to use dispidMember = DISPI ...Show All

  • Visual Studio 2008 (Pre-release) PeerChannel - System.NullReferenceException on connect, intermittent

    We are seeing the following PeerChannel problem occur at connect time - intermittently, but daily for the customer. Null reference exception Occasionally, when someone connects, they get a null reference exception like the one shown below. A second attempt to re-connect works the majority of the time, but not from the same AppDomain (e.g. we have to shut down and re-launch the application program). System.NullReferenceException: Object reference not set to an instance of an object. Server stack trace: at System.ServiceModel.Channels.SocketConnectionInitiator.ConnectAsyncResult.StartConnect() at System.ServiceModel.Channels.SocketConnectionInitiator.ConnectAsyncResult..ctor(Uri uri, TimeSpan timeo ...Show All

  • SQL Server ClusterDistance() of Zero for All Cases

    I recently added a nested table to a model that I had been using for a while. I noticed that after I added the nested table that the ClusterDistance() function returned 0 for every case. I went ahead and changed some of the keys for the nested table records so that the values would show up as missing and now the cases with a missing value have a non-zero ClusterDistance() value. Can anyone help me understand why this may be happening Thanks. How many clusters were in the model And what is the result of the Cluster() function for each case Can you post the cluster content (SELECT FLATTENED * FROM ModelName.CONTENT) Thanks -Jamie ...Show All

  • SQL Server Calculated measures on Analysis server

    Hi, Is there anyway I can process calculated measures of the cube on server As of now its getting processed on client and its taking lot of client memory . We have got a good configuration server . Is there anyway I can configure to get this processing done on OLAP server Any help/tip will be appreciated Thanks, SP Just wanted to confirm that you weren't referring to cube processing time, rather than to query response time. With AS 2000, you can (to some extent) increase server-side query execution by changing connection string parameters: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ansvcspg.mspx >> Microsoft SQL Server 2000 Analysis Services Performance Gui ...Show All

  • SQL Server Error when restoring the database in SQL

    I have 3 database in SQL Server 7.0 (e.g. Company_1, Company_2 and Company_3), and I'm create 2 for new Db (Company_4 and Company_5), when I'm trying to restore from the backup data into the new Db which I just created, there is encounter the error as follow : "Microsft SQL-DMO (ODBC SQL State : 42000). Backup or restore operation terminating abnormally." Then the Database has corroupted and not able to open for Db Information. However, I'm able to do restore in the other Db (the first 3 Db).   Surprise, why there isn't anybody to reply for my problem , is there anybody to make clarify for my question . ...Show All

  • Visual C++ Linking static library to a managed dll

    I have a static library that i want to be able to link into a different project that is written in managed code. The project I am creating is a webservice and i need to be able to use the classes in the static library. When I build the project I get tons of link errors like unresolved external symbols. I am assuming from what I have read the i have this mixed dll loading problem. Is this the case I am currently getting errors like : msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet::_Register(void)" ( _Register@facet@locale@std@@QAEXXZ) already defined in libcpmtd.lib(locale0.obj) msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall std::locale::facet: ...Show All

  • Windows Forms Dynamic selected Dataset and dispaly in DatagridView

    Hi Gurus, i have following problem. In my application I need a datagridview with dynamic columns. I created a dataset and I filled it with a SqlClient.SqlDataAdapter.Fill Method. After setting the datasource of my Datagridview the result will be displayed. But the problem - i like to display different columntypes (i.e.checkbox), but of course in my table were booleans displayed as 0 and 1 (how I stored them in the dataabase). Is (and how is) it possible to change the columntype in my example to checkbox.. Thanks in advance for your ideas. Stefan Solved ! ...Show All

  • Visual Studio Express Editions Form.TomMost Property didn't work correctly on visual Basic 2005

    Hi every body in visual basic 2005 ,the form.TopMost Property didn't work correctly in visula basic 2005. I set TopMost property to ture,but my form lost focus when user clicks on another form. I Need this information to complete my job. I have a few items which are always on top (ObjectDock, for example), which sometimes disappear to the background. Usually I have to 'reset' it to be back on top. It doesn't use the .NET framework, so I guess the issue is that always on top is unreliable. I believe that there are probably some applications which use the always on top mechanism to bring a form to the foreground, which messes up forms which truly need to be always on top. I guess you can simply ...Show All

  • Windows Forms Multiple Controls that have the same databind

    Two parts: Simple and Complex In your example, you are binding all of your comboboxes to the same bindingsource. Since the bindingsource wraps the currencymanager, you are telling it to keep all controls at the same position. You can get around this by creating multiple bindingsources, even if they have the same datasource. Tony ...Show All

  • .NET Development How to get the max length of text field in a DataSet?

    I have a DataSet bound to an Access database. Is it possible to get the maximum length of a text field of a table in the DataSet Many fields in the database tables have maximum length values set in the design view in Access. When I examine the loaded DataSet in the VS 2005 debugger, I can't find any maximum length information anywhere in the DataSet or the "DataTable.Columns" objects. I wrote the schema of the DataTable to a file (using WriteXmlSchema) and I see that the XML schema does not contain maximum length information for any fields. I want the maximum length to validate user input on a form. Currently, if a user enters too much text for a field and trys to update the database, an exception is thrown stating: "T ...Show All

  • Visual Studio 2008 (Pre-release) TextBlock versus Label

    What is the difference When to use one versus the other Unlike Label, a TextBlock element can do ... Thank you in advance for your help. Pradeep Label uses less resources than textblock and offers not all the features in TextBlock. if you want to add text label to a textbox, etc then I guess Label is the way to go. if you want to display some text(paragraph, etc) then Textblock is the way to go ...Show All

  • Visual C++ VS .Net 2005, how to disable intellisense...

    Hi I am really frustrated with the performance of VS .Net 2005. This is because I always see at the bottom "updating intellisense..." and it uses 60% to 70% of CPU. How to disable this updating of intellisense... Please this is making Visual studio unusable. Thanks Chandra My guess is that Intellisense performance is killed by some of the following: excessive use of templates in code, #import for large native COM classes (biggie IMO), errors in parsing which cause loops (i.e. it never completes), corruptions in NCB files (deleting usually makes things better for a while),  preprocessor code greying, very large precompiled headers, slow update of class view pane.     I hav ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Model not showing up in game

    Hi all: I'm playing around with the XNA Framework more and starting to make sense of things. I've run through the 3D tutorial and I can see the p1_wedge model just fine. Unfortunately, when I try to make my own model and bring it into the tutorial, I don't see anything. I have a texture for the model as well as the .x file itself that I created in trueSpace 6.6, and I've verified that it compiles ok in the project. I don't get any runtime errors either. Maybe I've missed something in the documentation... is there a scale of measurement I should be using Are there guidelines for creating 3D models for use in XNA I'd love for that to be in the docs. Anyway, I've uploaded a couple of files to my website for reference: http://www.spel ...Show All

  • SQL Server trigger on SQL_SERVER_A to update SQL_SERVER_B

    I have SQL_SERVER_A and I want to create an entry in a database on SQL_SERVER_B (different machine)   on SQL_SERVER_A there is a table called INUSE which will change every second. If INUSE table on SQL_SERVER_A was changed it should run SELECT COUNT(*) AS COUNT_RESULT FROM INUSE and save the COUNT_RESULT into a table called DAILY_RESULT on SQL_SERVER_B Hello, you should create a trigger like this: CREATE TRIGGER tr_updTab ON dbo . table1 AFTER INSERT , DELETE AS BEGIN SET NOCOUNT ON ; insert serverb . db . schema1 . tableB select count (*) from table1 END GO ...Show All

©2008 Software Development Network