tsg's Q&A profile
Smart Device Development AnimationControl issues
Hi All, In my application (C# CFNET 1.0), I do utilize one animation control. It has been running fine until I introduced a separate thread to perform background processing (BinaryReader) The problem is, the animation stop moving when the background thread is start running. The control is still active though. Because, if I try to call other form, the animation will change a little bit. I heard that animation control refer to IEnumerator and IEnumerator is not thread-friendly. Is that true Can I know on how to work around this issue Also, in Compact Framework 1.0, can I know what are the tools we can use to debug all these thin ...Show All
Smart Device Development Windows Mobile 5.0 compile error (RTTI)
Hi All, While compiling application for Windows Mobile 5.0 linker error: LINK : fatal error LNK1181: cannot open input file 'Ccrtrtti.lib' I tried searching and what i observed is Ccrtrtti.lib file is available with only D:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Lib\armv4 The same is missing for armv4i Windows Mobile 5.0. Where can i find the same Can i use the one available with PocketPC 2003 Any workaround Thanks for any insights -Seemit For Windows Mobile 5.0, you don't need to link with this lib. You likely added support for W ...Show All
Visual C++ A simple CPP source file change caused entire solution to relink
My group is new to VS05 and previously used VS 6.0. Several people in our group have had an ongoing battle with the compiler. It seems that when you make a simple change to a CPP source file that it will cause the entire solution to have to relink. We do have dependencies set between several projects within the solution, but if I am not changing a common header file or a method signature then I would not expect all of the project to need to be relinked. This was not an issue in VS 6.0. Does anyone have a suggestion on what would cuase this Do you have Enable Incremental Linking set to Yes It's under Proje ...Show All
Visual Studio Express Editions Random Numbers again!!!
Hi there, i think i have gotten into a bit of a fix... here is the problem: i have used the random obj to generate random numbers between 1 to 90. some times when the application runs, it picks a number twice. for example an output would be 2,8,34,2,67.... is it possible to make sure all numbers picked are only selected once that is if i request for 10 ranadom numbers, each 10 digits would be unique... this is driving me nutts!! thanks 4 ur help Slow. He wants the numbers 1-26 in a random order. The Original Poster wanted 10 numbers from a pool without repeats. anyhow: "W ...Show All
Visual Studio Express Editions My project exe was not created
I just downloaded VC#Express and tried to compile a simple windows app. The tutorial says my exe file should be in either: My Documents\Visual Studio 2005\Projects\<Project Name>\<Project Name>\bin\Debug -or- My Documents\ Visual Studio 2005\Projects\<Project Name>\<Project Name>\bin\Retail After compiling, I checked both of these folders for the project which I named TheFirstProject and didn't find it. In fact my Projects folder is empty. I did a desktop search for the it and found a folder with its name here: My Documents\Visual Studio 2005\Backup Files\TheFirstProject However this folder is a ...Show All
Windows Forms Tab Key 2.0?
Ok you could get away with doing this in 1.1 but now in 2.0 its a no go Any help would be great Thanks Joe 'Size Group 5 Leave with Tab Click *** Private Sub cboBU_SizeGroup5_Leave( ByVal sender As Object , ByVal e As System.EventArgs) Handles cboBU_SizeGroup5.Leave Dim k As Keys If k.Tab Then If cboBU_SizeGroup5.SelectedValue > 0 Then cboBU_SizeGroup5.SelectedValue = cboBU_SizeGroup4.SelectedValue End If End If End Sub That's pretty much the way you have to handle it. The only missing item here, I think, is no consideration for Shift+Tab. You co ...Show All
.NET Development How to get "Everyone" account name string culture indenpendantly
Hello, I'm trying to give permissions to a message queue with this code line: logQueue.SetPermissions( "Everyone" , MessageQueueAccessRights .FullControl); This works fine on a english Windows XP, but the problem is that when I try to run this code on a portuguese Windows XP it fails because the "Everyone" account does not exist, it is called "Todos". How do I get the "Everyone" account name string culture indenpendantly I'm going to install my app in a turkish Windows XP, and I have no idea what is the name of the account. The problem is that the string &quo ...Show All
SQL Server Bug in NS 2005?
We have rolled out a solution on SQL 2005 and NS for 2005. As we have been looking into reporting notifications from our system I came across that a column that is created out of the box does not make sense. In the generated table NS<NotificationClassName>Notifications there is a column called SubscriptionID, it is set as nvarchar(255), but in the NS<SubscriptionClassName>Subscriptions the SubscriptionID is BIGINT. Why would then be different when the refer to the same thing What we have done for our solution is not read from the NS table directly, since we do have vacuuming enabled, but we trigger all notifications to another t ...Show All
Visual FoxPro Biometrics on VFP
Hi, I have this biometrics device which am planning to integrate in Visula Foxpro... what will i do to capture the finger print using the VFP application, is there any Add-on component for the VFP to enable it from doing so Any advice is greatly appreciated! Thank you! Regards, -Dodo Roa- Hello. There is no standard for this that I know of. The company that delivers the biometric device is likely to have a SDK (DLL-API for accessing functionality on the device). You will need to aquire this to get the finger-print. Samples should be included. Hope this ...Show All
Windows Forms BUG: Application.EnableVisualStyles() breaks ToolBar control
Create a windows forms application, add an image list and load some random images. Now add a toolbar, set the imagelist to the image list previously added and then add a couple of buttons. Set the pictures for the buttons to any of the loaded images. Run the application. You should see a Windows2K style form with a toolbar and iconsied buttons. Now add ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Performance problem with Texture.FromBitmap
I reduced program boot time (when running from within the IDE) from 12 seconds to less than 1 second by re-writing Texture.FromBitmap using unsafe code. For me it was easy because I'm only using 32 bit textures and 32 bit bitmaps. It would be nice to see this function optimized in future releases of the SDK. BTW, Texture.FromStream has the same problem. -Jeremy FYI: I use the above code for Texture.FromBitmap and (and a similar solution for Texture.FromStream), which works as long as your bitmaps are 32BppArgb. -Jeremy ...Show All
Windows Forms heigth of comboboxes controls when designing a form
I am desigining a form and all textboxes have an heigth of 21 px (because I set it manually) When creating comboboxes, although, I write 21 and the system converts it to 24.... why thanks Comboboxes have a set height based on their font, because they are designed to only show one item (i.e. one line of text) at a time. To change the size of the drop-down box, set the MaxDropDownItems property to the number of items to show. Again, the height will be calculated to show exactly this number of items using the control's font. ...Show All
Visual Studio Using VSS on a different port
I'm trying to run VSS on a different port then port 80 since my cable modem blocks port 80 some how for web site hosting. I have my server pointed to 8080 and can get to my local web sites. In VSS when I'm trying to contact my server at url:8080 and the unc path to the folder I get this error: An Error Occured in the Secure Channel Support 0X80072F7D Is what I'm doing possible If not, could I request that for a future enhancement to SourceSafe. Using a different port should be possible. You have to specify the "servername:port" in the edit box in SSAdmin, server/configure/internet page. The same port ...Show All
.NET Development How to send a string from one program to another?
Is there a way to send a (small) string from one program to another assuming that both programs are on the same PC I have tried using a tcp client and server connection between the two programs. This works, but I was wondering if there was a more efficient way to do this. Thanks for any ideas, MisterT Hi, A simple and fast workaround on this, assuming that its on the same PC and its a string, is by using the clipboard. You could place a string data in a clipboard and letting the other program get the value on the clipboard. You must do this very fast, coz you'll never know whe ...Show All
Software Development for Windows Vista Can you get the current state of a State Based Workflow when the workflow is not in transition? (i.e., when it's idle)
Can you get the current state of a State Based Workflow when the workflow is not in transition (i.e., when it's idle) In Beta 1, with some of the sample code, you could only query the state of the workflow when it was in transition. With Beta 2, can you query this information when the Workflow is idle Hey Mina, grab the workflow instance ID grab a reference to the WF runtime. use something like StateMachineWorkflowInstance wfInst = new StateMachineWorkflowInstance(wfRuntime, wfID); From here you can enumerate the States, and get current State etc. The only thing to watch is - as your ...Show All
