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

Software Development Network >> Derek Dowle's Q&A profile

Derek Dowle

Member List

Nath_UTSA
Binu Jeesman
NigelP
tdanley
mcomroe
Nonu_k
GVA
leonreet
alecb
AnaC
David Norris
theycallhimtom
Erik11
spectrablue
Harry_Leboeuf
Aaron Oneal
shill1
RubMop
Zach Longren
singam
Only Title

Derek Dowle's Q&A profile

  • Windows Forms Remove combobox items

    I've got a combobox, cmbStartT with items (loaded at run-time) to represent time values starting from 07:30 AM to 04:00 PM. I want remove certain time values depending on what time it is on my computer. If it's 11:01 AM on my computer, I want to show only time values from 11:30 AM to 04:00 PM, no problem with this one. If it's 11:31 AM, show only time values from 12:00 PM to 04:00 PM. Dim sTime As DateTime Dim pos As Integer If cmbType.Text = "Meeting" And cmbStartD.Value.Date = Today Then For pos = 0 To cmbStartT.Items.Count - 1 sTime = cmbStartT.Items(pos) If TimeOfDay.Hour = sTime.Hour And TimeOfDay.Minute > sTime.Minute Then While pos >= 0 cmbStartT.Items.RemoveAt(pos ...Show All

  • Visual Studio Express Editions Linker errors when building samples...

    Ever since I installed VC++ express I get linker errors when building any of the samples I've found in the "Microsoft DirectX SDK (December 2005)". It has been a long time since I have used C++ and thought I should give it a new try when I found it free here. But I can't get it to do any programming when the aplication will not work. I installed VC++ express, "Microsoft Platform SDK", "Microsoft Visual C++ Toolkit 2003", "Microsoft DirectX SDK (December 2005)". I am running Windows XP. I have set up the directories for bin, lib and includes for those packages. C:\Programfiler\Microsoft Platform SDK\Bin C:\Programfiler\Microsoft Platform SDK\Include C:\Programfiler\Microsoft DirectX SDK (December 2005 ...Show All

  • Visual Studio Express Editions 30 day Free Trial

    I am adding "30 day Free Trial" code to my app. I want to write out a file to a secret location with the first run date, etc. Would C:/Windows/System be a good place to put it   ahmedilyas wrote: Oh I know no security is perfect but its better to have some strong security in place. Once again, I guess we have to agree to disagree :-)   SO please tell us what your solution is and what you are disagreeing with! I guess decrypting wasn't as easy as you told the user! ...Show All

  • Gadgets Currency Gadget

    Is there a way to include other currencies in the Currency gadget I would like to see the Malta Liri. Yes, I also would like to know how to add additional currencies to the currency gadget. The currency gadget I am referring to is the ONLY currency gadget which is included with the installation of Microsoft Windows Vista Home Premium Edition. ...Show All

  • SQL Server Mysterious login failure error message in log-shipping

    Hi I posted this a few days ago in SQL Server Security forum and at Raul Garcia's suggestion (thanks Raul for your help), I post my question here again to see whether I can be lucky enough to find a super guru to help me out. ------------------------------------------ I get the following error messages in the sql server error log Source Logon Message Error: 18456, Severity: 14, State: 11. and Source Logon Message Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'. [CLIENT: 185.23.11.33] (note: 185.23.11.33 is the ip addr of the source server, i.e. node 1 in the two node clustered environment) The scenario is: We set up log-shipping (LS) between a clustered sql server system (source server) and a stand-alone sql server box ( ...Show All

  • .NET Development Generated TableAdapter does not create methods for manualy entered commands

    If I create a tableadapter from a simple query, the corresponding Insert/Update/Delete commands are created, and the generated underlying class has matching methods created also.  That's fine. However, I am creating a TableAdapter from a query using joins from multiple tables.  In order to update the primary table, I have then manually written the Insert/Update/Delete SQL and set the appropriate paramerers. In this latter version, the generated TableAdapter class does NOT get the corresponding insert() & delete() methods created. Is there some way of forcing these to be generated, or some guidelines on when methods will and will not be generated Thanks in advance Tim No, i ...Show All

  • .NET Development Best Practice - Implementing Dispose / Exposing the Disposable Resources

    I apologize if this thread is in the wrong forum. Our general rule of thumb is if our class owns a class level unmanaged resource or a managed resource that contains a Dispose method then we implement IDisposable on our class. So, for instance, we have a class level DataTable that we instantiate from within the class, since it has a Dispose on it, we implement dispose. No problem there. My question is, if we expose that class level DataTable that our class owns via a property, or return it via a function or even return it via a reference parameter....should we still clean it up via dispose We are divided here at our shop. I say no, my boss says yes. We are currently cleaning it up in the dispose. 8) My thought is we are sending t ...Show All

  • .NET Development Versioning of .Net Web Services

    We have a Web service that is used by a number of clients. We need to change the interface to this service and gradually roll out the changes to our clients. What is the best way to handle versioning so that we don't blow existing clients out of the water until the get the upgrade Check out this article that talks about web services versioning http://www-128.ibm.com/developerworks/webservices/library/ws-version/ ...Show All

  • Visual C# Running C# Commands from a parsed text file?

    Is it possible, say you have your main program, and when it initializes, it will scan this text file, looking and trying to execute all commands that are listed, like running a method inside the program, or if you put MessageBox.Show("",""); In the text file, or is there another way of doing this, I'm not going to make the program only understand commands that I put in it, through a switch statement, or if statements, I want it to directly interpret it. Checking out the built in C# Compiler, it looks like it would want me to have a seperate executable though, doesn't it Also, is this implicitly supported by the .net framework or is it with VS With a seperate Executable, I don't think ...Show All

  • Visual C++ my try catch stuff isn't working

    Below is my code with lots of comments: // create a boolean key to determine success or failure in the data conversion bool success = true ; // create variables here so that they can be used throughout this function int x; int y; // Use try->catch to prevent errors occuring because the user has put invalid characters in try { // change the values in textboxes min and max to integer values x = Int32::Parse( this ->min->Text); y = Int32::Parse( this ->max->Text); } catch ( ApplicationException^ ) { // conversion has failed, so disable the rest of the script for this run success = false ; // display a message both to tell the user about th ...Show All

  • Visual Studio Team System Searching work items

    Hi Is there anyway I can search existing work items, say by title in order to find a possible existing work item For example, before logging a bug I need to know if anyone else has logged it previously. Or is this something I have to provide myself Thanks for your help Graham Hi You can do that. Create a new query and add the constraint title contains ' . In the team explore you can righclick on Work Items and then click Add Query. In the Query Form, leave the project row as it is, in second row select Title under field, select contains under Operator, type the text you are searching for under value then hit F5. I don't see any reason to save this query since this is simple and t ...Show All

  • SQL Server Oracle provider error

    I am using SQL Server 2005 on a 64 bit AMD processor machine using the Oracle 10.0.2.0.2.0 and SELECT OPENQUERY will return results from my Oracle table. When I try to do an UPDATE OPENQUERY I get this error message Msg 7333, Level 16, State 2, Line 1 Cannot fetch a row using a bookmark from OLE DB provider "OraOLEDB.Oracle" for linked server "ORADB". the same UPDATE OPENQUERY works on SQL Server 2000 using the Oracle 9 client. The provider is configured with Inprocess turned on. Any help would be appreciated. Hi, I once has a problem that I had to give a result back from my stored procedure in oracle although I didn#t actually need to return anything. It was just needed for the ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creating 3d Sprites slow down Device.Disposing...

    hi, in my game, the particles that i create are slowing down the Device.Dispose(); the object Disposing in my game is done by the following steps: 1. the object dispose its vertex and index buffers, and set a IsDisposed boolean to True; 2. the Game read all Objects and set to null the disposed objects; when the game closes, before the Device.Dispose() it Dispose all the textures, the effects (my textures and effects are shared for memory reasons) and the objects. my debugging leads me to the conclusion that the objects remains after the .Dispose()... why You don't need multiple vertex/index buffers... Just create one set that describes a sprite quad and draw with it several times using different textures/s ...Show All

  • Smart Device Development Hopper.exe in Windows Mobile Developer Power Toys is giving ERROR"unable to create/open log file "

    I am running the hopper.exe test on a WM5.0 Smartphone and it is failing with two error messages in this order: 1. "Unable to create/open the log file. Please make sure the log is not opened already and restart the test" 2. "Error access log file. Test will not continue." My command line is "hopper.exe" without parameters and hopper.exe is located in the root directory on the device. Note that the "\testlog" directory IS created, but there is never a "hopper.log" file inside the folder. ...Show All

  • Smart Device Development Shell_NotifyIcon icon invisible when building with VS 2005 for PPC 2003 target

    I'm using Shell_NotifyIcon to put a icon in the task bar status area at the bottom of the screen. The code works correctly when I build and deploy to a WM5 device using VS2005. You see the icon in the bottom of the screen and if it is clicked my applicaiton gets notified. When I build and deploy the same code and project to a PPC 2003 device the icon is invisible. I have verified that it has been place on the task bar, if you click where it should be my application gets notified. I verified that Shell_NotifyIcon is returning true, implying success. I verified that the icon handle is not null in the NOTIFYICONDATA structure. The icon I am trying to use includes 16 X 16 16 color and 32 X 32 16 color images. I tried adding 256 color ...Show All

©2008 Software Development Network