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

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

Duzinga

Member List

dbcuser
Martin Unterholzner
karephul
altamash
blah569
AndyC73
sub.0ne
MoniDD
NagaB
Ruud van der Werf
Robs Pierre
Henrik Skak Pedersen
barryt.net
Nuno_Salvado
Apple I
Rick Hill
hdp203
LeahGarrett
melody45
[MSP]Daniel Oliveira
Only Title

Duzinga's Q&A profile

  • Visual Basic IDE Broken -> Doesn't display error

    At some point something I installed (I suspect Resharper) broke the IDE. When I am running my code in the debugger if an error occurs the code stops, highlights the problem line but no text pops up to tell me what the error is. Without having to do a full reinstall does anyone know what may have been disabled or changed to cause this Thanks, Shane The problem is gone. I think this problem may actually be related to the fact I switched from project references to file references in a solution. I'm reinstalling ReSharper and I'll see if the problem comes back. ...Show All

  • Visual Basic Reoppen form

    hi all is there any command which doesnot let the form to open that is already opened / loaded.  e.g. ( I Openned FORM1 form menu, now if I click on menu again, the FORM1 should not be openned again, as it is already openned.) thankyou Thank you yes i mean it. give me vb.net code for the same ( I Openned FORM1 form menu, now if I click on menu again, the FORM1 should not be openned again, as it is already openned.) ...Show All

  • Smart Device Development Performance System.DateTime.Now

    Hello The API function GetSystemTime(out st); (PInvoke) is about 1500 faster then System.DateTime.Now; System: WinCE50 on ARMV4I TestCode: using System; using System.Data; using System.Runtime.InteropServices; namespace DateTimePerformance { public struct SystemTime { public ushort wYear; public ushort wMonth; public ushort wDayOfWeek; public ushort wDay; public ushort wHour; public ushort wMinute; public ushort wSecond; public ushort wMilliseconds; } /// <summary> /// Summary description for Class1. /// </summary> class Class1 { [DllImport("coredll.dll")] public static extern void GetSystemTime(out SystemTime st); /// <summary> /// The main entry point for the a ...Show All

  • SQL Server Selecting version of remote SQL instance into local variable?

    Hello all, I'm a bit new to SQL Server and T-SQL (my background is in DB2 ), so hoping you can help me with this. I'm writing a T-SQL script that's hopefully going to scan a bunch of SQL server instances and record the results. We've got a mix of SQL2K and SQL2K5 instances, and for part of my script I only want to run something if the remote instance is SQL2K. I'd tested this on my local PC with several instances created and it worked fine. When I try and run it for instances located on other servers it barfs . From what I've found from looking up the error message it looks like I've got myself a loopback -- but I don't know how to get around it - any ideas please DECLARE @tempdata TABLE (scratch sql_variant) DECLARE @debug tinyi ...Show All

  • Microsoft ISV Community Center Forums MS Office document and image writer print driver

    Besides removing this feature from Office during setup, is there a process to remove this virtual printer from 300 users with roaming profiles on an active directory network We are having an issue with this printer assuming the "default printer" selection for our users. As a work around we have changed their default printer, but after they reboot or log off / on it has defaulted back to the MS Ofc doc and image writer printer. I am having a similar problem... I am missing the Microsoft Document Image Wrinter Port: But I have the driver. Anyone know how to re-install the port Thanks! Jeremy ...Show All

  • SQL Server Distributor cannot connect to subscriber

    I am setting up my 2005 Replication system... publisher = 2005 sp1 Subscriber = 2005 sp1 I created a publication for a single table. Then I created the subscription to another 2005 server. Had to add it as a subscriber in the wizard. Told it to do the snapshot right away. Everything seems fine right up to the point where it tries to connect to the subscriber... I get a cannot connect error. I have tried all kinds of security context and accounts for the sql agent to run under but nothing seems to work. I cannot even get a linked server to work. I have the subscriber setup to accept remote connections. I am not sure where to look at next... I never had this issue in 2000. Ok... I did as sug ...Show All

  • Windows Forms Changing the Colour of an Individual DataGridView Cell (.NET 1.1 vs 2) - Please Help

    Hi, everyone. I've been working on this frustrating problem for the entire evening and I thought I'd come to the forum for some insight and direction. I'm writing an application in Visual Basic 2005 which uses a DataGridView control which is bound to a datatable. I'd like to dynamically highlight an individual cell in red. I've written a similar program in the past with Visual Basic 2003 and I'd like to reuse as much of the code as possible. However, I'm running into a major barrier when trying to individually colourize cells. In 2003, I used something like the following snippet... DataGridTest.Rows(1).Cells(1).Style.Backcolor = Color.Red This works like a charm in 2003 but doesn't seem to work at all in 2005. After doing some rea ...Show All

  • Software Development for Windows Vista i want to transform general avi file to xvid avi file, debug is passed, but mediaControl->Run() returned error value:-2147024773

    the following is the source code,please help me to solve this problem,thx a lot! ///////////////////////////////////////////////////////////////////////////// hr = CoCreateInstance(CLSID_AsyncReader, NULL, CLSCTX_INPROC_SERVER, IID_IBaseFilter, (void **)&pSource); if (FAILED(hr)) { printf("ERROR - Could not initialize Source filter"); return; } //////////////////////////////////////////////////////////////////////// hr = pSource->QueryInterface(IID_IFileSourceFilter,(void**)&psrc); if (FAILED(hr)) { printf("ERROR - Could not query Source filter interface"); return; } /////////////////////////////////////////////////////////////////////// hr = psrc->Load(sz ...Show All

  • Windows Forms Is it possible to prevent other apps from grabbing focus?

    I have a form that needs to maintain keyboard input focus, in order to direct data coming in via barcode scanner (basically keyboard input) via Sendkeys or sendmessage to another process. If my app loses focus, I want to be able to get it back so that keyboard input only goes to my app. I have tried about 5 Win32 APIs to reactivate/refocus etc my form when the Deactivate event fires, but the focus doesn't return. I need something relatively like "system modal", although a minor delay in getting focus back is not the end of the world. How can this be done Is there a simple method, or do I need something like a global system hook Many thanks for any pointers! Pete You have to keep your ma ...Show All

  • Software Development for Windows Vista Anyone has latest Vista-specific version of <SDDL.H> Windows header file?

    I am looking for the latest version of the Windows header file <sddl.h> that contains cnstants related to Vista's Mandatory Access Control and to Process Isoation. Does anyone have it or knows how to get it Is such file available from Microsoft The speciifc definitions I am looking to get from this file are: * String constants to construct SACL ACE for Mandatory Access Control * Constants like SDDL_IL_LOW, SDDL_IL_MEDIUM, SDDL_IL_HIGH * Any SDDL ACE declarations/definitions that might be related to the activation of running COM/DCOM servers from various Integrity Levels I'd appreciate any help, Hello karen_tgha, sddl.h is included with the Windows Vista SDK and is located in C:\Program Files\Microsoft SDKs\Windows\v6.0 once ...Show All

  • Windows Forms Mouse Wheeling

    So I've got this genious idea. The current issue, is that I require constant capture of the mouse wheel. My for is pretty much completely covered by various controls. What I want to know is, can I capture the mousewheel on the form level, even though the mouse might be over a textbox And secondly, what event gets fired off when I scroll my mousewheel Where can I add code to do something with the mouse wheel protected override void WndProc( ref Message m) { if (m.Msg == WM_MOUSEWHEEL) { if (m.WParam.ToInt32() == 7864320) MessageBox .Show( "Up" ); else MessageBox .Show( "Down" ); } ...Show All

  • Windows Forms Getting files Advanced properties.

    Hi I am trying to get the audio file advanced summary information. which holds the information of the artist and album title, track no and other propery value. If someone know how to get these details please help me out. You see the properties by right click properties -> under summary Tab. and then click on the advanced mode. Thanks you Atheeque Theres a good example here http://www.codeproject.com/csharp/shellid3tagreader.asp on how to do this using shell functions. Alternatively you could research id3 tags (or whatever other tags it has) and how they are stored in the audio file and read them directly using the System.IO classes. ...Show All

  • Visual Studio Team System Bissubscribe bugs

    There is a bug in bissubscribe tool. If you have more than one server defined in VS you get a message: Failed to load EventService proxy object: More then one server is registered. Please specify a server to use.. and there is any switch to specity server. You have to remove servers from VS :( -- If you subscribe to an event you get message: TF50001: Created or found an existing subscription. The subscription ID is 78. it resambles messages from scandisk that is scanning or reapairing... Marcin What version of VSTS you are using In my version I do see /server parameter, but in yours it seems you need to use "/Domain" parameter. Pls try /domain parameter. The GUI tool at http: ...Show All

  • SQL Server Dynamic queue receive sql ?

    Hi There My activation sp must be able to read of various queues. I load a variable with the queue name that activated the sp btu i cannot get the syntax working to receive or get a conversation group of a queue name that is a variable. I have tried: WAITFOR ( RECEIVE message_body , conversation_handle , message_type_name , message_sequence_number , conversation_group_id FROM @callingQueue INTO @msgTable WHERE conversation_group_id = @conversationGroup ), TIMEOUT 2000 ; But i get this error: Incorrect syntax near '@callingQueue' . Looks like you cannot use a variable. So i tried the following: SELECT @SQL = N' WAITFOR ( RECEIVE message_body, conversation_handle, message_type_name ...Show All

  • Smart Device Development SELECT * INTO Statement For sqlmobile2005

    Hi there, can anyone tell me if the SELECT ....INTO syntax is supported in an sqlmobile database. I'm trying to create a table and insert data using Visual Studio 2005 (visual Basic Code) and SQLMobile (.sdf) databases I've trawled through the msdn library and the forums and can't find any reference to it other than for MSAccess. I have code that uses this statement and am not sure if it is just that my code is wrong or that i have to create the table first and use the insert statement instead. Thank you in advance Darren Looks like not supported http://msdn2.microsoft.com/en-us/library/ms174149.aspx ...Show All

©2008 Software Development Network