stuntpope's Q&A profile
Visual Studio 2008 (Pre-release) Problems with Ink Analysis
Using the Windows SDK from Dec CTP I get the following when calling inkAnalyzer.BackgroundAnalyze(). Could not load file or assembly 'IALoader, Version=1.7.5333.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Is this a problem with my setup or is the assembly really missing Does anyone else have this I had the Mobile and Tablet PC SDK from PDC installed previously, and repaired my Windows SDK after removing it. I will do a full reinstall if others have this assembly. The IACore.dll and IAWinFX.dll both have the 1.7.5333.0 version. The application worked with the PDC version of the SDK. Hi lekem, when you installed the SDK ...Show All
Windows Forms Is it possible to capture events in a modal form
Hi, Does anyone know first whether or not it is possible to capture events from a form shown modally using .ShowDialog() If it is possible how can I do it Thanks, Nathan ShowDialog() runs in it's own messaging loop and I can't get certain events to fire because of that. If I put a KeyUp event on one of the controls on the form it will fire, but if I try to put a KeyDown or KeyUp event on the form itself the event will not fire. I even tried to start a timer with a 5 second interval to see if it's Elapsed event would fire and that wouldn't fire either. When I put an event handler on the password field, for keyup and keydown, they both fire fine. Do you have an example of how you get any o ...Show All
Internet Explorer Development IE7 RC1 compatibility issue with eFax Messenger
To whom it may concern, There is a a compatibility problem between eFax Messenger and IE7 RC1. The eFax programs start page "StartPage.mht" will not display any images when using IE7. All works fine with IE6. Unfortunatley, anyone using eFax will be stuck with IE6 if they want the program to properly display the start page images. I am personally bound to eFax at the moment because it's tied my business and I just sent out all new promo documents with the number listed. Hopefully, the IE7 team can come up with a patch for the eFax Messenger compatibility issue. Thanks, if anyone's listening. ...Show All
SharePoint Products and Technologies Create Task Activity has correlation token conflict when in While Loop
Hi everyone, First time posting here. I'm having a problem with developing a MOSS Workflow. The scenario is this: Within my workflow, I have a while loop construct. Within this while loop, there is a series of CreateTask->Wait for Task to be Changed -> CloseTask. It works fine until it loops back around to try to create another task with the same correlation token. In fact, that's the error I get. How do I get around this issue by disassociating the token or something like that. Thanks in advance for any help. rnellis2002 What you can do is use a replicator that contains a sequence activity, within that sequence you can then use CreateTask, onTaskChanged, and CompleteTask. Your ...Show All
SQL Server SQL Express does not allow remote connection within VB.Net Express
I am new to VB.Net coming from a VB6 background using the VB.Net Express and have even loaded the SQL Express. The learning curve is not to bad until you get to dealing with connecting to db's. However, in trying to fill a grid with data, manipulate it and then update it has not been any fun either. There does not seem to be enough information out there dealing with these two as of right now. Anyway, trying to add a datasource connection for a grid has resulted in a real problem even using the connection wizard. I keep getting the same error that the default settings for SQL express does not allow remote connections. However, I thought that I have corrected that. Unfortunately, with VB express I cannot even seem to talk to my SQL 2000 ser ...Show All
Visual Basic Validating Textbox
Hello. A question please. In a version of VB that I don't remember exactly, a textbox had a property called "numeric" which avoids characters. In VB2005 is there something like this Thanks... Thanks. I'd want to use the second option you give me, but It doesn't work. With the ToString method VB doesn't interpret the decimal party. ...Show All
Visual Studio Express Editions Test for folder : Drag drop
I'd like to trigger some code if a user dragdrops a folder from explorer. How can I test if a folder is dropped In other words, how can I distinguish whether an entire folder is dropped or just 1 or more files If its a folder then trigger some code... if its just a file or more then copy just those files... Private Sub Form1_DragDrop( ByVal sender As System.Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles MyBase .DragDrop ' Can only drop files, so check If Not e.Data.GetDataPresent(DataFormats.FileDrop) Then Return End If Dim files() As String = CType (e.Data.GetData(DataFormats.FileDrop), String ()) For Each file As String In files 'IS ...Show All
Smart Device Development CameraCapture Sample under Smartphone SDK
Has anyone managed to successfully get the CameraCapture PPC sample to run under the SmartPhone SDK It looks like since the example is all C++ code for the UI without using a Resource File which seems to be the preferred way of doing it according to WM tutorials and samples that it will only respond to a screen tap, which is possible under on PPC but not SmartPhone. I also noticed that there does not seem to be any soft-key menu on the sample too. I'm thinking maybe the way to get it to work would be to just create a soft-key menu bar with entries that correspond to the button calls, but I'm new to native code development for smart devices and any help would be greatly appreciated. Just tired that and ...Show All
Windows Forms how to get bindingcontext/position from related child tabel
how to get bindingcontext/position from related child tabel bindincontext(criteriaDs.DefCriterias.ChildRelations(1).ChildTable) but it does not work remco getchildrows give back a array of datarows, which is usefull but not in this context(no pun intended) What i want is to track what the position is in the childtable when for example bound to a control Remco ...Show All
Smart Device Development how to sort files by name ?
hello .. when i list files in listview i can't sort it by name .. so what is the solution for that this is the code with my best regards ,, lstItems.Items.Clear() Dim L() As String L = System.IO.Directory.GetDirectories(txtPath.Text) For I As Integer = 0 To L.Length - 1 Dim Item As New ListViewItem Item.Text = GetName(L(I)) Item.ImageIndex = 1 lstItems.Items.Add(Item) Next Hi, try something like (unchecked) Dim L() As String arrFiles = New ArrayList L = System.IO.Directory.GetDirectories(txtPath.Text) For I As Integer = 0 To L.Length - 1 arrFiles.add( GetName(L(I))) Next arrFiles.sort() Dim iTem as new ListviewItem Dim enumFiles As System.Collections.IEnumerator = ar ...Show All
Visual Basic KeyDown event problem
I am currently using the KeyDown event to make a picturebox named "bar" move left and right with the arrow keys but my problem is that when I press left or right the bar moves once, then is followed by about half a second of not moving, then continues to move. How can I modify my code to get rid of the delay Private Sub Form1_KeyPress( ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles MyBase .KeyDown If e.KeyCode() = Keys.Left And pad.Left > 0 Then pad.Left = pad.Left - 10 End If If e.KeyCode = Keys.Right And pad.Left + pad.Width + 16 <= Me .Width Then pad.Left = pad.Left + 10 End If End Sub ...Show All
Windows Live Developer Forums MSN Activity and external content
Hi, I seem to remember reading somewhere that content in the activity window can only originate from the domain where the activity comes from (probably for security reasons). However I can't find any info about that in this forum. Also in a demo i have running in which a have defined an activity in the msgrp2p.xml i can display all kinds of info from many different domains. Am i mistaken in the assumption that content can only originate from the original domain or am i missing something thanx for any help. Hi James, Thanks for the answer. Do you have any pointers to more diffs between the msgrp2p.xml and provisioned apps thanks! ...Show All
Smart Device Development Create Installer with VS 2005?
Hi, I want to create Installer for my project which is developed in VS 2005. But I dint find relevant information to build Installer with VS 2005. I already tried with this link http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/netcfdeployment.asp which is based on VS 2003 (but i have tried with VS 2005). Actually I am confused while creating .bat file. I have used Batch Build option from Build menu. but no .bat file is creted. Can any one guide me how to proceed to create Installer. Thanks in Advance Thank you Ilya Tumanov. Its really very good link. I could prepare .msi but some errors have come. one thing I could not understand in this. I added D ...Show All
Visual Studio Express Editions Guessing somthing has changed. Array Issue
here is my code, a simple declaration of a array in VC++ exp. I'm watching the 3dbuzz video tutorials on C++ to try and pick it up, yet though their version of Visual C++ allows it, mine gives me this error: error C2440: 'initializing' : cannot convert from 'int' to 'int [3]' Code: #include <iostream> void main() { int myarray[3] = (0); } I just want to create an array and assign all values of said array to 0. What am I doing wrong here Thank you for your time. Probably you confused {} with (). The following works: #include <iostream> void main() { int myarray[3] = {0}; } ...Show All
Software Development for Windows Vista Using a Parallel activity in a custom Composite activity (Beta 2)
This may have been covered elsewhere, but I've been unable to locate a reference to the behavior I'm seeing. Using WWF Beta 2, I have created a custom composite activity. Inside the composite activity, I have placed a parallel activity with one code activity in each branch (the code activities are trivial - they each write a line to the console). In the overridden Execute method of the composite activity, I do the following: 1. Check for enabled activities. 2. If enabled activities are found (there is exactly one activity - the parallel activity - available at this point): A) Create a new AEC by calling: activityContext.ExecutionContextManager.CreateExecutionContext([child activity]) -- (I haven't seen any concrete exampl ...Show All
