tattoo's Q&A profile
Visual Studio Report Viewer Winform Toolbar - Find Dialog Issue
The 'No results were found...' dialog cannot be cleared by pressing <Enter>. When <Enter> is used, the dialog appears to clear, but then reappears. To duplicate: 1. Open a report in the winforms report viewer. 2. Enter text in the text box next to the 'Find' button on the tolbar. Note: Make sure the text does not match any text in the report. 3. Press <Enter>. Note that the 'No results were found...' dialog appears. 4. Press <Enter> again. Note that the dialog clears, then reappears. I am running version 8.0.50727.762 of the Report Viewer. ...Show All
Visual Studio Tools for Office How to add Category to taskItem?
Hi, I have some problems regarding adding a task to a category in outlook 2007 using VSTO 2005. I created a Outlook.TaskItem and wanted to set a category to it but i cant find which properties to use. I have tried the Categorities property which dosent seem to work as it require a string but i don't think assigned a task to a category uses a string. Pls help me. Thanks alot Osprey Categories is indeed a multi-valued string -- i.e. keywords -- property. You can set it like any other string property: myTask.Categories = myTask.Categories & "," & "New Category" ...Show All
Microsoft ISV Community Center Forums saving data in a userform without saving the workbook
Hi, I have an excel VBA project which interacts with the user entirely through userforms (built it in excel rather than VB since I want to access underlying data from excel sheets for the calculations). How can I export all the data and calculations on a particular userform into a txt file or other file There may be multiple userforms open, and saving will just save one of them, loading will load the data from file, initialise a new userform and load the data into it, all without upsetting the other userforms or the underlying workbook. I'm thinking that I can use one sheet of the workbook as a scratchpad, so when the macro is called, write the userform data onto that sheet, then save the sheet only as a text file by Sheet2.Sa ...Show All
Windows Forms third party controls infragistics vs Xceed
Hi, I've decided to purchase some controls. Would anyone like to suggest which tools are the best to use Which are the most popular Thanks Dave We are using Infragistics web controls on a current project. We are making heavy use of their hierarchical grid, but also using the date control and tab control. We evaluated a number of packages prior to picking Infragistics. While we have gotten a great deal of functionality from using their controls, they have not been without their problems. In particular, they are very weak on their version control. We have had functionality drop off with an upgrade. They are also weak on documentation, but have been reasonably responsive on support. We are al ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mixed-mode with XNA on PC?
If applications written with XNA are not intended to run on the XB360 , will they be allowed to utilize unmanged libs in conjunction with XNA It seems this question is usually answered in the XB360 context. Oh. Well, the FAQ stuff isn't what was confusing me. I've read that. But familiarity with the AppWizard and whatnot seemed to imply access to it. In either case, we only have a couple of weeks so it doesn't really matter. I just felt like I was missing something. Thanks! ...Show All
Visual Studio Team System Subscribing with Web Service do TFS Events
Hello, I am trying to subscribe to some TFS Events (CheckinEvent, WorkItemChangedEvent, ProjectCreatedEvent). I am doing it using code: TfsEventService. Event tfsEvent = new TfsEventService. Event (); TfsEventService. DeliveryPreference preferences = new TfsEventService. DeliveryPreference (); preferences.Type = TfsEventService. DeliveryType .Soap; preferences.Schedule = TfsEventService. DeliverySchedule .Immediate; preferences.Address = "http://localhost:2023/TFS Subscription WS/Service.asmx" ; tfsEvent.SubscribeEvent( "S-1-5-21-2033024631-3213772562-2269560735-500" , "ProjectCreatedEvent" , "" , preferences); where: ...Show All
SQL Server Error - Cannot open the datafile
Hi there, I have written a program that loads a package ( SomePackage.dtsx ) from the physical drive and executes that. The package does nothing but imports data from a csv file to the Sql server 2005 . But I can see that the package is failing continuously. I meant the package.Execute() method is returning a DTSExecResult . Failure . I investigated the Package.Errors property that contains the error collection and found that there are two DTSError objects into the collection. The first one’s description says that Cannot open the datafile "D:\SOME.csv". And the later one’s is component "SOURCE FLAT FILE COMPONENT" (1) failed the pre-execute phase and returned error cod ...Show All
Visual C++ window pointer for a new window
Hi, I have created a new window using the following method AfxGetMainWnd()->PostMessage(WM_COMMAND, ID_FILE_NEW); How can I get a pointer to this new window What is the difference between a window handle and a window pointer Pritha Hi, You can use "CWnd::FindWindow()" method or "GetNextWindow()" to retrieve a pointer to the window. As I think a window handle and a window pointer are equivalent. Take a look at CWnd members. Regards. ...Show All
Visual Studio 2008 (Pre-release) Release Date of final Version
Who know when the final Version (VS2007) will be released for MS Partners That is news for me right there. I didn't know there was going to be a whole new VS system for .NET 3.0 I thought they were just going to release VS2005 extensions for WPF/WCF/CS/WF. If they are making a release you will most likely see a beta first sometime within the next month or 2. Edit: Ok sorry I have been misinterpreting what Orcas actually is. I thought it was just the extensions but it is actually a different version of VS. So if that is the case then I would guess it is going to be a while since it is still in code name. ...Show All
SQL Server updating nodes in a nested set model
We have a nested set design in our database. The design allows multiple instances of nodes in the hierarchy. Each node has a combination of node name and its instance id as the primary key. We also maintain a unique_qty column that has the unique number of nodes below a particular node. This unique qty basically ignores the multiple instances of nodes below it and counts only the distinct node names(ignoring their instance ids). the problem that im facing is...how do i update the unique_qty when i perform any move in the tree. Thanks in advance satya phani You should be able to subtract the total unique qty of the sub-tree being moved from the all the ancestor nodes of the source and add the tota ...Show All
Visual Basic Saving in Debug mode
I have created a basic form that is linked to an access database. Everything is working properly except when I add a new entry in debug mode. I can add an entry and save it with an "add" and a "save" button, but once I stop debugging, the entry dissapears. I want to be able to update and save the original database in the debug mode and nothing I do seems to work. See if this thread helps you: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=427451&SiteID=1 ...Show All
Visual Studio Setup of Visual Studio 2005 on Citrix
Hi all: I would like to install Visual Studio 2005 for a group of developers on our Citrix server. I do recall seeing during the installation of this that it needs to use the C drive to install to. Unfortuantely Citirx servers do not have C drives per se but have W as the main drive. Can this still be installed to this type of server so I can publish Visual Studio applications for the developers to access Any tips for this will be greatly appreciated. Jeff We installed Visual Studio 2005 on a Citrix server. We installed it on the remapped system partition W as you describe. The application runs. The only problem is that Visual Studio 2005 wants new projects to be stored on the local drive. We ch ...Show All
Visual Studio Tools for Office VSTO Newbie - Connect to SQL Server Help Needed
Hello all. I'm looking for some assistence on my current task. I come from an ASP Classic background and have been tasked at working on my companies Notes to Outlook migration. Included in this is much custom Outlook programming. As you could imagine, coming from an ASP Classic background, and now working directly in .NET development is quite a shift.....so please be patient with anything I'm missing as I'm learning along the way....:) My current task is to use VS & VSTO to connect a simple Outlook Addin to a SQL Server Database and execute a Stored Procedure using Visual Basic .NET. Even though I come from an ASP classic background, I can still do my research and find sample code and alter it for my use. But for the lif ...Show All
Visual Studio Express Editions General ? about DataGrids
I'm learning about using a datagrid and have some general questions. First - I'm using the grid much like an excel spreadsheet. Most of the columns are going to contain calculation fields. Several columns come from a database and then I would guess 10 times as many calculation coulmns will be needed. I'm learning how to get these calc columns built but it is difficult since many have complex math equation in them. Am I using the correct tool If not - what other than using excel would work better Is there a grid built for math (not data) the Datagrid is just a grid containing data. It does not do any calculations, its pretty much the data obtained from the datasource, such as the SQL Server database and gi ...Show All
Visual Basic Memory Usage
I know, I know, you're expecting another whiny post about how managed VB uses up a lot more RAM than non-managed. Sorry, not it! If I look at MyApp.vshost.exe in task manager, it's only got 26K mem usage, 28K VM size. So far, so good. Then I start up my 400kb exe outside of the debugger (you know, double-click it instead of F5'ing it), and whoa! It's much slower (I can count seconds until it shows the open-file dialog), and suddenly uses 86K memory, with 150MB VM size. Is this ... normal Or am I doing something wrong I used the CLR profiler, and the app supposedly only uses a few KB of memory for data. Double-clicking instead of F5-ing is what causes the larger memory usage (and slower applic ...Show All
