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

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

Hoowah

Member List

Hamed_1983
iamybj
zybernau
Andrew Clark
Romantic_touch
rene schrieken
Michael Hansen
sl0140
A919
mohd sufian
vej
muthuraja
raghu_grdr
cwlaualex
Marcin Książek
IIM
elixic
MuscleHead
droujav
AlexReg
Only Title

Hoowah's Q&A profile

  • Software Development for Windows Vista CreateProcess does not return a value

    Hi, I encountered a weird phenomenon while trying to run a program on Vista. When the program reach CreateProcess, the function is being called but it doesn’t return any value, the program never exits this function. To make this problem weirder, sometimes, although very rarely, like after reinstallation of the OS, the application does work (The process is created and the function returns a value), I couldn’t find the reason why something it does work. As far as I know, CreateProcess should always return a value (Success or Failure), but in this case it doesn't return anything, just stuck inside the function. The Windows version is: Windows Vista RC2 Build 5744. The program which calls CreateProcess is wr ...Show All

  • SQL Server query defining parameter dropdowns is run twice!

    I built a very simple report which uses a query to define the options in the parameter’s dropdown. I used that same dataset to define the default for that parameter (meaning that it will just pick the first row from the dataset and use that as the default). When I run the report watching a Profiler trace on the SQL database, it runs that query twice. (Presumably, that’s once to fill the dropdown list and once to figure out the default.) That seems silly to me since it is the same query that is the same dataset in Reporting Services. Is there any way around this My parameter bar is rendering twice as slowly as it should be.   I've tested against SSRS 2005 SP1 and the CTP of SP2. ...Show All

  • Visual Studio VS2005 SP1

    hi to all, I've installed on my desk VS2005 Pro and the SP1 Beta. now that SP1 was finally release, i tried to install but it tell me that my VS2005 version isn't right to apply SP1. I think it's depend from SP1 beta installed, so tried to remove but SP1 beta uninstall required VS2005 DVD and I have not the DVD because I installed it from the ISO downloaded from MSDN. is there any way to uninstall SP1 beta wthout the DVD or is there any way to install SP1 over the SP1 beta thanks I've VS2005 Professional and I downloaded the Visual Studio 2005 Team Suite SP1 (includes SP1 updates for Standard, Professional, and Team Editions of Visual Studio 2005) english version of course how can I found a removal tool ...Show All

  • SQL Server Iterating the rows of a script component

    Hi There, Can someone please let me know what is the best way to iterate the output rows of a script component and stick in those ids in a where clause of a select query (to retrieve additional info from a database) Is this possible at all If not, what is the best way to deal with this situation Thanks a lot!! Jon Limjap wrote: Sam_res03 wrote: Type of the first column is Integer. For some reason, if I try to map it to a variable of type integer, it gives me an error. But if I try to map it to a variable of type object it doesn't complain. And with the help of msgbox scrript component i am able to see the ids. But the problem I am getting to is..if the variable is of type object, ...Show All

  • Visual Studio 2008 (Pre-release) Path and different strokes

    Hi, I am not sure, is it possible to set different strokes for the separate geometry objects in a path object Cheers, Franz Stroke is a property of the Path, not the geometry. If there is only one Path, then there can be only one stroke. What's your scenario Maybe there's another way to do what you want. ...Show All

  • Visual Basic ICustomTypeDescriptor and the property grid.

    I'd like to extend the property grid to do things such as allow me to change DisplayNames of properties at run time and to sort properties into the order that I want. I understand that I should implement ICustomTypeDescriptor but am getting nowhere. For instance the following code doesn't have any effect: <System.ComponentModel.TypeConverter( GetType (SpellingOptionsConverter))> _ Public Class SpellingOptions Implements System.ComponentModel.ICustomTypeDescriptor Public Function GetAttributes() As System.ComponentModel.AttributeCollection Implements System.ComponentModel.ICustomTypeDescriptor.GetAttributes Dim r As New System.ComponentModel.DescriptionAttribute( "UUU" ) Dim f As N ...Show All

  • Visual Studio Team System Workflow Error

    I have attempted to modify the workflow on the Bug workitem to add a transition from the "Active" state to the "Ready To Test" state. I have noticed that when the WI is in the "Active" state, the "Reason" field is greyed out - which I assume to be due to the fact that the only choice is the default. However, when I make the state change from "Active" to "Ready To Test" I receive a warning flag in the Work Item window and when I save I get an error dialog stating "Unable to save all edited documents. 0 saved successfully. 1 could not be saved. Please correct the unsaved work items and try again." At the same time, the error flag's message changes to "TF26201 Thiw wor ...Show All

  • Smart Device Development register a dll

    Hi, when I want to register the dump.dll register filter, I got this error dump.dll is not an executable file and no registration helper is registered for this file type. Any idea where it can come from Thanks Regards Hi, I added the registry keys in the project.reg file, follow the nice indications given in the following link (Layout of the Registry Keys section) http://msdn.microsoft.com/library/default.asp url=/library/en-us/wcedshow/html/_dxce_dshow_how_to_register_directshow_filters.asp ...Show All

  • SQL Server Determining what columns are all Null

    Does anyone have a suggestion for how to efficiently determine what columns in a table are NULL for all rows - Shean Hi, I wrote a procedure for that: ALTER PROCEDURE spDetermineNullColumns ( @TableName SYSNAME ) AS BEGIN DECLARE @ROWCOUNT INT DECLARE @I INT DECLARE @HIT INT DECLARE @sql NVARCHAR ( 2000 ) SELECT IDENTITY ( INT , 1 , 1 ) AS IDCol , COLUMN_NAME INTO #NullableColumns FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = @TableName AND IS_NULLABLE = 'YES' SET @ROWCOUNT = @@ROWCOUNT SET @I = 1 WHILE @I <= @ROWCOUNT BEGIN SET @Hit = 0 SELECT @sql ...Show All

  • .NET Development SQL selecting mulitiple records

    I am try to create a data grid that will select all users with a surname that is stored in a variable that has been entered earlier. The code below is there to quickly check the database to see if there are any records of that surname, the next section which will compile a DataGrid is going to do the rest of the work. I keep getting an error saying that there is a missing parameter, I have tried varying ways to make this work to no avail. I am wondering if it could be because there are potentially more than one record in the database with the same surname Dim customersurname As String = surnameText.Text 'CHECK TO SEE IF A CUSTOMER EXISTS WITH THE ID ENTERED If surnameText.Text = "" Then MsgBox("Please enter a ...Show All

  • Visual Studio 2008 (Pre-release) DragSource_PreviewMouseLeftButtonDown seems to stop my GridViewColumnHeader.Click from firing on listview

    I added Pavan's drag and drop classes to drag from a listview to a canvas. I had to modify the generic event a bit to make it work for listviews. Now I am trying to add column sorting to my listview using the example that came with the SDK. My listview sorting only works when I take the drag/drop functionality out. It seems like that functionality is blocking the click event from happening. Any ideas static void DragSource_PreviewMouseLeftButtonDown( object sender, MouseButtonEventArgs e) { // Make this the new drag source IDragSourceAdvisor advisor = GetDragSourceAdvisor(sender as DependencyObject ); if (advisor.IsDraggable(e.Source as UIElement ) == false ) return ; ListView lv = (( ListView )(e.S ...Show All

  • Visual Studio 2008 (Pre-release) About Window.AllowsTransparency......

    I have a Non_Rectangle window. I got it by setting the property:  Window.AllowsTransparency(=true). In that window, i put a Windows.Forms.PictureBox for video playback. (By using a WindowsFormsHost control) I cann't show the PictureBox when the AllowsTransparency is "True". When i set it to "False",  it works. How can i solve this problem And is there other ways for creating Non_Rectangle windows   Like Rob said, you should consider using the MediaElement instead of your approach with interop. Since you asked, you can get the native window handle like so from within your WPF window: System.IntPtr hwnd = new System.Windows.Interop.WindowInteropHelper(this).Hand ...Show All

  • Windows Forms Can't get DrawItem event any more, in some special case

    This interesting thing was found by use of DebugView to monitor the all events. Suppose that there are 2 controls, one is propertyGrid, one is myListBox, which is a subclass of ListBox. myListBox uses OwnerDrawFixed mode, so it has to draw all items manually. However, in some mysterious case, I found that when I repeatedly opened and closed the propertyGrid, myListBox may never raise any DrawItem event. I output all events to DebugView, then found that WM_PAINT was there, but didn't WM_DRAWITEM. Also it can't restore from this bad status no matter what I did (move, refresh, resize, maximize, minimize...), until I recreate another myListBox. I think WM_DRAWITEM is nowhere to be manually emitted, since it's managed by control. ...Show All

  • SQL Server SQL Server SP2 Installation and Overview Video

    For those that are interested, this video may be useful for you about some of the new features coming up in SQL Server 2005 Service Pack 2 and how to install it: http://www.jumpstarttv.com/Media.aspx vid=70 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. DirectX10 and Direct Sound10

    The rumors circling the internet are everywhere, Windows vista is supposed to support directx 10 only which begs the question, what of direct sound As a beginning game audio programmer, I beg the question, How much diffrent is directSound 10 from directSound9 I have heard that none of the ds9 programs will be able to be used by 10, thus rendering it completely unbackwards compatable. However through my deep search into the internet, i have found no hide nor hair of direct sound 10. Whats diffrent and how will i be able to port from 9 to 10 without rebuilding P.S should this post be placed in the wrong area, please move it. Thank you. This answers my question. I figured it would have to be reconfigured fo ...Show All

©2008 Software Development Network