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

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

Eldoktor

Member List

kwards3
Lugaidster
jhidey
ShivaanKeldon
pdurbha
Jassim Rahma
Ritesh305
Ezaz Mohammed
ghostnguyen
GRK
JasonG271009
J A Y
vec7or
Machie
Vayse_Dev
frindim
donna123
Stebane
Shril Pyrrho
Crasch
Only Title

Eldoktor's Q&A profile

  • Visual C# Exception???

    System.ObjectDisposedException: Cannot access a disposed object named "DataGridTextBox". Object name: "DataGridTextBox"......I am getting this exception and unfortunaltly i dont know why or how to catch the exception so i know what line of code is throwing this....any help on how i can get this error handeled Go to menu item "Debug->Exceptions...", find ObjectDisposedException and set "Break when exception is thrown" instead of "Break when exception is unhandled". In VS.NET 2003 it will be slightly different, but you'll easily find this setting. After that run your app and you should fall to debugger at the place where this exception is thrown. ...Show All

  • Software Development for Windows Vista source filter

    Hi, Can anyone guide me in getting a source filter code for reading a file ...Show All

  • Visual Studio Express Editions Pausing a slideshow

    Hello, I am working on a program that displays a picture and records a persons reaction to that photo with a camera. It is being used for research and often the trials are quite long. Currently I cannot pause the program. I am planning on using multiple threads to put the application to sleep until it is woken again, but frustratingly I can't figure out how to handle the keyboard input to trigger this. (Think of this part of the program as a form with 2 buttons on it and a picture) Any keyboard input handlers I write for the form cease functioning as soon as I add in the buttons. How do I direct the input to the form Thanks in advance! Cameron Thank you,  that has bro ...Show All

  • SQL Server Copy Database with Microsoft.SqlServer.Management.Smo.Transfer breaks identity columns

     Hello I have a task to copy at runtime "etalon" database inside one same SQL 2005 server. Everythings ok except identity fields: identity breaks in new database. I use such code:                     Transfer xfr = new Transfer(db);                     xfr.CopyAllObjects = true;                     xfr.Options.ContinueScriptingOnError = true;                     ...Show All

  • Visual Studio Express Editions Many Threads Logging to Same File(?)

    Hello All, I am trying to figure out a way for many threads in my app to log to a single logfile. Here are the details... a. I instantiate a client class for each incoming socket connection... service the connection then log the result. b. I am using a User Selectable Threadpool ranging from 1-10 threads c. The string being written is very short (about 90 bytes) Problem is the debugger throws an IO Exception "The process cannot access the file ... because it is being used by another process" This problem doesnt seem to appear in the "Release" Application, only when in the debugger. I have tried several methods of reducing the contention for the file but they dont seem to work... I have tried the fo ...Show All

  • Software Development for Windows Vista value of MSGFLT_ADD/MSGFLT_REMOVE

    Hi, I want to load and call method ChangeWindowMessageFilter dynamicly on vista. Can someone tell me the values of: MSGFLT_ADD/MSGFLT_REMOVE I don't have vista sdk installed. Thanks, Shapupu MSGFLT_ADD is 1, MSGFLT_REMOVE is 2 These are #define's in the Vista SDK's winuser.h file, but are only defined if WINVER >= 0x0600 (Vista or later). ...Show All

  • Visual Studio Express Editions How to raise an event for the controlBox Close form button X

    Hi, How can I raise an event for a forms control box close button X The form close event will not do , I need to ony action something when this button is clicked, can not seem to reference this button. Ron Why does the close event not do it for you (FormClosing) You can look at the CloseReason to determine how the application s closing (e.g. form the X, parent closing, windows shutting down, etc) ...Show All

  • .NET Development Writing/adding elements to a xml file

    Hello! I want to add another book (book4) to the xml file below. What I did: XmlDocument document = new XmlDocument(); document.Load("info.xml"); XPathNavigator navigator = document.CreateNavigator(); But how do I navigate to the required node and add another book Hopefully someone can help. Thank you. info.xml: < xml version="1.0" > <Info> <Author> <FirstName>John</FirstName> <LastName>Boy</LastName> <EmailAddress></EmailAddress> <Gender>Man</Gender> <Birthday></Birthday> <Address /> <ZipCode /> <City /> <Country /> <Telephon /> </Author> <Books ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Graphics problem

    Ok, here's what I got:   ATI MOBILITY RADEON 9000 IGP, I have Service Pack 2, can run DirectX9.0c easily, I have all prerequisites & requirements I need...But I gut an error message along this line: this.GameComponents.Add(this.graphics);   message: The values used in the attempt to create the GraphicsDevice were invalid. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I need sum clarifications

    Hi all, I just started to learn 3D GameStudio ( it's a game engine), it's ease to learn it has a GUI wher u can design ur level and assigne behavoirs , instant walkthrough etc. Is possibile to do that in XNA, I mean it has a GUI couse I installed it with the VC# express and I tryied to find graphic windows or sumthing that u can deal with interactivly . I found only code editor. Is this the only way to do in XNA I must do every thing by coding In case I want to learn XNA where can I start ( I don't now nothing about VC#) and I need long time to start doing sumthing interesting. Thanks for ur Help. Actally Rhaber I speak 2 English and Japanese thanks. Using shorthand to type a message is ...Show All

  • Visual Studio 2008 (Pre-release) Pattern to Emulate a Property with no set in a DataContract?

    I'm writing the WCF Service Hosts for our application. I know that in a DataContract a DataMember marked property must have a get as well as a set . Does anybody know of a good way to get around this Say I've got an Employee class that's a DataContract. I would like the client to be able to change FirstName and LastName and all that stuff, but I don't want them to be able to change the EmployeeId. I just want them to be albe to read it. Both my Service and Client  are .Net apps. Any help would be very much appreciated. Thanks, Geoff Rajesh,     Thanks for the reply, that was a lot of help. I ran into a couple of problems implementing the /reference: option. On my trivial example that ...Show All

  • Visual Basic SetWindowsHookEx Always returns Zero

    I am using VS 2005 8.0 I do not know why the following code is always returning zero for the SetWindowsHookEx. I have unchecked the "Enable the visual studio hosting process" in the projects debug properties but it always passes the If _mouseHook.Equals(0) condition and the Hook is not initiated. Can anyone tell me why Below is all the code on the form. Thanks. Imports System.Runtime.InteropServices Public Class Form1 Inherits System.Windows.Forms.Form Private _mouseHook As Int32 = 0 Private _mouseHookProc As CallBack Private _appThreadID As Int32 Private Const WH_MOUSE As Int32 = 7 Private Delegate Function CallBack( ByVal nCode As Int32, ByVal wParam As ...Show All

  • Software Development for Windows Vista Accessing properties of subsequent activities (Not children) from the executing activity

    I have a large workflow with lots of parallel activities so that the workflow branches continuously as you go down the design. On a particular parallel branch I need to access the individual properties of subsequent (Not child) activities and all their children without confusing them with the activities that are in the same context but on a different branch. I need to keep the look of the workflow extremely simple (although huge) in the designer as this workflow will have simple changes to it made by users in a re-hosted designer. Where is the best place to access these properties from How do I make sure I'm only accessing the ones I want Thanks You should use dependency properties and link properties on the earlier activit ...Show All

  • Software Development for Windows Vista Latest DirectShow SDK, overview and samples

    DirectShow is one of the best things with Microsoft, BUT Im truly concerned about how the DirectShow developers are treated by Microsoft, there is no easy way of understanding how you can obtain the latest SDK and to receive a complete overview of the technology. I would like to see a separate complete DirectShow developer section where you can get a complete overview of SDK;s and what you need to develop "State of the Art" DirectShow applications. So please tell me im wrong and just did not find the right place to go and where I should go for that. BMS-Joppe Besides the link which Mike gave you, there is a fairly comprehensive list of dshow resources and links available on my site: http://tmhare.mvps.org ...Show All

  • Visual Studio 2008 (Pre-release) Appaling GUI performance on Vista RC2

    Hey guys, I don't know if this already been reported, but I've discovered that the GUI performance drops drastically on Vista RC2 when setting the AllowsTransparency="true" on a Window. On Win XP with September CTP bits it runs fine. It is a pretty clean test from a hardware point of view since I have a dual boot laptop. Here's my system info: OS Name MicrosoftR Windows Vista Ultimate Version 6.0.5744 Build 5744 Processor Genuine Intel(R) CPU T2500 @ 2.00GHz, 2000 Mhz, 2 Core(s), 2 Logical Processor(s) Hardware Abstraction Layer Version = "6.0.5744.16384" Total Physical Memory 2,045.88 MB Available Physical Memory 883.25 MB Total Virtual Memory 4.22 GB Available Virtual Memory 2.64 GB ...Show All

©2008 Software Development Network