Software Development Network Logo
  • VS Express Editions
  • Windows Vista
  • SQL Server
  • Visual FoxPro
  • .NET Development
  • Visual J#
  • Windows Forms
  • Microsoft ISV
  • Visual Basic
  • Visual C#
  • Smart Device
  • Game Technologies
  • Visual C++
  • Visual Studio
  • VS Team System

Software Development Network >> Josh Phillips's Q&A profile

Josh Phillips

Member List

MadCat
bl4ckprint
Ola Sprauten
douga
Orest
Randy VanDeMaat
Schwab-
Matthijs van Kesteren
Perm
MBD-Team
blitz_krieg
deys
xmlfan
TWeiler
Marco Sousa
Carl Brochu
Kamalahasan
Jay1964
wufei
roger5089
Only Title

Josh Phillips's Q&A profile

  • Smart Device Development How to make your application appear in the Start Menu?

    I'd like to make my application available to the Start Menu. How can i do so Do i have to program it somewhere Is it related to the MSI package Really clueless here ... :( Thanks, Thanks, I removed all the shortcut in the start menu and installed my app with %CE17% and it worked perfectly ! Thanks guys! it was due to start menu having a limited number of shortcut available to the user! ...Show All

  • Visual Basic VB6.0, ShellNotifyIcon

    Why the icon not displaying in the status bar when i try to use loadpicture directly. And i dont want to use form or picture box to get the picture/icon. 'General Declaration Private Type NOTIFYICONDATA cbSize As Long hwnd As Long uId As Long uFlags As Long uCallBackMessage As Long hIcon As Long szTip As String * 64 End Type Private Const NIM_ADD = &H0 Private Const NIM_MODIFY = &H1 Private Const NIM_DELETE = &H2 Private Const WM_MOUSEMOVE = &H200 Private Const NIF_MESSAGE = &H1 Private Const NIF_ICON = &H2 Private Const NIF_TIP = &H4 Private Const WM_LBUTTONDBLCLK = &H203 'Double-click Privat ...Show All

  • Windows Forms Set my application to be on top!?

    I'm developing a windows application using VS2005 and C#. My application is composed of various modules/projects: 1 is a WIndows Forms executable that contains the main form. All the others are c# class libraries. However, all the class libraries contain windows forms that are instantiated from the main form. Right now I'm having an issue when opening my login form. The process is more or less like this: The Windows Application Executable runs, opens the Main Form and, on the MainForm_Load event I create an instance object of our Security Class Library, which contains the Login Form. After that I basically show the Login Form in a modal way. ...Show All

  • Visual C# Label over picturebox

    Ok, Im creating a label at runtime in a button_click event. Now the problem is, its not showing up, at all. And im thinking its because I need it to appear over a picture box. Because in my program, the form has a background image, and on the form there is a picture box displaying another picture. Is the reason why its not showing up, because of the picture box. I guess another question I should be asking is how do I make the label appear in front of everything else Ok. I figured out how to bring the object to font at runtime. Here is my code, where I made a label at runtime on top of a picture box in a button_click event. public v ...Show All

  • SQL Server Native Client connection to MSSQL 2000

    For MARS support in SQL Server 2005, I'm changing our OLE DB code to use Native Client. My understanding is that Native Client should support SQL Server 2000 as well. When I point my DBPROP_INIT_DATASOURCE to a 2005 instance, everything works great. But when I point to a 2000 instance, the IDBInitialize->Initialize() call is crashing with a bounds violation. In my test case, the only change I made was in my coCreateInstance from this: ::CoCreateInstance(DBIO_CLSID_SQLOLEDB, NULL, CLSCTX_INPROC_SERVER, IID_IDBInitialize, ( void **)&m_handles.pIDBInitialize); to this: ::CoCreateInstance(CLSID_SQLNCLI, NULL, CLSCTX_I ...Show All

  • Visual Studio Tools for Office 1 Add-In uses .net 1.1, a second uses .net 2.0

    Hello; I just created a simple Add-In using VS 2003. I also have VS 2005 & .net 2.0 (release) installed on my computer. The .net 1.1 Add-In would only run if I created a winword.exe.config file setting the runtime to .net 1.1. Without that Word would exit during it's startup (no message, no crash - just exit). With the config it runs fine. So, what if someone wants to run two Add-Ins with Word, one built under .net 1.1 and one built under .net 2.0 thanks - dave If you install the .NET Framework V2 then Office will host the V2 of the framework and this is by design. We have a COMAddin Shim that we use to load our COMAddin solution w ...Show All

  • Visual Studio Express Editions Determining When The User Has Closed A Form By Clicking The 'X' or From The Control Menu

    Hello All, I have a bit of a problem here and I can't seem to find a solution. I need to know if there is a way to determine if a user has closed one of my application forms by clicking the 'X' or from the form's control menu. My App has code that needs to execute if this condition occurs and only if the condition occurs. Similar code is executed if the user closes the form by regular means, but I need to cover myself by having it execute in both cases. In VB 6 you could check for the condition by checking the UnloadMode of the form to see if it was equal to vbFormControlMenu. This does not seem to be an option in .Net. The closest option ...Show All

  • Windows Forms Why didn't DataView.Sort support Expression like Parent.Price ?

    Why didn't DataView.Sort support DataColumn.Expression like Parent.Price   :( Explain me pls.  Subject. (And you can add that column to your table using an expression, like    MyDataSet.Tables["childTableName"].Columns.Add("newColumnName", typeof(string), "Parent.parentColumnName"); ) ...Show All

  • Visual Studio copy the text from ViewFixupRules.dslddi to ViewFixupRules.dslddt -> Tranformation fails

    Hi, since i want to do an adaption of the ViewFixupRules.dslddi template which should be used only within my solution, I copied the text of the ViewFixupRules.dslddi to the ViewFixupRules.dslddt (copy&paste) . Actually, I'd like to change the ElementAttributeChanged Method within this template. When I try to tranform the file i get the following error: Error 1 Custom tool error: Compiling transformation: The type or namespace name 'EnterpriseTools' does not exist in the namespace 'Microsoft.VisualStudio' (are you missing an assembly reference ) C:\temp\Test\TestDSL\Designer\Diagram\ViewFixupRul ...Show All

  • SQL Server repeatwith property

    I have tried for days to get certain textboxes and tables in page body to repeat on multiple page reports Any help is appreciated. Hello, The repeatwith property is not available on tables and is not supported by physical paginated renderes. However, the RepeateOnNewPage property of table&group headers and footers is supported by all renderers. Thank you, Nico ...Show All

  • Windows Forms Error as "Falied to import the ActiveX control. Please ensure it is properly registered."

    Hello All, I always get the error as as "Falied to import the ActiveX control. Please ensure it is properly registered." when I try to embed the Microsoft Office SpreadSheet 11.0 ActiveX control from the Toolbox to Windows From with VS 2005 Bate2 My configuration : VS2005 Beta2 Team Edition. Office 2003 SP1 full installation. office PIA2003 is installed. And I also installed the Microsoft Office 2003 Web Components. But if I I try to embed the Microsoft Office SpreadSheet 11.0 ActiveX control from the Toolbox in VS2003, it is working fine w/o error.  Anyone knows how to solve it I really have a headache for it. Thank you ve ...Show All

  • Smart Device Development access database from a pda

    Hello guyz, Can any one plz tell me how to access a database in a pda using C# Regards arjun Generally it's no different from desktop. Which database you're trying to access ...Show All

  • SQL Server Service Broker: Cross DB, Same Instance - Part 2

    Hi, I run the code sample below in a SQL Mgt Studio query window. I get no error messages. However, the two SELECT statements at the end produce undesireable results (see comments). My messages to not make it to the target queue; they get stuck in sys.transmission_queue with the error message in the final comment of the code. The server principal "dddd\XXXXX" is a Windows Active Directory account that: 1) is a domain admin in the domain that my SQL Server box is a member server of, 2) is the login used by the "SQL Server (MSSQLSERVER)" service account, and 3) is a member of the SQL Server instance's sysadmin fixed serv ...Show All

  • Windows Forms TabControl left or right -- text not visible

    Hi, I create a new WindowForms app and drag a tabcontrol on it. It has (by default) two pages. When I set the Alignment to left (or right) the Text disappears and the Multiline property is set to true. The text is visible if I use Button or Flatbutton but not with normal. The positive - in .NET 1.1 new added pages "stacked" and now they are vertical one after another. But with the buttons and multiline it makes a big distance ("border") between the buttons and the pages. Is it possible to have the thing with a visible left text in Appearance Normal Cheers Manfred TabControl with VisualStyles only supports ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Maximum Range for Mesh.Intersect Function?

    I am testing for intersections from a point into a mesh at a specified direction, but it only returns hits usually if they are less than 100. I have gotten a 101 before, but, never greater than that. Is there some sort of maximum range for the intersect function I wouldn't imagine there being one, but, if so, how does one extend it Here is my code, in case someone spots an error elsewhere: Function HitMesh( ByRef AnotherMesh As CZoopD3D.CMesh, ByVal Direction As Vector3) As Single Dim Hits() As Microsoft.DirectX.Direct3D.IntersectInformation, I As Integer Dim Bottom As Vector3, Top As Vector3, PlayerM ...Show All

©2008 Software Development Network