ChrisHelt's Q&A profile
Visual FoxPro find/search button
anyone can teach me...hw can i create a find or search button in a form in visual foxpro or give me a simple example of coding thanks.. Yes you were explaining it to a beginner and that is the main reason it was bad. A beginner would take your considerations seriously without judging while an expert could easily see why he shouldn't do it like that. For a beginner you should be simple and advice ways that he could practically use later. An expert would question your suggestions. ie: Create a new project - Why I don't need a project for that, furthermore I wouldn't want a generic search to be part of any project. Use ... in load. Why Maybe I want a generic search form. Typically I would then pass the ...Show All
Audio and Video Development Set Cursor Image
How can I add an image to the cursor I've tried: CursorManager.setImage(" file:///dvddisc/ADV_OBJ/cursor.png "); and CursorManager.Image=" file:///dvddisc/ADV_OBJ/cursor.png "; but that won't work. Also I've attached an optical mouse to the Toshiba's USB port but it doesn't seem to work but using the remote controller in cursor mode works. This should work: CursorManager.setImage( "file:///dvddisc/ADV_OBJ/cursor.png" , 0, 0); where 0, 0, are the x,y coordinates of the hotspot of the cursor (so 0, 0 would be the top left corner of the cursor). Also cursor.png needs to be listed as a resource in the manifest and playlist. Hope this helps, --Rankin [edit: I misstyped the uri before as begin ...Show All
.NET Development "have problem when I sending e-mail through local server (127.0.0.1)"
there is Part of my program [SmtpClient client = new SmtpClient("x.x.x.x"); p.s the "x.x.x.x " is my Server's IP address. there have problem when I put 127.0.0.1 instead the x.x.x.x is couse exception (SmtpFailRecipientException) and shows that "Server's response :5.7.1 Unable to relay for jc214@yahoo.com do anyone there knows why thank you very much Hi Go to IIS manager configration by typing " INETMGR " in RUN. Select Properties of Default SMTP Server and then Select the Access Tabe in the appearing window and then click Relay Button on the same window. then in the appearing window add your IP address to the list OR just click ...Show All
Visual Studio Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack
I'm new to this forum. I hope you can help me. I'm using the Enterprise edition of VS 2005. When I debug my project an exception is raised - 'Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack'. I can't find anything about this on-line. I suspect this message is hiding the true exception. Does anyone know what this message means Regards, Andy Ham I have received the "Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack" but only when I am trying to perform a redirect from within a try catch block. If I move the redirect outside the block it works fine. I created a bool value th ...Show All
Software Development for Windows Vista Error Code 80070017 Solution
to get past the error code without downloading a bunch of useless hardware, do the following. After you burn the iso to a DVD, go into my computer, right click on the Drive that has the burnt DVD in it, Copy and Paste all files to your hard drive (I made a new folder on the desktop). DO NOT TRY TO BOOT TO THE CD!!! You have to be logged on to XP to install this way. after copying the files open the folder and click on the setup.exe. ENJOY Hi, i have tryed what you said about saving it onto my computer befor installing it but it wont let me put it on my computer it comes up with the error "Cannot copy install: Data error (Cyclic Redundancy Check)" Do you think you can help me. Thanks Jianneo ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Creating a terrain using ContentPipeline and XmlImporter (or a custom importer / processor)
Here's my situation: I want to create a text file describing terrain attributes, like heightmap file (raw or an image format), colormap, detailmap and splatting maps. Only the heightmap file and format will be required in this file, so the colormap, detailmap and splatting maps are optional. I then want to add this file to my XNA game project and have it pack a .xnb file containing this data. Ideally, when I do this in my game's LoadContent method: Terrain t = contentManager.Load<Terrain>(@"Content\Terrain\Test"); I should get the terrain object back ready to use, with whatever options I set in it. I couldn't get custom importers and processors to work, so I'll come back to that later, but I did get XmlImporter working with ...Show All
.NET Development How to install .NET Framework 3.0 on Vista
Hello I want to install .NET Framework 3.0 on Vista, but I get an error message. It said that I must configure (Turn Windows features On or Off). How can I install it Thanks I haven't tried it but in the Windows Features screen there is an entry .NET Framework 3.0 and if you have iis installed maybe turn that off as well you can uninstall install the RTM of the .NET Framework but I guess that this is more trial-and-error. ...Show All
SQL Server BACKUP
I need to start backing up my databases. They are almost past debug stage and about to be filled with data I will value. So far I have been copying the whole directory to an external HDD (USB connection) but I never restored anything from the backup. My databases are simple: No web connections, there is only one client: my C# application and most likely this will remain so for a long time. The databases may grow in size considerably, however. I looked into BACKUP command. I have the following questions: (1) What is wrong with simply doing it the way I've done it so far: copying a directory (2) I found a post by Glen WIlson at http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=487447&SiteID=1 where he offers a C# code for a dat ...Show All
Visual Studio Express Editions Asynchronous Calls
hello fellow programmers, i was just having some problems on how to make an asynchronous call. well, can someone show me a very simple program thats uses asynchronous calls thanks in advance! Can you be a little more specific Let me see if I have some code examples. Also HttpWebRequest has examples of Asychronous use in the Help Files. I fear my better asynch examples won't be real different from what you find in help. Many things are asynch like events and timer tick handlers which is also an event. The Documentcompleted event in the WebBrowser is asynch. ...Show All
Visual Studio 2008 (Pre-release) Moving a control on a Canvas at run time
Hi, I'm trying to produce a simple designer in Xaml, for a test app I've produced the following Xaml: < Window x:Class = " xamlWindowsApp.frmDesigner " xmlns = " http://schemas.microsoft.com/winfx/2006/xaml/presentation " xmlns:x = " http://schemas.microsoft.com/winfx/2006/xaml " Title = " xamlWindowsApp " Height = " 450 " Width = " 582 " xmlns:my = " clr-namespace:System;assembly=mscorlib " > < DockPanel Margin = " 1,1,2,2 " MinHeight = " 50 " MinWidth = " 50 " Name = " dockPanel1 " LastChildFill = " True " > < Canvas MouseLeftButtonUp = " OnLeftButtonUp " ...Show All
Windows Forms Getting error...
I've application to capture video of image and grab the still image. It runs well untill I put loop to regrab the still images many times automatically.. and the error (generic error occured GDI+) happend. For your information, I also run different code of application that have similar function which to capture the image repeatedly that I found from internet. However, it give the same error message. I think maybe I've to setup something in the configuration but I still blur about it. I'm using C# Express edition. Could anybody help me please... Hi GavH, Thanks for help me alot. I run the code that you give. Yes, th error does not come out. However, the result (means the capturing still image) just appear at the last o ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DreamBuildPlay - Any advantage to submitting early?
For the DreamBuildPlay contest, is it better for me to take every last minute until the submission deadline to tweak my game or is there some advantage to submitting earlier If you're done already, you could just let your finished one sit there and start on another entry. You still have a week and you can submit more than one entry. Better chances to win, especially if you don't think there's much to add to your current one. @Lima Beans - it's probably because nobody wants to give anyone else ideas. a couple of ideas here and there could make or break your game. Although I'm sure that afterwards, you'll probably be seeing a torrent of blogs/tutorials/walkthroughs in how people created their games. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problem wih Beta 2
Hi, i was trying GSE beta 1. It was working ok. Now i have just installed Beta 2 and i got problem. When i try to do: m_spriteBatch = new SpriteBatch(GraphicsDevice); i get exception "The method call is invalid." also when i try to run code that we can find in XNA GSE Programming Guide : Use BasicEffect i get exception "Both a valid vertex shader and pixel shader (or valid effect) must be set on the device before draw operations may be performed." in line "graphics.GraphicsDevice.DrawPrimitives...." does any one know how to fix this problems thanks for any help! support his opinion. Hope to support fix-pipeline graphics. It should be ideas and content that are ...Show All
.NET Development System.Web.Mail Help Please...
Hello, I've tried searching and searching, but I've had no real luck. I'm working on sending an email via an external SMTP server (I'm trying to use Gmail.com, could this be a problem ) and then send to another email, which also happens to be a Gmail.com address. Now, before posting my code, I'd like to say, what I'm developing this for is basically a plugin for a program based on .NET 1.1, so I don't believe that System.Net.SmtpClient is an option, so therefore I'm stuck with System.Web.Mail. You may want to get a netmon capture to see what is really going on the wire. What I would do is to start with OUTLOOK express or somthing that works. get a capture. Then use CDO and then get another capture we can see what the differences ...Show All
SharePoint Products and Technologies Custom Site column Column using Feature in MOSS
if any one know how to create custom column using "Feature" feature of MOSS for the "Image" type the following is the code for creating custom site column for "Choice" Type column Feature.xml: < xml version="1.0" encoding="utf-8" > <Feature Id="CA7BD552-10B1-4563-85B9-5ED1D39C073B" Title="myField" Description="asdf" Version="2.0.0.0" Scope="Site" xmlns="http://schemas.microsoft.com/sharepoint/"> <ElementManifests> <ElementManifest Location="testing.xml"/> </ElementManifests> </Feature> and following is testing.xml < xml version="1.0" encoding="utf-8" & ...Show All
