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

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

Janga

Member List

Nobody1234
Mohe
*George*
Mr2001
runcy
elsae
Wiskers69
sapeluso
Rutger van der Vleuten
MickT
Gheatza
Caxaria
cakewho
Dan Maharry
Fakrudeen Ali Ahmed
zarkorgon
mark_k
LuisSpain
greg aiken
Paul Samways
Only Title

Janga's Q&A profile

  • Windows Forms Differing Row Heights

    I am binding a datatable to a datagrid which has a custom table style.  One of the columns relates to a (potentially) large varchar field in the database, and I would like to expand the row height of those rows where the text flows over a single line. PreferredRowHeight sets all rows to the same height, whether the text needs to wrap or  ...Show All

  • Windows Forms Text Alignment in a rich textbox

    Hey, How do you Aline Text to the left or right, or center it with a RichTextBox control I tryed this: RichTextBoxPrintCtrl1.Text.somthing the somthing is nothing, I could not find a option for .Text that would Aline it... Thanks :) Hello, You should select the text you want to align with richTextBox.Select or richTextBox.SelectAll, and after the text is selected, use richTextBox.SelectionAlignment. ...Show All

  • SQL Server Chart Labels at an angle??

    Hi, I have created a report with bar chart but the labels are too long and often go into next line. Is there any way to specify text orientation for labels of a bar chart I would like to show the chart labels at an angle. Is it possible Any help will be appreciated! This depends on which labels you are referring to. If you are referring to data point labels, then yes, it is possible to specifiy an angle. However, if you are referring to the labels on one of the axes, then no, it is not possible at this time to specify an angle. These labels are positioned automatically. The ability to manually set the angle for axis labe ...Show All

  • Visual Studio How to add custom control to Visual Studio 2005 Toolbox?

    Hi all, I am working on a Windows Forms custom control now and I would like to place my control right on the Toolbox window after installation, however, this seems to be a problem now. I notice that EnvDTE and EnvDTE80 namespace and the DTE2 interface seem to provide customization of VS IDE environment, and I tried as follows: 1> Get a DTE2 instance by Activator; 2> Use DTE2.ToolWindows.ToolBox.ToolBoxTabs.Add to add a new tab; 3> Use ToolBoxTab.Add(name, object, vsToolBoxItemFormat) to add my control. here name="Control1", ie, and object=@"C:\Control1.dll" as mentioned in MSDN. Here is the problem. this method should retu ...Show All

  • Visual C# Components and their parents

    Ok, so, i decided to start playing with some custom components and ran into an interesting, yet rather crippling 'oddity'. My component works, it gets tossed into the component bin in the IDE and my properties are visibile in the properties list. So far so good. Since this particular component needs to know it's parent form, i figured "this.Parent".. and what do you know, no such thing. So, a question and a rant follows: The question: How can i get the parent form of the component (The parent form clearly sends it it's component container, which ALSO cannot return it's parent, an oddity suddenly changed to plain simple design stupi ...Show All

  • Windows Forms Customizing the look of an application

    This is my first post and I'm an absolute beginner so bare with me! I'm building an application that uses somewhat non-standard layouts and controls. Here are just a few of the things I'm trying to do that I can't seem to figure out. I have a MainMenu object displaying a few menu items. Below that I want a blue horizontal barto go across the top of the window (it's a Mdi container form). Inside of the bar I want to have a few tab type buttons that select the content within the window/panel below. In the right side of the bar I want to have some text. Is it possible to create a graphical bar and then assign event handlers (click, ...Show All

  • Visual Basic VS 2005 and crystal reports

    Hello, trying out CR for the first time and using VS 2005. I have made a basic report with no database information just my name the date and my address. It runs fine but when it opens I want it to default to PDF not to the webform that it does which then allows me to export to PDF, excel etc. This is my first time using CR so if anyone knows of a how to doc or if it is just one line of code I would appreciate the help. Thanks Hi, If you want to display it directly in PDF you should not use crystal reports. Search the web for PDF writting classes. Here's a tutorial on how to do that. How To Generate PDF Fi ...Show All

  • .NET Development Program exits without throwing exception

    I have a problem that I did not think could occur in the .NET environment. I have a .NET program that when the user clicks on a certain option the program just vanishes. If I run the program inside the debugger it works fine. If I first start the program then attach the debugger to the program then I can reproduce the vanishing behaviour. The problem is that the vanishing occurs randomly depending on where I set breakpoints. I can be stepping at the assembly level and from one assembler statement to the next the program just ceases to exist. IP and SP appear normal. This program does call into unmanaged code and this unmanaged code the ...Show All

  • SQL Server Concatenation of integer data into text

    I am a TSQL Newbie trying to concatenate two columns (DocumentNo & SequenceNo) that were created with a “smallint” data type constraint in a full-text search database. I want to end up with a column containing varchar data such as “5-2” where this row of data contains information about the 2nd document in a series for a person or group designated as 5. If I could change the data type for the columns to varchar I think I could query them like this: SELECT ( "DocumentNo" + '-' + "SequenceNo" ) AS DocumentNoFull FROM Full_Documents ORDER BY DocumentNo , SequenceNo When ...Show All

  • Visual Studio Team System Does TFS Includes VSS?

    If I buy  TFS do I need to buy alsoVSS or it includes version control for documents  and source code   hsiceo wrote: In my post I failed to mention that we are connected to our Team Server and browsing a particular project.  All files in the project are visible and we can access certain functions including checkin, label, history, etc. but not checkout, new folder or add files. It sounds like the folder you're browsing is not in your workspace mappings.  The dialog where you set up your local workspaces is File -> Source Control -> Workspaces.  Or from Source Control Explorer, click the Works ...Show All

  • Visual Studio Team System Time I take to resolve a work item (Real and Planned)

    I would like to have 2 new fields, one that will fill the project manager, for example. 1.  Create database   (24 hours) but the person who designs the database didnt take 24 hours, it took houirs or less than 24 hours, so I would like to have reports that tell me if the projects are on time or not. Any recommendation Thanks Hi Luis, Have you taken a look a team project created with the MSF for Agile methodology When you create a new task and check the details tab, there are two field: Remaining Work Completed Work A project manager (using MS Project or MS Excel or Visual Studio) can set the remaining work fields in th ...Show All

  • SQL Server AdventureWorks db for 101 Samples

    I'm not sure if this should be asked here.  If it's the wrong place, let me know and I'll correct. I've just downloaded 101 Samples for Visual Studio 2005 .  But the data access samples require AdventureWorks database which is not included in the C# sample.  Who know where I can get this database   It is a SQL 2005 database, I think. Thanks! You can download AdventureWorks from this site: http://www.microsoft.com/downloads/details.aspx FamilyID=2adbc1a8-ae5c-497d-b584-eab6719300cd&DisplayLang=en ...Show All

  • Visual Studio Team System Visio for Enterprise Architects 2005 does not like Bold?

    I have an issue with Visio for Enterprise Architects 2005 where it takes all of my non-null fields and changes them to non-bold text and only bolds the first primary key. Anyone have any ideas to fix this This behavior is intentional as it allows users to see which columns are required and which can be null just by looking at the diagram, without referring to the Database Properties tool window. I haven't worked on this code but I don't believe there is a way to disable the functionality. Ian Software Development Engineer Visual Studio Team Edition for Software Architects ...Show All

  • Visual Studio 2008 (Pre-release) How can I protect my WCF services so that they can not be accessed directly by others?

    Or is there other way to accomplish this Thanks WCF services can implement Transport security or Message security,so with this security model,you can allow only authentic users to access your wcf service   please go through following MSDN doc to know more aout wcf security http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/WCF_con/html/7ea87fcb-dcfb-4a4a-8b03-6b954575d45b.asp   -Thank you Madhu ...Show All

  • Visual Studio Avalon is missing now.

    I have just installed VS Beta 2.  Avalon seems to be missing.  I can't create new Avalon projects and my current Avalon project is not functioning correctly.  I have unistalled and reinstalled a couple of times.  How can I get the Avalon functionality back. Thanks, Sid To make things even more challenging, the February 2005 CTP of VS 2005 is no longer available on MSDN.  So you can download the March CTP of the Avalon/Indigo SDK, but not the other component(s) necessary to use it. ...Show All

©2008 Software Development Network