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

Software Development Network >> Mohamed Hussein Kotat's Q&A profile

Mohamed Hussein Kotat

Member List

Appel
WoFe
XImplosionX
RichardW411084
Steve Jensen
ahmedilyas
hanumanth
Mike737Aviator
Strandberg
williambeaker
Istvan137
Vaassu
brockmoore
Pascal Frey
Kohl.Mike
DarrenARBell
rtaiss
J-J-J
Vijay_kar
Thore
Only Title

Mohamed Hussein Kotat's Q&A profile

  • SQL Server Setting primary key of new row being inserted

    Not sure if this is the right place for this post or not, but I'll give it a try... If I am inserting a record into a table that uses a Primary Key, but not an Identity column, how do I insert the new primary key value I started out with SQL just letting the Identity column increment itself for primary keys, but I cannot do that for this particular situation. If 'AddressID' is the primary key in the 'Address' table, could I do something like this: INSERT INTO Address (AddressID, Field1, Field2, ...) VALUES (**max value of primary key in Address table, plus 1**, 'field1data', 'field2data', ...); If that works, how would I make this part of the insert query: **max value of primary key in Address table, plus 1** I hope this question is clea ...Show All

  • Visual Studio Team System Test Team Collaboration

    I am a Newbie to VS2005; when I create a test case it is stored on the local machine’s C: drive; once developed we want to be able to share our test cases among the multiple members of our test team and to manage them under document control. I have investigated but, as yet, do not see how this should be done properly. Is the recommended method to create a TFS Task Work Item for each test case Lester, we store the test documents (word docs) under Team project in windows sharepoint services. This gives versioning of documents and also these documents can be accessed in Team Explorer under Documents node. Creating workitems for those documents may be useful if you want to track their states or progress ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. .. I did it Part2 Loading FBX file Vb.net TRIDEX .....

    Hi, They said it could not be none, well here it is for vb.net load and compiling a xnb file and displaying a model!!!!!! Loading Xfile and Fbx file, they have really got some speed in XNA!!! VB.NET code on my website: http://www.tridexconsultants.co.uk/pages/downloads/XNA%20VB.NET.zip Notes: Microsoft please get this on dot net, if it is this easy to hack then please, please, please !!! .NET for ever..... ... Tridex ... Sure, if one just wants to try and make a game with XNA, then yeah use C#, but I don't think that's what Tridex is trying to accomplish. He probably just wants to see if it can be done and he wants to be the first one to do it. Good for him! How is Tri ...Show All

  • Windows Live Developer Forums Calling Map Object From Another Browser Window

    Is there some reason why I can't do step "(c)" The intent is to enable a given hyperlink, when clicked, to pan to a specific lat/lon. This used to work before new Map control version. (a) Create a map instance in Window #1. (b) From Window #1, open a popup window populated with hyperlinks containing lat/lon data. (c) Refer to the map object in Window #1 using, var map = opener.map; Here is the relevant script located in the popup window: < html xmlns ="http://www.w3.org/1999/xhtml" > < head > < title > Mapped Facilities </ title > < script language ="javascript" type ="text/javascript" src ="http://dev.virtualearth.net/mapcontrol ...Show All

  • Visual Studio 2008 (Pre-release) Cannot run August CTP Samples

    I installed the August CTP, after the LINQ Preview. Everything installs correctly. I opened the solution in VS2005 and built it, everything compiled. I mapped a virtual directory to the installation folder of the webapp sample (on my machine - 'C:\Program Files\Microsoft SDKs\ADO.NET vNext CTP\Samples\CSharp\WebAppSample') The first time I try to access the sample it takes a long time, then errors out to this : An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) Descr ...Show All

  • Windows Forms Scroll listboxes together

    Hi, I'm trying to get two list boxes to scroll simultaniously (when I scroll one, the other one follows exactly), I'm looking for a scroll event but I can't find one. Is there a way to do this Thanks, Weiran. I had solved this problem earlier where 2 listboxes had to be sync'ed while scrolling horizontally.So,here it is- http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=474291&SiteID=1 ...Show All

  • Software Development for Windows Vista Sync Center

    How does the Sync Center work What is the new enhancement that it has from XP Does it allow me to sync offline files to a hand held device instead of my own computer I have tried connecting a USB thumb drive, a USB hard drive and even a mobile phone with blue tooth. Still the Sync center features are not fully functional! The device gets recognized but does not sync! I found this link : http://forums.microsoft.com/TechNet/ShowPost.aspx PostID=741356&SiteID=17 This says that the next release will work! If it is to work how different will it be What exactly does it do Hi: In this forum we try to focus on questions about developing software for laptops, Tablet PCs, and ult ...Show All

  • Windows Forms help with DataGridView

    hi all. i set my DataGridView.DataSource=MyDataTable after i update a field in the DataGidView and Clicked on another field, i wanted to get the changed rows from my MyDataTable . (MyDataTable.GetChanges) but it is NULL. only if i press the TAB or exit the grid(after updateing a filed), it will be updated and i'll get the changed rows from my MyDataTable. why i'm not calling any update method. after editnig a cell i click on another cell, thats all i do. now, when i click on a save button, and check for the datatable.getchanges i get null. ...Show All

  • Visual Studio 2008 (Pre-release) Annotations ant attributes

    Hello Well, I'd like to know precisely which annotation has what effect on the WSDL file that is generated. I'd also like to find out the relationship between attributes and the wsdl file. Where can I find that information Please let me know. Thanks. I found this speclet in some old email... I believe this is still up to date. WSDL Export Projections These imperative properties will be projected to WSDL on export as follows: · wsdl:definitions[@targetNamespace= {1} ]/wsdl:portType[@name= {2} ] 1 1. Set to ContractDescription.Namespace 2. Set to ContractDescription.Name · wsdl:definitions[@targetNamespace= {1} ]/wsdl:binding[@name= {2} ] 1. Set to Binding.Name ...Show All

  • SQL Server Certificate not found

    Hello I haw trouble getting the service broker to work I have 3 instances of SQL servers: 1 “Sender” SQL 2005 Server 2 “Receiver 1” SQLEXPRESS 2005 3 “Recevier 2” SQLEXPRESS 2005 What I wont is to be abele to do is to send a message from “Sender” to “Receiver 1” or “Recevier 2”. I am abele to send a message from “Sender” to “Receiver 1” but if I send a message to “Receiver 2” I get a dialog security problem I think. If I use profiler I can se in “Receiver 2” the events: Broker:Connection Audit Broker Login Broker:Message Classify Audit Broker Conversation = Certificate not found Broker:Message Undeliverable And I cant find what’s wrong, this Is my s ...Show All

  • SQL Server SSIS "Running Packages"

    Is there any way to check from SQL code if a specific SSIS stored package is running like a SQL system view or stored procedure Management studio option works fine but not if you need to determine if a specific package already is running or not You can do it programmatically, but it is not exposed via SQL. See http://msdn2.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.application.getrunningpackages.aspx for details. ...Show All

  • SQL Server Questions on translation and naming attribute

    Hello I have a few questions regarding the translations. 1. Is it possible to create this neat auto-generated date dimension in any other languages than english 2. When I use the Currency format string on my autogenerated measure groups they all turn out as $, but when I use it on a calculated member it chooses the correct currency. How can I change this for the auto generated measures 3. After creating the member, how do you define the deafult member show from the dimension. Say for example that I have DimEmpl(Code, Name). I would like the Name attribute to be the attribute showing by default. I know this is possible while creating the dimension, but what if I want to change it later Thanks // Richard ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Where do I find my Xbox 360's Connection Key?

    Where can the Connection Key be found on my Xbox 360 to get it to connect with XNA You need to purchase an XNA Creators Club membership first, and download the XNA Game Launcher onto your Xbox 360 from Xbox Live Marketplace. Then you'll be able to generate a connection key on the console to enter in XNA Game Studio Express. XNA Creators Club memberships will not be available until we launch, which I believe is December 11th. --Stephen ...Show All

  • Windows Forms Populating treeview with database?

    Hi..  How to populate the treeview control with sqlserver 2000 database Does the treeview control only work for parent-child relationships I tried to connect with the database, but the treeview is not displayed in the browser.  Below is the code that i have used public partial class _Default : System.Web.UI. Page { DataSet CategoryDS = new DataSet (); protected void Page_Load( object sender, EventArgs e) { if (!Page.IsPostBack) { LoadDataSet(); BuildEmployeeList(EmployeeList.Nodes, 0); } } void SelectEmployee( object s, EventArgs e) { // do stuff }   void LoadDataSet() { String conn = ConfigurationSettings .AppSettings[ "connStr" ]; ...Show All

  • Visual Basic IP Camera HowTo?

    Hello everyone, I've just installed an IP Camera in our network and started to fool around with it. The software supplied by the camera itself is written in Delphi and pretty much doesn't do much. I was wondering if there was a way to connect to this Camera from the network with VB I googled around and didn't find much on connecting to this camera (or any ipcamera that I could understand). All I know is that the camera runs a sort of webserver on port 8888 that when I connect to asks for a username and password, afterwards it forwards me to a page where I can watch a stream of jpeg images (mjpeg) I think. If anyone can help me or point me in the right direction on how I can connect to this device (or similar device) and show the i ...Show All

©2008 Software Development Network