Pete Nelson's Q&A profile
Visual FoxPro VFP & Pocket PC
Dear experts, I am working on a restaurant ordering system with VFP+MSDE and looking for the possibility to input order via a mobile device. Is there any tool like VFP for Pocket PC Or any suggestion to which language should I used at the mobile side for a shortest learning curve Someone show me with a terminal client installed on Pocket PC, connect to Small Business Server 2003 and run a VFP exe (re-write with large icon and less color ). This sounds cool but the PCs in the restaurant are just XP home, any suggestion Thank you in advance. Get PocketDos then run Foxpro for DOS on it... ...Show All
.NET Development How to locate an loaded assembly?
I simply want to know how to resolve if an certain assembly (some *.dll file) is loaded (used) by other .Net application. There is an excellent and very interesting article at http://msdn.microsoft.com/msdnmag/issues/04/10/NETProcessBrowser/ that explains what you seem to be looking for. It has source code to browse managed processes and their loaded assemblies. If you just want to see if a dll is loaded (managed and unmanaged processes) the Process and ProcessModule will give you that info. Process [] arrProcesses = Process .GetProcesses(); foreach ( Process proc in arrProce ...Show All
Visual C++ Set VC++ Directories in Options dialog (Visual C++ Express)
Is this bug going to be fixed anytime soon Using VC++ Express 2005 v8.0.50215.44 (beta2.050215-4400) and .NET Framework v2.0.50215 on a Win2K SP4 test box. I've tried the solutions from both Boris and Chaos to workaround the problem and neither appear to work. I've been charged with evaluating VC++ for our enterprise, ( I'm principally a gcc user), and a rudimentary bug like this ought to get squashed pretty quick IMO. [EDIT] OOPS! Sorry to start this as a new thread. Meant to reply to the existing one. I've tried the solutions from both Boris and Chaos to workaround the problem and neither appear to work. That is ...Show All
Visual Basic When is DLL Main executed?
I am trying to load a dll and make it run code as soon as it is loaded without having anything called. Is dll main like a regular main where it starts running as soon as it is launched If not, how can I create that kind of effect When a dll is understood as a class library, there can be a constructor, that is a public routine that is executed when the class is instantiated. So that when you say dim a as New MyDll that constructor is executed. ...Show All
Visual Studio 2008 (Pre-release) Performance WCF vs .NET remoting
Hi all, I did a small experiment to compare .NET remoting with WCF , just to see what it would mean performance-wise when switching technology to WCF. The test was carried out on one PC, a client app (console app) talking to a server app (console app). I build it against WinFx February CTP. The endpoint on the server exposes a single interface with one method with a nearly empty implementation (just increasing a counter). In all the test cases, in the client I first created the proxy to the server and made one initial call , to be sure to measure the pure calls. I then made 10,000 calls to the server and measured the averag ...Show All
Visual Studio Tools for Office Browsing functions in registered xll
Hello! Is there a way to retrieve the functions (and their parameters) of a loaded xll My Xll is registered via the Application.RegisterXLL method. Thanks! This is not a forum for Excel Development I would suggest posting this into the newsgroups for excel development http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel&lang=en&cr=US or http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr=US Regards ...Show All
Windows Forms best practice advice for secure socket comms ..
hi guys ... Im developing a Client-Server system which will be used through regular internet. My development environment would be VB.NET 2003 & 2005. I would be communicating using regular Sockets & TCP. The client would be running on Windows Pocket PC 2003/Mobile Edition PDA's & connecting to the server through GPRS. The server would be a running on regular Windows 2k or 2k3. I want to secure my communication from prying eyes & at the same time protect my server. All this should be cost effective including time spent on development. At the moment Im not sending Credit Card information on this - so that level of secure com ...Show All
Visual C++ C# array equivalent in C++/CLI
Hi, I'm writing a C++/CLI wrapper for legacy C++ code such that it can be used from e.g. C#. The latter has built-in support for arrays, which even can be jagged. In order for my C++/CLI wrapper to accept these C# arrays (e.g. as member function parameter), I use the abstract System.Array class from which the C# arrays inherit. Is this "the" approach, or are there better approaches P.S. While the MSIL code generated by the C# compiler is pretty optimized for e.g. C# double arrays, there is e.g. a boxing/unboxing penalty when using System.Array::SetValue() in the case of a double array as equivalent for the [] operator. Al ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Displaying Static Background with DirectX9 Example?
Can someone help this poor DirectX newbie by pointing me to an example of how to display a static background from an image file using C++ (or C#). I've read that the way to do this is to create two triangles from vertices, load the image into a texture and map the texture to the surface. This sounds great but I can't figure out how to do it from the DirectX docs. Currently, I'm trying to do it by loading the image onto an offscreen surface and using UpdateSurface() to copy it to the back buffer. This works great, except when I switch to another application or point down at the task bar the background disappears! So I'm trying to do it anothe ...Show All
SQL Server Custom Front-End Using Multi-Value Parameters on Reports
Hello, We have developed our own ASP.NET 2.0 (C#) front-end for Reporting Services (SQL Server 2005). The front-end is kind of "generic" in the sense that it looks at all the parameters for any report selected by the end-user and creates a display for the end-user to configure the parameter values. This all works fine, except for one report that has a multi-value parameter. On the report viewer through Report Manager, this multi-value parameter displays as a drop down list in which you can select one or more parameters by checking the appropriate checkboxes by the values. So, we need some way to emulate this. Is there a built ...Show All
.NET Development DataSet.ReadXMLSchema question
I have an xsd that needs to be populated with output data for the customer. The initial idea was to read the xsd using XMLDataDocument.DataSet.ReadXMLSchema call to have the .NET create a dataset, then populate it with the data and save into an xml file. The ReadXMLSchema seems to create one table in the dataset per each element in the schema and name the table after the element's name. However, the schema reuses multiple complex types in several places. As a result, when .NET tries to create a table with the same name, an exception occurs. Since it's a pretty standard design for an xsd I'm very surprised it doesn't work. Is there any worka ...Show All
.NET Development RegSvr32
Hi, In VB, I was able to shell out to a window and use the RegSvr32 command and register a DLL or OCX, like so: Dim vShell as Variant vShell = Shell("regsvr32 /s " & strPath, vbNormalFocus) Does anyone know how I can accomplish this in C# (vs2005) Yes, it works from the command line or the run line.. After much research on the internet (and thanks to google) I found the solution: //Create the paths for the controls and DLLs. sPath[0] = sRootPath + sVersionParam + @"\WBCustomObjects.dll" ; sPath[1] = sRootPath + sVersionParam + @"\WBGred.dll" ; sPath[2] = sRootPath + sVersionPa ...Show All
SQL Server SQL Mobile 2005 Merge Replication with SQL 2005 x64
I am having trouble with getting Merge Replication up with a new SQL 2005 x64 Server. I already have it running smoothly with SQL 2005 Mobile and SQL 2000, but I want to migrate the backend to SQL 2005. There is a front end server running IIS 6.0 on Windows 2003 x86 Standard (Server A) with SSL required and Basic Authentication set as the only authentication method (default Domain and Realm are also set). The backend server is running SQL 2005 x64 Standard on Windows 2003 x64 Standard (Server B). The mobile devices are running Windows Mobile 5.0 with SQL 2005 Mobile (Client). From both a standard Windows XP ...Show All
Visual Studio Express Editions No Framework !
There is any way to use a program made in Visual c# withou needing to install .net framework 2.0 Thanks, Miranda NO. actualy you don't write program from scratch in .net framework you use framework libraries, and engine so your program will not run untill you provide the engine and the supportive libraries , as well as the programs that made with java need JVM to be running on your computer , the programs that you will write in C# need .net framworks to run hope this helps ...Show All
Visual C# Session or viewstate, default value
How can i set the default value of my variable stored in session or viewstate before the first call My code is: public class xxxxxxxxxxxxx: System.Web.UI.UserControl{ public xxxxxxxxxxxxxxxxx() { } public xxxxxxxxxxxxxx(string user, Connection connection...) { } ... public string User{ get { &n ...Show All
