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

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

bkejser

Member List

Mammoth
windisfree
Veena
Remdul
ahs101
devinrader
vb_jonas
ajsri77
James Thornton ITS IV
pmcarlson
Takteek
horatiug
Mark L. Olson
Ir0nClad
Chris Bohling
tqheel
SivaRaja MSFT
max12345
Roxana Goidaci
mmadhuso
Only Title

bkejser's Q&A profile

  • .NET Development Thread context switching

    Hi I want to raise events from an object that executes on different thread, to the main process. Is the best for doing it is by raising the event on the main thread context by using SynchronizationContext object class mainprocess { //register is my method that passes the context to the object   MyObject.Register(new SynchroniztionContext()); } class object {   //within async callback     MyAsyncCallback()     {         //send method of the context executes the delegate DoSomething on the Main   process context(act ...Show All

  • Visual C# why cannot C# make access to methods of grandparent class?

    Is it a flaw on C# Or, by design class A{ virtual string foo(){return "A";} } class B:A{ override string foo(){return "B";} } class C:B{ override string foo(){return base . base .foo();}// impossible } class D:B{ override string foo(){return ((A)this) .foo();}//impossible } class E:B{ override string foo(){return this. A:: foo();}//impossible } There are some times when I want to call methods of grandparent class... The creator of C# did not give us the way. Personally I think it's by design. If you need to get to the grandparent method, you should consider whether you really want the encapsulat ...Show All

  • SQL Server Suspect Mode (no icon in SQL 2005)

    In SQL 2005 when a database is in suspect mode there is no obvious way to tell (via SSMS). In SQL 2000 the word "suspect" was displayed (via Enterprise Manager) next to the database, and the respective database icon was grayed out. Why was this behavior changed for SQL 2005 From a disaster recovery standpoint, it is very important to see immediately if a database is in suspect mode. Hi, I've checked with the SSMS team and this look like a bug. Can you please submit feedback through the Microsoft Connect system ( http://connect.microsoft.com ) This way we can notify you when the issues is re ...Show All

  • SQL Server Writing a Query

    Hello I'm new on sql server and I wonder if there's an specific order for writing a query's clauses (joins, and other conditions in where clause or even the order of the tables in the from clause), I mean, I have a query that takes 1 minute executing, but if I execute the same query after moving the tables in the from clause (changing the order) It takes 5 seconds, could you please tell me Why and what's the best order from writing a query This is my specific query: /**************/ This is the first one: ***************/ SELECT TREP_VALOR_PRECIOS.CDPRECIO, TREP_VALOR_PRECIOS.NMANO, TREP_VALOR_PRECIOS.NMSEMANA, ISNULL(DBO.FNCREP_ ...Show All

  • Visual Basic MultiColumn ComboBox????? - Open for Discussion.

    Hi all; Maybe I am missing something, but given the follow example taken from msdn:     ' Declare comboBox1 as a ComboBox.     Friend WithEvents ComboBox1 As System.Windows.Forms.ComboBox     ' This method initializes the combo box, adding a large string     ' array but limiting the drop-down size to six rows so the combo box     ' doesn't cover other controls when it expands.     Private Sub InitializeComboBox()         Me .ComboBox1 = New System.Windows.Forms.ComboBox         Dim ...Show All

  • Windows Forms ToolStripContainer and MDI

    Is it possible to use ToolStripContainer in an MDI application It seems that the ContentPanel does not have the IsMdiContainer property and thus can not be parent of an MDI child. Any work-arounds When you add an MDI child form to your main form by setting the MdiParent property (childForm.MdiParent = MainForm), a lot more is actually going on under the hood. The MainForm creates a new child window of class MdiClient, and it is this window that actually manages the MDI children (the MdiClient window becomes their actual parent). To control where the MDI child windows appear, you have to control the placemen ...Show All

  • Visual Studio Can't Uninstall VS 2003...

    Hi, I'm trying to uninstall my Visual Studio .NET 2003, from my PC, a Windows XP Professional with Service Pack 2, so i get the flowing error: "Setup is unable to determine a valid ordering for the installation. See the error log for further details." I've tried everything: running repair from the installing CD, a complete successful re installing, searching over Google about the error... also i don’t know how to access to the "error log"... I hope you can help me... thanks!!! try running msiexec /x {product code} to find the product code, download msiinv.exe from https://blogs.msdn.com/quanto/arch ...Show All

  • SQL Server Problem 2147749890 when installing SQL Express 2005

    I attempted to download SQL Express 2005 and received the following. Any assistance or direction to answers would be appreciated. The platform is Windows 2003 Web Edition, is a non Web Edition server required TITLE: Microsoft SQL Server 2005 Setup ------------------------------ The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine COMPAQ8 Error:2147749890 (0x80041002). For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=setup.rll&EvtID=70342 ------------------------------ BUTTONS: OK --------- ...Show All

  • Visual J# Serialization much slower in .NET 2.0

    I tested Java serialization/deserialization with both .Net 1.1 und 2.0 and recognized that 2.0 is much slower, especially on deserialization. Here are my results in seconds for 5 iterations: .Net 1.1: Serialize-Duration 0: 00:00:01.3920016 Deserialize-Duration 0: 00:00:01.6223328 Serialize-Duration 1: 00:00:01.1917136 Deserialize-Duration 1: 00:00:01.5722608 Serialize-Duration 2: 00:00:01.2217568 Deserialize-Duration 2: 00:00:01.6123184 Serialize-Duration 3: 00:00:01.2918576 Deserialize-Duration 3: 00:00:01.5221888 Serialize-Duration 4: 00:00:01.3519440 Deserialize-Duration 4: 00:00:01.5322032 .Net 2.0: ...Show All

  • Visual Studio Using a Template to iterate on all models of a project

    Hello ! I want to define some models to generate code. However I want to be able to define multiple models in a same projects and so I need to write template that will do the same generation for each model found in the project. What I have seen right now is that each template includes a processor directive that specify the model file to use for generation. Can I modify that to iterate on each model file Thanks Dunno if there is an easy solution. Here is a somewhat difficult one which involves coding: Start the template engine manually in code under a menu click like explained here by AnnieM. Alter the code a little bit ...Show All

  • Visual Studio Team System File is exclusively checked out by another user

    Hi, how can I unlock files which are exclusively checked out by another user Thx, Petr If the team project is set up to disallow multiple checkout, you'll have to undo the other user's change. Otherwise, you'll have to unlock it. The first requires "UndoOther" permission on the file, while the latter requires "UnlockOther". In either case, you'll have to use the command line to unlock the file. The syntax for undoing another user's change is: tf undo $/Project/folder/file.txt /workspace:WorkspaceName;DOMAIN\username /s:servername The syntax for unlocking another user's lock is: tf lock /lock:none $/Project/folder/file.txt /wo ...Show All

  • Visual C# Loading Data into API

    Hello, I'm loading a lot of data into the API; is there a way I can make that asyncronous, so I don't have to wait in the application the whole time while it loads I know of the background worker control, but I'm in the API and not doing this in a windows form. What approach should I use I'm using SQL Server express database. Thanks. Starting with v2.0 you can do asynchronous DB calls using SQL (or any DB that supports it really). Refer to the article http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnvs05/html/async2.asp for more information on this feature. For v1.x you can mimic the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting Direct3D 10 Samples (April SDK) running

    Hi! I'm using the Vista Beta 2 and I'm trying to run the Direct3D 10 samples in the April SDK. Unfortunately they all don't work on my computer. They should work in a Direct3D 10 software emulation mode, right Do I have to change any (DX) settings Or do I need extra software Thanks Nico Which operation system do you use The Direct3D 10 part of the June SDK works only with Vista Beta 2. ...Show All

  • Visual Studio Express Editions virtual server 2005

    I'm installing vwd on a w2kp image I got a message on the host from w32mkde.exe saying client(s) already running continue shutting down (y/n) I responded "n" and the install completed ok Should I worry Hi! Thanks for asking! I'm a member of the ASP.NET team, and was just popping over here to see what was going on. The best place to ask ASP.NET questions is over on the ASP.NET forums at http://www.asp.net/welcome.aspx tabindex=1&tabid=39 If everything seems okay, I wouldn't worry about it too much. HTH, PEte ...Show All

  • Visual Studio problem deploying a new project type

    I've created a new project type for the Pascal language. I have deployed and registered the VSPackage in the target computer, along with the project files, but, when trying to create a new Pascal project, I get the following error in a popup dialog: value cannot be null parameter name: type In my development machine, which contains VS SDK, the error doesn't occur... Can anyone help me please Thanks, -- AFurtado Do you have a PLK A PLK is required to load on machines that dont have the SDK, as in a real deployment scenario. This is covered in the SDK docs. ...Show All

©2008 Software Development Network