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

Software Development Network >> Sam Hobbs's Q&A profile

Sam Hobbs

Member List

Wayne Sepega
Tom thomas
NetPochi
zybernau
compjb
John12
Daikoku
Gagandeep Singh
Michael Vanhoutte
GoDaddy
Brendan Stewart
neelesh0307
best49erfan
YewMing
ConfigSSIS
kwards3
George Giolfan
Michell Cronberg
Dawid Weiss
giddy
Only Title

Sam Hobbs's Q&A profile

  • Visual Studio Tools for Office Getting item scope on PropertyChange event

    I have an event handler for a ContactItem that fires on the PropertyChange (which is wired up when a new contact window is opened--e.g. I am monitoring what changes in this window). private void Inspector_NewInspector(Outlook.Inspector inspector) {     Outlook.ContactItem ci = inspector.CurrentItem as Outlook.ContactItem;     if (ci != null)     {         ci.PropertyChange += new Outlook.ItemEvents_10_PropertyChangeEventHandler(ci_PropertyChange);     } } void ci_PropertyChange(object item) {     MessageBox.Show(item); // displays the name of the property (item is of type string)     //what contact ...Show All

  • .NET Development oledb parameters

    how to use oledb parameters in oledb command object I declare the oledb variables & others like this dim cmd as new oledb.OledbCommand dim prn as new oledb.oledbParamter prn.ParameterName = "@para" prn.OledbType = varchar prn.value = "" 'say a string 'etc etc ------------- then i add this paramter in the command object cmd.parameters.add(prn) cmd.commandText = "select * from table where field = @para" cmd.connection = cnn ' say a connection object cmd.ExecuteNonScalar ' I just need one column actually as the query is supposed to return one row only ********************************************************************* when this code is executed, the sys ...Show All

  • Visual C++ Can't run file on other comp, what gives?

    So i codded a program in Visual Basic 2005 when they told me it would be better in C++ because i will not have to have the user to require .NET Framework so i created it in C++ and now when i try to open it in my Virtual PC which has a freshly install xp installion with no updates or framework i get it will not open it and says something about the configuration is incorrect. I used Panels, WMP, Web Browser, Drop-down box, and Linkboxes in the this program. What can i do to fix this Panels WebBrowser This sounds like you did a Windows Forms Application in C++. This still needs the .NET Framework. You need a Win32 Project or MFC Application to not have a dependency on .NET Framework. ...Show All

  • Smart Device Development How can i install pocket console on the PPC Emulator?

    Hi, I need a way for debugging PocketPc application. I found PocketConsole as the right solution. My app is being developed in c# using VS2003. Can anyone plz tell me how can i install the pocketconsole on the PocketPC emulator, for debugging, my application. Thanks - Hari VS 2003 emulator is x86 based, so you can not (unless there’s a special version for emulator). You’d need real device or ARM emulator which ships with VS 2005. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. FileNotFoundException

    Running the game get's me: System.IO.FileNotFoundException was unhandled Message="The specified module could not be found. (Exception from HRESULT: 0x8007007E)" Source="MySpacewar1" StackTrace: at Spacewar.Program.Main(String[] args) at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.Threa ...Show All

  • SQL Server Resolving an attribute member from a member property

    What will be the fastest way to resolve an atttribute member from one of its member properties, e.g. the key value from the source database assuming that the attribute key uses the dimension surrogate key for its KeyColumn Sorry - I didn't see you mentioning before that it was Parent-Child. Can you please give more concrete description of the structure of dimension, which attributes you are securing etc. Example from Adventure Works would be most appreciated. ...Show All

  • SQL Server Exporting Database Diagrams - SQL server 2005

    Hi, I'm trying to export my Database Diagrams to a new database. I've managed to do it by right clicking on the database->tasks>export data and followed the wizard instructions. The tables and Data Diagram show up fine on the new database however all the primary keys/relations/ are not present. Is there a way of copying the whole diagram to include all the primary keys and table relations Thanks :) There is more info here: http://msdn2.microsoft.com/en-us/library/ms171977(VS.80).aspx But it sounds like there may be some SSIS options you need to set. Which destination are you using And why export the diagram ...Show All

  • Visual C++ LNK2001 unresolved external symbol error !

    HI I am compiling a project in VC++ 6.0 and these are the errors: Linking... LINK : warning LNK4049: locally defined symbol "_exit" imported LINK : warning LNK4049: locally defined symbol "_printf" imported LINK : warning LNK4049: locally defined symbol "_sprintf" imported LINK : warning LNK4049: locally defined symbol "_free" imported LINK : warning LNK4049: locally defined symbol "__getcwd" imported LINK : warning LNK4049: locally defined symbol "_calloc" imported LINK : warning LNK4049: locally defined symbol "_fclose" imported LINK : warning LNK4049: locally defined symbol "_fwrite" imported LINK : warning LNK4049: locally defined symbol "_fopen& ...Show All

  • Visual Studio Express Editions Petzold's .NET Book Zero

    Charles Petzold (famed Windows author) has made a free book available title ".NET Book Zero, what the C or C++ programmer needs to know about C# and the .NET Framework". You can download it from his website . Looks like an excellent and well written introduction to C# and .NET. Even if you don't have prior C/C++ experience... Petzold = Windows All of his books are worth buying - if you learn 50% of what he teaches, you'll be better than 90% of the developers ...Show All

  • Internet Explorer Development IE7 RC1 Installation error

    Hello, I had previously installed IE7 to try (I think it was Beta 1, but am not sure). I recently tried IE7 RC1, but something was freezing my computer. I unistalled it, properly, I think, everything has been working fine. I wanted to reinstall to try it for longer than an hour. Upon attempting to reinstall I get an error message where the whole screen changes to a DOS appearance but gigger an with a blue shade to it rather than black. The message say something like: If this is the first time you have seen this message, reboot and try again. If not, there may be a driver error, if there is a driver listed in the stop message, disable it the try to install, or update the driver and try again. It also talks of rebooting in safe mode ...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 was playing with the idea of doing this from installerDLL from the before mentioned method System.Diagn ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collision, yet another run.

    OK, bounding box/sphere work well but they don't give you any more info on what type of collision of where it happened. For my ball I came up with the idea to do some path and find every point on the outside of the ball, currently 80 points. Now, when the collision is detected I run through the points and check to see if any are inside(or on) the plane and if so then I now have an exact point of collision. It works very well for the ball hitting dead on the top but now I have issues when it hits the side. There's the case which it would hit both(corner) and sometimes just one or the other but I can't seem to get it right. Also, any ideas on how to do a response to this I have a 2d Vector for speed and position of both the ball and box. ...Show All

  • Visual Studio Express Editions How To Send Keystroke Command

    This is very basic. Please be kind. My code has activated an application in windows and now I want the code to tab between fields in that application. How does one code keyboard commands take a look at the send keys: http://msdn2.microsoft.com/en-us/library/system.windows.forms.sendkeys.aspx be sure to set focus to the application, calling/PInvoking the SetForegroundWindow and findWindow: http://www.pinvoke.net/default.aspx/user32/FindWindow.html http://www.pinvoke.net/default.aspx/user32/SetForegroundWindow.html Does this help ...Show All

  • Visual Studio Team System Unit Test does not support namespace with '.'

    Hi, I have created an Xlinq library having a namespace in the format of 'x.LINQLibrary'. When I tried to create a unit test for one of the functions, the selection window for the create unit test do not transverse to the function as it would usually do. I also notice that the namespace display in the window became 'x' instead of 'x.LINQLibrary'. I did some experimentation and realise that by removing the 'x.' hence ending up with 'LINQLibrary' as the namespace, there would be no problem. Can I know how I could resolve this Regards chionh Thanks, your solution works. However, I need to clarify on whether this bug has been solved in the 'shipped' Visual Studio 2005. I am actually using this version ...Show All

  • SQL Server Import and Export Data Wizard missing in SQL Server 2005 Express Edition

    After some weeks evaluating tools and platforms for developing an application, I decided to move to SQL Server 2005 Express Edition. Everything was fine till last night, when after creating my tables, I needed to populate them. I tried to find the Import and Export Data Wizard that SQL Server 7.0 and 2000 used to have, but great was my surprise when I found -  in this forum - a post that said that it's not available in the Express Edition. I'll have to move back in time (what I hate) to remember the way BCP worked. Can somebody post some examples to not start from zero   Does anybody know a third party visual tool that can import/export data from text files to a SQL Server DB via ODBC What's the reason it wa ...Show All

©2008 Software Development Network