DavidThi808's Q&A profile
Visual Studio Tools for Office Deploying research services problem
Hello! I'm trying to deploy a research service via registry keys according to. http://msdn.microsoft.com/library/default.asp url=/library/en-us/rssdk/html/rsAddingSetupRegistry_HV01082280.asp but it doesnt work Registry keys looks identically if i deploy the research service manually via the research options dialog and when I do that the research service gets deployed correctly. I have made a export from registry. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Research\Sources\{942F685E-0935-42C8-80C5-95DB0D129912}] "ProviderName"="WSRegTest" "QueryPath"=" http://localhost:80/WSRegTest/WSRegTest.asmx " "RegistrationPath"=&quo ...Show All
Visual Studio 2008 (Pre-release) BitmapDecoder Metadata via HTTP URI
I am trying to read MetaData (i.e. Camera used in a photo) from an image sitting on my website. I know the metadata is in the photo, and I know the web server is transferring it by watching a HexDump of the data after a direct request to the server. Also, when I transfer the photo to my local harddrive, I can read the MetaData with the following code: Uri uri = new Uri (" file://c:\\temp\\testimage.jpg " ); BitmapDecoder decoder = BitmapDecoder .Create(uri, BitmapCreateOptions .None, BitmapCacheOption .None); BitmapFrame frame = decoder.Frames[0]; BitmapMetadata m = frame.Metadata as BitmapMetadata ; However, whenever I change the uri to use an HTTP style and pull the image directly from my website without ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Algorithmic Challenge
what is the best way to "download" a matrix into the gpu (integer values 0-255) apply an affine transformation to it (rotate stretch etc) and read it back. i have no knowledge of graphic programming , but i want to move some of the number-crunching from the cpu to the gpu, and this simple task of rotating and stretching a BW image seems like an easy thing to accomplish on the gpu. by the way i would appriciate a solution in c# since it is easier for me to read but c++ is also acceptable. o.k thats it for now help me out and be rewarded with genuine heartfelt thanks.. peace out long live the revolution You might want to look into the www.gpgpu.org website - the use of GPU's for number crunching i ...Show All
Visual C# Server status service
Hello. I'm new to .Net programming and I have to write a service who questions a list of servers (ping) and alerts me if the server is down. How can I do this Thanks' very much. Hi, There are few different ways to get this done...check these You can create a windows service which will keep running and after a specific time interval (by using a timer of a thread) it will check the list ips and report. *************************************************************** 1. How to create windows service http://www.codeproject.com/dotnet/simplewindowsservice.asp // simple one http://www.aspfree.com/c/a/C-Sharp/Timer-Objects-in-Windows-Services-with-C-sharp-dot-NET/ // with timer object 2. how ...Show All
Visual Basic tables/image do not show
I have a strange problem. I have a VB.NET application which was devekoped in Visual Studio. In design view in Studio the tables all appear fine however when I build and view the website the sometimes do not appear. Now if they did not appear every time I would guess itw as something to do with my coding but they fact is they appear sometimes and other times they do not - even thoug I do not change any code. Has anyone come across this problem before or know how to fix it Thanks There is nothing wrong in the code. you can try to use no cache option in the page_load method Private Sub Page_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load ...Show All
Visual Basic Comparing a variable to a combo box in visual studio 2005
Hello, I filled out a combo with a datatable and now I want to compare a value of a variable to see if it matches with any item in my combo and then place the first item of the combo to be the one that match. I've tried selecteditem, selectedtext, datarowview, findstring. With the first two options the problem is that I haven't chosen anything yet. I know this might be simple but I'm really having problems with it. This is an example code of what i'm doing .Clear() cbo.DataSource = .OpenDataTable( "Select CODE + '-' + DESC as DESC1 from SP_TYPES where CODE <> 'RC'" , CommandType.Text) cbo.DisplayMember = "MEMBERDESC" cantidad = cbo.Items.Count 'For i = 0 To cantidad ...Show All
.NET Development SNMP GET and WMI
Hi.. Is it in any way possible to ask a select in WMI throug the sandard SNMP Provider or do i have to implement my own Agent for this I need a way to do a SNMP GET that access WMI, wich holds the information needed, I found a lot of documents on the opposite situation. /Regards David.. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Chuckie X - YouTube footage
Anyone remember Chuckie Egg... Here I am pushing the boundaries of XNA again: http://www.youtube.com/watch v=NiIWNYUFSpc Nice... so do you have the game to play anywhere and RedNeon... don't forget that Manic Miner wasn't the original. If you never saw it running this was the inspiration http://en.wikipedia.org/wiki/Miner_2049er 1982 on the atari 800. Manic Miner was 1983... I wonder what Matthew Smith is doing now - still living off his millions I hope. Wikipedia is pretty vague http://en.wikipedia.org/wiki/Matthew_Smith_%28games_programmer%29 (Yes I'm old....) ...Show All
Visual C++ Link Error 2019
Hi all, I am creating an exe that does some socket programming. I have #included winsock.h. But whenever I call a fuction from winsock, I get a linker error. The text of the error is below. Does anyone know how to fix this unresolved external symbol _recv@16 referenced in function "void __cdecl GetNewMsgs(unsigned int *)" ( GetNewMsgs@@YAXPAI@Z) Thanks You will have to add the directory that winsock.lib directly lies below. For example if winsock.lib is under C:\AdditonalStuff\AdditionalLibs\winsock.lib You have to add: ”C:\AdditionalStuff|additionalLibs” in your additional dependencies. Also take a look at this: http://msdn2.microsoft.com/en-US/library/ts7eyw4s.aspx ...Show All
Visual C# Interfaces oversold???
First, I must admit that I am a C# novice and so I probably don’t have as much knowledge and experience on the subject of interface as most of you guys reading this post. After reading a few books on C# and interface design, I still can’t see and understand the real power of interface unless of course, we are talking about interfaces as a powerful concept in OOP ‘only’ and not as a powerful concept in the general sense. When I was first learning OOP I was quite suspicious about the ‘excellent features’ that OOP claims to be able to deliver to the world and I was right. For example, in reality OOP offers very little if any, code reuse. I am now having the same suspicion about interfaces even though I see a lot nice words used to d ...Show All
Smart Device Development Deleted messages from Outbox
Hi, I am working with Pocket PC 2003 and I want to delete all the messages stored in the Outbox. I have to use IMAPIFolder::DeleteMessages function but I am not sure about the parameters of this function. How can I get the ENTRYLIST that the function requires [in] Reference to an ENTRYLIST structure that contains the number of messages to delete and an array of ENTRYID structures identifying the messages; cannot be NULL. Has anyone used it before Thanks in advance Hi there I wrote some code like this in an SDK sample we shipped with Windows Mobile 5.0, of course since you are working on Pocket PC 2003 you may not have seen this sample. The sample is called InboxMen ...Show All
Smart Device Development Deploy to device not keeping setting - VS2003/VB.NET
I am running VS 2003, Smart Device app/VB.NET project and deploying via Active Sync to a mobile device. I am clearing the checkbox "Show me this dialog each time I deploy the application" - I want to deploy to the Pocket PC Device everytime and do not need to see the option to deploy to the emulator. Pocket PC Device is set as the default. Is this a known bug, or is there a setting I can change to keep this dialog from appearing on each run of the debugger Thanks, Sorry, but this forum is for questions related to the DeviceEmulator that first shipped in VS2005. I recommend you post to the microsoft.public.pocketpc.developer forum instead. Barry ...Show All
Smart Device Development Imagebuttons
Hi I am searching for some Imagebuttons designed for Compact Framework 2.0. But I cant find any company which have developed such buttons. Any suggestions I also have tried to build my own Imagebuttons based on several articles in different forums. The problem with theese buttons is that I cant get the desired text to show upon the image. Everything else is working just fine. Anyone who knows something about this Hi Michael Thanks for your answer. Here are the links to the articles: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/imagebutton.asp http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=34221459-8db8-41ef-91c7-5514eade8fca Its the se ...Show All
Visual Studio Team System Create a Team Project Programatically
Can anybody help me with a code sample to create a Team Project programatically using TFS client APIs. You can create the team projects programmatically, but you need to duplicate all the work that Project Creation Wizard (and all the project creation plugins) does. Unfortunately, there is no publicly exposed API to do all of that. Since this is very laborious, there are two options for you: 1. Automate the Project Creation Wizard UI. Very cheap, but not very extensible. 2. Examine what the Project Creation Wizard does, and make wrappers for all the calls it does and invoke them your self. This is error prone, but will be much more resilient to failures than option 1. Your best option is UI automation.. ...Show All
Visual Studio 2008 (Pre-release) Client state after FaultException
Hi, I have the following situation: After the client gets a FaultException using a HTTP binding the clients state remains Opened. After the client gets a FaultException using a TCP binding the clients state changes to Faulted, and it is rendered useless! Why is the behavior different depending on the protocol of the binding Can I avoid this problem when I'm using TCP or do I have to recreate the client Sincerely Herbjorn you can cast the proxy to IClientChannel which inherit from ICommunicationObject and has a state property you can use to check its state. ...Show All
