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

Software Development Network >> Philip York's Q&A profile

Philip York

Member List

Nathan Kerr
Aranda
Bachi
N_John
Angry Coder
MShanahan
Chris Haas
Gabriel Vila
mognog
Kevin Rodgers
danadanny
Nishith Shah
IanG
Alan Jr
TA123
EFEXConsulting
Scott Wickham
Isolda
Kevin Dente
TalhaAziz
Only Title

Philip York's Q&A profile

  • Software Development for Windows Vista Unable to fetch the Event Description on Windows Vista Event Log

    I am trying to enumerate the Events from the Event Logs. While fetching the event description I am getting errors such as, The description for Event ID ( 9002 ) in Source ( Desktop Window Manager ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: . I am fetching the resource name from the "EventMessageFile" String value under the particular source type under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application. I then use the LoadLibraryEx API to load ...Show All

  • Software Development for Windows Vista Manifest files for Vista

    Hi, For some of the exes of my product, I need administrative privilege. So I embed them in my application with "requireAdministrator". It works fine on Windows Vista and prompts for allow/deny or administrator uname/password as applicable. But the same program has non consistent performance on previous OS versions(XP, 2003 Small business etc). It shows blue screen sometimes for the applications where these manifest files are embedded. One can avoid these blue screens if the embedded manifest file is also present in the same directory as the exe for other OS. I do not want to make my application dependant on the presence of manifest file in the same directory. Is there a way out Is there a tool to find whether an embedde ...Show All

  • Architecture Ways to implement and use metadata

    Hi, I've read Microsoft's article regarding distributed application approach( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnbda/html/apparchch3.asp ), specifically the part about metadata (actually i've read it a few times over the years, but now metadata is my main concern) Microsoft's clearly explains the different ways metadata can be used to built a more generic system, but there are no examples or links to known implementations of metadata techniques (techniques for implementing metadata for ui components, business components etc). Does anyone have an example(s) to how he (or she) implemented metadata for ui/bl in their applications Currently I need somekind of metadata that will help me do a couple o ...Show All

  • SQL Server regarding oledb/ce and adoce

    hello all, can you send the difference between ADOCE and OLEDB/CE. how can we connect remote databases using OLEDB/CE. with regards, sudarsan. ...Show All

  • SQL Server Failed install of December CTP reporting services add-in for WSS

    Upgraded SQL 2005 to Dec CTP sp2. Had previously run Nov CTP and installed the Sharepoint add-in. Had that all working. Now trying to add the Dec CTP sharepoint add-in. But it won't complete. Keeps rolling back and then ending with dialog '.... setup was interrupted' Anyone else seeing problems with this Dec CTP install Thanks for the advice, but not a matter or permissions. Hmm, you said local admin, I have only tried domain accounts thus far. I'll try a local computer account and see what that does. Nope, no luck with that either. Very frustrating since I had the Nov CTP working and have my sharepoint 3.0 server running in integrated mode with reporting services. Since I put in the Dec CTP sp2 for ...Show All

  • Visual Studio 2008 (Pre-release) Creating an AppBar in WPF

    Does anyone know how to create an AppBar using WPF I have done it in WinForms using API calls, but I don't see a way to create the same behavior in WPF. Pointers to samples or just some code posted right here in the forum would be appreciated! It would be a window docked to the side of the screen. It would still be visible if you maximized another window. Similar to the default behavior of the Windows Taskbar. ...Show All

  • SQL Server Regarding CAB & Reporting Services

    Can some one send me sample code to call SQL-Server 2005 Reporting Services through CAB. Thanks & Regards ...Show All

  • SQL Server Help needed?

    Hi I'm a newbie to SQL server..... l'm building a website where companies can save important data. I have a SQL server available but I'm not sure how to store the data. Should I create a new database for every user or should I store everything in the same database and then use a UserId to recognize the data and the user The data stored for each user are stored in tables which are exactly the same so all tables could be gathered into one table and then a UserId could tell which records belong to whom. Hope my english isn't too bad..otherwise just ask me questions and I'll get back A.S.A.P. Regards Joachim 1 database will support many users. As you suggested, you would create a user t ...Show All

  • Windows Forms Drawing on pictureBox

    Hi, I am making a scrolling text with transparent background. However, the pictureBox1 seem to draw nothing and the string is drawn on Form1. Any idea Hi, you wired your Paint event in a way that the drawing is actually happening on the form, not the picturebox. To draw the text on a picturebox, modify your code like: public partial class Form1 : Form { private String drawString = "Sample Text"; private Font drawFont = new Font("Arial", 31); private SolidBrush drawBrush = new SolidBrush(Color.White); private int textX = 0; public Form1() { InitializeComponent(); this.pictureBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint); ...Show All

  • Visual Studio Express Editions View source code!!!

    Hey, how can i view the source code on a webbrowser you can right click the webbrowser then go to view source code as you do in IE. programmatically the source code for the entire page is in the DocumentText property. Me.theWebBrowserControl.DocumentText the document text holds the entire page. further more you can access specific elements/get specific elements etc... via the Document property. It contains things like GetElementById, or access Forms by index to get contents of that form and so on. http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx ...Show All

  • Gadgets Vector Graphics in Gadget

    I am making a gadget that will be resizeable from the settings menu (when undocked), and I was wondering if the sidebar had any type of native support for vector graphics so I wouldn't have to make and distribute separate background images to maintain a high quality when it is scaled up.  I'm assuming not since it is rendered by IE, but it doesn't hurt to ask.  Thanks. You don't need to go quite that drastic. If you then look at Polaroid , you'll see I'm layering VML images on top of a transparent drop shadow. So long as you don't want your whole Gadget to be transparent, you can use something similar. You'll need a 100% transparent PNG file (blank.png) and a 100% black PNG file (border.png), ...Show All

  • Visual C++ Help with variable/String

    hi i was wondering if anyone could help. i am using this small bit of code that will work only in the Event where it is placed but i want to be able to change the data that it holds throughout the program, im using MS VS 2005 C++ and here is the code String^ Species Species= "Dog"; MessageBox::Show( Species); I would like to be able to change the data in the String^ Species from anywhere and not just within the { }. can anyone plz help. thanks but what if i wanted to put the contents into say... textBox1->Text i tried it and it doesnt recognise the value species from within another evert, the contents seem to die with the previous event ...Show All

  • Visual C++ Not able to dump a multibyte character Unicode(utf8) encoded data to a file

    Dear all, I am writing a network project that must support multiple human languages like Chines, Arabic, Thai ...etc. using a native win32 C++ with Microsoft Visual C++ 2005 express edition on windows xp pro. Precisely, I have to dump log data to a log file, these data could be written with different human languages as I mentioned above. When I gave a try to implement an output streaming to a file, I failed in dumping other than English language data. And the target file will show only question marks " ' However, the code that I wrote is show below: Unfortunately the C++ streams are not very good a Unicode stuff. wofstream just uses wchar_t as its element type but before writing to the text file it converts the Unic ...Show All

  • .NET Development GDI+ error

    I sometimes recieve this error, about 80%. All I am doing is taking a snapshot of the screen and saving it to a file. Bitmap theScreenShotBitmap = new Bitmap ( Screen .PrimaryScreen.Bounds.Width, Screen .PrimaryScreen.Bounds.Height, PixelFormat . Format32bppArgb ); Bitmap PCVersion = theScreenShotBitmap; Graphics theGraphics = Graphics .FromImage(theScreenShotBitmap); theGraphics.CopyFromScreen( Screen .PrimaryScreen.Bounds.X, Screen .PrimaryScreen.Bounds.Y, 0, 0, Screen .PrimaryScreen.Bounds.Size, CopyPixelOperation .SourceCopy); theScreenShotBitmap.Save( "PCVersion.jpg" , ImageFormat .Jpeg); //HERE     Error: External Error: A Generic error occured in GDI+ stack trace    a ...Show All

  • Smart Device Development Associate a Key to a Menu button

    Hi, Does anyone knows how can i associate a key to a menu button For example i have a form with 3 Menus buttons and i need to associate each one to a key, 1st Menu -- Key 1, 2o Menu -- Key 2 and 3o Menu --- Key 3. Thanks At this moment i have this two functions: private void frmMessageDetails_KeyDown( object sender, KeyEventArgs e) { if ((e.KeyCode.ToString() == "D1" )) {   SimulateMenuPopup(menuItem1); } }   public void SimulateMenuPopup( MenuItem item) { MethodInfo mi = typeof ( MenuItem ).GetMethod( "OnPopup" , BindingFlags .NonPublic | BindingFlags .Instance); mi.Invoke(item, BindingFlags .NonPublic | Binding ...Show All

©2008 Software Development Network