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

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

AlexZander

Member List

Mijaelovic
T*R*Z
Shoven
StephanG
SergeK
TommK
Chris Wu
j8a
CodeW
maqk
Jothi.G
foobar-12
gkat
jbranton
Schweppp
Esteban Garcia
Marcus Deluigi
Sachin1Sharma
drv62
Docile
Only Title

AlexZander's Q&A profile

  • Windows Forms Unbelievable!!!

    Using Visual Studio 2003. Creating a C# Windows Form application. I have created a main form with various controls to include tab control, textboxes, buttons, etc. Set the isMDIContainer property to TRUE. Then created a simple child form with a textbox and button on it. When I click the button on the parent form that opens the child form, the child&nbs ...Show All

  • Visual Studio Team System Fail Team Project creation

    After installing TFS Beta 3, everything seems ok. Can connect to it, manage it, etc. However I cannot create projects sucessfully. When I try to I get this (excerpt from log): Event Description: TF30162: Task "SharePointPortal" from Group "Portal" failed Exception Type: Microsoft.TeamFoundation.Client.PcwException Exception Message: Unable to connect to the Windows SharePoint Services at TEAMSYS1 Exception Details: The Project Creation Wizard was not able to connect to the Windows SharePoint Services at TEAMSYS1. The reason for the failed connection cannot be determined at this time. Because the connection failed, the wizard was not able to ...Show All

  • Windows Forms setting the current date as a filename

    Hi All...Again! I am stepping back into the fold to ask for yet another bit of help. I am writing an app in vb .net, and need to append to a file that should have the filename of the date it is created. I know the code to append, I need to know if there is a way to set the filename when the file is created to the date  ...Show All

  • SQL Server Accessing sys.syslockinfo from an application role

    In SQL Server 2005, you must have the VIEW SERVER STATE permission in order to access sys.syslockinfo ( http://msdn2.microsoft.com/en-us/library/ms189497 ). It seems that the VIEW SERVER STATE permission can only be granted to users. Once you execute sp_setapprole, the connection loses the permissions of the user and assumes the permissions of the application role ( http://msdn2.microsoft.com/en-us/library/ms190998 ). So, how can I access the sys.syslockinfo view while using an application role Note: I have to maintain compatibility with SQL Server 2000 Here are two ways to allow ...Show All

  • Visual Studio Frequent incorrect build results - projects skipped that are out of date

    Re-posting here at the suggestion of the Team System folks... The below was observed using Visual Studio Team Suite 2005 RC version. I have a solution with 17 C# projects - two .EXEs and the rest DLLs, including a number of unit test projects. I can't begin to relate how often I run into problems due to incorrect build outcomes - one or more projects were not built even though clearly out of date. I see this sort of thing when running tests from the test manager (which sometimes completely refuses to even try to build anything and just complains that it can't find the output file of the build that it never initiated) as well as ot ...Show All

  • SQL Server Different row delimiters in same connection manager

    I have a situation where two CSV dmited types are read in. One file row type could be CRLF while another could be CR. Seeing how the only difference between these file types is the row delimiter, I would like to use one conn manager. Is it possible  Ideas Try this: create a string variable Delimiter. In Connection Manager window select your csv connection and look at its properties. Open Expressions form and add an expression to the property RowDelimiter setting it to the variable User::Delimiter Then you should be able to progamatically switch from one delimiter to another (toggling the variable value) before ...Show All

  • Visual Studio DevExpress CodeRush v2 on Vista beta2 / VS2005 RTM

    Anybody tried to install latest (v2) CodeRush on Visual Studio 2005 RTM running on Windows Vista beta2 All installs nicely but nothing shows up.. There is actually a more generic issue with developing packages on Vista. Allen has posted an extensive blog entry about it that you should find useful: http://blogs.msdn.com/allend/ ...Show All

  • Visual C++ C# array equivalent in C++/CLI

    Hi, I'm writing a C++/CLI wrapper for legacy C++ code such that it can be used from e.g. C#. The latter has built-in support for arrays, which even can be jagged. In order for my C++/CLI wrapper to accept these C# arrays (e.g. as member function parameter), I use the abstract System.Array class from which the C# arrays inherit. Is this "the" approach, or are there better approaches P.S. While the MSIL code generated by the C# compiler is pretty optimized for e.g. C# double arrays, there is e.g. a boxing/unboxing penalty when using System.Array::SetValue() in the case of a double array as equivalent for the [] operator. Al ...Show All

  • Smart Device Development Emulator softkeys

    I recently upgraded to VS 2005 FC1 and now I have a problem. For some reason, the Windows Mobile 5 Emulator's softkeys are mapped to numeric keys. For example, pressing the left softkey while in the home view will result in a '1' being entered instead of display the start menu. Pressing the right softkey will result in a '2'. Pressing the home and back buttons work. Pressing the Green phone button will result in a '3' and the red phone button in a '4'. All the other real numeric buttons appear to be ok. This only happens with the WM5 emulators (all of them) but the 2003 emulators work fine. Has anyone seen this and have any idea how to resol ...Show All

  • Visual Studio Default for everyone in deployment

    Is there a way to set the deployment package to select for everyone instead of just me as the default Yes, there is. I don't have access to Visual Studio right now, so I can't tell you the exact name, but check the properties of your setup project. It has a pretty obvious name... (Update) I have looked it up by now, the property is called InstallAllUsers ...Show All

  • Windows Forms Custom Scrolling

    I have built a control & now I want to be able to scroll a multipage text in it freely  without inheriting TextBox , RichTextBox , TextBoxBase , because of extra features . please help me , thank you . Check out the http://www.windowsforms.net/Forums/ShowPost.aspx tabIndex=1&tabId=41&PostID=11274. To implement scrolling you need to: a) calculate size of the  ...Show All

  • Visual Studio dexplore.exe from VS2005 takes a lot of memory to run

    Hi, Installed VS2005 professional (Release), and when I run MSDN library for Visual 2005, it takes above 200mb on start - dexplore.exe takes that abount of physical memory. Also, the same problem happens with VS2005 itself - it takes more than 200mb while it starts. If I will start another VS2005 instance - it will take 200mb too, and thats a problem for add-ins development. Please, let me know, is there any way to fix this issue. Few lines from the about box: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: Enterprise VS and Dexplore ...Show All

  • SQL Server Bug in NS 2005?

    We have rolled out a solution on SQL 2005 and NS for 2005. As we have been looking into reporting notifications from our system I came across that a column that is created out of the box does not make sense. In the generated table NS<NotificationClassName>Notifications there is a column called SubscriptionID, it is set as nvarchar(255), but in the NS<SubscriptionClassName>Subscriptions the SubscriptionID is BIGINT. Why would then be different when the refer to the same thing What we have done for our solution is not read from the NS table directly, since we do have vacuuming enabled, but we trigger all notifications to another t ...Show All

  • Windows Forms draft fonts in Crystal Report 9 VS .NET?

    how can i have a draft font in crystal reports for .net  everytime i print with draft fonts it always shows up as arial pls help me! Hi, Hmmm. quite interesting. I've encountered the same problem before, but the error there was that the default windows printer wasn't set to the printer being used by my report. Could you verify this Check if the printer used in your report in the design view is the same as the default printer set in windows...     cheers, Paul June A. Domag ...Show All

  • Visual Basic Best way to plot points along a curve (oh yeah, AND to draw the curve)

    Hello again people. I am writing an application that requires a function to draw a curve that is plotted between two points where the user can specify the amount of curvature of the line between the two points. (If that makes sense). Once this has been processed, I need to be able to break down that curve into an infinite number of points and find the perpendicular normal angle of each of those points. I know, I know, it's enough to make your head explode, but I know it can be done, but I don't even have a clue where to begin :-( Hopefully you fine people can give me a bit of assistance. (Just for a bit of background, I'm ...Show All

©2008 Software Development Network