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

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

Cian

Member List

Liam404
Ather.
zbebu
Steve1999
Zhao_Gil
Allan Huang
alphonso
ForEverLearning
Alex Resnik
Musa_Tariq_Raza
Andrzej Martyna
robinjam
Victor Hadianto
amnonman
peter_s
Maxx Delusional
Inari
Kaisor
Wysek
clint 2
Only Title

Cian's Q&A profile

  • Visual Studio 2008 (Pre-release) Text Wrapping in a TextBlock in a ListBox

    Hi, I cannot get the text in my TextBlocks (or TextBoxes) to wrap when placed inside a listbox. So, I have a data template that has the textblock in it, then I add data to my list box, but the text refuses to wrap. I have disabled horizontal scroll bars wherever I can and told it to "wrap". I have tried surrounding the textblock with a wrap panel, and tried defining a control template for my listbox containing a stackpanel as the ItemsHost (to get around the inherent scrollviewer or something) but nothing works! The only thing that works is setting the width of the textblock explicitly, either in the xaml which means if we modify the layout on any page with a listbox we have to go in and hardcode another value, or I suppose ever ...Show All

  • Visual C# User can Cirumvent security

    Hello all, I am working on a website which is using Forms Authentication. For example we have different Roles as Admin and LocalUsers. LocalUser cannot view the Admin Menu Items and cannot access the Admin Pages. But if the User Copies and Pastes the URL for Admin Page, while he is logged on as a LocalUser, he can see the Admin Page even though he do not have permissions to view that page. I know that we can check the Roles in the PageLoad before giving access to the Page by User.ISINRole("Admin") and if does not have that role, I can Redirect him to the Login Page. But is there any centralized way where we can do this. Or do we need to check the Roles in each and Every page. Thanks In Advance Swetha ...Show All

  • Windows Forms Install from CD without user interaction

    Hi all, I'm trying to update my existing .net 1.1 app with a clickonce. The problem is, the old app resides on a machine with no keyboard, mouse, or monitor in almost 100 locations. I can easily ship a CD to each location where my clickonce has been deployed. The problem comes when the user puts the CD in a UI shows an acceptance type thing for installing .NET 2.0 and then requires a reboot. Is there any way to programmatically install .net 2.0 without user involvement other than just sticking the CD in Ok, for those of you looking to do this, the best way that I've found to install the .net 2.0 AND the clickonce app is to create a batch file that installs the .net 2.0 first, then the setup.exe for ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Gamercards and player information

    To the MSFT dudes, Is there any news on whether or not gamecards will be readable in future versions I'm creating a multiplayer game (with both hotseat and concurrent play) and would like to be able to show gamer pictures and names and such (similar to how Uno does it). A simple GamerIdentity class and GetIdentity( PlayerIndex ) would be cool! I think that would be a lot better than aways saying 'Player 1' or 'Player 2' :) I don't mean Live, I just mean the current player profile. You can have offline player profiles that aren't associated with Live accounts. ...Show All

  • Visual Basic Load COM add-in in Visual Studio 2005

    Hi there, my problem is, that I need to add a COM add-in to Visual Studio 2005. I've found the suggestion, to look under Tools\COM add-ins, but there is no "COM add-ins". I've got WS 2005 Professional, where do I find that Could anyone please help me Thanks so far Christian Ahhhhhh , Com Component...From the Main Menu...Project...Add Reference....Com Reference...and see if it is in the list to select....if not browse for appropriate reference file....Dll, Tbl, Ocx....etc.... ...Show All

  • Architecture Where can I find older versions of Microsoft Products?

    Hi All, I don't know if this is the right place to post this question, if the moderator thinks it's not, please move it to the right one. I wanted to ask you guys if you can post some urls where I can download older versions of ALL microsoft products. (DirectX, Windows Media Player, MS Office, etc ...) I need these to test my apps that it would be backward compatible to older releases of the products. If you can point me to an archive site where microsoft keeps their older (even unsupported) products (if there is one), I would gladly appreciate it. You will find that if you have an MSDN Subscription you should be able to get hold of the older products that are still active, As to older versions you mi ...Show All

  • .NET Development Accessing the web service

    guys - this problem has been discussed a lot over the web, but I am yet to find the apt solution. I have this simple web service (ASP.NET 2.0) that I am trying to access from my client code (windows app) in a different machine. My client IE settings have the proxy set to http://autoproxy:port . Now when I try to access the service, I get the 403 forbidden request error. One solution I ran into was to clear off the proxy settings (i.e uncheck all the boxes in IE Lan Settings..uncheck "automatically detect settings", uncheck "Use Automatic Configuration Script" and uncheck "Use a proxy server".which in turn will modify the registry settings & will be picked by the .net framework). This worked absolutely fine ...Show All

  • SQL Server How can we create cubs in sql server 2005 BI

    How can we create cubs in sql server 2005 BI Start the BI-Developer Studio (Programs/SQL Server 2005). Choose File/New Project Choose Analysis Services 9 project. After these steps you normally start with the dimensions. Books On Line have tutorials for this. This link can also help you: http://www.databasejournal.com/features/mssql/article.php/3553971 HTH Thomas Ivarsson ...Show All

  • SQL Server Assigning extra information to all database table fields

    I'm an experienced desktop app programmer, but fairly new to database programming. I'm working with C#/SQL right now. I understand the concept of a lookup table, as in storing a two-character state (such as CA) in a field in one table, and then being able to get the full state name (such as California) from a second table: Table: Address AddressID int <PK> StateCode char(2) <FK> ... Table: State StateCode char(2) <PK> StateName varchar(25) My question: is there some similar way to be able to provide just about every field of every table with a means of holding common, extra information For instance, let's say I wanted to store, say, an extended name and some special code with every field in th ...Show All

  • Visual Basic Compilation error

    Hi ,I get an compile error , cannot find a project or a library ,with the following line highligted in the code ,Implements ISubclass. Do you have the implements statement on your properties, sub, or functions Public Interface ISubClass Function MyFunction() As Integer Sub MySub() End Interface Public Class TheTestClass Implements ISubClass Public Function MyFunction() As Integer Implements ISubClass.MyFunction Return 0 End Function Public Sub MySub() Implements ISubClass.MySub End Sub End Class ...Show All

  • Audio and Video Development Help!!! Having problems burning a DVD!!!!

    this is my first experience with vista. i have been trying to burn a dvd with dvd maker and nero. when i attempt to burn with dvd maker it gives me an error and locks up. when i try and burn with nero it completes and says files transcoded and burned sucessfully, however when i put the disc in a dvd player or try and play it with wmp i get locked up after around chapter 3. can anyone help is anyone else experiencing the same thing Although you're not directly asking about Movie Maker, it seems to me that there might be someone knowledgeable about this to answer your question on the Movie Maker newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=micros ...Show All

  • SQL Server Creating RDL using information contained in an existing Data Model

    This question is in regard to creating RDL programmatically, using information contained in an existing Data Model; basically mimicking what the Report Builder does. What I need to do is integrate a dummied down version of the Report Builder into an existing web application; where users will have the option to build and save reports using a very simple web interface, 4 step process. This process will only have a very few of the options that the Report Builder has. So far I have built this process referencing the Microsoft Reporting Services dll's (Microsoft.ReportingServices.Modeling.dll for example), in order to retrieve the entity and attributes information from the Data Model. ** Does anyone know how I could create the RDL, usi ...Show All

  • SQL Server Can't get Instanses of the Report Server through WMI using Non-Administrators access

    I'm trying to conncet to Report Server with Non-Administrator user through WMI in compliance with this document: http://msdn2.microsoft.com/en-us/library/ms365170.aspx When I try to get Instances from MSReportServer_Instance class I get an exception: In my C# project i have an exception: System.Runtime.InteropServices.COMException (0x8000000A) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() But, when I give the account Domain Administrators rights all works ok. What additional rights must I give to the account ...Show All

  • Visual Basic The simplest way to catch ALT + F4

    Hello, If you need to intercept ALT+F4 in your program : (Instead of using KeyDown which is just bad ) Private Sub MainForm_FormClosing( ByVal sender As Object , ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me .FormClosing Dim Response As MsgBoxResult = MsgBox( "Do you really want to exit " , MsgBoxStyle.YesNo) If Response = MsgBoxResult.Yes Then e.Cancel = False Else e.Cancel = True End If End Sub thanks for sharing that with the community. Remember, this will also work when you press the close button of the form which has this code in place, implement the FormClosing event with the messagebox, not just when you pr ...Show All

  • SQL Server select query based upon results of another select query??

    Hi, not exactly too sure if this can be done but I have a need to run a query which will return a list of values from 1 column. Then I need to iterate this list to produce the resultset for return. This is implemented as a stored procedure declare @OwnerIdent varchar(7) set @OwnerIdent='A12345B' SELECT table1.val1 FROM table1 INNER JOIN table2 ON table1. Ident = table2.Ident WHERE table2.Ident = @OwnerIdent 'Now for each result of the above I need to run the below query SELECT Clients.Name , Clients.Address1 , Clients.BPhone, Clients.email FROM Clients INNER JOIN Growers ON Clients.ClientKey = Growers.ClientKey WHERE Growers.PIN = @newpin) '@newpin being the result from first query Any help appreciated ...Show All

©2008 Software Development Network