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

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

Cent

Member List

tjanke
tlgRocksOn
Makacki
rustyoldboat
Grabner
renen
YossiEven
Chango V.
Nick Kramer - MSFT
Kristian Vinther
Aaron J Smith
Bill Pf
Ricardo Jesus
fgalal
Miyamoto M
Brent_One
Kannan Pothi
newbie_
DBA Tool
app-o-rama.com
Only Title

Cent's Q&A profile

  • Visual Studio Team System Initialize reference type static fields inline

    It says "Initialize all static fields in Jnj.ThirdDimension.Controls.ControlPainter when those fields are declared and remove the explicit static constructor." but the static constructor contains only logic that can't be moved to initializers: public static class ControlPainter { static ControlPainter() { SetPrintType(typeof(TextBox), PrintType.ExternalPaint); SetPrintType(typeof(NumericUpDown), PrintType.ExternalPaint); } static bool useOnPaint = false; ... } Hi Andrew, can you provide more details on what SetPrintType does If it puts some data in a static dictionary o ...Show All

  • Visual Studio Team System Can't connect, 1 machine on novell, other machine w2k3 workgroup

    Hi, I have TFS Beta 3 Refresh installed on a workgroup install of W2k3. Everything works fine on that machine, but I connect attach to the TFS Server from my XP workstation on novell. I tried the 'run as' technique, but it seems like XP won't accept it. TIA, C Actually, i got it to work by adding the user to the TFS machines administrators group, and project admins and contributors group, and just about any other priv i could think of. This was obviously overkill, but since its a throw away install, I am not going to lose sleep over it. Also, as a no brainer, if you are creating a new account, be sure they login and chan ...Show All

  • Windows Forms Datagrid ButtonColumn

    Hey, I am at a total loss on how to create a WINDOWS APP button column in a datagrid. I am surprised why there isn't a link and push button class like there is for a datagrid ComboBox (DataGridComboBoxColumn). Am I missing something I know there is this functionality for Web Apps, but I need it in a Windows application. is there a button column class and I am missing it, or is it true that I have to create my own child class of a DataGridColumnStyle Please tell me I am an idiot, and that there is already a push button or command button column I can bind to a DataGridTableStyle! Thanks There is a datagrid ...Show All

  • Visual Studio iwizard vstemplate

    What is the proper way to abort loading of my custom package I added a cancel button to my form for new project types and I want to abort loading if they click cancel and return to VS2005. The form is being shown from my class that inherits IWizard interface. Mike Try this code in the cancel button action handler <CLSCompliant( False )> Public myWizRetval As EnvDTE.wizardResult myWizRetval = wizardResult.wizardResultCancel NS ...Show All

  • Visual Studio Export report to new browser window?

    I have a report shown in my asp.net 2.0 page with the report viewer control. The report was made remote on a reporting server 2005. In the menu bar of the report viewer control there are all export formats (pdf, xls, csv, tiff...) available. If I select "PDF" from the combo box and then click the button "Export" the Acrobat Reader PlugIn opens the PDF file in the same browser window as the report was shown before. Is it possible to send the output from the export button to a new browser window I have the same problems with the other formats (Excel is also displayed inline). Thanx, Dirk You can do this. This ...Show All

  • SQL Server How to exclude duplicate records from totals

    My column figures are correct in my report, but duplicate values are being added to the totals.  I am using: Format(Sum(Fields!ACEG_Contribution.Value), "C") This is not a matrix report.  I am using tables so it only has table headers and table footers. How can I fix this   Please advise a-sap. Thanx in advance for any assistance you can provide, gb     Hi Gerry- Not completly certain where your duplication is coming from - as per your description. If duplicate values are present in your data, you would want to use the DISTINCT clause in your query to filt ...Show All

  • Visual C# Integer TextBox

    I created an application in C# for findng if the number entered by a user is Prime or Not,the logic part was ok.But I'm using Textbox for getting the number from user and complier is giving me errror that string cant be converted ....So I wanted to know how to use Textbox for getting the numbers and that Texbox should take only integer values.Help me out.Thanx take a look at the MaskedTextBox Class http://msdn2.microsoft.com/en-us/library/system.windows.forms.maskedtextbox.aspx to parse a string to integer use int.Parse(string) or int.TryParse(string) http://msdn.microsoft.com/library/default.asp ...Show All

  • Visual Studio Team System So I've install VSTS. Now what?

    Ok well I've install VSTS on my WinXP 2003 Server. Now what I don't get any new menu items, I don't know how to manage any of this and the documentation says "use team explorer"... Where is team explorer I used a team edition visual studio I had on another machine, but I didn't find any team explorer in there. Man, for it's price, this software sure is hard to setup and manage. Luis Huapaya wrote: Ok well I've install VSTS on my WinXP 2003 Server. Now what I don't get any new menu items, I don't know how to manage any of this and the documentation says "use team explorer" ...Show All

  • Windows Search Technologies Multiple ActiveSync connections

    I'm able to have an ActiveSync connection (with partnership) to two PC's. When I try a third PC, it always ask me yo delete one of the other two, which is not to my liking. I need at least those three connections to keep everything up-to-date very quick. anyone with some ideas ...Show All

  • Windows Forms Disable the drill down feature in the datagrid

    Dear all, I would like to know whether I can disable the "Plus" or "Minus" button in the master-detail relationship in the datagrid  i.e. I have add a relation between master and detail, and when I am displaying the master table records, the grid has a "plus" or "minus" at front, can I disable it Simon Ah, that's another story.& ...Show All

  • SQL Server Help! Can I control the recursion times of a recursive CTE?

    I have a table describing a hierarchy structure and the number of levels is very large, say 10000. Can I control the recursive CTE to get the first 1000 levels Thanks! Yeah, it goes on the query, not the CTE (kind of wierd syntax, but anyhow) WITH Employee_CTE(EmployeeID, ManagerID, level) AS ( SELECT EmployeeID, ManagerID, 1 AS level FROM HumanResources.Employee as Employee UNION ALL SELECT Employee.EmployeeID, Employee.ManagerID, level + 1 FROM HumanResources.Employee as Employee INNER JOIN Employee_CTE on Employee.ManagerID= Employee_CTE.EmployeeID ) SELECT * FRO ...Show All

  • SQL Server Control Flow design question

    hi all of you, I haven’t idea if the following description is a issue or not, anyway: I begin from Control Flow layer. I’ve created a sequence container and inside I’ve got two groups, one own a sql task and another one own a Data Flow task. Both are linked for a completion conector. Up to here everything is fine. But when I collapse my sequence container the arrow remains there for these tasks and you can see the sequence container “closed” and the arrow lonely. Not very esthetic, not practical. Any clarification or though will be as usual welcomed I've seen similar problems in the past. I think th ...Show All

  • Smart Device Development Connection settings in a PDA

    Hi. I have been developing a PDA application on my system. It communicates with a webservice in the domain network. Everything works fine. Now. I have a standalone PC with IIS installed in it. I install my webservice there. When I connect my PDA to this standalone machine using activesync, I should be able to call the webservice methods. Inspite of setting all the connection settings, I'm not able to make this work. HELP!!! Thankz. If by using standalone you mean "no network" try installing loopback adapter: http://support.microsoft.com/default.aspx scid=kb;en-us;839013 ...Show All

  • Software Development for Windows Vista Any Utils Available To Sync Activities With SqlTrackingService?

    Hi, Specifically synch'ing between the workflow and the Tracking DB - Activity table I've been playing around with a simple doc approval workflow and today wanted to add some approval timeouts. So, I added a couple of EventDrivenActivity items with appropriate DelayActivities, etc. and ADDED a couple of trackData() calls to log some info. This broke the SqlTrackingService stuff when retrieving the ActivityTrackingRecord data with sql null value errors. I managed to chase it down to the new activities not being defined in the Activity table. I manually added them with the right type identifier and voila! - the SqlPersistenceService objects ( ...Show All

  • SQL Server For Travis Lowdermilk

    I dont know if anyone mentioned this, but I would like to have the ability to disable objects in a Data Flow Task Travis, I've split this into a seperate thread because it isn't relevant to the previous thread. What is the scenario for wanting to do this I don't understand why this would be required or how it would even be possible. e.g. If you have a data-flow with 3 components, components 2 & 3 would not be able to execute if component 1 were disabled. The unit of execution in SSIS is a task, not a component. -Jamie ...Show All

©2008 Software Development Network