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

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

kemal

Member List

JOSII
Bdenison
r0d
incendy
QWERTYtech
tenchyz
CodeScribler
Mike36
Yelnik
Palle
bxw
j.harkness
Sergio Ordine
Peejj
onlineanuj
petersmith
Sriharsh
gbrot
Mortsdeh
littleflsh
Only Title

kemal's Q&A profile

  • Visual C# Working with multiple tables in a sql database

    Hello, Was wondering whether anyone could point me into the right direction for a tutorial on inserting data from a c# form into multiple relational tables. For example, what I am trying to achieve is to have a two tables in a sql database. Both have a unique primary key. For example People Table consists of peopleID, Firstname, Surname, Dateofbirth Employee Table consists of employeeID, Department, Office, peopleID There is a foreign key relationship between the peopleID in both tables. I want to create an add new employee form that hasText Boxes for the following fields firstname, surname, dateofbirth, department and office and inserts the data into the people table and the employee table. The reason for this is that if ...Show All

  • Visual Studio 2008 (Pre-release) Checkbox State Gets unchecked even after assigning checked as true to control

    i ve tab control n i ve one checkbox on one of the tabpage it. This checkbox is bind now scenario is like that on form load my controls gets bind n values of checkbox is assigned as true but logic in this form is that on click button i have to remove some tabpages n store this tabpages in tabpage collection n now wen i add those tabpage which i ve stored in tabpage collection. And when i select the tab pages in which the check box value is assign the state get Change to unchanged state and when i remove the binding of check box it give me proper value of checkbox. whether i ve to preserve the state of checkbox n then assign it back. but ive also tried it the same but still it goes wrong.. plz suggest some ways that c ...Show All

  • Visual Basic Dragging and/or selecting multiple controls

    Hello I want to select mulitple controls at same time at run-time so I can move them or make changes to all of them at the same time. In the same way as possible when creating a form in the designer, Selecting more then one control by holding your mouse down. How can I do this. thanks in advance. Smit Hi Here are a couple of useful links http://support.microsoft.com/Default.aspx kbid=317479 http://www.codeproject.com/cs/media/MixedRubberBandApp1.asp The first is in VB but subject to issues for some types of drawing (albeit should be ok for your project). The second is a little more indepth but is in C#. The basic premise is to draw an 'Xor Rubber Band' and then locate the controls within the recta ...Show All

  • Visual Basic Troubleshooting with IDE - Unable to open search!

    Hi. I have Visual Basic 2005 Express Edition and I am having problems with the "Search" option, where you type in Keywords and it searches on 4 different websites / places including my on-board MSDN. It has worked before, in the past, and has been very helpful... But lately it will not open when I try to start it. When I click on the "Search" button at the top it gives me this message box: "The type initializer for 'Microsoft.VisualStudio.CommonIDE.Help.Sylesheet' threw an exception." and that is all that it tells me. I have no idea why it says this and will not open. I have also tried reinstalling my software and that did not help a thing. Thanks, I hope you can help. -Joe M. ...Show All

  • Visual Studio 2008 (Pre-release) Installing WCF with dotnetfx3setup

    After installing using the setup program, I am woring through the WCF Hands On book and it asks to add reference to System.ServiceModel. I cannot find the System.ServiceModel entry in the list of references under the .Net tab. You know what, it would help if I paid attention to the blog you referenced to see that I need to install using the command line. I installed the VS Extension and it works. Thanks for you quick assistance. ...Show All

  • Visual Studio Team System Installation of Team Foundation server

    Hello I am installing TFS on virtual instance of Virtual Server 2005. I have installed Windows 2003 server on Virtual instance. Description Team Foundation Server is attempting to install on a domain controller Workaround / Remedy This computer attempting to install Team Foundation Server components onto a domain controller. Install on a domain controller is not supported for more information see Team Foundation installation Guide. Then I found in the Team Foundation System Requirements Team Foundation Server (Single Server) The following is a list of recommended system requirements for Team Foundation Server. You should also verify that your computers meet the minimum system requirements for eam Foundation Server p ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# Exception Assigning an Index Buffer

    I'm getting a D3DERR_INVALIDCALL when using the Device.Indices to try to assign an index buffer. Near as I can tell the index buffer is valid and created, the specific function that is getting the exception is Device.set_Indices. Strangely the Indices seem to be set properly to an index buffer. Here is the render function: virtual public void render(mon_mesh mesh) { mesh.primeMesh(); Device tempD = mesh.CurrentDevice; tempD.Indices = mesh.ib; tempD.SetStreamSource(0, mesh.vb, 0); tempD.VertexFormat = monVert.FVF; tempD.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, mesh.vertCount, 0, mesh.indexCount / 3); } and the portion of the prime function that dea ...Show All

  • .NET Development xmlbulkload and namespace problem

    I'm an xml thickie and after searching for hours I can't find the answer to a problem. I have a XML filefragment to load that (simplified) looks like :- <L:Record> <L:Field>fdgdfgfg</L:Field> </L:Record> I cannot get it to load thru xmlbulk load. If I modify it to use the default namespace <RECORD> <Field>fdgdfgfg<Field> <RECORD> then it loads with this schema <xsd:schema xmlns:xsd=" http://www.w3.org/2001/XMLSchema " xmlns:sql="urn:schemas-microsoft-com:mapping-schema"> <xsd:element name="RECORD" sql:relation="RECORD" > <xsd:complexType> <xsd:sequence> <xsd:element name="Field" ...Show All

  • .NET Development System .Net tracing vs network monitor

    I'm monitoring an asp.net 2.0 app on windows 2003. This aspx page calls asynchronously an asmx web service on another server. I'm looking for some clarification on the tracing behavior. Looking into the traffic with a network monitor I see that I receive small HTTP packet (the corrisponding tcp packet is: Tcp: Flags=...PA..., SrcPort=HTTP(80), DstPort=20287, Len= 1460 , Seq=2278731085 - 2278732545, Ack=2977840638, Win=64388 (scale factor 0) = 64388) Looking in the trace of System.net I see System.Net Verbose: 0 : [5940] Data from ConnectStream#5312697::Read System.Net Verbose: 0 : [5940] (printing 100 out of 4096 ) System.Net Verbose: 0 : [5940] 00000000 : <content stripped> System.Net Verbose: 0 : [5940] Exiting Con ...Show All

  • Visual Studio Team System "retiring" or locking a branch recursively

    Can I "retire" a branch (in the case of an activity branch where the changes are merged back into the main development branch and the activity branch is no longer useful) so that the branch is no longer visible to the team members Or, is there a way to lock a branch recursively to prevent anyone from checking in/out any items in the branch To prevent the branch from showing up entirely, you can remove the Read permission from the team members. Locks are inherently recursive. If you lock the branch then nobody will be able to checkin or checkout (depending on the kind of lock). Quick guide on locks vs permissions . ...Show All

  • Visual Studio Team System MSB3021 errors when building solution that includes website

    I have a solution with 7 projects in it (1 website, 4 libraries, 2 c# executables, and 1 j# executables). I first had problems figuring out which build platform to use but I think I got past it. Now I am getting errors when it is trying to copy 4 files from the website bin directory to the drop location. It should be copying the files to: \\server\projects\deployment\filename.xml Instead it is trying to copy them to \websitename\\filename.xml Any ideas maybe I'm missing something then. If I have multiple projects in a solution, where each have a configuration file with the same name, but different values in it, how can that work ...Show All

  • Silverlight (formerly WPF/E) Whats the difference of xbap and wpfe?

    When should I use one or the other!! For what kind of applications To add to the mystery I have had this off-the-wall hypothesis, is it true Is XBAP related to ABAP (logic below) Organization seeming to drive policy ( http://www.dmtf.org/home ) Their Visio CIM diagrams explain more than any article I have found Microsoft uses SAP internally to handle their HR Comparing the diagrams over a period of time one notices more SAP components .Net has been moving to the user level for sometime now If someone was going to implement a user management system they would most likely use something similar to their own implementation Oh, not to mention ABAP is the SAP language (notice the similarity xbap v ...Show All

  • Smart Device Development SystemProperty.Date/Time data type

    Hi All, I am trying to use the managed state and notification broker API (Microsoft.WindowsMobile.Status.SystemState) and am struggling with date / time values. For example: SystemState.GetValue(SystemProperty.Time) returns a byte array of length 8. Does anyone know what this represents and how to convert it to a usable time value Ultimately, I want to launch an application when the time equals a specific value but I need to understand what to use for SystemState.ComparisonValue before I can do this. Thanks, Joe I'm not absolutely sure, but it's probably this: http://msdn.microsoft.com/library/default.asp url=/library/en-us/sysinfo/base/filetime_str.asp DateTime.FromFileTime() can be used to co ...Show All

  • Windows Forms Open form with button

    Sorry, I would like to ask a very simple question but I can't do that how can I open a form by clicking a button Thank You I have still no idea on it ...Show All

  • SQL Server SQL Express replication

    Please could someone clarify for me if SQL Express can be a subscriber to a SQL Server 2000 replication I am interested to know if a SQL Express db can subscribe to both snapshot and transactional replication. Thanks I'll answer my own question here - documentation I found suggested that SQL Express can subscribe to SQL Server 2005 replication. From my testing, it looks like it will also subscribe to SQL Server 2000 replication without any issues. I will post further if I come across any problems. ...Show All

©2008 Software Development Network