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

Software Development Network >> Jason E's Q&A profile

Jason E

Member List

fremontca
Pin
Daniel Schloesser
Mezoni
Shiggity
Learner006
rickywong
irf
Peter Chr. Ryskin
asvi
Gayatri_SSIS
tpiazza55
Teddy076
rickm2005
JEP
HectorC
mcvoid
Jack Greenfield
Lam Chan
B. Clubb
Only Title

Jason E's Q&A profile

  • Software Development for Windows Vista Win32/MFC: Ownerdraw MenuItem - Never receives ODS_SELECTED

    Hi, I've run into a serious problem here with Vista Beta 2 build 5308: When using an ownerdraw menu the menuitem never receives the ODS_SELECTED state. All other states work fine though. Neither my own Win32 code nor any MFC sample code ("OfficeXP Style Menu" and so on) from sites like codeproject.com do work on Vista. But all do work on 2K, XP. Now, Is this a (known ) bug in Vista A driver problem What can i do Thanks in advance, I'm seeing the exact same problem with BCMenu (Brent Corkum) used in commercial apps. I consider this to be a serious bug that they'll have to address in future build ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Getting rendered graphics (quickly) from the card

    I had a thread about thins some days back, but for some reason I can not write into it now. I am faced with the task of rendering some graphics with directx and then copying that graphics into another card which generates a video signal. I need to feed it a new frame 25 times a second. The size is 720*576 The rendering does not have to be any faster that this. I have tried two methods of geting the pixels, and both are much too slow. One takes 500ms for a frame and the other 1800ms. I need a time below 40 for this to work. I post the two methods below. Perhaps someone can provide input as to what I need to do. I might add that ot ...Show All

  • Windows Forms How to get files with multiple conditions

    Suppose i want to GetFiles from a folder where FileName starts with 'A' and ends with 'A'. How do i do this Is this possible to do using Directory.GetFiles() ~nhd Yes, with a good constructed wildcard, you can. Here's an example of using GetFiles method to search d:\ and all files that starts with "A" and ends with "A", with any file extension: string [] files = Directory.GetFiles("d:\\", "a*a.*"); foreach ( string file in files) { MessageBox.Show( file ); } For more information about wildcards, see this page: http://kb.iu.edu/data/ahsf.html Regards, -c ...Show All

  • Visual Studio Express Editions Invalid cast exception

    Is there a simple method of preventing incorrect type input How do you prevent a user from keying in a string when variable is type integer etc I know there must be a simple solution but I am going nuts trying to figure it out. Although I must admit I am really learning lots of other things in the process! First of all, anything that is entered via a textbox is a string datatype which may or may not describe and be converted to another datatype. I think you are asking about validation and whether input really can be converted into a desired datatype. For starters, I'd recommend that you lookup th ...Show All

  • Visual Studio how to connect .rdlc to form

    hi!!! All, While debuging the report I encountered the error mesage ;- The report definition for "Organisation.Reports.org.rdlc" has not been specified. Anybody help, Regards Tirthankar Ray Hello tirthankar, Could you post the code with which you connect the report to the form I also had some troubles with this. My solution was the following piece of code: ReportViewer1.LocalReport.ReportEmbeddedResource = "CMS.Medewerker_Detailoverzicht.rdlc" CMS = project namespace. Medewerker_Detailoverzicht.rdlc = report name. Hope this helps! Greets Frenske ...Show All

  • Windows Forms Capturing TAB Key

    Ok, I know how to capture Keys, but I can't seem to capture when the TAB key is pressed.  I know its a special case, but I can't get it. Any ideas You can catch the TAB key by creating a new textbox derived from Textbox and override ProcessDialogKey. ...Show All

  • .NET Development Run ConfigSamples.exe failed on IIS not installed

    This is the cofigSamplesLog file. I am having problem installing IIS with XP Pro SP2. I did the following after installed .NET 2.0 - installed SQL Express - having trouble to install IIS using XP CD (the IIS service is not showing any where) after installation halted a couple of times. any suggestions Thanks in advance, Hong 1:39:06 AM Friday, July 08, 2005: [Begin Samples Configuration] 1:39:06 AM Friday, July 08, 2005: [Info] ConfigSamplesDll_DoTasks: Starting 1:39:06 AM Friday, July 08, 2005: [Info] ConfigSamplesDll_DoTasksWithGUI: Starting 1:39:08 AM Friday, July 08, 2005: [Info] Config_ASPNET_Detect: ASP.NET installation (detecting): I ...Show All

  • Windows Forms Accessing Design-Time Only Properties

    Does anyone know if it's possible to access Design-Time only Properties, such as the Locked Property from inside a Designer   The kicker of the question is...I need to access it from another control   I'd just like to know if this is possible or not.  Thanx! <edit> I've tried using TypeDescriptor.GetProperties and also Reflection without any luck.  :(  ...Show All

  • Visual Studio Express Editions Error during install of V CS Express and V C++ Express

    I seem to be unable to install either of these - anybody else having the same trouble The software downloads okay, but setup.exe throws an error (Microsoft .NET Framework 2.0 has encountered a problem during setup. Setup did not complete correctly.) Details: EventType : visualstudio8setup     P1 : 183     P2 : 8.0.50215.44_beta2_x86ret P3 : msi     P4 : inst     P5 : f     P6 : ca_installassemblydef.3643236f_fc70_11d3_a536     P7 : -     P8 : 1603 P9 : -     P10 : -  I have pre ...Show All

  • .NET Development Application Configuration Settings error "is a type but is used like a variable"

    I'm trying to write to an application settings file.  I'm using VS2005 and am following the example found at http://msdn2.microsoft.com/en-us/library/ms171565.aspx I added a settings file to the application and it modified my app.config as you see below: < xml version="1.0" encoding="utf-8" > <configuration>     <configSections>         <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >             & ...Show All

  • Visual C# Threads problem

    I have moved the call to Renderloop to the form's Shown event and now everything goes as intended - except that it doesn't. As long as I have breakpoints, my time display gets updated, but as soon as I remove the breakpoints it doesn't anymore .... OK, I got my time display running by wrapping all the threading in an outer loop. What happens is that I now let the threads run for one second, at which point the TimeKeeper sets a flag, the threads are aborted and joined, and then recreated again. Simplified code: private void RenderLoop() { TimeKeeper .Start(); timeButton.Text = Calendar .Date() ...Show All

  • SQL Server XMLA and Deadlocks

    I have tested this on the RTM, SP1 and SP1+hotfixes and the problem is the same in all environments. What I am doing is using the "Analysis Services Execute DDL Task" in an SSIS package to execute different XMLA files. These files drop items in Analysis Services and then recreates them. What is happening is that in about one out of three times the package will hang at some stage in the process of running the files, Analysis Services becomes unresponsive and if I try to access anything in it using Management Studio it reports an error about a deadlock. It will remain like this until Analysis Services has been restarted. Note that ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Simple DirectX 2.0.0.0 question

    I'm wicked confused. the Managed DirectX 9 (v1.0.2902.0) dll doesn't have any XFile handling capabilities. the DirectX v2.0.0.0 has Xfile support but doesn't have ANY documentation support and is much different than 1.0.2902.0. Then i hear both of these are to be replaced with XNA all i want to do is make a managed program that can import Xfiles. MDX 2.0 is not a complete API - its still in beta and since XNA framework is announced it will never actually release in its current form. If you have specific 2.0 questions head over to the beta newsgroup http://msdn.microsoft.com/directx/beta/default.aspx If ...Show All

  • Windows Forms windows service won't install

    I created a windows service according to the microsoft walkthrough: http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbcon/html/vbwlkwalkthroughcreatingwindowsserviceapplication.asp However when I run the installer it doesn't show up in the service list. Of course, it won't run without being installed. Am I missing something or is there another way There is a simple service example ...Show All

  • SQL Server query timeout expired

    Using VB, I am running a bulk insert query from csv file into a newly created table. It works fine on small test files; but when I try it on the production data, I get a "query timeout expired" message and processing ends. The text files contain several hundred thousand lines. How can I resolve this problem. I have several hundred of these csv files and more coming. Here's the code: Dim sSQL As String sSQL = "BULK INSERT " & TableName & " " sSQL = sSQL & "FROM '" & DataPath & "' WITH " sSQL = sSQL & "(FIELDTERMINATOR = ',', ROWTERMINATOR = '\n', FIRSTROW = 2)" DbConn.Execute sSQL ...Show All

©2008 Software Development Network