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

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

zzdg

Member List

mattis
hashi
Akd02
alfredkoo
NateThornton
Jonas Lundberg
parcalto
MagicMike
Rasheed1979
Dj Jamminx
mr_trixter
Westerberg
NTDS
roadsign71
drougnor
ThisBytes5
juan carlos ceresola
jbattat
Audalio
gau2902
Only Title

zzdg's Q&A profile

  • Windows Forms form close reason

    Hi! I would like my form to be hidden when the use clicks on the window close button (the X button on the top-right corner). The e.CloseReason does not provide a value to determine that this particular button is the reason that is closing the form. This was very simple in VB6: Private Sub Form_QueryUnload(Cancel As Integer , UnloadMode As Integer )     If UnloadMode = vbFormControlMenu Then         Cancel = True     End If End Sub   How is this possible in .NET Forms Please read this thread: http://forums.microsoft.com/msdn/ShowPost.aspx PostID= ...Show All

  • Windows Forms Wishlist

    Hello,  This is a great application in both commercial as well as educational standpoint.  Here are some of my wishlist: 1.  Ability to change the project on a particular task. 2. Ability to refresh instead of restarting or offline/online 3. Ability to delete the tasks by the admin. 4.  Adding one more userlevel called Project manager, who can manage the&nb ...Show All

  • Windows Forms column read-only except for the addnew row?

    Is it possible to set a particular column to be read-only except for that column in the addnew row  I don't want people editing the values in the column unless they are adding a new row. ...Show All

  • SQL Server Problem when creating a new named calculation

    I have a Customer dimension in my model, and now I want to count the # unique customers in one of my fact tables. Therefore I created a new named calculation in the fact table which does a count distinct of the customerkey in the fact table. And when I try to add a new report model i get the following error message, even when I don't select anything in the Select report model generation rules screen: TITLE: Microsoft Visual Studio ------------------------------ An error occurred while executing a command. Message: Cannot perform an aggregate function on an expression containing an aggregate or a subquery. Cannot perform an a ...Show All

  • Visual Studio 2008 (Pre-release) LINQ for compiling cool... but what about dynamic queries at runtime?

    just curious how this'll be handled.   having queries directly embedded in the code is awesome from a type safety standpoint, but what about at runtime i assume some kind of "on-demand" Compiling for a program like "SQL Query Analyzer" (more aptly named LINQ Query Analyzer) that is dynamically compiling these LINQ queries and seeing results, kinda like snippet compiler. I bring this up becomes sometimes you gotta give query ability to the users (report generation etc) To add data, create a new object, and add it to the table. Then execute SubmitChanges() on the data context: Code Snip ...Show All

  • SQL Server I can't change my sql login user's password in SQL Server 2005 Express

    SQL Server 2005 Express keeps putting in a different password than the one I chose.  I would check the properties on the login I want to change.  Then I change the password and it gets accepted.  When I try my web application, I get the dreaded "login failed for <loginname>".  I look at the properties again and see my password never change.  Is this a bug   I ever tried this syntax to no avail: CREATE LOGIN <loginname> WITH PASSWORD='<mypassword>' CHECK_EXPIRATION = OFF, CHECK_POLICY = OFF Can you provide some additional information, such as:  - wha ...Show All

  • Visual C# DirectX in a Window form with controls!!!

    Hi, I need to create a software allowing to check welding spot of a robot. I need to draw real-time charts of current, woltage, ultrsonic... I try to draw using GDI+ in visual studio C#. The matter is it is too slow, even on a good computer!! I would like to know if it is possible to use directX on a widow form, which allows to use the controls (buttons, text...) available. If yes, could you give some hints or a reference Another point is that my chart does not need to be in 3 dimensions and I heared that DirectDraw is not being used anymore. Do I have to use Direct3D Thank you for your response... Eric H ...Show All

  • SQL Server repeating free form list item fields for each group

    Hi, I have a nested report where i have some dept name and address fields placed in the free form list, below the address fields i have the related employee info in a table. i have grouped on the dept id for both the list and table. for a particular dept , when the related employee table information goes on to the next page i want to repeat the dept name and address fields on each page for the group.i cannot place the fields in the group header of the table, since there are a lot of fields at different positions .so i have kept in free form in the list region.It's basically the group header information, i wanted repeated on each page, but i ...Show All

  • Visual Studio Check in web service that are already under source control for VS2003

    At this moment we are upgrading web services, that are already under source control, from VS2003 to VS2005. The upgrade is successful, but when we want to check these web services in VS2005 is complaining that the *.asmx is already under source control and stops with check in of the other files. For a web service we checked the other files in with our source control manager and reopened the project. VS2005 do not notice that these files (app_code\*.cs) are under source control. Does anybody know what the problem is thanx in advance How did you migrated your VS2003 web project To a (folder-based) website o ...Show All

  • Visual Basic Standalone application

    Hi, I am looking to produce a standalone application supplied on a cd, which will be given to sales reps. They in turn will open this program from the cd or their computer. The program will have the facility to choose different powerpoint slides from different powerpoint presentations represented by thumbnails. Some of the powerpoint presentations contain numerous sections with numerous slides in each section, so it would be best if there was a button named “example” for the chosen powerpoint file called “example.ppt”. The button “example” would have a dropdown menu for the sections within “example.ppt,” this when clicked will provide a win ...Show All

  • Visual C++ strange error in vc

    create a new mfc sdi project, in onDraw fuction add the following: pDC->SetDCPenColor(RGB(0,0,0)); when compile, this error happens: error C2039: 'SetDCPenColor' : is not a member of 'CDC' according to msdn, CDC has this member. when i input these, there is even a auto completion. how could this happen If you look in the afxwin.h file you'll find that function under the following #ifdef: #if (_WIN32_WINNT >= 0x0500) ... COLORREF SetDCPenColor(COLORREF crColor); #endif The default MFC AppWizard Generated application defines _WIN32_WINNT to be 0x400 (in stdafx.h).  To use this function, go ...Show All

  • Visual C++ Serial number on usb flash drive.

    I am unable to get the serial number on usb flash drives. It always returns 0 indicating it is not there. I am using DeviceIoControl with IOCTL_GET_DEVICE_DESCRIPTOR to get the venderID, productID, and ProductRevision, but the SerialNumber is always 0. Has anyone run into a similar problem As this question is not specific to Visual C++ you would be better off asking it in one of the Win32 support newsgroups. Maybe: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.development.device.drivers&lang=en&cr=US ...Show All

  • Visual J# List of All J# Browser Controls from Different Iframes

    getAppletContext().getApplets() method does not return all the J# browser controls when controls are in different iframes. I run the page not from a server but directly from local disk from the same directory. This is an important widely used standard feature and it works fine with java applets. I just tested it with a iis server, and it is a no go. It seems like you have a bug in getAppletContext().getApplets() on a multi frame document. Also, a java console like convenience would have been nice. ...Show All

  • Windows Forms How to make the mouse click...

    How can i make the mouse click automatic,  example:  if(num5 == num 6)  {  //Mouse click  }  Thx in advance  Note: This is C# and windows form. Hi everyone...in the future, I'd ask that you all please use the <<b>code</b>><<b>/code</b>> tags in the future when posting code so it is formatted nicer.  Thanks!  :)  ...Show All

  • Visual Studio Team System #region & #endregion

    Hi, In custom FxCop rule, Is it possiable to check for #region and #endregion, in the code if possiable how to identify, if not possiable please explain. for example #region Public Methods // DO something #endregion Regards Venkatesaperumal It is not, since this information is relevant to source code only and is not preserved on generating a managed assembly. FxCop is strictly a binary checker. ...Show All

©2008 Software Development Network