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

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

pearl_ncst

Member List

Solrac Otr
slavalit
Mitch Wardrop
Eng. Habeeli
shehz
VDBA
mksql
calvinkwoo
Henrik Dahl
WayneSpangler
hurbem
Pvanroos
yem
Andre's
Microsoft Visual
GKW82
Peter Gissel
Dudley
Jebat
AndyJ_PS
Only Title

pearl_ncst's Q&A profile

  • Visual Studio How Do You Get the IDE Main Window Handle in a Package?

    I'm new to extensibility and am looking for a way to get the window handle of the Visual Studio main window. I've found references to DTE.MainWindow.hWnd, but believe those to be applicable to Add-Ins. I need to get it in an event handler for a regular menu command. How do you do this Is there a general way to map information that I find using the DTE namespace for Add-Ins to use within a package Thanks, Carlos. This got me on the right track, but I did have to research some details. The key for me was the bit where you suggested using GetService. First, I had to find the reference for the DTE class. It is Microsoft Development Environment 8.0 (COM refernce tab). Also, the GetService method is a protected member of the Package ...Show All

  • Visual C# Windows Service : Finding installation directory??

    I have done a Windows Service program. From this Windows Service program, I want to launch an application that resides in the same directroy as the Service program. Now, how can I find and know the installation directory from my Windows Service program Please kindly advice. I promise to grade you answer. Thanks In the Installation custom actions you can also use the ServiceController to start stop etc... Check this http://msdn2.microsoft.com/en-us/library/sywbez17.aspx ...Show All

  • SQL Server Add/Remove DataViewers makes VS to crash

    Hi all, I'm sick of VS crashing when I add/remove DataViewers any idea why this could happen Sebastien. In my case it happens when a dataviewer is assiocated with a deleted item. When you delete an control flow item on the control flow the dataviewers are not deleted. When you try to delete one VS will crash Workaround: Create a new control flow item with the same name as is used for the dataviewer. Delete the dataviewers in the breakpoint window Delete the control flow item. At least it did the trick for me (after a few dozens of crashes before I discovered this workaround) Sander ...Show All

  • Windows Forms Extracting cell data from dataGridView

    Any help would be greatly appreciated, as I cannot seem to find an answer. How does one extract the value of a particular cell from a dataGridView object in c# I looked for dataGridView1.Cell(3,4) but 'Cell is not appearing as one of the methods available for this class. TIA. Hi Knji, as i roughly think about this question, we can just use code like MessageBox .Show(dataGridView1.CurrentCell.Value.ToString()); MessageBox .Show(dataGridView1.Rows[0].Cells[1].Value.ToString()); I am not sure if I catch your requirement, ...Show All

  • Smart Device Development Create a simple Service[Like windows service for desktop] for windows mobile 5.0 smartphone application in C#

    Could any body give me a sample for Creating a simple Service [Like windows service for desktop] for windows mobile 5.0 smartphone application in C#. [Not in C++] Please don't post multiple messages for the same topic hoping to get an alternate answer. Please go thru the MSDN articles listed in the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=550630&SiteID=1 to read about the service implementations. As pointed out by Alex, services need to export functions and this is not possible for C# projects. You have to use C++ to do this. Sorry there is no other choice. Closing this topic as answered. Manav ...Show All

  • SQL Server How to Hide childless members

    Hello, I have a dimension with members that dont have childs, how can i hide those members. Thank you I believe that you are right Vladimir. I have used Hide member if property successfully in a project last week but that was with repeating levels. You have the best information in this case. Regards Thomas Ivarsson ...Show All

  • Visual Studio Visual C++ Express "Free Download" says I need CD

    I downloaded and began the installation of Visual C++ express and the .net framework (which I apparently need to install). Whilst installing the .NET framework, the setup prompted me to insert CD 1. As visual C++ express is a free download, I have no idea why this is happening. Al6200 wrote: Thanks, apparently dotnetfx.exe is a file that can be downloaded at a seperate locations. This is correct. First, install .Net Framework 2.0 (this link is for x86, other architectures have other exe's): http://www.microsoft.com/downloads/details.aspx familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5&displaylang=en .Net 2.0 is a prerequisite for the Express packages. Once .Net 2.0 is install ...Show All

  • SQL Server Empty Measures

    Hi, I have a problem that confused me and I hope anybody can help me. I have create a Data Warehouse on SQL Server 2005. Then I built a cube with Analysis Services and deployed them. There are no errors during the processing. But when I start to browse, there are no data in my Measures. My dimensions are correct an have all data from the data warehouse but every measure are empty. Maybe, is the number of dimensions restricted I have 88 dimensions and 1 fact table. I hope anybody understand my description and can help me. The number of dimensions is not restricted, although 88 is quite a lot simply from the logical model perspective. You might want to look and see if some of these dimensions should really ...Show All

  • Visual Studio 2008 (Pre-release) Styling Brushes

    It appears that there is no way to apply a style to a Brush (such as SolidColorBrush) -- the style property is seemingly non-existant. Is there any reason/workaround for this Thanks! The best solution is to style the element, and animate the brush's opacity from there. Then the issue you run into is that you can't specify a property path in a setter, e.g. you can't do "<Setter Property="Fill.Color" .../>. The solution to that is to do an "instant animation"; it's more work, but gets the job done. For example (combining those two things): < Rectangle Width = " 100 " Height = " 100 " Fill = " Red " > < Rectangle.Style > ...Show All

  • Visual Basic cookie-cut a small rectangle out of a larger bitmap to a smaller one

    Visual Basic 2005 (newby) - I have an image placed into a bitmap from which I need to take a smaller rectangular area and copy that unmodified to another bitmap. The destination bitmap is of the size of the rectangular cut. Thus, one would think that is easy, but, I am not experienced enough to know the declarations and methods that make it easy. You create a graphics object to draw on your empty bitmap: dim g as graphics = graphics.formImage(emptyBitmap) Then use one of the overloads of g.DrawImage that accepts the source bitmap you are copying from, and a rectangular area in that bitmap as an argument. See Bob Powell's GDI faq which has diagrams for the overloads And the msdn on Graphics.DrawImage ...Show All

  • Smart Device Development Deploying Multiple cab files at once

    I have developed my application and created the .cab file for this application. I followed the tutorial on creating an MSI file and custominstaller and this works fine. My problem comes from the fact that my application must also install .NET framework 2.0 and the SQLMobile .Cab file. I am wanting to package all of these together and be able to deploy them at one time from a users PC. I am not wanting to make the user click on each cab file to execute them. Can anyone point me in the direction of a good tutorial to accomplish this, or give me a good idea on how to do it. Thanks for any help I tried this a couple of times and it did absolutely nothing. as long as there is only one, it works fine. ...Show All

  • Windows Forms One-to-One relationship

    I have a parent table containing Instruments with InstID as the primary key/Identity field. Increment and seed are set to 1. There are 27 child tables with Instrument Details which have their own ID related back to Instruments one-to-one on InstID. These 27 child tables have different fields for different Instrument types. I want 27 forms to be able to enter in each Instrument's information according to the different fields in the Instrument Details table. I don't want to use DataGrid View for this purpose. I'm using text boxes and combo boxes. I think I'm on the right track, but I'm stuck at adding records. My data sources for parent and child table are correct. I can successfully display records and update them on the same form ...Show All

  • SQL Server Pattern Matching - Searching for Numeric or Alpha or Alpha-Numeric characters in a string

    Hi, I was trying to find numeric characters in a field of nvarchar. I looked this up in HELP. Wildcard Meaning % Any string of zero or more characters. _ Any single character. [ ] Any single character within the specified range (for example, [a-f]) or set (for example, [abcdef]). Any single character not within the specified range (for example, [^a - f]) or set (for example, [^abcdef]). Nowhere in the examples below it in Help was it explicitly detailed that a user could do this. In MS Access the # can be substituted for any numeric character such that I could do a WHERE clause: WHERE Gift_Date NOT LIKE "####*" After looking at ...Show All

  • Visual Studio Express Editions When press Enter, how run function and focus next control?

    My aspx page as below: write code in C# ( in asp classic i do it easy). < tr > < td style ="width: 47px"> < asp : Label ID ="Label1" runat ="server" Text ="Tel 1"></ asp : Label ></ td > < td style ="width: 100px"> < asp : TextBox ID ="TextBox1" runat ="server"></ asp : TextBox ></ td > </ tr > < tr > < td style ="width: 47px"> < asp : Label ID ="Label3" runat ="server" Text ="Old Cus"></ asp : Label ></ td > < td style ="width: 100px">XXXXXXXXXXXXXXX ...Show All

  • Windows Live Developer Forums The oncontextmenu event isnt fired when im in 3d mode

    The oncontextmenu event isnt fired when im in 3d mode. helphelphelp... On viavirtualearth is an article about the issue, my event is fired, but the contextmenu isnt displayed, i will have to use iframes for content overlapping the 3dmap( sh1tsh1tsh1t), because thats the only html element that will be rendered above the map. ...Show All

©2008 Software Development Network