Jamie Clayton's Q&A profile
Smart Device Development Bluethooth chat
Bluetooth Chat Project 2 mobile deices chat with help of bluetooth . Please help me. Its urgent. Thanks I don't have such code, and I'm not the kind of person who would just give it to you if I did. I'd be happy to help you learn what you need to do however. Are you working with a Microsoft bluetooth stack or Widcomm on the devices in question Using bluetooth is really just a matter of socket programming. ...Show All
Audio and Video Development WMFDist.exe for Vista
We use WMFDist.exe in our software but the current version doesn't work for Vista, as running WMFDist.exe fails in Vista. Is there a version of it that can be installed in Vista that we can obtain Thanks, Houng The best place for this question is the Windows Media SDK newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.sdk&lang=en&cr=US I would imagine, though, that you do not need wmfdist on Vista, since Vista already has the latest WM SDK binaries in-box. Becky ...Show All
SharePoint Products and Technologies Getting the UDF Directory Pathname
In my Excel Services UDF, is there a way to determine what the pathname of the directory the UDF dll was loaded from Did the answer above work out for you If not please let us know so we can try and continue helping, otherwise, please mark it as the answer for the thread so we can get it off the radar. Thanks!! ...Show All
SQL Server Rowversion as a history mechanism
Hello, I have a requirement to maintain a 'history' table beside a products table. Any time a row is changed (added/removed/updated) in product table I need to add a new record to the history table. I would be using a rowversion column in the products table. And would want that rowversion to be preserved in the data on the history table ... So I'm thinking I'd use a trigger etc..thats no a problem, I can manage that... What I'm wondering about is what datatype the column to hold the rowversion in the history table should be I'm thinkin that it shouldn't be a rowversion because I don't want it to change value in any automatic way... or even get mod'ed by the action of actually inserting the record into the history table.... So, may ...Show All
SQL Server SQL Server over a WAN
I have a simple(ish) C# application. We have a Windows server here at our main site running SQL Server 2000 with our DB on it. When we run the application here it is fine. We have some remote sites though that connect to our network over a WAN, and when they run the application....................it is painfully slow. I have read little bits here and there about SQL and WAN being a no no. Can anyone expand on this Is it also true that SQL Server shouldnt be hosted on a virtual server because we have that going on too! Thanks for any advice you can give me on getting this thing running anything like acceptable. Steve One thing that I have learned is that sql server can use as much ram a ...Show All
Software Development for Windows Vista Owner ID in SqlPersistence
So I'm using the out of the box SqlPersistence and the RC version uses an Owner ID in the db. how does the Owner ID get generated and is there any way to assign an owner ID to a runtime Thanks, Matt Matt - when you specify OwnershipTimeoutSeconds in the configuration file for the SqlWorkflowPersistenceService - the service generates a new unique ownerID (Guid.NewGuid). (There is a bug in beta 2.2 which causes it to not be created if you use the constructor that takes a TimeSpan as the owner timeout). So in answer to your question - no - you cannot specify an owner Id - a new unique id will be generated everytime the WorkflowRuntime is started for the first time in your host. ...Show All
Audio and Video Development iHD Specification
Is there somewhere I can find detailed information on each method, parameter, object, etc for iHD Thanks Peter, thats what I figured. By any chance are you going to be going to the HD DVD Professionals Workshop in LA next Tuesday ...Show All
Visual Studio Express Editions serial port - sending 8 bit problem
Hi, I have a problem with sending 8 bits through the serial port. I tried to sent chr(129) and I received in the other computer chr(63). when I sent chr(0) till chr(127) it work fine. from chr(128) till chr(255) some of them are fine and some of them I'm getting chr(63) I saw that if I sent 6 or 7 bits it's getting fine and the problem occur in the 8 bit sending. this is how I open the serial port:: --------------------------------------------- sp.PortName = "COM1" sp.ReadTimeout = 500 sp.DtrEnable = True sp.RtsEnable = True sp.BaudRate = 19200 sp.DataBits = 8 sp.StopBits = StopBits.One sp.Parity = Parity.None sp.Open() -------------------------------------------------------- ...Show All
Visual C# Retrieving Column names from database
I am writing an application in C# that uses tables to store some of its data. I am trying to retrieve the column names from the database so they can be outputted to the user. Thus the user can change what is outputted to the screen just by editing the table and not changing any code. How do I use a stored procedure to access the database and retrieve specific column names An example table would look like this: Name Color Size -------------------------------------- S1 red large S2 yellow small S3 blue medium How can I retrieve the header "color", using SQL stored Procedures, to be used in my c# program Thanks, Ashley If color is the actual name of the ...Show All
Smart Device Development Dynamic Graphics in Windows forms
Hi, I'm developing a windows application for Tablet PC. I have a tab control on a page and many tab pages in it. When user fills data and saves, all the tabs that fails the validation should be marked (the tab page header background should be changed which will easily visible to the user) I tried using CreateGraphics and using FillRectangle to fill the boundary of the tab page exposed by Bounds property but it's not working because I found that Graphics can only be used in OnPaint event. The question is: Is there a way Graphics can be handled dnamically without being written in Paint related events Thanks, Shyam This forum is smart device development related. Since you ...Show All
SQL Server Parameter passing of chr value
in my url i have set a parameter called EndCarrier = %FE. I want to be able to check for this value in my report parameter. I have tried Chr, Hex conversions but haven't found the right way to do it yet. Any suggestions as to how I would check the EndCarrier parameter in my report. The Parameter in the report is defined as a string. ...Show All
Visual Basic Listbox - SelectedIndexChanged Question
hello. A question please. When I fill the datasource property of my listbox, that executes the code of the selectedindexchanged event automatically. is there a way to avoid that in the begining (I mean when I load the datasource property of the list). Thanks... Or simply using a variable on the form which you can set and in the SelectedIndexChanged event the first thing you do is look at the variable and if its set to a certain value exit the sub otherwise do you processing - so the event is still firing but you are just choosing to do nothing until you want to process it. This is often done like this for stuff processed in the initial establishing of data on the form. So during the form load event ...Show All
Visual C++ Problems with delay-loading DLLs
Hi. I have a DLL module.dll and I want my application to use delay-loading. The idea is that the module may be missing and the app should detect that and continue with limited functionality. I'm using the example from here: http://msdn2.microsoft.com/en-US/library/8yfshtha.aspx However I'm seeing 2 problems: 1) The __HrLoadAllImportsForDll function uses memcmp instead of stricmp to compare the argument with the list of delay-loadable modules. It turns out the string in the table is "module.DLL". So how do I know in advance what is the correct case Is it guaranteed to be that, or can it sometimes be "Module.dll", "MODULE.DLL", or something else Where does the case come from 2) Contrary to the exa ...Show All
Software Development for Windows Vista Writing to HKLM
I'm using the RTM release of Windows Vista and testing my application to see if it will run on Vista as a standard user. I'm seeing some strange behaviour and I'm wondering if anyone can help me figure this out. My application writes some data to HKLM\Software. I was expecting to see this write getting redirected to the VirtualStore when running as a Standard user. However, that does not seem to be happening. My app is able to write to HKLM\Software. My app is not running with elevated privileges and Virtualization is ON. I even tested my app with the Standard User Analyzer tool thinking it would possibly show me some errors when writing to registry but nothing showed up there either. Strangely enough, I see the same behavior when running ...Show All
Visual Studio Team System Return value of Workspace.Merge()
I'm building an app using TFVC client API to do the following: 1. merge changes in a given changeset from branch-demo to branch-1.0 2. check in the pending merges in branch-1.0 here is the snippet of code: VersionSpec ver = new ChangesetVersionSpec (cs.ChangesetId); GetStatus gs = wsp.Merge(demoPath, targetPath, ver, ver, LockLevel .None, RecursionType .Full, MergeOptions .ForceMerge); Now the problem is how to find out the pending changes resulting from the Merge method call I thought it would be convenient to include a PendingChange[] as part of the returned GetStatus, no Now i guess a rather cumbersome alternative is to do something like this: String [] items = new String [cs.Cha ...Show All
