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

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

kmcclung

Member List

2162
brottmayer
Fisher Bao
Jamie Thomson
Mahesh Gaware
priyanka.dash
Joe Simmonds
JYB
kineticAnimation
ivanbolcina
xXDynamosXx
Fekih Mehdi
Pradeep Gupta
Computer Guy69146
Jim Mc
A.Russell
tronn
DarrellMerryweather
shakalama
PatrikC
Only Title

kmcclung's Q&A profile

  • .NET Development OraclePermission

    I keep having this problem when I tried to run a program from another machine. {"Request for the permission of type 'System.Data.OracleClient.OraclePermission, System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."} Any comments Hi My first .NET project was using Mainframe DB2 database with Web Services and .Net 2.0 which lasted between 2006-2007. This year, I am starting on a .NET project (not incorporating web services) using Oracle database. I noticed that as I started building my test application to connect to Oracle and retrieve data from Data Provider classes and Data Sources, things started slowing down and eventually I started gett ...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

  • Windows Forms Identifying COM components in a deployment project

    Hi, I am developing a deployment project in VS2005 in which there are several COM components also. I know the Register property of each COM component is to be set to vsdrfCOM but the problem is that how can i identify which file is a COM component and which one is not Any help,suggestion,link would be highly appreciated. Regards, Wasif Ehsan. The setup project does a pretty good job detecting these for you. If it's a managed assembly, it will have vsdraCOM as a value to the Register property. It also has the grey box icon. If it's otherwise, it will have vsdrfCOM as a value. It also has the file/document icon. ...Show All

  • Windows Forms How to access controls on another form

    Hi, I need to access a control that is on a separate form, I have 2 forms, my main form and the details form,so my main form calls my details form, but from my details form I need to access some of the information on the datagrid that is on the main form, I was thinking on using properties but there are too many fields that I need to access, so I was wondering if there is another way. Thanks. When wanting to have one form make changes to another or it’s controls, it is possible to declare the target control(s) as public members instead of private ones... this however is generally considered bad practice as it violates the encapsulation concept of object oriented programming and instead the common suggesti ...Show All

  • Visual Studio Team System Can i force developers to add comments at check-in ?

    I need developers to add comments at check-in time - probably i will need a custom check-in policy (how do i do that ). I know i can force developers to asociate work items at check-in but in our case it would be much easier if i could force them to add only comments ! 10x Glad this topic was of such use - actually about step 3 - the name of the key should be the name of the dll (without extension) and the value is the absolute path to the dll. The rest should go smooth - if you are interested i can post my solution (that was built after this thread); there's a setup project there too, so that you don't have to mess around with the registry. Best of luck ! eraniopub wrote: ok i solve the problem an ...Show All

  • SQL Server SSIS advantages

    This may be too general a question but I'm going to ask it anyway. I'm moving data from a source DB (say A) to a target DB (say B). On A I need to join 3 tables and, after some lookups etc., I need to populate several tables in B. Inserting into B's tables involves sequential operations because in many cases I have to get back the value of an Identity column to use as in input value in a another table 'downstream'. Additionally, the tables in B are populated as a group i.e. if the insert on any one fails the entire group's insertion needs to be rolled back. I set up a set of stored procedures to do this. The master Stored Proc opens a read-only cursor and for each row of the cursor executes the other SPs in proper sequence. Some of t ...Show All

  • .NET Development Easy way making two programs connect together over internet.

    Subject says it all. What is the easiest way to make two programs connect together over internet. My plan is to make two programs "talk" together over the internet. So, how Still dont get it! Can someone please help me post some code for creation of sockets or something. Cause its just confusing! vb6.0 was so easy, why would 2005 express be so hard ...Show All

  • Visual Basic New project-needed help with many features

    I just started using vb 2005 express for a school project, so I'm quite unfamiliar with it. I would like to do some advanced "add" features, which I need help with: 1. Not be able to proceed to the next form unless all fields are filled in. Get a warning message when pressing the "confirm" button. 2.Allow more then 1 radio-button to be pressed in the same form. 3. Generate random pictures (validation pictures) each time I open the add form. You have probably seen these things before on website registrations (write down the code you see in the picture).  4. Each picture should have a code, which must be written in the field below to be able to proceed to the next form. Once again, the same feature ...Show All

  • .NET Development How to create a class model for using XmlSerializer.Deserialize() on a preset schema?

    I am attempting to create a class model which will consume the following XML: (note: there are different types repeated under the root node) <TypeA> <TypeB id=”1” /> <TypeB id=”2” /> <TypeC name=”1” /> <TypeC name=”2” /> </TypeA> Unfortunately the XML is rigid (it's a pre-defined standard). Is it possible to create a class structure that will model this using XmlSerializer.Deserialize() Thanks, Jacob Pitts Morgan is correct: XmlSerialzier is schema-driven serializer, if you can create a schema that describes all your xml instances, then you can use xsd.exe to generate classes (from ...Show All

  • SQL Server How to use a Table Variable

    Hi all, I have a table which holds a list of users names & the table assigned to each, e.g. - John Smith - Table1 - bob Jones - Table2 etc I have a store procedure which calls the information from the user's table based on the username. Something like this: Select * from @UserTable So if user is John Smith then @UserTable = Table1. Though the @ function does not work for referencing a table. Is there a workaround to this Rgds & thanks. Hi, Couldn't you federate the username table and the multiple user tables into only one table and use a stored procedure That would save you a lot of trouble. i.e. where you have: Table_users User_Name, value_1, Value_2, Value_3 Value ...Show All

  • Visual C# Canceling a BackgroundWorker

    Hello everybody. I am still a newbie and I did not understand much from the articles I was able to find about canceling a BackgroundWorker. Anyway. I have a form and a button on it. When I press the button I start the "time consuming" operation. I also have another button - a cancel button. What I want to do is whenever I click the cancel button, to stop the operation... Is is possible for someone to explain it to me a bit clearer! Thanks in advance! kstanoev wrote: Anyway, I got it...I just made a bool variable called cancel...so whenever I press the cancel button i set the value of cancel to true, and after each iteration in the function i check this cancel variable. if(cancel == true) { break; } and this simply e ...Show All

  • Visual Studio 2008 (Pre-release) Suitable inheritance?

    Hello everybody! Just wanted to get your input on a decision I have to make.. I want to design a menu where the items flyes out in a quarter-circle when clicked. The question is, what is most suitable to inherit from Button, Panel or maybe Menu The problem with Panel is that it does not have the Click-behaviour of the button. The problem with the Button is that it does not have support for multiple Children. Menu would be ideal, but how customizable is the Menu, I have not seen any examples of this. edit. hmm, just realised that perhaps the HeaderedContentControl would be the best choice Thanks for your input! /Simon ...Show All

  • SQL Server auditing no of connections made to the database

    Hi My application connects to 3 databases . I need to know how many connections are made by my application to each database There are two applications servers. Basically what i need is to know how many connection to each database from each application server. (that is how many connections from application server 1 to database 1,2 &3 and how many connections from applications server 2 to database 1 ,2 & 3) Can this be done .. How to do it Please help me in regard to this Thanks in advance. In SQL Server 2000 Enterprise Manager, open Management/Current Activity/Process Info and look for the logins the app uses (under column "User") and the databases (under ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Render transparency with shaders

    Hi All! I'm in the beginning of shaders programming. I've two shaders that renders two meshes with some nice textures effects This is my great render queue: setEffect1 drawindexedprimitive setEffect2 drawindexedprimitive Cool. Now, i want the second drawindexedprimitive to draw the mesh at the half of opacity, over the first mesh rendered with Effect1. Have i to modify Effect2 so that it supports some kind of alpha blending transparency Or is there some magic setrenderstate bunch of commands that do the trick Thanks in advance Hi guys, thanks for your answers. I have to modify my pixel shader that is: float4 hotPS(vertexOutData IN) : COLOR { float2 nuv = float2(IN.Color0.x,0); float4 nc = tex2D(Grad ...Show All

  • Smart Device Development User Control data binding

    Hi! I am trying to bind a UserControl Text property to SqlCeResultSet: Binding b = new Binding("Text", myResultSet, "DateDataEntered"); b.Parse += new ConvertEventHandler(ParseCtrlValueToDate); b.Format += new ConvertEventHandler(FormatToDateCtrlValue); myUserControl.DataBindings.Add(b); I overridden Text property fro my UserControl, but could not specify [Bindable(true)] attribute - it looks like it is not supported by compact framework (yaks...). It looks like my control displays value from the first row in the data table, but not parsing value back to database.All other bound controls on the form transfer data back and force without problems. How can I properly bind UserControl I ...Show All

©2008 Software Development Network