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

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

pinoyz

Member List

RCS300
adunak
AvalonNewbie
elemr
Tridex
BensonFabonan
bbdobuddy
pershing
AksaiGora
Sheik Badhusha
kart
Data Base
IS dude
Michael Lutz141607
Jean-Pierre Fouche
Tej62007
airwalker2000
Jeff-B
RB_Banc
ahmedilyas
Only Title

pinoyz's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. C# and soundcard

    Want to build a simple piece of equipment to do electrical measurements and display the results. As an analog => digital input device I want to use the soundcard. The main problem is: How to get the information out of the soundcard. I also want to use C# (if possible). The first question you should ask yourself is if it's possible to get your information into the sound card. Sound cards filter out low frequencies so you can't measure DC voltages. ...Show All

  • Visual Studio Express Editions no subject

    can anyone give me an example as to how to connect and control something from a serial port.....something really simple like a light bulb..... hey maybe this..... I have a teddy bear which runs on batteries when you squeeze his foot he snores.... I would love to connect and control him by the pc any ideas...please Not a parallel cable - a serial port cable. In your original question you writes the serial port, and my answers is based on that. Do you mean the parallel port instead No it does not sound correct! If you want to start the head motor from the PC, you need an output. The serial port cannot drive the motor directly. You need to connect a switching transistor in parallel with the sensor in the teddy bear ...Show All

  • Windows Forms VB.NET-BindingSource/DataGridView

    Hi, I've a DGV on my form application. The DGV.Datasource is set to Me.MyBindingSource. I this the right way I'm using the Filter Method of the BindingSource to show only the rows I want of my DataSet. When I delete some rows at run time in code (...rows.delete) and even after I update the Table, using the TableAdapter.Update method, not always this changes are reflected on the DGV, why is this happening Must I do some kind of refresh to the DataSet/BindingSource maybe a new Fill to the DataSet I not sure how to solve this... Help please. Pedro. Well, I don't know if this is the case, but here's what happened to me: The refreshing of the dataset was not immediate and I had trouble reloa ...Show All

  • Visual C# Read a String and identify number of Different characters ??

    I have a String which user enters, I need to determine how many types of different characters are there For Example : If User Enters : Test T or t - 2 E or e - 1 S or s - 1 This string can be really long what is the best way to get this done... Hi, if it was me I would do the following: 1. Create a Dictionary<char, int> 2. Initialize the dictionary with keys of a to z with values of 0 3. Loop through each character in the string, and increment the count in the dictionary i.e. char currentChar = 'x'; charCount[currentChar] = charCount[currentChar] + 1; Mark. ...Show All

  • .NET Development How can I apply validation on a file for .doc ,lrtf ,.pdf or text files??

    I am trying to upload a file and apply a validation on the file for .rtf,.doc,.pdf or text file. How do I go about it Are you uploading the data as xml and want to verify against the schemas for .doc .pdf etc For example, you have saved your word document as an xml file, then you can validate it against the wordML schema using the .NET validating XmlReader. If not, can you describe your scenario little further Thanks, Priya ...Show All

  • Windows Forms Arrow Keys on a User Control in .Net 2.0

    If I have a form and want to trap keyss, I can use the KeyDown event to trap and detect which keys are used. This includes the arrow keys. However when I want to do the same with a UserControl placed on the form, all keys are detected except the arrow keys. 1.Why do the arrow keys not generate the even on a UserControl 2 Is there a way to make arrow keys generate an a KeyDown or KeyPress event on a UserControl 3. If not, what event if any is generated by the arrow keys on a USerControl Thanks Steve Make sure the CanFocus and CanSelect return True for your control. To get that, you need Visible = True and Enabled = True. ...Show All

  • Visual Studio 2008 (Pre-release) Adding Web Reference in VS 2005 to WCF Service

    I have a WCF service that I've built that is hosted in a Windows Service. The service endpoint is setup as follows: < services > < service name = " FCSAmerica.Financial.Aggregator.ServiceClient.FilteredService " behaviorConfiguration = " MyServiceTypeBehaviors " > < endpoint contract = " FCSAmerica.Financial.Aggregator.ServiceClient.IFilteredService " binding = " wsHttpBinding " /> <!-- Note: your service must have an http base address to add this endpoint. --> < endpoint contract = " IMetadataExchange " binding = " mexHttpBinding " address = " mex " /> </ service > </ services > I can add th ...Show All

  • SQL Server Report from prcedure that return multiple recordsets

    Hi there, I am creating a report from a stored procedure that returns multiples record sets. For an example, my stored procedure is as follows CREATE PROCEDURE MYPROCEDURE AS BEGIN SELECT * FROM TABLE1 SELECT * FROM TABLE2 SELECT * FROM TABLE3 END Now lets say I want to create a report that will display the result of the query no 2 (which is SELECT * FROM TABLE2 in this example). How can I do this Is there any way to bind the second record set to the report dataset with out changing the stored procedure I will appreciate any kind of suggestions on this Thanks Moim Thanks Jarret for the answer. I did that earlier , but couldn't get my procedure ...Show All

  • Visual Studio Tools for Office Mysterious Add-in load issue.

    Its not exactly VTSO, I know but I'm desperate. I'm new to developing managed (C#) Add-ins for Excel and new to Visual Studio 2005 and very new to developing Add-ins in VS-2005. That said I've been trying to put together a little test case COM Add-in. I've followed the basic recipe as as detailed in ".Net Development for Microsoft Office" using Visual Studio and have gotten a simple COM add-in to work in Excel 2003 on my computer without a hitch. When I try to send said add-in to others it doesn't load up for them (though it should). Furthermore when they check their Excel instance's COM Add-in dialog, they see that Excel attempted to load the addin but failed (Location "mscoree.dll ...Show All

  • Internet Explorer Development Problems in displaying labels in IE6 and IE7

    I am using same pixel position for barcode labels/images, then when i take print then labels does not appear at same position in IE6 and IE7. Even I have hard coded the coordinate position for both IE6 and IE7 even then I dont get the desired result. actually it is a barcode images which i want from same postion in IE6 and IE7 when i take print. please help me to do so thanks ...Show All

  • Visual Studio Team System Get specific version not working after moving code from one team project to another

    I am no longer able to perform a "Get specific version" after I moved the code from one team project to another. I can see the history of all the files, but when I try to do a get specific version by date or changeset the "Latest" column in the source control explorer window shows "Not downloaded". This is very curious and alarming. Any help would be most appreciated. Jason, I'm sorry to hear you are having trouble with this operation. Can you confirm that the location of the item before the renames is also mapped in your workspace For example if the item was $/OldProject/dir/foo.cs and you renamed it $/NewProject/dir/foo.cs is $/OldProject/dir mapped into your workspace or just $/NewProject/d ...Show All

  • Smart Device Development jpeg too large, cannot convert to bitmap due to out of memory

    Hi, Platform is windows mobile 2003, pocket pc. I am trying to display a 2048x1536 jpeg image (which is about 200Kb in size) but in order to do that I need to create a bitmap representation of it first which is 2048x1536x3 around 10 MB at which moment I am getting an out of memory exception Any ideas on how to display the image, bearing in mind all I want really is to display a thumbnail of it say 320x240 Thanks, radu this is the error System.OutOfMemoryException: OutOfMemoryException at Microsoft.AGL.Common.MISC.HandleAr() at System.Drawing.Bitmap._InitFromMemoryStream() at System.Drawing.Bitmap..ctor() at SD221.Form1.button1_Click() at System.Windows.Forms.Control.OnClick() at System.Win ...Show All

  • Visual C# Problem in accesing functions in a dll

    Hi All, I have a strange problem... I have VS2005 on WinXP and am making a Windows Project.When I ran the project I got an error "Unable to find an entry point name "foo" in dll "foo.dll". However the dll is present in Windows\System32 directory and the Path also references the directory So I added a reference to the dll in the System32 folder but it showed an error that "A reference to ....dll cannot be added.Please make sure that the file is accessible, and that it is a valid assembly or COM component". Next I ran "tlbimp foo.dll" from VS2005 command prompt.I got an error "The input file 'foo.dll' is not a valid type library.So I ran "regsvr32 foo.dll" and I got an error &quo ...Show All

  • SQL Server Getting the value of "SET ROWCOUNT"

    I'm writing an INSERT, UPDATE and DELETE trigger on table A that needs to insert rows into a table B. When a user issues a "SET ROWCOUNT" command to limit the number of rows, then does an insert, update or delete, the trigger is being limited to that number. It is important that the trigger NOT be limited to ANY specific number of records, but it is undesireable for me to just wipe out the current "SET ROWCOUNT" setting for the user without their knowledge. How do I get and preserve the current "SET ROWCOUNT" value from within my trigger, so I can cancel the limitation and then re-implement the setting once my work is done I cannot find any documentation specifying where the ROWCOUNT value is set (I ...Show All

  • SQL Server Export / Import Aggregations

    Hello, Is there a way to export / import the partition aggregations The thing is - I ran the usage base optimization (+ using a bit of SP2 AggMgr.exe), but everytime I change the cube and redeploy, it overrides the aggregations and i have to rerun the usage base optimizer. Thanks, Haggai Good question. I dont know of any automated tool or way of adding aggregation desing into a measure group. Though I can see someone enhancing AggregationManager sample application to allow for loading aggregation design stored in file. Or copying aggregation design from one measure group to another. I might have some time doing that :) As for now, the easiest way would be to create a XMLA script of your old measure group and save ...Show All

©2008 Software Development Network