Muhammad Abrar's Q&A profile
Smart Device Development Doubt with ActiveSync
Hi. I was wondering if it would be possible to connect multiple PDAs to a single system using Activesync. Thankz. Activesync holds the profile for multiple devices, but only one can be used by Activesync at any one time. ...Show All
Visual Basic Unlock key systems, trial software timing, related issues...
I'd like to try coding some of these things myself. Can anyone point me in the right direction - to tutorials or snippets or any books or resources about how to create some decent security routines for my software designs Thanks. perhaps the shareware starter kit would be of use Cathal ...Show All
Visual Studio IDE facility to suppress some debug notification messages missing in B2?
I felt sure that B1 had options to suppress some of the notification messages (such as loading DLLs, thread exit status, etc) that you often see in the Output pane when debugging. I can't find these options in B2. Did they ever exist (do they now ) or have I imagined them We moved these options to a different location. In Beta 1, they were in Tools->Options->Debugging->General. In B2, we moved these to ...Show All
Software Development for Windows Vista Runtime Engine Durability
I understand that the Runtime engine does a lot of internal communication with queues. For example, the Instance Manager within the runtime engine will queue a workflow, which is thrown on a queue. The Scheduler within the workflow runtime then takes the workflow off the queue and fires the exectue method on the workflow, which then adds the first activity on the queue, etc., etc.. I also understand that workflow state can be persisted to mainta ...Show All
SQL Server ` Returning values from Stored Procedure
Hi Using Following Stored Procedure, Which always returns Null, What s the error, CREATE PROCEDURE prLoginAuth ( @pStrUserName varchar(50), @pStrPassword varchar(50), @pOutput Varchar(20) Output ) AS Declare @V_Facilities Varchar(50) SELECT Facilities=@V_Facilities From UserLoginFacilities where LoginID=(Select LoginID From UserLogin where LoginName=@pStrUserName and Password=@pStrPassword ) If ...Show All
Visual Studio Express Editions Syntax Error, Missing operand after '=' operator
hi, i have this code to fill a data adapter in c#.net: this.freedomScooterServiceBindingSource.Filter = "CustomerID = " + comboBoxCustomer.SelectedValue; It worked fine during running of the application, but when i exit the application, it threw error " Syntax Error, Missing operand after '=' operator " on this line of code i checked it against some sample code, ther is no syntax error, but why is this happening p ...Show All
.NET Development Help with Reflection and accessing controls on page
Hi all, I am trying to access a couple of controls on a page via Reflection. More specifically, I am trying to get and set the value of a textbox using: Dim dispCompInfo As System.Reflection.FieldInfo dispCompInfo = Me .GetType.GetField("txtFirstName", Reflection.BindingFlags.NonPublic | Reflection.bindingflags.Instance) However, I cannot seem to get a return value from any of the Type's "Get..." methods. Can someone tell me ...Show All
Windows Forms Dates and databinding
I bind my data to a textbox like this: textBoxEndDate.DataBindings.Add( "Text" , ds.Tables[ "TestData" ].DefaultView, "End date" ); this gives me the date and the time (type DateTime in database). I prefer to see only the time. How do I do that I'm have real difficulties with the dates, maybe you've noticied I apologize for taking a bit to get back to you on this, you ...Show All
Windows Forms group name field in report
hello I have made a report whose datasource is a table called OrderDetails which contains three fields(OrderID,ProductID,Price). I have a group name field for OrderID. I have made a grand total to calculate the sum of the Price of all the ProductID for each& ...Show All
Software Development for Windows Vista Microsoft Platform SDK Feb 2003
When I try to install this SDK I get the follwoing error: The currently installed SDK is not in its original dirctory. The installation can not continue. Please go to Add/Remove Programs, uninstall the SDK, and try again. I did have this SDK installed once and I uninstalled it, there must be an .ini or .msi file left over somewhere. I'm using this with Windows XP, SP2 - Visual C++ 6.0 i wrote for oth ...Show All
Visual Studio Express Editions yadda yadda for Dummies -- getting data into my VB thang
I posted this here , but realized it may have been in the wrong place. WDIK yadda yadda for Dummies -- getting data into my project. OK, here's another newbie question. I run a third party app. I've been able to take data from that app, and by "pasting as link" into excel, manipulate the data (yes, "paste as link" was a new dis ...Show All
Visual C# passing arrays to unmanaged functions - best way ?
The situation is the following: I've got the unmanaged function void cblas_zaxpy( int N, DoubleComplex* alpha, DoubleComplex* X, int incX, DoubleComplex* Y, int incY); [StructLayout(LayoutKind.Sequential)] struct DoubleComplex { public double real;public double imag; } form > atlas.dll < (in the original definition the pointers are void* ). The function calculates B = B + alpha*A for complex n ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Having a cpu usage issue...
My app is direct3d9 using a small oop framework i made. When the application is running (windowed) my computer has ~15% cpu usage. When i focus another window on top of that one or i minimize the window, cpu usage goes all the way up to 100%... very annoying i really dont know wat the prob is. I think it has smthing to do with the main loop: while (msg.message!=WM_QUIT) { if (PeekMessage(&msg,NULL,0,0,PM_REMOVE)) { Translat ...Show All
Visual C# Access Web Form member from it’s hosted windows user control
Hi. I have a web app that uses a IE hosted windows user control. I would like that, somehow, lounch an external event from that hosted control that I could catch in my web form’s code behind or set a web form’s member value. Does anybody know how to do that I would appreciate any suggestions! Thanks in advance! First off you need to define your interface. This is a simple interface declaring the events you wi ...Show All
Smart Device Development Release issue
I have two issues when I tried to create CAB file for my product. I created a shortcut inside the "Start Menu" folder, but it changed to "Start Menu\Programs" folder automatically after I run the CAB file. Is this the issue of the CAB file or the issue of the Pocket PC (My Pocket PC is ASUS A620 Series, OS is MS Pocket PC Ver 4.20.0 (Build 13252) After I uninstalled my product through ActiveSync (Ver 4.1), the shortc ...Show All
