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

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

sd_dracula

Member List

chichay2010
nobs411
Koen M
Akinja-Earl
eldiener
Musafir
Maestro
ab2304
Jehan Badshah
Igor Solodovnikov
Emissary
CSharpNewbie22
robinjam
andyedw
Arjun B
paso
rsd_za
Adamus Turner
varunsagii
eliewadi
Only Title

sd_dracula's Q&A profile

  • Visual Studio Express Editions How to add Help Balloons to the application

    Hi, I have set the Help Button Property on a form to true. This adds a question button to the form. If I then run the project and click the qustion mark button the move the mouse the question mark follows the mouse pointer to allow me to click on a control to then display help on the control. My question is how do I code this so when I click on a control it displays help either in the form of a balloon or dialog. Can not seem to find any help on this subject. Ron nobugz I'am a little confused, SandSomething CTP, I am talking about the MS Help Workshop Application http://msdn.microsoft.com/library/default.asp url=/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp Ron ...Show All

  • SQL Server Windows and Forms Authentication issues

    I have a user who is trying to access the SQL 2005 server with 2 seperate accounts(using Windows Authentication).  With one account he can connect just fine, but with the seccond he recieves a logon fail error.  The only difference that we can tell is that the first account uses a password for our kerberos domain, and the second (that fails) uses a longer pass phrase (which does use spaces as characters).  My intuition tells me that shouldn't matter, but I've been wrong before.  Can anyone confirm this, or correct me if I'm wrong   This is using ASP.NET 2005 for the front end.  The exact Exception details are: "System.Data.SqlClient.SqlException: Login failed for user 'domain\user "  The stack tra ...Show All

  • Silverlight (formerly WPF/E) XAML caching issues

    Whenever I change the contents of a WPFE XAML file I have to delete the previously cached file from the Temporary Internet Files directory in order to see the change reflected in the browser. Is this a known issue I’m using IE 7, but Firefox seem to have the same problem. Any comments on this would be greatly appreciated! Thanks a lot! /Billy PS: For debugging purposes, I attempted to write a console app that would automatically remove all the XAML files in the Temporary Internet Files directory upon recompiling my solution. However, since that directory isn’t an actual directory but rather an “illusion” provided by the Windows shell, this is not an easy thing to do. I'm having the same proble ...Show All

  • Smart Device Development C#, problem checking Whether device(Windows C.E 5.0) is connect via USB

    Hi I just converted my Application from using Windows C.E 4.1 to Windows C.E 5.0 on the Framework 2.0 and my App is complaining about Opennet reference. I reckon i'm using old version of opennet. Does anyone know whether CE 5.0 has the same functionality as opennet. Check Network adapters on the device.before i can send stuff over to the pc i want to check whether the device is connect via USB. I would appriciate it if someone could help. Hi All thank you for taking your to reply to my problem, here's a list of class that i'm using on opennetcf 1. OpenNETCF.Win32. Win32Window 2. OpenNETCF.Net. Adapter 3. OpenNETCF.Net. Networking thanks ...Show All

  • Visual C++ C2955 Error in Visual Studio 2005 V8 - No Errors in Visual Studio 7

    Any idea why the below stand-alone code has compile errors in 8 but not in 7 Yes, it's strange code pushing the envelope. Never-the-less why does 8 not compile it ------------------------------CUT----------------------------------------------- #pragma once #include <iostream> #include <tchar.h> typedef int TMember; template<typename _Member> class Data { public: typedef _Member _Mbr; int padding; _Member member; }; template<typename _TMember, _TMember *_memberP> class Access { public: _TMember *memberP; Access() { memberP = _memberP; } ~Access() { } }; template<class _Data> class Test : public Access<_Data::_Mbr,&((_Data*)0)->member> { public: }; int _tmain(int argc, ...Show All

  • SQL Server SECURITY ON MULTIPLE DIMENSION MEMBER COMBINATIONS. OLAP Experts, Please Help me

    Hi, I have got 2 dimensions to enforce security . 1. Company 2. Division Data in Fact table is available as mentioned below. Company Division Amount Company 1 Division 1 100 Company 1 Division 2 200 Company 2 Division 1 300 Company 2 Division 2 400 I have got a user. So I need to create a role with following options. ([Company].[1],[Division].[1]) and ([Company].[2],[Division].[2]) He should not be able to see ([Company].[1],[Division].[2]) or ([Company].[2],[Division].[1]) In Summary, My question is, How to implement dimension security (Static/Dynamic) on multiple dimension combination (MSAS 2000 or MSAS 2005). I am to ...Show All

  • SQL Server Distincts databases on the same stored procedure

    Hi!     I need to use two distincts databases on the same stored procedure. One, database1, is where I want to place the procedure, and where the table the procedure populates is (table1). The other, database2, hosts the table (table2) from where I select some data to put into table1 in database1.     Database1 name is fixed, while database2 name may change. So, I would like to pass database2 name as a parameter to the procedure. In this simple example, it works fine: use database1 go create procedure teste @db_name varchar(10) as exec ('select * from ' + @db_name + '.dbo.table2')     But the problem is that in my procedure, database2 is used in a cursor, something like this: create ...Show All

  • .NET Development SerialPort DataReceived Timeout?

    I'd like to get better control over when DataReceived are generated while using System.IO.Ports.SerialPort. In particular, I want to be able to control the timeout behavior. This can be done using SetCommTimeouts() when writing to the Win32 API but so far I have not found anything equivalent under .NET Anyone know how this might be done I was thinking I might be able to control it using IOCTL_SERIAL_SET_TIMEOUT but have not been able to find a way to access the underlying filehandle. Is there a way Try setting the ReadTimeout property (it calls SetCommTimeouts), then call SerialPort.BaseStream.BeginRead(). That starts the overlapped I/O and returns an IAsyncResult. You can use its WaitHandle property i ...Show All

  • Windows Forms Customizing DataGridView Selection Behavior

    I'm currently trying to use a datagridview to allow the user to select multiple items from a table. While the multiselect functionality will work for what I want. I would prefer to have the program only change the selection of the current cell when a cell is clicked. Or to basically have the program act as if the user was always holding down the Ctrl key for selection purposes. Additionally, I would prefer if I could also restrict selection based upon the value in the cell being selected. Looking around the net, I found vague references to being able to disable the ordinary selection behavior. However I have not been able to find any information on how to actually do this. If anyone knows how to do this, could they point me in ...Show All

  • SQL Server Support for NVARCHAR(MAX) and VARBINARY(MAX)

    It would be nice if SQL Server Everywhere could support NVARCHAR(MAX) and VARBINARY(MAX), even if they would just be alias' for NTEXT and IMAGE. This would somewhat simplify the interoperability with SQL Server 2005 (i.e. no need to have different scripts for each database type). Gerrit Thanks for the suggestion and I will take it forward and let me say what they say. However, here are my points on the problem which you have mentioned: This is NOT the ONLY difference for T-SQL between SQL Server and SQL Server CE. So, just fixing this does not really make your T-SQL script portable. If it has to be portable then you are expected to use what is supported by SQL Server CE and SQL Server both. So I rec ...Show All

  • Visual Studio tutorial

    Where can i find DSL Tool tutorial, presentations, lectures and other additional information Best places: Help pages . In the Windows Start Menu / All Programs / Visual Studio SDK 2005 / 200x.xx / xxx Help. In the Help browser, look under Visual Studio SDK/ Domain-Specific Language Tools. These pages will contain even more information with upcoming releases, through to our V1 release in September. Samples . In your VS SDK installation, in a folder like C:\Program Files\Visual Studio 2005 SDK\2006.06\VisualStudioIntegration\Samples\DSLTools. Again, there will be even more here in the V1 release. This Forum . In particular, the Frequently Asked Questions page and the search facility . Forthc ...Show All

  • Visual Basic A Squigley

    Why is there a squigley under the Ex It's only under the first the message reads Unused Local Variable:'ex' Catch ex As Exception 'handles any errors MessageBox.Show(ex.Message, "PGS", _ MessageBoxButtons.OK, MessageBoxIcon.Information) I tried your snippet and I still didn't get the squigglies on the 2 locations that you mention. I did made some changes to get the code to compile but I don't think that it would make a difference. Anyway, the squigglies that you see are compiler warnings. Their main purpose is to inform you of potentially problematic or inefficient situations. Because they are only warnings your code still compiles and executes just fine. If you f ...Show All

  • Windows Forms Problem with DataGridView autoscroll. Please help.

    Greetings, Could someone plese help me on this issue. I'm a junior developer and have been struggling on this for quite some time now. The problem I have is that I have a DataGridView. Inside the DataGridView I have a number of rows. The DataGridView is placed inside a Panel. The Panel's autoscroll preoperty is set to true. The DataGridView's autosize property is set to true. At the moment the DataGridView has enough rows to have the Parent Panel scroll up and down. But there's a problem. Each time I click on a cell to edit it the ScrollBar scrolls automatically. I know this has to do the the CurrentCell thing allowing for the autoscroll to take effect. But how can I prevent this Is there a way to do this Any help will be appreciated. Tha ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. CreateDevice fails...

    when using using D3DDEVTYPE_REF, though, its fine with using D3DDEVTYPE_HAL, likewise, when testing on other machines, HAL doesnt work, and REF does ! I'm confused as hell now, so for the sake of my sanity, can someone look at this and tell me where I'm going wrong:-    bool Init3D(HWND hWnd,int screenWidth,int screenHeight,D3DDEVTYPE deviceType) {  d3d = Direct3DCreate9(D3D_SDK_VERSION);    if (!d3d)  {   MessageBox(0,"Cannot create an instance of an IDirect3D9 object.","Error",MB_OK);   return false;  }    D3DCAPS9 caps;  d3d->GetDeviceCaps(D3DADAPTER_DEFAULT, deviceType, &caps);  int vp = 0;  if( caps.DevCaps & D3DDEVCAPS_HWT ...Show All

  • Visual Studio Nullable Types

    There appears to be a problem with nullable types. public int Id; results in: public Nullable <> Id Another example         /// <summary>         /// Gets the image for a given product, if available.         /// </summary>         /// <param name="deltaId">The unique id identifying the product, obtained from         /// the <c>ClsInterfaceProduct</c> instance returned by a call to <c>GetNextProduct</c>.</param>         /// <returns>A <c>System.Drawing.Image</c> instance for the spe ...Show All

©2008 Software Development Network