Chris Herring7's Q&A profile
Visual FoxPro Find command button
Hi, Can someone help me to creat a Find command button in Form of VFP9 that will search by the nname or sstreet or pphone or mmobile in acfdbf.DBF file Thanks Your question is very broad and there are many ways to do that. Here is a generic sample: Public oForm oForm = Createobject('myForm') oForm.Show Define Class myForm As Form DataSession = 2 Top = 0 Left = 0 Height = 400 Width = 750 DoCreate = .T. Caption = "Search Test" Add Object grdcustomer As Grid With ; Height = 200, Width = 730, RecordSource = "customer" Add Object lststruc As ListBox With ; RowSourceType = 8, RowSource = "customer", ; Height = 170, Left = 12, MultiSelect = .T., Top = 204, Width = 144 A ...Show All
Visual Basic Any tools available for documenting XML Comments placed in VB2005 files?
I have been looking at NDoc and so far nothing for VB2005 as well as doxygen for VB2005 (not too straight forward) :( Any other tools available for building documentation from the comments generated in VB2005 (''') Thanks in advance :) Bob Hanson Hi, New update: A new tool is available for this purpose - Sandcastle. Further information can be found here http://www.sandcastledocs.com/ . Best regards, ...Show All
Visual Studio Express Editions How do I write a program that echoes the key pressed to the screen?
I created a Console Project in VC# Express. I made a while loop, in which I want to check if a key is pressed, and then echo that to the screen. If no key were pressed, the loop should continue looping. Also, any ideas how I can do that for a Logitech gamepad For gamepad support see: http://www.codeproject.com/cs/media/joystick.asp Also check out the XNA framework. http://msdn.microsoft.com/directx/XNA/default.aspx ...Show All
Visual Studio Express Editions Project help needed
Hi people I have this project that I have being messing around with and I am trying to display the Randomgenerator in two labels any ideas Private Sub displayButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles displayButton.Click 'generates and displays six unique random 'numbers 1 through 6 Dim numbers(1) As Integer Dim subscript As Integer Dim searchSubscript As Integer Dim randomNum As Integer Dim randomGenerator As New Random Dim isFound As Boolean 'gernerate the first random number,and 'store it in the first array element numbers(0) = randomGenerator.Next(1, 6) 'fillremaining array elements with un ...Show All
Windows Search Technologies Accessing WDSQuery.dll from MSAccess
Hello, we would like to integrate desktop search queries in one of our MSAccess applications through the visual basic interface. The SDK does not help, we cannot reference WDSQuery.dll, how could we do hello, I checked Brandon's solution, the problem is that with Access VB, it will not accept a reference to the DLL. ...Show All
Visual C# Run application as a Service
What type of project it should be to run as a service Say if I create something and want to run it as a service how to do it and some of my other application has to use that service how does that work I asked .NET 3.0, because customer wants WCF and .NET 3.0 service and its client using that service to do the stuff. I really appreciate all the replies I got, I was wondering if I can get an example something Step by Step to create a Service, this is my first time creating a service application and totally new to WCF. Ross articles are really good.. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Path to becoming a professional game programmer
I'm sure a lot of aspiring game programmers out there are looking for a road map on how to become a pro. (I know I am!). Based on all the great products coming out, and the ones that already exist, it's probably very confusing for someone new to this. I put together a quick "road map" based on my (limited) knowledge to help those rookies get to the finish line. Please feel free to add to, change or comment...especially if you're already in the busniess! Update(11/22/06) - moved some items around and added new categories based on suggestions Beginner - Torque X Create some simple games with TorqueX Game Builder ...can't comment much more on this since I've never used it Begi ...Show All
Visual Studio Help Integration Generated Setup
Hi, I have created a setup program using Help Integration Wizardin Visual Studio.NET 2005. I have created a *.HxS file which I use in Help Integration Wizard. When I use this setup to install Help Files in Visual Studio.NET 2005 it correctly installs it. After uninstalling this setup when I try to run this setup programm again it runs fine but help files are not installed, though one sees the Help Topic in drop down box of Filter. When one chooses that filter it does show a hour glass icon doing something but than it come back showing no help file collections. I have no other instance of help system installed except Visual Studion.NET. Can anyone please suggest what should be done to get Help Setup working correctly Thank you. ...Show All
Visual Studio 2008 (Pre-release) OrderBy with GroupBy
I have a couple of questions for the following query skeleton: var myQuery = from q in MyTable where Condition orderby BookID , ChapterNumber group q by q.BookName + " " + q.ChapterNumber into group select new { FriendlyGroupKeyName = group. Key , GroupRows = group } Why is LINQ adding the group key as the first column in the generated ORDER BY I can capture the generated query on Profiler and simply remove the group.key from the ORDER BY clause and I get the results I expect; Is there a way to enter more than one field for grouping In that query what I really wanted was to be able to have the BookName available on my parent sel ...Show All
SQL Server Cube Design - Number Max of Dimensions
Hi all, Some cubes into my project have been designed containing 11 dimensions Is there a number max of dimensions The performances look fine so far but I was wondering if it will be a good idea to split these cubes to have a limited number of dimension per cube. Thanks a lot for your support Juan Sorry for my english... I meant 'browse' the cube thanks to Excel (Add_in). My tests of performance have been done to measure : - performance to process cubes - performance to access cubes with Excel If I understood well, the design has a direct impact in the processing of the cube but not in the browsing of the cube. Hope to be clearer... Cheers Juan ...Show All
Visual Studio 2008 (Pre-release) FlowDocument management
Hello, I have a large number of FlowDocumnt's that I would like to maintain within my project and programatically open and modify them within different PageDocument viewers. Ideally I would like to have each document within its own XAML file then access contents in the code behind something like: FlowDocument flowDocument = new FlowDocument( "SomeReport.xaml" ); I've been able to embed the flow documents as resources and embedded resources, however this just doesn't feel clean and would require a factory pattern for ease of use. I've also been able to access them as fies and deserialize using the WPF examples, but again, I'd like them compiled in and accessible as objects if possible without wrapping them in a Flow ...Show All
Visual C# Error: Retrieving the COM class factory for component with CLSID....
hi, i'm tring to make DRM development . i use DRM required DLL i uses it , but i got this error . Retrieving the COM class factory for component with CLSID {457B9521- 268E-44D6-A1D7-189C47EA7D5A} faild due to the folowing error: 80040154. note: i'm using widows XP, cpu 32 any help ...Show All
Smart Device Development Automaticly deploy cabfiles
Hello, I've developped a program with visual studio 2005 for pocket pc. When the battery is empty the pocket pc has to do a cold boot. I place the CAB files in a directory that installs the cab after a cold boot. However I always get the message to reIinstall the file. For other files like sql mobile I don't get the confirmation to overwrite. How can I made it so that a cold boot is done and the CF 2.0 is automaticly installed Thanks Did you try blange's suggestion of setting the registry values to '0' That may do the trick, alternatively you probably could just delete the keys out of the registry as well. Other than that, I don't know. ...Show All
Smart Device Development Load Image from stream?
.NET CF 2.0 Trying to load an image into a picturebox from a memorystream - is this possible when I try to do it I get a notsupportedexception theImageStream.Position = 0; this .thePictureBox.Image = new Bitmap(theImageStream); OK I have another problem. I was making my code better (smaller methods and so on) and not even changing it but rather modifying the code (moving this code to over there etc...) and now for some reason, performance is better (good) however after a while (varies) I get a general exception when loading the image from the memorystream. no idea why its doing it now, as it didnt before: "at Microsoft.AGL.Common.MISC.HandleAr()\r\nat System.Drawing.Bitmap._Init ...Show All
Visual Studio Express Editions grrrr - registering
For some reason the registration page says my email address is invalid so i can't get the key, but its the same one i logged on with. Help Thanks!! I am not at all familiar with this error and this is the first occurance of it that I see. I have no ideas how to help you other than try to get in contact with microsoft. At the bottom of most pages and possible the error message pages there usually is a link "Contact us" that will give you options to get in contact with microsoft. It might take a few days to get an response. If you get help or manage to find out what the problem is and how to fix it, please post it here. It will help others with similar problems. ...Show All
