lennit's Q&A profile
Smart Device Development DeviceEmulator ARMV4I - NAND flash emulation ?
On Mike Hall's WEblog (03/15/06), Barry Bond stated that DeviceEmulator supported NAND flash emulation. This is the only reference to NAND flash emulation that I have found. Can anyone point me to further doc's, tech articals, sample code, etc about this The Device Emulator emulates an Samsung SMDK2410 development board. The Device Emulator BSP for Windows Windows CE 5.0 or the Shared Source Microsoft Device Emulator 1.0 Release provide some more information. The Windows Embedded CE 6.0 documentation may help as well. Michael ...Show All
Commerce Server Constant BizDesk restarts
In the past few days the BizDesk has started behaving erratically. every few minutes, or when you try to save a change, it will restart and send you back to the welcome page. The only recent change to the IIS has been to seperate certain sites using the IIS Application Pool. I don't know if this would cause this sort of behavior though. Clutching at straws here I know. Maybe someone has had similar issues and can point me in a direction I haven't thought of. Cheers ...Show All
Software Development for Windows Vista Sample Grabber misses samples
Hi All, I'm struggling to work out why the sample grabber sometimes misses samples. I have a filter graph which consists of a DV camera as source, dv splitter, dv decoder and a sample grabber on the video chain through to a video renderer, and the audio chain terminates in a null renderer. I'm using the sample grabber's buffercb method, which includes a double SampleTime parameter. I write a simple callback which basically divides this double value by 0.040 (my video is 25Hz, 40ms/frame) to get a frame number. I'm then just storing this frame number in an array. I'm not doing anything else in the callback, so it's very lean and mean After ~50 minutes of video, I dump the array contents out so i can analyse what frames i receive ...Show All
Visual Basic Generate a compiler error?
Hi all, I've created a custom component which can be dropped from the toolbox to any form. It interacts with any form that has a treelist on it. After you drop it on to the form, you must set a property of the component which is treelist it applies to. At the moment if you forget to set the property, the app builds, but as soon as you attempt to use the component, you get a nullreferenceexception. What I'd like to know is whether it's possible to force a compiler/build error if that property has not been set at compile time i.e., if one of our other developers uses the component on his form but forgets to set the property in design mode, then I'd like it to not build and show an error message in the error list. This ...Show All
Windows Forms How can i create a xml file from typed dataset - Need Help
HI, Give me some idea to create a xml file from typed dataset. Let me explain my problem.. I have the xmlschema with multiple parent and two child ). see ex: below < xml version="1.0" encoding="utf-8" > <xs:schema id="XSDSchema2" targetNamespace=" http://tempuri.org/XSDSchema2.xsd " elementFormDefault="qualified" xmlns=" http://tempuri.org/XSDSchema2.xsd " xmlns:mstns=" http://tempuri.org/XSDSchema2.xsd " xmlns:xs=" http://www.w3.org/2001/XMLSchema "> <xs:element name="Information"> <xs:complexType> <xs:sequence> <xs:element name="Name" type="xs:string" /> < ...Show All
SQL Server Event Handler Refresh
I am current using Event Handlers in an SSIS package, but when adding a new EventHandler type eg. OnPreExecute, to an executable within the package, I am unable to see this new EventHandler defined in the hierarchical listing on the left hand combo box (named Executables). Can't seem to find a Refresh option anywhere. I've only been able to see these newly created EventHandlers in the hierarchical listing by closing and re-opening the package. Is this a 'feature' or am I missing a Refresh option somewhere. Thanks. Hi P R W, I'm not positive, but I think I saw this before I applied SQL Server 2005 SP1 . Have you applied SP1 Hope this helps, Andy ...Show All
Visual J# java.awt.geom.AffineTransform - - System.Drawing.Drawing2D.Matrix
Hi; Is there an easy way to convert to/from an AffineTransform from/to a Matrix thanks - dave Hi David, There is no straight way to convert to/from an AffineTransform from/to a Matrix.But you can use JLCA-Java Language Conversion Assistant to convert the Affine Transform java code to Matrix C# code. I tried a sample. check.java import java.awt.geom.AffineTransform; import java.awt.Shape; import java.awt.geom.Point2D; import java.lang.Object; import java.lang.String; public class AffinetoMatrix{ //getRotateInstance(double, double, double) void metodo18(double x1, double x2, double x3){ try{ AffineTransform V1 = AffineTransform.getRotateInstance(x1, x2, x3); }catch(Exception e){ } } } converted check.cs us ...Show All
Commerce Server How to create Breadcrumb for the commerce server 2007
Hi i developed an site with commerce server 2007. Now i want to give a easy navigation for the user. but i dont know how to create the breadcrumb for our site. i searched some of the thing in the net. its all was using the sitemap datasource. but in case ours its all are dynamically.. i dont know hot create the bread crumb with out the sitemap datasouce.. so any one help me to come out this ... Hello, Have you looked into the Starter Site that implemented breadcrumbs The starter site can be downloaded here: http://www.microsoft.com/downloads/details.aspx FamilyID=c1a8cc18-dc9e-4c50-b598-86e640a79910&displaylang=en Thanks. Ning ...Show All
Smart Device Development MessageBox loses focus on Smartphone and reboot is needed
Hi everybody, I use ATL and Visual Studio 2005. I create an EDIT BOX like this: I answered this here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=734430&SiteID=1 ...Show All
Windows Live Developer Forums API Phone() method
Hi there, I am writing a program in C++ which uses the Messenger API. I would like to use the Phone() method in order to make a call to a user-specified string of numbers. A simplified version of what I'm trying to do is shown below: CODE IMessenger *pIMessenger = NULL; IMessengerContacts *pIMessengerContacts = NULL; IMessenger *pIMessenger = NULL; IMessengerWindow *pIMessengerWindow = NULL; VARIANT vSIName = NULL; // ... SNIP: some initialisation to get IMessenger object ... // // get contacts list pIMessenger->get_MyContacts((IDispatch**)&pIMessengerContacts); // get first contact pIMessengerContacts->Item(0,(IDispatch**)&pIMessengerContact); // get contact's email pIMessengerContact->get_Property(MCONTACTPROP_EMAIL,&a ...Show All
SQL Server past and future date
How should I find the dates for 3 days past and 5 days future. Such as TodayDate-3 and TodayDate+5 base in the date only, discarding the time Hi Jim, You would have to use DATEADD function in your SQL sentence. SELECT current, DATEADD( day, -3, current ) AS past, DATEADD( day, 5, current ) AS future FROM t_table; If you want use to today. You would replace 'current' column by GETDATE() function. Good Coding! Javier Luna http://guydotnetxmlwebservices.blogspot.com/ ...Show All
Visual Studio Team System Search files
How do I search for specific files in a given Team Project I know we can do this from Windows Explorer after a workspace mapping has been created, but I want to know if this can be done from Source Control explorer itself. Thanks! Another option is to install the TFS PowerToys (soon to be PowerTools) and use the filter feature in Tree Diff to search for a particular file pattern. For instance set your source and target to $/<Team Project>, set your filter to <filename>.cs and check both the show file that are the same and filter that are different checkboxes. --Ben Ryan ...Show All
.NET Development Reading the first half of a split record with C#
Hi, I have a record that has a fixed length of 253 characters. The record is split into multiple sub- records each of a different length. The first sub-record has a minimum length of 125 and I need to process only this. Doing something like this : if(record. length > 124){ //process record } will work for records that have a minimum first sub-record length of 129 as subsequent sub-records will be <= 124 (253-129 = 124) and will be skipped. But in a case, where the the record is split into 126 and 127, the above code will not work as it will read both the sub-records ( and I need only the one that is 126). Can somebody tell me how I can solve this problem and read only the first sub-record . Thanks much!! ...Show All
Visual Studio Express Editions SQL Query Not Re-Running And Updating It's Data
Hello, I have a login form where you enter the username and password then the form runs a query which is as follows: User = UsernameTextBox.Text Pass = PasswordTextBox.Text Dim Booking As New System.Data.SqlClient.SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Documents and Settings\Alex\My Documents\Visual Studio 2005\Projects\Ground Zero Booking System (TEST)\Ground Zero Booking System (TEST)\Booking.mdf;Integrated Security=True;User Instance=True") Dim cmd As New System.Data.SqlClient.SqlCommand Dim rowsAffected As Integer Booking.Open() cmd.CommandText = "SELECT Count(*) FROM AdminAccess WHERE [Username] = '" & User & "' AND [Password] = '" _ & Pass ...Show All
Windows Forms Microsoft office Word!!
some time i write when i am using office word capital letter only while i want it with a small one.. i remember that i changed this by pressing some keys but unfortunatly i dont remeber what it was ... anyone know these keys Regards & Thanks Hi, These forums are meant for posting threads related to programming issues in Winforms.net. Thank you, Bhanu. ...Show All
