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

Software Development Network >> Dr.Virusi's Q&A profile

Dr.Virusi

Member List

corbin
thirteenburn
MOHAMMED1
noob_vber
Kimo9909
DuncanP
Ray Fernandez379013
AllahIsGook
houtexwebdev
AlexBB
justinmagaram
Diango
Harold-z80asmRules
Tylerk
vgrigor
arunsreekanth
Frank Miller
foobarX
Sambakongen
Tom Janssen
Only Title

Dr.Virusi's Q&A profile

  • Visual Studio Team System Mark an iteration complete?

    This seems like a really simple task, but I can't see how to mark an iteration complete. I don't want to delete it of course, and loose the project data to that iteration, but I don't want it to be an option for new work items. So how do I mark an iteration complete so it can't get new work items, yet remains in the reports I'm not sure I like the term "inactive" - it has a different meaning than "complete". "Closed" would be another option, since this would be the same meaning as a closed work item. The why is pretty obvious - if you are doing the agile thing correctly, with 1-2week iterations, then after a year you'll have over 25 iterations in the work item drop down! This ...Show All

  • Windows Forms Find DataRow with matching data in a DataTable

    Is there som efficient (other than looping through the whole table for each new datarow) way of finding out if a datarow with the same data is present in a datatable The rows are different but the data in the datarows are the same. I usually sort the datatable's defaultview by all the columns (sort = "col1,col2,col3, etc") and check and see if the next record is a duplicate. Here is a link to an example . ...Show All

  • SQL Server Agglomerative clustering?

    I promise this is the last question I'll ask today. Suppose you have some market basket data i.e. baskets that are collections of products. The retailer assigns each product to a category. Let's say there are quite a small number of categories: 20-30. As it happens, I have such a dataset. Now suppose you want to test the hypothesis that there are clusters of customers ("segments") who can be identified by the tendency to buy products from within a group of categories. You want a smaller number of segments: say 5-10. The desired end point is a set of segments, where each segment is associated with a set of categories and each category is associated with exactly one segment. You can then assign customers to segments according ...Show All

  • Windows Forms reating BufferedGraphics resulting in "Parameter is not valid" exception

    Hi I try to use double buffered graphics. The following lines work: private BufferedGraphicsContext plotBufferedGraphicsContext = new BufferedGraphicsContext (); private BufferedGraphics plotBufferedGraphics; protected override void OnPaint( PaintEventArgs pe) {   plotBufferedGraphicsContext.MaximumBuffer = new Size (100, 100);   plotBufferedGraphics = plotBufferedGraphicsContext.Allocate( this .CreateGraphics(), graphRect); This line doesn't: plotBufferedGraphics = plotBufferedGraphicsContext.Allocate(pe.Graphics, graphRect); Some questions: 1) Why can't I use the Graphics form the paint event The content of the 2 Graphics is the same, except that the PageUnit for  thi ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How make a DirectX app runs on Windows Forms (using C++)

    Well, i'm making a simple directX application based on my studies on this book Introduction to 3D Game Programing with DirectX 9.0 , the problem it's how i make the scene created runs inside a windows form to be more clear, i'm trying to render my scene inside a form but don't know how call a specific function to do that. Another thing, the code i'm posting here create by itself a window and i know that to runs on windows form i'll need erase thoses line of code, 'cause that i needed know how do that using a windows form. I'm using native C++ language and the code of the program i trying to run is down below. Thanks for any help (i really need do that). xfile.cpp #include "d3dUtility.h" #include <fstream> #include ...Show All

  • Visual Studio Custom tool window like DSL Details..

    Hi all, I have defined my first little language with the very impressive DSL Tools. When I now work with the application I miss a custom window to handle the (very specific) configuration of some of my model classes. What I need is a tool like the DSL Details tool window so I want to ask if someone has already builds a similar think. Seems like I have two (write an Add-in or a Package) or more options to solve my requirements but I’m not sure what is the best way to do this. Today I’m not very familiar with writing any kind of IDE Extension but after looking in the documentation it looks not really hard. But the first big problem is: How can I call a command from the DSL Designer View to the Add-in and vice versa. ...Show All

  • SQL Server Custom Task: How to access/modify the Expression Collection of a package

    Hi, I created a Custom Task which it has a Property called ConfigFilePath. I'm overriding the Validate() method from Task. I want to throw an error if my property ConfigFilePath is empty and if the expression for this property is empty. So far, I can check if the property is empty but I don't see how I can access the Expressions Collection of my Custom Task. Any thoughts I'd appreciate your help. Hi Michael, Let me see if I understood you. You're saying that I cannot have access to the Expression collection of a task All I want to do is for example, if you have a Script Task and there is a syntax error in the Script Task, after you close the Visual Studio GUI and return to the BI GUI you see that the Script Task has a red cross. This ...Show All

  • Visual Basic Cross-thread Exception with UserControl Initialized from BackGroundWorker

    I have a Windows Form with 3 variables declared as my own User Controls, a BackGroundWorker, 1 panel and 3 buttons Dim uc1 As DocumentTab Dim uc2 As HomeScreen Dim uc3 As StylePage These User controls are initialized from the BackGroundWorker.DoWork(). uc1 = New DocumentTab uc2 = New HomeScreen uc3 = New StylePage The Click Events of the buttons calls this method to add the specified user control to the panel. Keep in mind that this method is always executed from the UI Thread. Private Sub AddControlToTab( ByVal cCTL As Control, ByVal Panel As Control) Panel.SuspendLayout() Panel.Controls.Clear() With cCTL .BackColor = System.Drawing.Color.Transparent . ...Show All

  • Visual Studio Team System Security Exception when I call server.GetService()

    Hi all, When I cal the following codes TeamFoundationServer server = TeamFoundationServerFactory.GetServer(serverName); WorkItemStore store = (WorkItemStore)server.GetService(typeof(WorkItemStore)); A security exception has been thrown. How can I authenticat with special user or let the server's IUSR_myservername has the right. Thanks. Stack Trace: [SecurityException: TF50309: You do not have sufficient permissions to perform this operation.] Microsoft.TeamFoundation.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId) +55 Microsoft.TeamFoundation.Proxy.BisRegistrationService.RefreshMemoryCache() +83 Microsoft.TeamFoundation.Proxy.BisRegistrationService.RefreshCachesIfNeeded(Boolean direct) +75 Micr ...Show All

  • Visual FoxPro Parameters in a VFP method

    Hi All, I want to use PARAMETERS in a VFP method. How can I achieve this. Example: In a method called MyMethod FUNCTION getperiod(ldDateIn, lnPeriodIdIn) SELECT myTable SELECT periodid FROM myTable WHERE DateIn = ldDateIn AND PeriodIdIn = lnPeriodIdIn INTO CURSOR myCursor RETURN PeriodID (Which in this case is a numeric value) Thanks for any help or insight. Regards, Dave I'm not really sure what you're asking. The method you show has two parameters, ldDateIn and lnPeriodIDIn and you're using them. To return the value selected, you should add the alias: RETURN myCursor.PeriodID Tamar ...Show All

  • .NET Development no option to connect system.data.oledb

    i am beginning study c#. i want to study ADO. i have database cars.mdb (access). in new project i did: 1 in server explore in data connections opened new connection to my cars.mdb(with provider =microsoft.jet.oledb.4.0) and see all tables. if i choose option show tabledate - i see all data in table(connection exists) 2 in solution explore in references i want to add system.data.oledb ,but in list add reference exist system.data,system.data.oracleclient,system.data.sqlclient ,... no exists system.data.oledb why 3.how i can user dataadapter,datareader if i can not use system.data.oledb mokeefe wrote: Namespaces are included in multiple assemblies. In this case the OLEDB na ...Show All

  • Software Development for Windows Vista Application crashes when attached to App Verifier 3.3

    Hi, Our application crashes when it is attached to App Verifier 3.3. The only test box checked is LuaPriv. After some testing, we discovered our app crashes when it calls the "OleLoadPictureFile" function. When App Verifier is not attached, the app does not crash. I tried running the app as administrator and is still crashes. We also tried feeding different bitmaps into the function and it did not help. Any ideas or suggestions After numerous searches, I have not found any issues regarding App Verifier and OleLoadPictureFile. I also launched Standard User Analyzer which automatically launched the app and invoked App Verifier. Still crashed. Thanks in advance. Wes Can you post the AppVerifier L ...Show All

  • Visual C# Aligning @ Equals

    Ok,  i'll admit when it comes to formatting code, but is there a way to stop VS.NET 2005 from removing the extra spaces i put in to align my code When i write: some.thing       = 1; some.other_thing = 2;  I end up with: some.thing = 1; some.other_thing = 2; Surprisingly annoying The formatting options in VS 2005 do not directly support this kind of alignment, but I can offer you a workaround that should prevent VS from removing the extra spaces. Under Tools\Options\Text Editor\C#\Formatting\Spacing, scroll down to the bottom of the options list on the right hand side and look for "Set spacing for operators". If you change this to &q ...Show All

  • .NET Development error: stored proc expects param @xxxxx not supplied

    I created a stored proc with 2 insert queries. Both queries have parameters. The first query inserts a row in first table and second query inserts a row in the second query. In addition, the first query gets the scope_id from the first table and inserts this same scope_identity in the second table along with the other supplied params. Here is the stored proc: (accountNumber gets the scope_identity) ALTER       PROCEDURE dbo.InsertAccount @AccRisAsse bit, @AccHldBll bit, @accountNumber bigint output, @prpDateBir datetime, @prpSinNmbr char(15) AS insert into TblAccount(AccRisAsse,AccHldBll)              values(@AccRisAsse,@AccHldBll) set ...Show All

  • Visual C++ 'IF' statement problem

    Here is a beginner programme of finding weather an integer is even or odd. However I recieve a an error on the IF statment (highlighted in bold). Can someone please show me what is the error. The Error reads: fatal error LNK1169: one or more multiply defined symbols found Code: #include <stdio.h> void main() { int a; printf( "enter the number" ); scanf( "%d" ,&a); if ((a%2)==0) //this line contains the error. { printf( "Number is even" ); } else { printf( "Number is odd" ); } } Would you care to explain what makes you believe that the error message is related the source line The toolchain consists of mor ...Show All

©2008 Software Development Network