John Perks's Q&A profile
Smart Device Development Desktop application to be ported to run on smartphones
I have a small desktop application developed using C#.NET 2005 (.NET 2.0). It does have 3 command buttons, 1 tree control and has the capability of accessing the Web services offered by another application. I just want to know if the same can be ported to run on Smartphones. If yes, how and If no, what is preventing me to do so Please let me know. Appreciate your help! You can certainly share the business logic. See this: http://www. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Books on DirectX
I am getting into learning about game development. Well more of programming in the directx API for starters. I was wondering if getting into the .Net part is better or should one stick with the C++ and unmanaged directx programming. The other question is, to look into WGF2.0 or start with current gen directx. Any books that I should/must have for learning about directx. And does that cover the upcoming Dirextx10/WGF2 Thanks ...Show All
Visual Studio Express Editions Database q's when running .exe app
In an attempt to ellicit a better response I have rephrased my topic. The problem remains the same. When I open the CKApp.exe file located in the /bin/debug folder it runs fine and appears to save my data to the database e.g. ckapp.mdf/tables/dailymeasrements. But when I re-run the app the data is not there. Here is the code I believe to be important. Dim MeasDV As DataView = CkAppDataSet2.DailyMeasurements.DefaultView Dim MeasRV As DataRo ...Show All
Visual Studio Problems with some links
I am having problems accessing some links in the Help System installed on my pc. Some links don't make the mouse pointer turn to a hand and are unclickable, this occurs in both the Visual Studio 2003 and Express help systems. The last time I only reinstalled the MSDN Library, although before that I reinstalled VC++2003 and the MSDN Library. ...Show All
Visual C++ makefile projects and visual C++
Hi, I'm working in a company that uses (gnu) makefile projects with visual C++. My problem is that my makefile supports a wide range of targets but they can only be configured at the top level projects level. What I'ld like to be able to do is select a file or folder in the solution explorer and invoke a macro that will start make with the smallest applicable target. There's a clear mapping from folder name/module name to as ...Show All
Smart Device Development CF2 install to WM5 device fails - "invalid setup file"
Hello- I just got a new Windows Mobile 5 device - a Dell Axim x51v. When I try to install the compact framework 2.0, the install fails with a message "Application Manager cannot install this application on your mobile device due to an invalid setup file. Reinstall and try again." I'm using Add/Remove Programs to try and deploy to the device. Anyone have any ideas why my install might be failing Thanks -David ...Show All
Windows Forms Converting MS Access Forms/Modules to Visual Studio
Is there a way to convert MS Access forms/modules to Visual Studio short of reproducing the Forms from scratch in Visual Studio I have a pretty comprehensive MS Access based Application which has many very complex forms and code behind them... I&n ...Show All
SQL Server AdventureWorks db for 101 Samples
I'm not sure if this should be asked here. If it's the wrong place, let me know and I'll correct. I've just downloaded 101 Samples for Visual Studio 2005 . But the data access samples require AdventureWorks database which is not included in the C# sample. Who know where I can get this database It is a SQL 2005 database, I think. Thanks! You can download AdventureWorks from this site: http://www.microsoft.com/do ...Show All
Windows Forms OpenFileDialog
Hi Everybody. I ve got a problem that I did'nt expected it. "If OpenFileDialog1.ShowDialog() = DialogResult.OK Then Me.txtPathname.Text = Me.OpenFileDialog1.FileName End If" After these lines I loose my connection with the database. The ...Show All
Visual Studio 2008 (Pre-release) WPF in MFC App
hi all, I am experimenting adding WPF controls to an existing MFC app. Everything seems to work fine except that everytime i make changes to the WPF control xaml, the hole MFC app recompile itself. I looked at the sample app in the handon lab, and it does the same thing. Is there a way to get around this jz Hi, This usually happens because of IDE detecting that a piece of ...Show All
Visual C++ inline function
I have a set of functions that I'd like to make inline using VC++ 2003. The functions are compiled sparately from the calling function. I've attempted by placing inline before the function name and in the prototype statement but the function is not found. Do I need to use IMPORT, extern or something like that I can't seem to find an example anywhere to emulate. Thanks, RON C FUNCTION: inline int index_4 ( int jstr, int ks ...Show All
Smart Device Development Can't find PInvoke DLL '110506Demoptt.dll'.
I am trying to debug a C++ code from C# Device Appliation. When i reached calling the C++ function from C# it gives "Can't find PInvoke DLL '110506Demoptt.dll'.". The following is the code sipnet. public static CallBackDelegate myDelegate; [ DllImport ( "110506Demoptt.dll" )] private static extern void SetCallBackPointer( CallBackDelegate myDelegate); static void Main() { myDelegate ...Show All
Visual C++ How can I solve below template partial specialization problems?
I want to specialize template when return type is void. ========================================== template <char const*& T, class U, class X> class CSpecialize { public: CSpecialize(X (U::*pfunc)()) : m_pFunc(pfunc) { } X (U::*m_pFunc)(); }; template <char const*&T, class U> class CSpecialize<T, U, void> { public: CSpecialize(void (U::*pfunc)()) : m_pFunc(pfunc) { } private: void (U::*m_pFunc)(); }; ...Show All
Visual Studio Team System Difficulties unit testing a web service
I have found it extremely difficult to unit test a web service - perhaps it's my testing-fu is very weak, but following some of the various help files are not getting it done. Scenario: 1. Created a web service project - web service has one method. When I access the web service via the asmx page, it works. 2. Right clicked on the method and chose to "Generate Test" - a test project was generated. 3. Prior to understanding - I just tried to run t ...Show All
.NET Development The proxy settings on this computer are not configured correctly for Web discovery
I have a WiFi network comprising a Netgear router, a desktop and a laptop. A web service is set up on the desktop IIS. But when I try to add a web reference to a web application developed on the laptop to access the desktop web service, I get an error message : "The proxy settings on this computer are not configured correctly for Web discovery". The desktop and laptop both have the Windows XP firewall enabled. The internet browser LAN ...Show All
