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

Software Development Network >> Jessica Alba's Q&A profile

Jessica Alba

Member List

arunr14
programmer01
davidacoder
Raja Pratap
stswordman
Jonathan Clark
Paul Diston
Giorgio Sardo
Phill...errrr
ckzulueta
Moksi
Hussain Saffar
Ofir Epstein
Xelestial
Drezard
Vagabond
narasiman_jayachandran_2b5374
GregSmith104
Cisco_Systems
Muhsin Zahid Uğur
Only Title

Jessica Alba's Q&A profile

  • .NET Development How to generate custom code based on a custom method/sub/function attribute

    Our team is looking into performance logging; rather than asking developers to manually insert code for entry and exit timestamps we'd like to provide a custom attribute that they could attach to a method/sub/function of interest; this custom attribute would then cause, at runtime, a consistently formatted message with a timestamp to be logged at entry and another on exit, regardless of normal exit versus the throwing of an exception. I feel this could be done if code could be generated for such an attributed function that basically put "whatever code was there" in a try...catch...finally.  Then in the catch, re-throw whatever was thrown, and in the finally do the exit timestamp. example pseudocode, I wo ...Show All

  • Windows Forms Getting data binded to another combobox

    I have form1 that contains a combobox that I need it to be populated with data from a collection of objects.. it happens like this I click a button and Add items to an arraylist on this dialog form that comes up... When i add the items to the arraylist and click the OK button on my Dialog form I want the comboBox on Form1 to be populated with that information that was added in my Dialog box... private void btnAddToList_Click( object sender, System.EventArgs e) { this .AddBillToCustomersList.Add(( int ) this .cboCustomer.SelectedValue); lbAddBillTo.Items.Add( this .cboCustomer.Text); } private void btnOk_Click( object sender, System.EventArgs e) { //Here I need to add the items that i added in the ...Show All

  • Visual C# random number problem

    1:892 2:951 3:363 4:418 5:301 6:208 7:400 8:522 9:321 10:293 11:212 12:712 13:195 14:570 15:485 16:409 17:414 18:928 19: ================================================================ here are 18 groups of data ,and they are selected at random from 000 to 999 based on these numbers ,can you figure out the inner relationship among these datas,and try to predict the 19th group of data 1:892 2:951 3:363 4:418 5:301 6:208 7:400 8:522 9:321 10:293 11:212 12:712 13:195 14:570 15:485 16:409 17:414 18:928 19:024 20:665 21: ================================================== ============== ShellShock: micvos Have what arithmetic ,try to predict the 21th group of data ...Show All

  • .NET Development Attempted to read or write protected memeory. This is often an indication that other memory is corrupt

    I am getting : Attempted to read or write protected memeory. This is often an indication that other memory is corrupt in a number of different applications. Mainly I am getting it in applications where I am using DLL functions. For example I am talking to an OLAP database through its API which sit in a DLL. When I am processing more than database the same code causes the above message to appear on the second database.I open and close the database in the appropriate places which is supposed to load and unload the DLL, But aside from this application I have other applications which work fine on some machines and not on others. An example of this sort of application is a Crystal Reports with subreports which works fine on some machin ...Show All

  • .NET Development StDev returns NaN

    Hi Everyone: When using the code to calculate the StDev of a data column, it returns NaN. But all other aggregate functions, like Sum, Count, Min or Max return a number on the same data column. It seems this function has a limit on the maximum number of rows it can hundle. The number of rows in the column is 46712; if I reduce the row number to 46064, it works. DataTable.Compute("StDev(DataColumnName)", "") Does anyone has this problem before Does anyone know under what condition, this function returns a NaN Thanks. What's the version of .Netframework are you using What's the data type of the column It might have something to do with integrate overflow. 46712 * (4 ...Show All

  • SQL Server USE MULTIPLE ROLES IN CUBE BROWSING

    Hi, I'm developing a cube browsing aspx application using the OWC11 controls, both Pivot and Chart, associated with Analysis Service on SQL2005. I did quite a bunch of that but now I'm having some troubles to solve the following problem. Using the SSAS IDE, I defined two Roles in a Cube and I defined a filtering function on the dimension in both of them. When I choose each one of them and I check the functionality they works because I can see what I expect to see, only one result from a dimension where the filter is acting in the role definition . But, if I choose both of the roles, and I can do that because it let me select the two checkbox instead of all (having more than two Roles), the filter doesn't work anymore, showing a ...Show All

  • .NET Development how to create x509 certificate and use it in sslstream

    Hi, I wanted to know how to create certificate and use it for client server communication using sslstream. i downloaded the example from http://www.leastprivilege.com/SslStreamSample.aspx site but iam unable to run the example because of certificate. so please help me in creating the certificate and using it in the example. thanks vijayalakshmi Got this one working :-) I used makecert.exe to create the key. ensuring it had my machine name set and was marked as exportable. Using the certmgr.exe you then import the .cer file and export the key which creates a private key file. I then changed the X509Certificate to a X509Certificate2 and used the private key on the server. As long as the client uses the servers ma ...Show All

  • Visual C# Windows Service

    How do I debug a Windows service created in C#. I installed the service. but what now ! Thanks! The problem is that when I try to attach to the running process in VS2005, I can't do that because it says that it's "Managed" and it doesnt allow me to attach to the process. ...Show All

  • Visual C# Book , Easy and detailed information about c#.net 2005?

    Hi fellows, Can anyone tell me any book for c#.net 2005 which contains easy and detailed information with examples thanks, Bye. Try Search Titles with C# 2.0, .Net 2.0, C# 2005 on google and prefer books from Wrox and Oriely coz they are easy to follow. If you are quiet beginer then see title with beginer's level otherwise Professional. Best of Luck ;-) ...Show All

  • .NET Development Strange behavior when making remote call

    I'm calling a remote server (client activated, hosted in WinForms app). A simple call without parameters (or with a simple string param) works fine. When I pass certain parameters, it crashes. Build is the remote class. This call to CreateBuildTree() works: Build prp = new Build (); prp.CreateBuildTree(); This one doesn't: Build prp = new Build (); string BuildDir = prp.GetBuildDir(); TreeNode root = new TreeNode (); root.Text = BuildDir; prp.CreateBuildTree(root, BuildDir); even when CreateBuildTree doesn't contain any code!!! public void CreateBuildTree() { } The error I get on the client side is "Server encountered an internal error. For more information, turn off customErrors i ...Show All

  • Windows Forms serialization of subclassed treenodes

    Hi, I am new to C# and .NET, but I have some programming experience in other languages/libraries. I am using C# and Visual Studio Express. I am trying to make an application that displays data in a treeview and saves the data between sessions into a file by serialization. I am subclassing TreeNode to make the nodes in my treeview. For example, the treeview might look like this: ShopNode -CustomerNode - PurchaseDetails - PurchaseDetails - PurchaseDetails -CustomerNode - PurchaseDetails - PurchaseDetails ShopNode -CustomerNode - PurchaseDetails -CustomerNode - PurchaseDetails I serialize the TreeView.Nodes by putting each ShopNode into an ArrayList and then serialize the ArrayList. I re-construct the TreeView by deser ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 1946 part 1 "no missions"

    I made a new version of 1946, it's name is 1946 part 1 "no missions" you can control your ship with your mouse, left click to shoot. Screenshots; Changes; Added 10 new bonusses, Rewrited game; minimized file size, improved fps. Fixed all of bugs. Download; An update again http://s1.upload.sc/request/3ba8507a545ed892ccb9262e8e45f7a7/owner Old file; http://s1.upload.sc/request/9b1287c4096a0a417f24a1a42138a050/owner working on a new version, if you need help or you want to help me please e-mail me; genjurosei@gmail.com thanks for playing... oh wow! are you killin' me man this game's great. Really great. Here is something all i can say: sick, amazing, unbelieveable, damn, oh my, whoa, illness. i cant ...Show All

  • Visual Studio Tools for Office Retrieve worksheet from range and call worksheet.range?

    Hi, Is it possible to retrieve the worksheet object from a Excel.Range object and then call worksheet.Range[...] on the retrieved worksheet Ben. ...Show All

  • Visual Studio 2008 (Pre-release) Does new Orcas CTP have anything new in it for WPF?

    I see the March CTP for Orcas is out and it includes WPF this time. Does this CTP just include Cider as we have it in the November CTP extensions or does it include anything new. I am currently developing on VS2005 with Nov CTP extensions on it, should I move up to the March CTP Do some of the issues with Cider get resolved Has anyone tried to install March CTP in Vista When it starts to install it stops with an error at the first step (the Microsoft Web Designer Tools). ...Show All

  • SQL Server Error 29515 - Encryption not supported on client - wtf??

    I have tried reinstalling the sqlncl.msi - re-booting etc without success. I'm on windows vista beta 2 build 5384. Brand spanking new machine (less that 48 hrs old) and I can't beleive my bad luck with sql express.  My xp pro machine works fine.   Hers's the error: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client]Encryption not supported on the client. Refer to server error logs and setup logs for more information. For details on how to view setup logs, see "How to View Setup Log Files" in SQL Server Books Online. For help, click: http://go.microsoft.com/fwlin ...Show All

©2008 Software Development Network