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

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

ahmedilyas

Member List

pure159112
Gordon Staley
Trevor E Hilder
Krutika
PabloTola
Xigorph
mbaclawski
Martijn Mulder
Ramakrishna_Rao
Serend
jkirk
Daniel Adeniji
tirengarfio
nate-d-o-double-g
AshishGupta
coolcoder
AndyC73
3D Paul
Tigerwood2006
Alan Phipps
Only Title

ahmedilyas's Q&A profile

  • SQL Server Restore A Report Model From Reports Database

    Is there a way to restore / export a model from the report database You can click the Edit link in the model properties page in Report Manager. This will download the model as a file. Another option is to call the GetModelDefinition on the report server web service. This is what Report Manager does behind the scenes. We do not support or recomment direct access to the report server database. Hope that helps! ...Show All

  • Visual Studio 2008 (Pre-release) Authentication issue when WCF service is hosted in a windows service

    Hi, I created a WCF service and hosted it in a console application. I tried accessing the same from a remote machine on the same network. It worked fine without any issue. But when I tried hosting the same in a windows service, I get an error "407, Proxy Authentication Required". Not quite sure why it didnt show up when hosted in console app.. How do I resolve this Thanks Sai Yes. Thats exactly what I am trying to do. I have hosted in an NT service on one machine and I am trying to access it from another machine. By the error it does appear to be credential issue, I am not sure how address the same in the code. ...Show All

  • Visual Studio BuildAction property for a ctc file does not contail the CtcFile property

    Hi, I'm trying to remove the depenendency of my Package on a satellite dll. I did this by creating a resx file and adding all the necessary strings, ico, images etc. I proceeded to add the [MsVsShell. PackageRegistration (UseManagedResourcesOnly = true )] attribute to my package. I then moved the ctc file for the assembly from the satellite dll project to my main package project. The "Build Action" property for my ctc file, however, does not provide the "CtcFile" option. If I look at the Toolwindow sample the ctc file has this option. What is the correct way to migrate a ctc file from a satellite dll to the main package How do I get the "CtcFile" option to show up for the "Build Action" property. Thnx in advance. ...Show All

  • SQL Server How do I give a user access to SQL Server?

    Hi all I tried using my administrator account to add SQLServer as an ODBC Connection, but for some reason when it tries authenticating it fails and the reason is that the user is not trusted to use that connection. Yet on my account i've created on my domain works perfectly. I've added a new user in SQL Enterprise manager, but i still get that error. How do I set the user to be trusted to use the connection Any and as many assists on this would be great. Kr33 [edit] - Hmm, actually, I may be misunderstanding the question.  I'm going to move this question into the Data Access forum which hopefully can provide better support: http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=87&SiteID=1 S ...Show All

  • Windows Forms Tab text length

    Hey, How do you make it so if the length of text int he tab is more then 19 text charicters then after 19 it will put: ...       Thanks :) Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load For Each tab As TabPage In TabControl1.TabPages If tab.Text.Length > 19 Then tab.Text = tab.Text.Substring(0, 19) + "..." Next End Sub ...Show All

  • Visual Studio Team System CTP6 bug: Faulty syntax in .sql file

    Hi, Using CTP6. The resultant .sql file after a build looks like this at the top of it: SET ARITHABORT , CONCAT_NULL_YIELDS_NULL , ANSI_NULLS , ANSI_PADDING , ANSI_WARNINGS , QUOTED_IDENTIFIER ON SET NUMERIC_ROUNDABORT OFF GO :setvar databasename "BipaRepository" USE [master] GO Which is invalid syntax (because of the line ":setvar databasename "BipaRepository"") Shall I raise a bug at MS Connect -Jamie After taking a second look I can see that all references to this database are done via $(databasename) So I can see what is trying to be attempted here. But you can't escape the fact that the resultant .sql file contains th ...Show All

  • Visual Studio 2008 (Pre-release) enums - to use [DataContract] or not to use?

    Hi, I'm currently wondering what the implications of adding or leaving out the DataContract attribute on enumerations. I've tried googling and reading but haven't found any definitive answer, but so far it seems that - enums are serialized implicitly without DataContract - IF I add DataContract, I also have to add EnumMember to all members - If I just want to skip a member, then I can either apply [NonSerialized] to that particular member, or add [DataContract] to the enum and [EnumMember] to all members except the ones to ignore. - If I want to have another namespace than http://schemas.datacontract.org/2004/07/Server (WTF! !) then I have to use [DataContract(Namespace=...)] - If I want to rename some member over the wire, then I have to ...Show All

  • SQL Server 2005: Disabled SQL Login

    Is there something that would cause a SQL Login to get disabled automatically The login was used successfully yesterday but today we were getting an error: Login failed for user '<sql login>'. Reason: The account is disabled. [CLIENT: ipaddress] Perhaps someone accidentally disabled this but that sounds unlikely. I didn't see anything in the log about the account getting disabled. Michelle The only thing I can think of that would cause something similar is when the account gets locked out. But I believe the warning message is different and the control panel would show that the account is locked, not disabled. I would guess the account was disabled by accident.  You m ...Show All

  • Visual Basic Try..Catch is OK; BUT: how to Resume?

    In the old VB6 days, when I had an error handler (On Error) in a routine that called another routine that called another routine and so forth, if somewhere down the line in the call stack there was an error, the error handler on top of the call stack would catch it; if that error handler had a Resume statement, it would take me right to the offending line of code (no matter in which module or class). Am I missing something or is this sort of coding not possible with Try..Catch I also find that the error messages in the Immediate window are useless most of the time. With On Error, I could go to the immediate window and type " err.description" and it would give me the cause for the error. (i.e. "error in sql statement: i ...Show All

  • Visual Studio 2008 (Pre-release) Dialog Window

    I am wanting to create a pseudo modal dialog window. Rather than using ShowDialog I want to display a xaml page in a panel that hovers over the calling window. I figure the best way to do it is to add a frame to the page and make it invisible. Then when it is required just make it visible and position it in the centre of the window. How do I go about positioning it though I want it to be centred in the window but have no idea how to do this. Any ideas Use a Grid as the root element for your window. You don't need to define any rows or columns. As the first child of that Grid put another Panel type (probably another Grid) which all of your other content can live in. As the second child of the Grid you can ...Show All

  • Visual Studio Team System Modifying a Table Column

    What would be the steps to modify a table column The database schema has been imported. The project is under source control. The column of an existing table must be modified. Currently (eg): [ColumnName] [int] NOT NULL, Later: [ColumnName] [int] NULL, If I modify the table in Solution Explorer and save the file, I get an error "An object with name '[Table] dbo.[TableName]' exists in the database project. Actually this is a good question. The only two ways I can know are (1) post the script to this forum page and check the check box "This post contains a code sample" if the script is not very big. (2) attach the script and email me: haileiz@microsoft.com Thanks ...Show All

  • Visual Studio Team System get list of files changed after a specific label

    How can you get a list of all the files under a team project that have changed since a particular label was cut on that team project Thanks for the knowledge imparted on this subject. Regarding your last paragraph on only using labels rarely, I would like to ask some further questions. We are cutting labels for particular release numbers. We then branch on the label to fix any production bugs. Since we previously used VSS, we avoided branching and merging like the plague...so we're new with the best practices for branching and merging. I read a book on software configuration management patterns and took a liking to the mainline pattern. Should we not be using labels for this Is there a better way to skin this cat ...Show All

  • Windows Forms help

    Please can some one help After using ad aware-Lava soft to check for Trojans on me computer (running on xp pro) i quarantined the files found including temp files MRU lists-HKEY that it found this disabled my dial in so i restored the computer back a few days,, all was well until i found word docs, two folders of important docs to me were all corrupt (all asked for what type of encoding it needed i.e. us, eurore, japan) lava soft quarantined MRU lists-HKEY files as low risk Question = have I managed to bin a file that word needs or have i been hit by viruses at some point if any one has had this prob or understands my prob please respond as there my stories written over a year and al throw i have cd backup i need to know what i have don ...Show All

  • Software Development for Windows Vista Shell Extensions?

    In Vista Beta 1 our shell extensions worked but in beta 2 Build 5384 it no longer works. I found some mention of Like all COM objects, Shell extension handlers must implement an IUnknown interface and a class factory . Most must also implement either an IPersistFile or IShellExtInit interface in Windows XP or earlier. These were replaced by IInitializeWithStream , IInitializeWithItem and IInitializeWithFile in Windows Vista. The Shell uses these interfaces to initialize the handler. In some msdn documentation but I can't find any samples. Anyone have any information Thanks. Hello All, I have an application which creates Context menu handlers(implement IShellExtInit and IContextMenu) .These do not work ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNAInvaders Released with source

    My first release of XNAInvaders is available. Its currently binary only (source will be released when its a bit more completed). Anyway more details and download can be found here. Will be interested in any comments/feedback Cheers Andy Well, the time has come to release XNAInvaders and as promised this includes full source code. For more details and links go to here (links have been checked and are working :) Cheers Andy ...Show All

©2008 Software Development Network