Software Development Network Logo
  • Windows Live
  • SQL Server
  • Smart Device
  • .NET Development
  • Visual FoxPro
  • Visual Studio
  • Visual J#
  • VS Express Editions
  • Windows Forms
  • VS Team System
  • Microsoft ISV
  • Visual Basic
  • Visual C++
  • Windows Vista
  • Architecture

Software Development Network >> parameswaranpramod's Q&A profile

parameswaranpramod

Member List

SHELMAN
CrystalD
Cicada
humansky
Mark1212
Leland Gary
Negyoshi
Joshie76
Premal Mistry
Hamboo
Brian Rose
jholetzeck
Grimmo
jamzmar
rguez_18
Nino Benvenuti
john mc
digioso
Dennis Quintela
Thithi32
Only Title

parameswaranpramod's Q&A profile

  • Visual Basic That is Possible? (Collections)

    Hi All, please It is possible attach a datareader in a Collection and later having access itens in the Collection Dim mCol As Collection mCol = New Collection 'Sub for populate a datareader... mCol.Add(myDataReader) Dim uItem As OleDb.OleDbDataReader For Each uItem In mCol MsgBox(uItem( "myCol" )) Next Thanks! any help! I thought about using Collections exactly to have an object with all the data without being with the open connection... can help me ...Show All

  • Smart Device Development How to Do C/C++ Development for WinCE 5.0?

    How do I create a C/C++ project for our WinCE 5.0 device I don't see our SDK when I run the new project wizard. Dale Larson Johnson Controls, Inc Dale, Can you please share how you fixed this.  I think I am having the same issue. WinCE 5.0 SDK's produced by Platfrom Builder are not showing in VS2005 as a platform to target.  Thanks. -Jim. ...Show All

  • SQL Server SQL Server 2005 Express CPU usage too high??

    I have a website with about 130,000 page views per day, I'm using a P4 2.8G/1GB RAM dedicated server for database. When I upgraded my database to SQL Server 2005 Express, I noticed the CPU usage goes too high, sometimes the CPU usage goes to 100%. My database table only has about 25K records. My questions is how to optimize my database Is there any tips to do that start by getting a trace profile to see which statements are taking up the most time in terms of Duration, CPU and Reads. Then look at the plan. ...Show All

  • Visual Studio 2008 (Pre-release) dynamic layout of forms

    hi everyone, im curious if there is a way of having forms dynamically built in the Presentation Foundation. Having general code that is used to build up many forms, through an automation of some kind. Is this possible Cesar You might want to look at the Composite UI Application Block (CAB) for another solution. There is a lot of similarity within the two frameworks. You could write an application that reads a database and generates XAML or it could Generate the WPF elements dynamically. With a bit of thought you could create a database schema that tells the application what kind of UI element each table and/or field in a tabl ...Show All

  • Software Development for Windows Vista Custom HandleExternalEventActivity ParameterBindings problem

    It's better then in Beta 1, where interfaceType- and EventName properties "disappeared" when creating a custom EventSink. Even though they don't disappear anymore, I still loose the ability to set the ParameterBindings in the property window ... Is there a workaround, except for adding them manually wmmihaa, On a generic HandleExternalEventActivity you can still bind to the external data event args parameter and then use it as needed. On a strongly typed, wca-generated HandleExternalEventActivity, the individual parameters should still appear. Arjun ...Show All

  • Visual FoxPro WinSock

    I just tried Microsoft WinSock OLE Control 6.0 (SP4). It binds to a port and it goes into a LISTEN state but I cannot figure out how to unbind the connection. Close() method does not work, SendComplete() does not work either I do not know why Other methods do not seem to be relevant. Does anyone have any experience with WinSock Thanks. I don't have any experience with Winsock as I don't use it, but maybe these Wiki entries may be of help: http://fox.wikis.com/wc.dll Wiki~WinSockOCXSample http://fox.wikis.com/wc.dll Wiki~WinSockOCX~WIN_COM_API   ...Show All

  • Visual Basic Autoload Application on Windows Startup in VB .NET 2005

    Hi there, I am just wondering if you people will be able to help me make my application autload on windows startup (Like Windows Live Messenger does), I have been researching on the internet and I cannot find anything for it... hope you can all help.. Regards, White Shadow Hello, maybe I am bumping is up... But I don't know the path of my installed homemade application, there is only a shortcut, but I can't see where it is "going" to. I also searched in the Program Files but nothing. ...Show All

  • Visual C# how to implement command line switches with command line arguments

    i want to develop console application which is taking arguments in command line and switches for example myapplication /s /s somefile.txt servername just like that...okay so how can i implements this is some switch is missing or arguments than give me some error.... Hi, your main function receives this arguments: static void Main(String[] args) { for each(String str in args) System.Console.WriteLine(str); } Now all you have to do is parse them and use them as you wish. ...Show All

  • Windows Forms Databound ComboBox with space for selecting None

    Hello everybody, I am trying to build a search form for a new application I am building.  The form has a couple of text fields and some comboBoxes for narrowing search criteria.  My comboBoxes are all databound to show valid values from the database.  The problem is that I would like to have the option of not selecting a value in the comboBoxes. For example suppose I'm building an inventory system: search form has fields Asset#, Description, Make, Model, Supplier. Make, Model, Supplier are databound comboBoxes with valid values from the database. In this situation in order to find and asset I would have to select the appropri ...Show All

  • Visual C# Array lookup

    If I create an array int[] siteid = {38, 55, 102, 176}; Is there any way to programmatically determine if the value 38 is one of the elements, without iterating through each element Is there a way to do an array lookup in C# Hi, I don't think so, but if you can, use a hashtable and then you can do what you asked for. Edit: I was thinking in terms of accessing an object (in this case, an int) in O(1) time, that is, access it directly without any time performance problem (in constant time). Since IndexOf does the loop for you, it will take O(n) (depends on the number of elements in the array). With an hashtable the time is O(1) (normal ...Show All

  • Visual Basic Upgrading from vb6: Dim as New is VERY different

    In Vb6, Dim myvar as New MyType would check whether myvar was Nothing at each reference and reinitialise it if neessary. Obviously this isnt the case with Vb.NET, and if the variable has been set to Nothing in the mean time then it will have a value of nothing causing an exception. Anybody got any clever ways of resolving this one (there are quite a lot of instances of this in the app I have been asked to upgrade) You could create a generic method like the following (available only in the 2.0 Framework). This method takes a variable of any type and initializes it if said variable has no reference; otherwise it just returns that ...Show All

  • Visual C# Changing the Default Unhandled Exception Dialog

    Hi Everyone, Is it possible for me to customize the default dialog that pops up when .NET encounters an unhandled exception Thank you. I spoke too soon..Your answer seems partially right -- probably I am missing something obvious since I'm new to .NET. The approach you described allowed me to add a new UnhandledExcepionEventHandler that responds to uncaught exceptions but I was unable to un-hook the default handler that displays the dialog window. So, basically, there were two handlers in place. Because AppDomain.CurrentDomain.UnhandledException is an event, I am only able to add handlers to it ...Show All

  • Windows Forms Why is there no CaptionText in the DataGridView Control?

    Hi Folks, this is a question to Mark Rideout (or anyone from MS): Why was the CaptionText property not migrated from the old DataGrid control to the new DataGridView control Is there a replacement or do we have to create a user control combining a DataGridView and a Label Thanks. We talked with some customers and got the impression that it isn't a needed feature as UI's were getting more graphical and more "office-like". We left it up to app developers to combine and style things as they saw fit for their app. -mark DataGridView Program Manager Microsoft This post is provided "as-is" ...Show All

  • Visual C# Operator '&&' cannot be applied to operands of type 'string' and 'string'

    I'm totally new to C# so your help is much appreciated. Here's what I have. string strSummary; if(txtPhnNumber.Text != "" ){ strSummary += "\nPhone Number: " && txtPhnNumber.Text; } The error comes back saying, " Operator '&&' cannot be applied to operands of type 'string' and 'string' " whe rebuilding the site. I'm using Visual Web Developer Express edition. Hi, if you want to "add" (join) two strings you need to use the operator +: strSummary += "\nPhone Number: " + txtPhnNumber.Text; ...Show All

  • Software Development for Windows Vista Good Job

    Windows Workflow Team: I have used a lot of integration products in the past by Microsoft. I know some of you even worked on them. What I will say is you guys have it the nail on the head with this one. I just wanted to congradulate everyone on building in my opinion one of Microsoft's best SDK's. This beta product is bettern than most of the production stuff I have seen come out. Cheers, Mardo I completly agree , i think the level of anticipation from both Microsoft and Developers is grreat I hope the windows workflow foundation will certainly rock the domain of workflows ...Show All

©2008 Software Development Network