cluelis's Q&A profile
Visual C++ is there need a lock?
I use CTypedPtrList in VC6.0 to reveive and explain frame,but ,receiving frame is in a thread and explaining frame is in another thread,this means,AddTail() and RemoveHead() are not in same thread.Is there need a lock In fact,My progame asserts when calling RemoveHead().Thanks you! Certainly there needs to be a locking mechanism. Your queue is a resource shared by multiple threads, so you need to gu ...Show All
SQL Server Secure .NET 1.1 application from users
Hi all. I am developing an distributed VB.NET 1.1 application with a TripleDES capable socket layer for communication with my server app. I need to secure the distributed app from the users within the organization I am developing it for (a franchise). I do not wish to store any encryption keys in the source code as these would be obvious to any seasoned hacker through decompilation of my binaries (even with obfuscation). I have decided ...Show All
Visual Basic Indexing a String
In VBA is there a way as there is in C++ to retrieve a character from a string by passing it the location. In C++ this would be as follows: sTemp = "Test" sTemp1 = sTemp[2] In this example sTemp1 would contain "s". Is there a way to do this in VBA without using the Mid() or Mid$() ... functions Thanks. .net allows you to do this: DIm MyString as string = "test" mystring = mystring . Chars ( ...Show All
.NET Development Using nonexistant tablename doen't raise error
Using Different code than before Public Sub MySub() Dim DS As New DataSet Dim Table As New DataTable("MyTable") DS.Tables.Add(Table) DS.AcceptChanges() Dim myTable As DataTable myTable = DS.T ...Show All
Software Development for Windows Vista Multiple Webcams with DirectShowNet
Hi all I need to know if it's possible to capture 2 streams from 2 USB webcams with DirectShowNet at the same time What if the webcams are of the same type Thanks! Rudi Have you read the FAQ: http://directshownet.sourceforge.net/faq.html ...Show All
Software Development for Windows Vista release-candidate?
Are there a date for release-candidate and release version Does the release version to be slow like Windows Vista We have plans for at least one more release before the RTM of Windows Workflow Foundation. Dates for have not been annouced yet. Windows Workflow Foundation ships as part of the WinFX API's in Windows Vista. The business availability of Windows Vista was recently announced in this release as N ...Show All
Visual Studio Setup VS 2005 RC from DVD stops and asks for Visual Studio 2005 DVD
I created a DVD from the Visual Studio 2005 RC image file downloaded from MSDN subscriber downloads. The DVD is labelled "Visual Studio 2005". The DVD is 3.67 GB and contains the folders msdn, visio, vs and vss. When I try to install the product from this DVD on my PC it starts the installation of some components. After "Microsoft Visual Studio 2005" appears on the Installing components dialog a prompt box appears asking me to insert t ...Show All
Windows Forms Dynamicly add controls to a form from a thread
I have a thread that runs in a loop and needs to cause some user controls to display in a winform periodically. The user controls are created inside the thread and passed to the winform to be added to the Controls collection and shown. Well that was the plan. Its not working at all and Im sure it has to do with the thread. I thought that setting Form. CheckForIllegalCrossThreadCalls = true would help, but it does not. I've tried checking for ...Show All
SQL Server Null key field in Oracle EBusiness Suite
I am trying to process a table that is part of Oracle eBusiness Suite using the Microsoft driver for Oracle. The table has four "key" fields (key fields do not strictly exist in eBusiness Suite, but when I add the Data Source tables, this particular table is interpreted as having four key fields. One of the key fields can have a null value. Whet I fill the table, only those rows where all of the key fields have values are read ...Show All
.NET Development Question on Asp:Repeater
Hi, I have an product catalog page for online shopping. This is the sample of the DataSet ID Name ThumbnailImage BigImage 1 Product A productA.jpg productA_big.jpg 2 &n ...Show All
.NET Development AddAccessRule doesn't work properly ??
Hi, I want to add wirte access right for a certain user to a folder. The following code is my approach in doing this. However, a NETWORK SERVICE user is added with no right(either allow or deny). Do you have an idea I myself execute this code as Administrator. folderBrowserDialog1 = new FolderBrowserDialog (); folderBrowserDialog1.ShowNewFolderButton = false ; DialogResult result = folderBrowserDialog1.ShowDialog(); if (res ...Show All
Visual C++ A Strange Problem,need help
while I was compiling this c++ head file matrix.h #include<iostream> using namespace std; class matrix{ private: float * start; int size; public: matrix (int a,int b) { int loop=0; size=a*b; start=new float[size]; while (loop<size) *(start+loop)=0; return; } void setmatrix(int a,int b,float var) { *(start+a+b*a-a- ...Show All
Smart Device Development "No usable controls"
I have created a C# project in VS 2005 of the type: A project for creating a .NET Compact Framework 2.0 forms application for Pocket PC 2003 and later. I get the skin and the window, but I can't add any controls. There are NO controls in the toolbox. If I try right click and choose Items..., I see a whole list of checked items, but still nothing in the toolbox itself. I have imported a file from VS 2003 that already contains some controls. I can ...Show All
Visual Basic Visual Basic.net
Hi, Is there a difference between the VB that comes with Visual Studio 2005 and Visual basic.net, or are they both the same Thanks.....Eric To comment a little further, VS2003 & 2003 had a VB based component called VB.Net. Many VB users didn't like it and delayed our migrations. I was one of them. I thought 2002 and 2003 were REALLY BORING and I stayed with VB6. Nomeclaturally, th ...Show All
Visual C++ How do i stop any program that i run from exiting almost immediately.
Hi! I am experiencing difficulties while using the Microsoft Visual C++ 2005 Express Edition: Any program that i write, upon pressing start to run it, would automatically end itself almost immediately, giving me no time to see the output. Is there any way to delay the programs from exiting (Any settings that i should change ) Thank you. Regards, Ebenezer Thank you all for taking the time to read ...Show All
