aboudzko's Q&A profile
Visual C++ Screen
Hello is it any code that can flip the desktop upside down in c++ Yes: you can do almost anything using the C++ language. If you want a specific API to do this then you would be better off asking your question in a Win32 newsgroup or one of the DirectX forums. ...Show All
Microsoft ISV Community Center Forums Using HTML Help in Microsoft Excel VBA
Hi I am using a HTML Help File (.chm) with Microsoft Excel VBA. How can I specify the Topic ID in the HTML Help Contents File. I want the help to be context sensitive. Can i change the topic id in my function modules and display the accurate topic when the user presses 'F1' Thanks, Shasur Per our support engineer: Here is one article about how to use HTML Help API in VB,I hope it’s helpful. How to use HTML Help API in VB http://www.vbcodemagician.dk/tips/help_html.htm -brenda (ISV Buddy Team) ...Show All
SQL Server performance issue with trans log on tempdb?
I am running in to a tricky issue, and am hoping someone here has seen something like this before. Here's the basic sequence I am working with. A temp table #A contains some number of rows (in this case, about 45k rows). 1. Create temp table #B and insert a subset of the rows in #A (in this case, the subset happens to be 100% of #A) 2. Perform a few dozen updates to #B, using data from permanent tables. 3. Update the rows in #A with #B, i.e.: UPDATE #A SET xxx = xxx FROM #B JOIN #A ON #A.id = #B.id So, here's the problem: - I run steps 1 and 2, and they complete very quickly. I run step 3, and it completes very quickly (a ...Show All
Windows Forms DataGridView Refresh (no prior solutions work)
All, Preface: I really appreciate the help. I know questions similar have been asked many times because I've seen them in these forums and all over Google. No solution works. Problem: When adding entries (rows) to a database, the DataGridView that is bound to the dataset connected to that database does not refresh. Description: I essentially have bound my DataGridView to an MS Access file containing the table personnel. When I use the provided adapter to insert a row in the database, no matter what I do, the DataGridView does not refresh. As you can see in the compiling code below, I have tried several things. Code: Form1::Per ...Show All
Visual Studio Tools for Office How to add a reference to a DLL made with VS2005 (Framework 2.0) in Excel ?
Hello, I have an existing Excel 2003 workbook and i want to use functions stored in a DLL made in framework 2.0 with VS2005. I know how to do with a VB6 DLL (VBA Reference => Add a reference to the DLL). But how to do that with a .NET 2.0 DLL If i add the reference to my DLL, Excel said it can't. The Excel Workbook already exists so i can't create a new solution in VS2005 including a new Excel workbook. All examples on VSTO starts with a new Excel workbook created in VS2005 but my workbook already exists and i don't want to migrate all the existing code to VSTO2, just want to use functions i write in .NET 2.0 in my Excel wo ...Show All
SQL Server Problems using custom Assembly
Hi there I am trying to integrat a custom assembly into a ssis-package. I copy the assembly into the framwork folder (v2.0.50727) add the reference, use the assembly everything fine. When I try to debug I get a message stating that the assembly name, version .... cannot be found. I tried to do that with signing and without - not difference. Am I missing something Please help For the benefit of others, you need to add the assembly to the framework folder for it to be available in the Add Reference dialog, so this gives design-time support. You then need to add it to the GAC so that it can be found at ...Show All
Visual C# How to: Close another form from a mainform
Hi, I have a mainform and a detail form that is added into a panel. When i close the mainform i want to close the detailform too but i don't want to loose the changes maid in the detail form. So i want to call the FormClosing event from the detailform . this is the code i have so far but i don't understand how the FormClosingEventHandler works . So it doesn't work private void frm_MAIN_FormClosing(object sender, FormClosingEventArgs e) { Form aForm = (Form)pnl_detail.Controls[0]; aForm.FormClosing +=new FormClosingEventHandler(aForm_FormClosing); } Is there anyone who can help me, or is there another way to do this greetz ...Show All
Windows Forms Windows Media Center
I have just bought a new laptop (Dell E5105) from QVC and it comes with the Windows Media Center OS. Am I going to have to replace the OS with XP Professional I am a web designer and VB Programmer and I need to have IIS and want NTFS. Does the Media Center OS support these two items Thanks, The base platform for Windows Media Center is, surprisingly enough, XP Pro not XP Home like you would think. It is a superset of XP Professional so you shouldn't experience any problems with installing either IIS or setting the file system to NTFS. ...Show All
SQL Server Overlapping Indexes
In examining one of our DBs there is a sales table with the following fields: WDate: SMALLDATETIME PK StoreID INT PK ItemID: INT PK UnitsSold: SMALLINT TotalSales: REAL SalesCode: CHAR(1) There are also other attributes that do not pertain to the que ...Show All
Visual Studio 2008 (Pre-release) How to Use XAML in Windows Forms
Hi All, I have created a windows application project. In that project i have added a Winfx Form. I wanted to show Winfx Form on click of a button in windows form. I am getting the following error when i build the solution. Error 13 The name 'InitializeComponent' does not exist in the current context. How to access WinFx forms from windows forms. Can any one clarify my doubts. Thank you. Kiran I have created WinFx Custom Control project and added it's reference to Windows forms project. Then created instance for WinFx window and it works. Can both windows forms and winfx forms be in Windows forms proje ...Show All
.NET Development ASP.NET, IIS 5.0 and 2000 Professional
Does the .net framework come with Windows XP Professional so that ASP.net can be used right out of the box Scott Thanks, I knew it had to be online somewhere. My search on the internet did not include unisntalling and reinstalling IIS, so this article did not come up for me. My faith has been restore in Microsoft...gawd help us all. ...Show All
Windows Forms Dataset disappears
When I design a form that has a dataset component in it. I want to localize the form and so I make it Localizable true. Then when I change the Language and localize the form and then switch back to (Default) or any other language my dataset component dissapears from the form. There is no exact number of switches that I have to make. Sometimes one is enough, sometimes more than one switch. I wonder why Any help would be appreciated... Thanks in advance, Nistor ...Show All
Windows Forms Data Binding
Hi, How should i correct the statements below, so that the ID text box will shows the ID=1 when the arrow of List View point to ID=1 Or is that any other methods to do this IdTextBox.DataBindings.Add("Text", dataset1.Tables["employee"], "ID"); Thanks. You're welcome! Glad I could help (I noticed that I left something out of the code I provided ... I forgot to add the ListViewItem to the ListView, but I see you did it correctly). ...Show All
Visual Studio Team System Associating one Work Item with other Work Items.
I am trying to define my own work item called Milestone. I would like to associate one or more other work items (like Bugs, Tasks) with this Milestone. The idea is that I cannot finish (set “Finished” state) my Milestone unless every work item associated with my Milestone is finished. I cannot also associate one Milestone with other Milestone. The problem is that I don’t have any ideas how to code this in XML. As a base model to modify I am using MSF for Agile. The next modification I wont to make is to associate every iteration with one or more Milestone. End of every iteration should mean finishing one particular Milestone. The ...Show All
Windows Forms Displaying HTML within a Windows Form as if it were a WebForm
Back when I programmed C++ using ATL there was a way to do this. Does anyone know if there is a way to do this in .Net using C# for instance. Much thanks, -the rocket Thanks batnight this is just what I was looking for. This is a great article and I heartily recommend it to anyone looking for a rich presentatio ...Show All
