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

Software Development Network >> Steve Wenck's Q&A profile

Steve Wenck

Member List

tfr294036
angi.w
Kamalkanth Nayak
A911Pro
TeriB
He is Cool
Ice Age
cb3431
Jehan Badshah
nikos_22
mrmckeb
Hans_Schmucker
Messs17
GertB
New user to SQl 2005
teqmem
ctsand
jrsearles
SQLDataMonkey
SnakeSV
Only Title

Steve Wenck's Q&A profile

  • Smart Device Development Writing EXIF Metadata in Windows Mobile 5

    I have a problem for embedding EXIF metadata information to a JPEG file in a PDA (using Windows Mobile 5). There's a good example to read EXIF metadata from a JPEG: http://www.pocketpcdn.com/forum/viewtopic.php t=6211 I can easily replace the command GetPropertyItem with SetPropertyItem, but what next Because in my opinion, these commands are applied in a memory stream and we have to save it into file if we want to embed the EXIF metadata to a JPEG file. Please help! Thank you in advance. Thank you, I got the ImageCodecInfo object. Next how to choose the correct CLSID for IImagingFactory::CreateImageEncoderToFile And then where do we specify the source image filename Is it in th ...Show All

  • SQL Server Type mismatch when deploying AdventureWorks Analysis Project

    I get the following error when I try to deploy the sample AdventureWorks Analysis Project solution - Error 3 OLE DB error: OLE DB or ODBC error: The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:  Type mismatch. .; The following system error occurred:& ...Show All

  • Visual Studio Generating docs using Sandcastle (CTP) from un-managed C++

    Hi all. This has probably been asked before but...... Is Sandcastle able to or will be able to produce docs from un-managed code I've generated an XML comments file from my C++ source, but MrefBuilder can't do anything with it because my code doesn't use any managed assemblies. Running MrefBuilder on this comments file yields a "0 assemblies loaded...etc" message. This results in an empty reflection file and a wasted chm . Would creating my own .org file, based on the contents of the C++ comments file then enable Sandcastle to create the docs Thanks for you help. Adam I would like to add that we do have plans to address documentation for unmanaged code and schemas in Sandcastle V2.0 time-frame. ...Show All

  • Visual C++ Marshal MSG Struct CopyMemory

         I have two projects one is a managed c#.NET application and the other is a win32 dll. I am trying to pass a MSG structure that was intercepted in global hook filter function in my unmanaged code, back to my managed code. ***Relavant code from managed project.           public IntPtr hMsg;           public MSG ThisMsg;            ...            // Pointer that will be sent to the unmanaged dll.             hMsg = Marshal.All ...Show All

  • .NET Development How do I connect to MySQL from Visual Basic 2005?

    Visual Basic 2005 With MySQL How do I connect to MySQL form Visual Basic 2005 Trying to add the data source Server Name: mysql User Name: root p/w: "this is blank Database Name: POS When I test it it says that it was successful but I can not find it to bind to my datagrid. I get the following information on the script: Invalid Data Specifier What am I doing wrong http://www.connectionstrings.com/ carrier=mysql Dim strDataBaseName As String Dim strDBCursorType As String Dim strDBLockType As String Dim strDBOptions As String Dim rs As ADODB.Recordset Dim cn As ADODB.Connection Private Sub Command1_Click() On Error GoTo Command1_Click_Error Dim b as Long strDBCursorType = adOpenDynamic 'Cu ...Show All

  • Visual Studio Opening editor with particular code page

    I would like to be able to tell the core editor which code page to use when openning a file (instead of auto detecting). I currently use IVsUIShellOpenDocument interface to open documents when the user clicks on a file node in the solution explorer. But I can't find any way to tell which code page to use. Any suggestions on how to do this vsphp Hallo, Normally there is a different editor factory for normal editors and editors with encoding. I suppose you're also the editor factory implementer. If yes, then follow one of the following procedures in your implementation of the Microsoft.VisualStudio.Shell.Interop.IVsEditorFactory.CreateEditorInstance() method: To set the text buffer to a ...Show All

  • Windows Forms Adding Icons and images to the Windows Forms application

    Hi, I am trying to add the images and icons to my windows forms application. The code compiles absolutely fine. However when I run the application, it gives the following error at runtime... MyPhone.exe has encountered a problem and needs to close. We are sorry for the inconvenience. Please tell Microsoft about this problem. Does have any idea, why it does this. When I remove the references to the images and icons, the application runs just fine,,, Any guesses CLR error. Would you like to post some of your code Or, this forum may be helpful http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=44&SiteID=1 ...Show All

  • Visual Studio Tools for Office ThisApplication_Startup not being called - ie. plugin not loading

      I have written an outlook plugin using VSTO. The plugin loads fine and works great if the user clicks on the outlook icon. On the other hand, if outlook is started via automation and then outlook is opened, the plugin does not load. These cases are described below. When the user signs on to windows xp with activesync set to run on startup. ActiveSync syncs with outlook by starting it through, AFAIK, automation. Now when the user opens Outlook by clicking on the outlook icon,  the plugin is not loaded. Another example is when the user has Outlook closed and they click on an oft file on their desktop, and then open Outlook, the plugin is not loaded. Please advise. Thanks. ...Show All

  • SQL Server Copy SQL Server 2005 DB to SQL Server Mobile - is it possible?

    I'm creating a prototype of a PDA app using CF.Net 2.0 and SQL Server Mobile for a prospective client and I've gone through and designed, built and populated a database using SQL Server 2005... and then realised where I really need it is on the PDA! Without going through all the pain of setting up SQL replication or writing all the code is there a way to export a 2005 database to SQL Server Mobile so it results in an .SDF file I know I can script each table out and run it via the SS2005 management studio when connected to a local .sdf file then copy that to the PDA but the thing is I really want to keep my test data so I don't have to re-enter it again. TIA for any help... there must be a way to do this but I'm quite new to SQL Server ...Show All

  • Software Development for Windows Vista SqlWorkflowPersistenceService lock expire tests irrelevant?

    Various queries in the stored-procedures in Microsoft.NET\Framework\v3.0\Windows Workflow Foundation\SQL\EN\SqlPersistenceService_Logic.sql are testing whether (dbo.InstanceState.ownerId = @ownerId but also whether the lock is (not) expired !! AND dbo.InstanceState.ownedUntil >= @now) IMO this last check is irrelevant when you already verified that you are the owner of the lock. Here is what happens: I have a state machine workflow with a state containing a delay activity followed by a setState activity. The delay activity idles but tracing shows that my workflow is reloaded from the persistence store !! First the lock times out, then the delay. No loading (at first) because my workflow was already loaded ...Show All

  • Customer Care Framework a problem with SSO Single Sign-On

    when i followed steps in lab D "Lab D: Use of SSO" Exercise1 and Exercise2 with application named " SSODemoLoginWebApp " every thing run ok, but when tryed to do the same with my application i found that username text box and password textbox not filled with username and password data, and nothing is happend. i tryed this with many applications i have, and when try to use my application url with the same name of  the application " SSODemoLoginWebApp " in sample Lab D it works fine, i think there is one step is missed, please i want to know is there any missing steps i appreciate your help   By foll. steps in Excercise 1, 2 the SSO doesn't work for an existing web App. Also, according ...Show All

  • Visual C++ Visual Studio 2005 & MFC

    I have a MFC/C++ app developed under eVC 3.0 (i.e., eMbedded Visual C++ 3.0). This allows my app to run on handhelds running with the Mobile 5.0 or Mobile 2003 operating systems. I know that eVC 4.0 can build and link this MFC app, as-is, into a "unmanaged app" that can run natively in a CE.NET environment. Can Visual Studio 2005 perform the same kind of build and link of the MFC app, that eVC 4.0 can do Thank you for your input, msdnrookie ...Show All

  • Commerce Server How to integrete MOSS and Commerce Server 2007

    Hi There, Could you please send me some useful links to access how the integretion is possible between MOSS and Commerce Server 2007. Regards, Saradhi The white papter is now released. Configuring and Integrating Microsoft Office SharePoint Server 2007 and Microsoft Commerce Server 2007 -Max ...Show All

  • Visual Basic how to uninstall my own application

    I have a vb.net program that runs invisibly - no task bar, no icon, no VISIBLE form. It can't be shut down by the user outside of the standard windows shutdown. This part works. If the user wants to uninstall this program, they need to open up the application and enter an uninstall code that turns off the program so it can be uninstalled. A tray icon is not an option. QUESTION: If I have a program that is running invisibly, is it possible to click an icon that makes the program become visible do a project reference instaed of a .Net Reference....."Project"..."Add Reference"..."Project" tab...then browse to the project....of course a really easy solution is to buil ...Show All

  • Windows Forms Listbox to show options from a related table

    On a Windows form, I have textboxes to show data rows of a main table. The main table has a foreign key to a minor table which is a list of status values ("Pending", "In Progress" and "Done"). The object is to display the status in a listbox or combobox. I want to know how to do this. Some notes: 1) The code to set up connections, DataAdapters, CommandBuilders, bindingsources, Datasets, etc works fine. 2) I would like to set up any constructs in code rather than with a wizard. 3) Unless I have to I want to avoid creating the relationship between the tables in the wizard. 4) I get the sense that one Dataset can access and update both tables, but I don't know how to tell the dataset about additional tables. ...Show All

©2008 Software Development Network