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

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

Ian_E

Member List

rwbogosian
CL0CKW0RK
SimonGUK
Michael Vanhoutte
Dan Mikkelsen
vkarthik
jortiz
MarkWHarrison
kangalert
Ian1971
mliesmons
Bartosz
VThornheart
markovuksanovic
DavidC#2005
Bahadur
Kdean6869
xVxObliVioNxVx
jk67
shax
Only Title

Ian_E's Q&A profile

  • Visual Studio Getting the project object after Add New Project?

    Hi All, I am using the ClassLibrary project template for adding a new project into the solution. Now, in the template i'm calling a recipe with a few actions. I would like to know how do you get the newly added project object (EnvDTE.Project object) so that I can use it in my actions. Any help is appreciated. Regards, - Santhoo ...Show All

  • Visual C# Alternative to function calling itself

    For example when you need to go through a folder structure I just have a function call itself and do the same for each sub folder before handeling files. I know this is a bad way of doing it, but what is the best way of achieving this effect without self referencing functions Any help or input will be appreciated. Thank you :) Perfectly fine on both.  Just depends on how much data you're sticking on the function stack for each recursion level.  So the idea is to limit the amount of local variables you create in the method.  If you go too deep, then you may get a StackOverflow exception, but if you're working with folders then you should be fine. ...Show All

  • Visual Basic Reading the Text property of a combobox by reference

    I have a panel on my Windows form that contains a number of comboboxes. When a user inputs values to these comboboxes and hits the OK button, I need to retrieve the name, datasource (datatable) and Text contents of each combobox the user has put a value in. Here’s what I’ve got so far: Dim x As Integer Dim cbxModel As ComboBox . . . For x = 0 To Me.Panel1.Controls.Count - 1 If Me.Panel1.Controls.Item(x).GetType.ToString Like "*ComboBox" Then cbxModel = Me.Panel1.Controls.Item(x) If cbxModel.SelectedText <> Nothing Then Me.OdbcDAAccess.SelectCommand.CommandText = AddWhereClause(Me.OdbcDAAccess.SelectCommand.CommandText, _ ...Show All

  • Windows Live Developer Forums fetching campaign name using campaign id

    is there a way/method to fetch perticular campaign/order name based on the campaignId/orderId Are there any plans to impliment a getCampaign() or getOrder() method There are many circumstances where I only want a particular item and having to download/parse them all, is awfully wasteful. Cheers, Nathan ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. problem rendering rectangle using C++

    I am attempting to draw a rectangle using direct3d. The rectangle is actually 2D, but I want to draw it using 3d functions. The program compiles fine, and the screen does clear to the correct color (Blue). The problem is that my rectangle isn't being printed. Below I've listed the relevant code. Can anyone see what I'm doing wrong here CPP / C++ / C Code: struct TemplateVertex{ FLOAT x, y, z, rhw; //FLOAT u, v; DWORD color; }; #define TEMPLATEFVF (D3DFVF_XYZRHW | D3DFVF_DIFFUSE) //D3DFVF_TEX1) LPDIRECT3DVERTEXBUFFER9 buf; LPDIRECT3D9 pD3D; LPDIRECT3DDEVICE9 pd3dDevice; void render(){ if (NULL == pd3dDevice) return ; pd3dDevice->Clear( 0 , NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB( 0 , 0 , 255 ), 1 .0 ...Show All

  • Visual Studio Express Editions Controls on tab pages just disappearing

    Hi there! I am experiencing the following problem: From time to time, all controls placed on the currently active tab page just disappear and reappear only after reloading the project. This behavior is very disturbing and eats a lot of time for closing/reopening etc. Is this problem known to anybody Does someone have a solution Best regards, Merry This is a known problem, check this thread . Add your vote please... ...Show All

  • .NET Development Optional value type pointer/reference parameter during COM interop

    Hey, I am facing an interesting interop problem that I haven't found a solution for yet. Let's say a COM method takes a pointer to a simple struct: HRESULT Foo(LPBAR pBar); Let's also say that this parameter is optional and the call pInterface->Foo(NULL); is perfectly valid. Now, if the structure BAR is defined in C#: [StructLayout(LayoutKind.Sequential, Pack = 4)] public struct Bar { // ... }; and the COM interop method call is also defined: [MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)] public void Foo(ref Bar); In this case, there is no way to be able to call Foo(null) in C#, although it would be valid. The question is: how do I let the Marshaler know that it should pass ...Show All

  • SQL Server Group by on a concatenate field

    Select TOP 100 CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, sum(Amount) from dbo.Enterprise_Credits_Import_90_days where CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) <> ' 0' and Service_Prefix like 'F' Group by How can I group by the field that I selected as CODE Rob Farley wrote: Or if you're interested in readability you could make it: select top 100 code, date_issued, sum(amount) from (select CONVERT(VarChar(10),Service_Prefix)+ '' + CONVERT(VarChar(10),Service_Code) as CODE, Date_Issued, Amount, Service_Prefix from dbo.Enterprise_Credits_Import_90_days) c where code <> '0' and Service_Prefix ...Show All

  • Windows Live Developer Forums Information / Error messages

    Hi there,   Is there a knowledgebase or something somewhere that holds all the informational or error messages that can tell me further details on the message ie, while signed into Live messenger, I have an information message that says "due to Connection problems changes you make might not be applied to other computers you use", and all my contacts appear offline, and I can't add new contacts.  I've deleted various regenerating dlls and cache.dat files etc and nothing's worked.  I've even shutdown my zonelabs firewall.  I can talk to people, but can't see their status.  I even reactivated my hotmail account for the first time in years, so I could see if my contacts were still attached to my passport, and ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Game-install question?

    im starting to write a simple game.A tetris-like game.But i have a problem.My game will be about 1 or 2 MB.And written in C#.But if the users dont have .NET framework 2.0,wont they be able to play my game Or what should i do except making them installing Framework 2.0 Because it is huge and 20 mb . i need your advises,dear programer friends! Thanks a lot... If your program uses .NET 2.0 then anyone who installs it will have to have .NET 2.0 installed. Also if your program uses Managed DirectX 1.1, then users will need to install .NET 1.1 as well, if they don't already have it. I don't know of any ways around this, but one way to simplify your program's installation is to use ClickOnce deployment, which automatically ...Show All

  • Visual Studio 2008 (Pre-release) MouseEvents (WindowStyle"None" & Allow Transparency")

    I cant seem to find any C# Example for MouseDown,MouseUp Events..My Application is WindowStyle "None" & AllowTransparency "True"...So with that i have to either A:Make the Rectangle in a Grid accept a Left Mouse Click,so i can drag it around the Desktop or B: Use the ListBox for the same Purpose... This is what i'm currently trying to use in my project "But" it produces 3 Errors and thier listed at the Bottom of the page...One i can fix by placing the Keyword "new" in front of the public void Drop,but still leaves a few errors..Thxs for the help in Advance..          private bool _dragging = false;          private Point _dragAt = Point.Empty; &nbs ...Show All

  • Visual Basic Adding data in one column together

    I'm working on my first database application and I am stuck on how to add all the data in one column and display that total with a label. I've searched the forum with no luck. The data in the column is currency. Thanks for all the help From your code I take that you are using the DataSet Designer, if this is the case you need to do this: 1) In the DataSet Designer, right-click the AmountsTableTableAdapter and choose Add Query. This will open the TableAdapter Query Configuration Wizard 2) Click Next 3) Choose Select which returns a single value 4) Inside the multiline Textbox type this SELECT sum(winnings) as Total from AmountsTable Click Next 5) Uncheck the Fill a Data T ...Show All

  • Visual Studio Express Editions Pop up second listbox when certain criteria met

    On my form I have a listbox that I have linked to my suppliers table in my sql database. I want to create a second listbox (linked to another table - supplierlocations) that will pop up beside the first if a user clicks on a supplier that has more than one location/branch. Sort of like when you click on all programs on the computer and the additional programs pop up out the side to be selected. I can create the listbox etc and bind it, I will probably use the visible property to have it appear when required, but what Im not sure about is how do I code the items (suppliers) in the first listbox (listbox1) to look through the second table (supplierlocations) and if the supplier has more than one location open the second listbox for the us ...Show All

  • SharePoint Products and Technologies Language Pack (Dutch) works not on "My Site"

    Language Pack (Dutch) works great on main site, but not on users "My Site". This seems to be normal, but ofcourse I do not like it. Is there a better solution or way to have get "My Site" in Dutch instead of English Installed: Microsoft Sharepoint 2007 English Dutch Language Pack for Microsoft Sharepoint Services 3.0 ...Show All

  • Visual Studio integrating Windows Vista SDK documentation into Visual Studio 2005 IDE

    Can some one tell me how to access Windows Vista SDK documentation from Visual Studio 2005 IDE I thought this would be automatic after installing the SDK. Thanks in advance. Did you install the VS 2005 Extensions for .NET FX 3.0 after you installed the Windows Vista SDK Install order matters in this particular situation. If so, you should be able to view the docs in the Contents section under ".NET Development -> .NET Framework SDK -> .NET Framework 3.0 Development". ...Show All

©2008 Software Development Network