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

Software Development Network >> Juha Kauppila's Q&A profile

Juha Kauppila

Member List

AshiTenshi
fruce
Jason Callas
Secsi
Pvanroos
dave6901
pyeung
en_tokan
Harish.A
Subhasmita
nharendt
Zakamon
dima_ua
Mitch5713
Damir Dobric
Mauricio Castillo E
bberti
Javier Becerril
MartinMalek
danmbuen2
Only Title

Juha Kauppila's Q&A profile

  • Visual C# .Net 2.0 INotifyPropertyChanged Interface Implementation

    Dear friends, In my current project I am using the CustomCollections with the help of BindingList<T> generic class to store the database records instead using DataSet objects as offline database identities. Now I do have a large number of property classes each having a large number of properties in it. I want to implement the INotifyPropertyChanged interface in every property class as follows: The purpose to implement the INotifyPropertyChanged interface is I want to inform the UI whenever any property change occurs and update the it accodingly. Also I need to inform the ListChanged event of the my BindingList<T> collection object using the PropertyChangedEvent of INotifyPropertyChanged interface. I know that the PropertyChange ...Show All

  • SQL Server CASE When Then returns unexpected result

    My View needs to return a field called Process_Failure based on a number of conditions related to: TED.Duration, PU1.PU_Desc, TEF.TEFault_Name, ER1.Event_Reason_Name TED.Duration = 720 PU1.PU_Desc = 'MHFN-300-004-030: Stretch Wrapper 4' TEF.TEFault_Name = 'Stretch Wrapper Mtr OL' ER1.Event_Reason_Name = NULL Returns a value of 0, and I don't understand why. Any help would be most appreciated. From my View: CASE WHEN TED.Duration < 10 THEN 0 WHEN TED.Duration > 10 AND PU1.PU_Desc like 'Sch%' THEN 0 WHEN TED.Duration > 10 AND rtrim(ltrim(PU1.PU_Desc)) like '%Speed' THEN 0 WHEN TED.Duration > 10 AND rtrim(ltrim(PU1.PU_Desc)) like '%Tracking' THEN 0 WHEN TED.Duration > 10 AND rtrim ...Show All

  • Visual Studio Team System Passing Data Between Tests inside an Order Test

    I have several coded web tests inside an order test. Does anyone know away to pass data from one web test to the next Specifically I have a web test that creates an object in a database. After I create this object I now want to send the object ID (just a Guid) to the next web test in the ordered test so that test can perform an operation on the object. I plan on putting this ordered test inside a load test so having a constant wont work. Also a static variable will work across one ordered test, but I have a feeling once I switch to a load test, the static variable will be global to the entire load test not just the ordered test. Any Ideas Web tests in ordered tests don't work very well sin ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. XNA Breakout

    Hello, I have about a year of experence with C# and I have tried a simple game using XNA, I made breakout with some crappy homemade graphics Would anyone mind to look at my code and tell me what I could do better with Note: The game is not completely done yet but for the most part, it works. Code is at http://joshmackey.net/programming/XNA/XNA%20Breakout/ The mouse is how most users switch between windows. By restricting the mouse to your window you prevent this and your app would not be being very windows friendly. However if you really must do it this naive approach works ok - its not perfect and you need to make sure you only do it when the window has focus. MouseState state = Mouse .GetStat ...Show All

  • Visual Basic updating acces database

    Hi friendz I made a program with an acces database. I have a problem with the updating: I run program, enter a new name, press ok, name appears. But when i restart the program, the name isn't there anymore. Code: Me .Tabel1BindingSource.EndEdit() Me .Tabel1TableAdapter.Update( Me .GamesDatabaseDataSet.Tabel1) Also I changed the "copy to output directory" property to "copy always" Can some1 say what I do wrong PLEASE DON'T GIVE ME LINK, I DON'T GET ANYTHING OF THOSE STUFFS I'd like the good code Ty in advance Marnik If you have it set to copy always, the database that holds your changes, will always be overwritten by the original database that you created the program with. Basically, you ...Show All

  • .NET Development Large Collection(s) of RegEx objects, is this OK?

    I'm writing a small application that parses data from a server as it is received, and have around 500 regular expressions that, when matched, perform various tasks.  What would be the best way to keep up with all of these Regex's, keeping the application as fast as possible I created a test application which looked something like this:      int y = 0;      for (int x = 1; x &lt; 2000; x++)      {           Regex xRegex = new Regex(@"^This is a test\.", RegexOptions.Multiline | RegexOptions.IgnoreCase);           if (xRege ...Show All

  • Visual C# Error while trying to run project: Unable to start program - Access Denied

    I have installed Visual Studio 2005 in my mechine. Then I just tried to create one windows application using c#.net . It was successfully created and build also. But when I tried to execute by clicking F5 it is throwing error like " Error while trying to run project: Unable to start program Access Denied " ...Show All

  • .NET Development PLEASE Correct me about the Primarykeys

    DataColumn [] keys = new DataColumn [1]; keys[0] = Personal_Info.Columns[ "Student_Name" ]; Personal_Info.PrimaryKey = keys; DataRow MyRow = Personal_Info.Rows.Find(STUDENT_NAME); ----------------------------------------------------------------- DataColumn [] keys = new DataColumn [1]; keys[0] = Personal_Info.Columns[ "Student_Name", "Lesson", Chapter", "Course" ]; Personal_Info.PrimaryKey = keys; DataRow MyRow = Personal_Info.Rows.Find(STUDENT_NAME, LESSON, CHAPTER, COURSE); ---------------------------------------------------------------- i am trying to set a primary keys depends on multi columns , i ...Show All

  • SQL Server How to enable service broker for specified database?

    Hi All, I am newbie in SQL Service broker. As we know, the is_broker_enabled can help us check whether the specified database is enabled for service broker. I would like to know <>How can I enable servce broker for specified database if I see the value(is_broker_enabled) is 0 <>How can I disable the service broker for specified database is I see the vlaue (is_broker_enabled) is 1 Do I need to dropped all service broker configration in the specified database Thanks in advance. Michael ALTER DATABASE test SET ENABLE_BROKER ALTER DATABASE test SET DISABLE_BROKER This temporarily shuts down the Service Broker operations in the database - you can enable and disable it as often as you want whet ...Show All

  • SQL Server What is the best most efficient performant way to do a Control break in SSIS?

    I have an EDI file with Different Transaction types. I would like to read for a Header, capture some specific info on the header, and read for another specific tran type that comes after and capture additional info. I have a couple of ideas like tagging the records with a key and loading into two temp tables for matching later but that means I would have to do double processing. Maybe a conditional split for the two transaction types and then unioning them downstream, but not sure if the right records would be associated. Possibly tagging sequential key and writng to raw files and matching on the raw file keys downstream. I have a lot of ideas but I am looking for the best proven practice here so i don't spin my wheels or have to g ...Show All

  • .NET Development CRL First time error

    Hi all, I'm a beginner in VSTS and C#. I have made a tool that uses a couple of references to external tools. When I run the tool, I often got a error message during the execution, saying : "The CRL has been unable to transition from COM context 0x19ffa0 to COM context 0x1a0110 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or..." If I close the debugger and re run the code, it works fine. Does anybody know how I can avoid this error message Do I have to instanciate or initialize the references Thanks a lot, Bertrand A common problem in Visual Studio. Disabling the "Visual Studio hosting process" tended to solve it. I hav ...Show All

  • Visual C++ Testing code

    I'm a new user to Visual C++. Once I've compiled and built a file how can i run it to see it in action Thank you. It almost works, but the command prompt disappears a split second after it loads before it shows the result of the code. If I choose Ctrl+F5 the command prompt remains but instead of just showing the results it says, Hello World!Press any key to continue . . . Does this seem right. It seems kinda clunky to me. ...Show All

  • Windows Forms How to change Text property of label control from a thread

    Hi Can anybody help me to change the text property of label control from a thread.(when a thread is running I need to change the Text property of Label) Thanks vizai Hi Karthik, this property has been available in all versions of the framework, see: http://msdn2.microsoft.com/en-us/library/system.windows.forms.control.invokerequired(VS.80).aspx It allows you to check if you are on the correct thread before updating a control. Mark. ...Show All

  • Windows Forms combobox question!

    dear all me a newbie to .net and so i assume you will forgive my ignorance. what I have is an array of dynamically created checkboxes mycheckbox[ i ] with some properties like mycheckbox[ i ].name, mycheckbox[ i ].id etc. This data like name etc for the checkboxes are read from a xml file. my question: when any checkbox is selected, I need to dynamically create a combobox in the form populated with options pertaining to that particular checkbox.  I want to do this from another xml file... something like... <checkbox> <checkbox1>            <option1>something</option1>            <option2>something else< ...Show All

  • SQL Server Urgent!! Reporting Services Problem - HELP!!

    Hello to everyone. i am using RS 2005 first time. i am working on reporting project. I am facing a problem. Problem is : Can i make my report header flexible as per data in report so that row value can not be wrap in second line and automatically adjust width for perticular record or i manually change its width If anyone know abt it pls reply me soon. Waiting for reply.... ...Show All

©2008 Software Development Network