Software Development Network Logo
  • IE Development
  • Visual FoxPro
  • Audio and Video
  • Visual Basic
  • Microsoft ISV
  • Windows Vista
  • Game Technologies
  • Visual C#
  • VS Team System
  • Visual Studio
  • Smart Devicet
  • .NET Development
  • SharePoint Products
  • SQL Server
  • Visual C++

Software Development Network >> JOSEPH WIDJAJA's Q&A profile

JOSEPH WIDJAJA

Member List

huysmans
markios
_Buzz
Briang959
Walter Zorn
pappascd
ChandraP
MrBrilliant
killerless
Prerak Shah
S10n
abupapa
Peter Freeman
James S. Jan
GabiMordov
mobigital
Hi_4_All
xkx32
fleo
vijaygill
Only Title

JOSEPH WIDJAJA's Q&A profile

  • Visual Studio Team System Not enough free threads in the ThreadPool during load testing

    I've created a load test that starts at 24 users and steps by 24 every two minutes that I am running from my computer. The load test is running one webtest that hits 12 pages. I have 12 user ids and passwords being pulled from a local SQL Server database to feed into the webtest. After six and a half minutes (96 users) I start getting System.InvalidOperationException: There were not enough free threads in the ThreadPool to complete the operation. at System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state) at Microsoft.VisualStudio.TestTools.WebStress.WebTestTransaction.Execute(AsyncCallback completionCallback, Object callerState) This runs up to 1,000 exceptions within a minute and a half. The agent is my lo ...Show All

  • .NET Development How to set data in cells of a hidden column in a databound datagridview control?

    I am using a datagridview control, bound to a child class of a purchase order object to enter/display line detail of a purchase order. Some of the data, product ID for example, is set by program code and not the user, and so I have hidden the column. My problem is that I don't know if it is possible to set data in a cell when it is hidden. (It is the things that the help files and clients DON'T tell you that are killers, but I digress). I tried Identifying the column name but it gave me an error saying it could not find it. Has anyone out there done anything like this > I have to do it in the application What do you mean by that The application has access to the databinder and hence the ...Show All

  • .NET Development Adding User Controls through Reflection

    i'm having lot of User controls all inherited from a base class called ChildBaseCntrl. I have written a generic method using reflection which accepts ChildControlName as String and then creates a instance and adds it to Form. Below is the code for same :- Dim ChildAssembly As System.Reflection.Assembly, ChildCntrl As Object ChildAssembly = System.Reflection.Assembly.Load( "MyAssembly" ) ChildCntrl = ChildAssembly.CreateInstance( "MyAssembly." & ChildControlName) i wanted to know if there is any better way to do this, maybe using generics or some other technique. Idea is that i want to have a generic routine which accepts childcontrol name as string and then adds it to form. ...Show All

  • .NET Development .NET 2.0 Windows Error Reporting trouble

    I have trouble trying to use Windows Error Reporting for a .NET application. Actually, my application throws an exception, and the exception is not handled in the application, then CLR's Unhandled Exception dialog box is appearing, but the usual Windows Error Reporting dialog (Send Error Report / Don't Send) doesn't appears. I read that .NET Runtime 1.1 has no support for Windows Error Reporting(WER); (http://support.microsoft.com/servicedesks/webcasts/en/wc021303/programmingforwer.doc ) (Search for "What is the WER story for Managed Code" -- on page 16) . I also read that .NET 2.0 has support for WER, moreover it's difficult to turn it off programmatically for a specific application (see http://forums.micr ...Show All

  • Visual Studio error :operation is not valid due to the current state of the object

    hi , I tried to compile sample dsl project or start a new dsl project , But I am getting "operation is not valid due to the current state of the object" error . I am following instructions under :http://msdn2.microsoft.com/en-us/vstudio/aa718368.aspx for creating a new dsl project. thanks Michael Or just rename the folder C:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys. For example, MachineKeys1. ...Show All

  • .NET Development Interop COM: SOMETIMES, com object become System.__ComObject.

    I have to interop with COM and transport the IUnknown pointer between managed and unmanaged code. I used to create the COM instance in managed code like: appDomain->CreateInstanceFromAndUnwrap to create Object and pass it IUnknown pointer to unmanaged Code. Later, I get the IUnknown pointer and try to get the object like: step1: Build a Variant using IUnknown pointer; step 2: Marshal:: GetObjectForNativeVariant. In the most time, the procedecure works well. :( The PROBLEM is the return value of GetObjectForNativeVariant sometimes become System.__ComObject. The PROBLEM is ramdom. :( And I can not point out the reason) I has tried Activitor::CreateInstance, it doesn't work well, too. ...Show All

  • Software Development for Windows Vista Vista Build5744 SDK

    Yesterday, I downloaded the file en_vista_rc2_october2006edw_build5744_sdk_dvd.iso from the MSDN subscriber downloads site. I meant to downlaod plain old Vista RC2 x86, but clicked the wrong link. What is this, exactly Does it contain the Vista OS plus an SDK I can use with VS2005, or is it just the SDK If the latter, what can I do with it It is just the SDK, i.e. Software Developer Kit. It's just that: headers and libs for Windows modules, so that you can use them for programming, sample code, documentation, developer tools, debug tools... -- SvenC ...Show All

  • Visual Studio Tools for Office How can i automate Ribbon UI

    Hi, I am trying to automate some test cases on ribbon control, which is on Windows Form. Please help in this regard i am blocked. Thanks, Abhi Hi Rachel, I am not doing any development. I am doing UI test automation of a product which is developed in WPF (Windows Presentation Framework) and the ribbon control is used instead of normal menus control. I am using UI automation (part of .Net framework 3.0) to automate the UI testing of this product but as ribbon control is not a WPF control (this is my understanding please correct me if i am worog) it is not getting regconsized by UI automation framework. I am trying to find out any work around or any way using which i can manipulate ...Show All

  • Visual Studio Express Editions TableAdapter Query based on a form field

    I'n new in VB 2005 Express and i want to do something like cascade listboxes (2 listboxes). The 1st listbox contain colour from a Colour Database Table with one 'id' The 2nd listbox contain car from a Car Database Table with a field called 'colour_id' that have de number from 'id's Colour Database Table. I think you see whaty i whant When i select on the 1st listbox one colour, the 2nd listbox is updated with all of the cars with the 'colour_id' from Car Database Tabe = 'id' from Colour Database Table ------> That's the easy part. The part with lots of problems is to build the Query from the designer way. I'm doing like this: 1. In the Car DataSet, I click: "New" - "Query" - "Use SQL statments" - "SQL ...Show All

  • SQL Server Newbie question - Getting the headcount at the beginning of the year using OpeningPeriod

    Hello, Here's a newbie question that I am having a heck of a time figuring out... I want to return only the balance at the begining of the year. My time dimension has a hierarchy as follows: -Fiscal Year --Month ---Period I then created (from the template) a Calculated Member that does return the number. However, as you can see, it is only from Fiscal Year 2006, the first period (Period Number = 1) Aggregate ( OPENINGPERIOD([Dim Row Date Vw].[FiscalYear - EnglishMonth].[Period Number], [Dim Row Date Vw].[FiscalYear - EnglishMonth].[FiscalYear].&[2006].&[1]), [Measures].[ACTIVE] ) How do I change this so it pulls from the first period for each year, at the beginning of that year Thank you for the help. ...Show All

  • .NET Development how to download site in a temp folder

    how can I download some ages of a site or the site itself -if avilable - in a temp folder or in a database , using C# MSDN Sample Code: // Create a request for the URL. WebRequest request = WebRequest.Create ( "http://www.contoso.com/default.html"); // If required by the server, set the credentials. request.Credentials = CredentialCache.DefaultCredentials; // Get the response. WebResponse response = request.GetResponse (); // Display the status. Console.WriteLine (((HttpWebResponse)response).StatusDescription); // Get the stream containing content returned by the server. Stream dataStream = response.GetResponseStream (); // Open the stream using a Strea ...Show All

  • SQL Server Example of Stored proc conflict resolver?

    Hi all, I need to write a custom conflict resolver for an application using merge replication. It's relatively simple logic - compare the two rows from the publisher and the subscriber and the winner is based on the value of one particular column. Reading BOL gives me the input parameter list for the sp, and specifies that the output should be exactly the winning row. What is doesn't give is any example of how to do this, in particular how to access the two rows in conflict so that they can be compared. I can do this by dynamically building SELECT statements, one connecting to the table locally on the publisher and another connecting to the subscriber using the form SERVER.DATABASE.OWNER.TABLE, but this requires me to explicit ...Show All

  • Visual Basic Locking the transcation

    HI May i know how to lock the table when the transaction is make( not just 1 but many transaction) so i can unlock the table after all the transaction has make or error occur. Thanks Why do you want to lock the entire table - you should design an application which will lock as few records for as little duration as possible to avoid locking performance issues. Would you want to lock all the records in the table (say all orders for all customers) when only 1 record (1 order for 1 customer) has chnaged an needs to be updated. ...Show All

  • Visual Studio Express Editions Need to copy a project

    I need to copy one project including the form and create a new project. I will then make changes to the new project that allow the code to operate on a very similar manner but on a different data base. I don't want to clutter up the original project to make it do both. It would seem that the ability to copy an entire project and put a different name on it would be a simple way to save time and coding efforts. Thanks. Shady Brady, Have you tried the VSS-Visual Studio Sourcesafe There is a database contains the team members's code and log. The question you refer related to the experience in program, too. Of course, save as and make a template are good methods, too. Hope that you will find the best solution for this problem durin ...Show All

  • SQL Server Adding Identity

    how can i change a column attribute using alter table in sql server 2005. i want to add an identity property to my column userid , which deosn't have an identity property defined when created. i tried this. alter table userlookup alter column userid int identity ( 1 , 1 ) not null i got this error: Incorrect syntax near the keyword 'identity'. if you are looking at this you probably have realised that the sql syntax: alter table tablename alter column columnname int not null identity(1,1) does not work and returns an error stating that the synax is wrong. to save you the hassel here is the way that works for me : select * into #HR_BS_Institution from ...Show All

©2008 Software Development Network