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

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

QWERTY890

Member List

SMaia
Magos294963
IamManick
Gess Man
Stefan Wrobel
Chiisana
xna3der
zhihao
ycjj
polymorphicx
Shajeel
Matty1stop
amit9979
ReneeC
dsl_beginner
prasindo
JavaBoy
trev73
mig16
vbjunkie
Only Title

QWERTY890's Q&A profile

  • Visual Studio 2008 (Pre-release) I want trap attached property change notify.

    For instance, I want to know the change in the Grid.Row property in the MyGrid class. It is the following codes that I tried. public class MyGrid : Grid { static MyGrid() { FrameworkPropertyMetadata metaData = new FrameworkPropertyMetadata(0); metaData. PropertyChangedCallback += OnAttachedRowChanged; Grid.RowProperty.OverrideMetadata ( typeof(MyGrid), metaData ); } private static void OnAttachedRowChanged( DependencyObject d, DependencyPropertyChangedEventArgs e) { // It is not called. MessageBox.Show( "Call OnAttachedRowChanged" ); } } I want to learn the change of child's Grid.Row with MyGird. However, it is not possible to achieve it by the method. Code :  public partial class Window1 ...Show All

  • SQL Server Configuring SSIS package to read a value before executin

    Hi, Is it possible in any ways to Configure a SSIS package in such a way that based on the User Input the package runs. For e.g if there is a table which has say 10 distinct groups. Normal SSIS package would ideally pick all the data from the source to the Destination I want to know how to configure in Such a way that I should be able to say Group X as the input and data related to GroupX alone should be copied. Select * from SomeTable where GroupName = @CongigVar. how to achieve something like this thanks Hello, I think that might just be what I need, but when I tried creating one, its failing with the error, 'Parameter Name Unrecognized'. I think am doing it wrongly. Can you po ...Show All

  • .NET Development Error on using multiple data reader

    Dear All, I have a multiple number of reading done so for the first one I have actually done the reading and close the the reader. Then upon reading the second one I also have close the datareader. But when I run my third reader is gives me this error "There is already an open DataReader accosicated with this Connection which must be closed first.". I have even check using the method IsClosed for the first and second and both shows that is true. What is the possible error. I dont think so that I must open and close my connection always rite. Thanks for your kind replies Dear Rizwan, I dont exactly get you how to go about with your solution. Can you please show with a smal ...Show All

  • Visual Basic createing a text file

    Hi...i used to play around with vb 6 and now i have 2005 and i gt say...i can learn chinese faster then i can learn it... can someone show me how to create a simple text file in the programs folder and can you explain the code so i can learn how it workts..thanks! um...i think we are in trobble still....we arent compareing nick names we are comparing the username text file one (Added.txt): has usernames of all the people the person has added (as in the combo box selected item is saved  to this file when the check box is selected)   text file two (list.txt = already made with the data in it and in program folder and will be installed with the exe): Usernames , nick name and wii numbers.   Proc ...Show All

  • Commerce Server Loading And Updating The Commerce Catalog

    I would like to ask for advice on loading the Commerce catalog from an outside source. Let me first explain how we are currently doing this and ask for comment on how we could do it more effieciently as it now takes an unacceptable amount of time to load it with a lot of data. First, our site is set up for multiple stores. Somewhere around 1000 stores will be loaded into the system, currently there are a little over 300 stores. All stores share the same basic product data, or master catalog, however, not all stores sell the same products and each store has its own pricing. Therefore, we have created a BaseCatalog containing all available product data. Each store is then setup with its own VirtualCatalog which contains just the products ...Show All

  • Visual Studio Express Editions Question about the Command Line and Console.write()

    Hi, I have a project that I'm working on for someone. They have a command line shell which is basically just the cmd.exe shell with a bunch of bat files in the path. However, I was asked to write a program that would take some input (in the form of arguments) and output stuff to his console. I decided to do this in c# but not I'm having an issue. When I do a Console.Write("something") it writes it to a new console window instead of from the command prompt where it was called. Basically, what I want is this: <from the command prompt>: c:\> something.exe hello everybody hi everybody! /// from something.cs: SomeMethodThatPrintsToCommandLineFromWhichIwasCalled("hi everybody") is this even possible ...Show All

  • Windows Forms DGV w/ CalendarControl

    I have a DGV with a calendar control. The calendar control works fine for those rows that have an entry in the field. When clicking on the DGV to enter a new (line) entry, the default value which was in the calendar cell from the code is replaced to a NULL value. This change causes an understandable "InvalidCastException" in trying to convert the (Null) value to a date. The default value is set at the table.column database default as (CONVERT([datetime],CONVERT([varchar],getdate(),(1)),(1))). I've also tried just getdate(). --- [I'm having a second issue with the combo filter which I'll inquire after sorting the first issue. ] All help is greatly appreciated, thanks. Code for the form is: [CODE] Impor ...Show All

  • Windows Forms How to change previous DataGrid selected item back color

    Hi all, I have a DataGrid. Whenever, I select a row , the selected row back color will change to blue. When ever, I select another row, the new row selected color will also change to blue. But how to change the previous selected row back color back to white. Please help. Thanks protected void dgInfo_SelectedIndexChanged( object sender, EventArgs e) { selectedValue = dgInfo.SelectedIndex.ToString(); dgInfo.SelectedItem.BackColor = Color .Blue; } If you are using DataGrid control there is a property by which the back color changes automatically when you select a row Just set the SelectedItemStyle property of the DataGrid to whatever style you want and you wont eve ...Show All

  • Software Development for Windows Vista "GLobal" event handler (stateMachine)

    Hi I have an interface + a service which realize it. Eg i have events like OnDateChanged on this service. These event is used to drive a StateMachine which changes states accordingly. Fine. Now i want to do some preprocessing on each of these event and then redelegate the event to the workflow to do the normal processing. Is this posible to do Regards Anders Anders - Can you explain what you mean by Pre-Processing. If the Pre-Processing is outside the WF then you are talking about the complete Re-Architecture of the solution where a middle tier is added which takes care of the events coming from the service and is responsible for firing the events to the appropriate WF instance. If t ...Show All

  • .NET Development Reading data from networkstream

    I normally read data like this, in a new thread on a while true condition while ( true ) {    byte [] someData = new byte [Int16.MaxValue]; //ok so thats overkill!    int theDataRead = 0;    theDataRead = this.theNetworkStream.Read(someData, 0, someData.Length);    while (this.theNetworkStream.DataAvailable)    {       theDataRead += this.theNetworkStream.Read(someData, theDataRead, someData.Length - theDataRead);    }    if (theDataRead > 0)    {       this.theDataManager.DoHandleData(someData, theDataRead);    } }     question is, am I doing it correctly or is there no n ...Show All

  • .NET Development Web Service Difficulties

    Hello, I have a class library that I use to connect to, query, and update a database. I would like to interact with this class library using ASP.NET AJAX and a WPF XBap. Based on these requirements, it seems that I need to create some webservices to expose the class library. I'm very familiar with creating and consuming webservices that are defined within an ASP.NET project. However, it seems considerably more difficult within the situation I am attempting. It appears that I need to deploy my webservices (as they may be on a different server) then create some proxy classes using the wsdl.exe tool. After I have created the proxy classes, I then need to create ANOTHER .asmx file that uses the proxy class if I want to use the webservi ...Show All

  • Windows Search Technologies Howto stop Windows Desktop Search

    Hello, Does anybody know how to stop the Windows Desktop Search from indexing from the dos prompt Problem is: my users connect with a mobile office card through a VPN. Outlook is setup to download only the headers but the indexer forces Outlook to download the whole message including attachments etc. If I turn off the indexer, only the headers are coming in. So I want to kill only the indexer but not the whole Desktop Search so they can still create searches of which is already indexed. Does anybody know how to do this from the prompt, so I can create a small script. Thanks!!! Carl Hi Paul, Thanks for your assistance! I get the error that this path is not found. I haven't found a W ...Show All

  • Windows Live Developer Forums Custom pushpin images not showing up in 3D mode

    Hello All, Each pushpin I map has a custom image and that image shows up fine in 2D mode but is replaced with an orange thumbtack or something in 3D mode. Has enyone seen this before is there a solution TIA Andrew Thanks Brian and Duncan. It looks like it is the security issue like you said. I placed the files (htm and gif) on a web server and refernced them using http://... and all works well. Thanks again for your help. Andrew ...Show All

  • .NET Development Registry Help!!!! Assigning File Types

    hi i'm creating an application that requires, file types to be registered, at first i wondered whether i could do it through click once, but now the idea of using the registry sounds easier. could somebody tell me in "lamans terms" how to register a file type with the registry the file extrensions are as follows: .iml .imlH .imlS And also could somebody tell me how to find out once the program is installed using click once, a way of finding the directory path, where your final application ends up. thanks hi little confused, i no that i need 2 do it in the registry but i was kinda lookin 4 sum vb code that would allow me 2 "fill in the blanks" as it were. thnx, tho' u've helped me unde ...Show All

  • Visual C++ defaults in AssemblyInfo.cpp

    Where does Visual Studio keep the defaults like for fields in the AssemblyInfo.cpp file generated by the wizard Specifically, the AssemblyCompanyAttribute. I put in bogus info when installing Visual Studio, not realizing that this information would appear in every project I create and I want to change it without re-installing. Thanks ...Show All

©2008 Software Development Network