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

Software Development Network >> Cuneyt Deger's Q&A profile

Cuneyt Deger

Member List

son of dad
Dave9999
Kausar Parveen
austriana
Phanita
markovuksanovic
WolfgangEngel
realz
James Bannan
Aarontt
shafiqm
billg51
Neal Sidhwaney
Leo Liu
bachie
BryanMiller
sstaten
El Guapo
TTris
TheDevilsJoker
Only Title

Cuneyt Deger's Q&A profile

  • Visual Studio Team System Perforce TS convertor

    Hi All, Does anybody know how much work involved to write a Perforce to Team Foundation Version control convertor I don't think such convertor exists yet. Can this be done by use VS SDK Or I will need to write to database directly Any comments would be help. Thanks you all in advance. Hi Eugene. Thanks for this piece of info. WIll definitely try this out and let you all know about my experience. - Shabariji. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 1.) Lock/Unlock vs. SetData/GetData and 2.) predefined vertex formats

    Two points spring currently to my mind. Is there any reason besides simplicity not to use the common Lock/Unlock mechanics I would prefer the addition of this to the API. GetData/SetData canthe simply be mapped onto this. I have a large terrain, that I tesselate into the locked buffer directly... With this new scheme I have to build a temporary array and then copy over via SetData, same with textures. On the other hand, if we have to live with this, why do we have the managed pool anymore, kind of pointless! The other thing are the predefined vertex formats... Any reason to not expose the members directly and use setters and getters instead I don't see the point here too, this just forces us to create one intermediate result and copy oper ...Show All

  • Visual Studio Unhandled exception trying to view windows form

    In a C# Windows application in VS 2005, I'm simply double-clicking a form in Solution Explorer to view it, however, it always prompts me to check the form out. If I don't check the form out, I receive an error dialog: The control System.Windows.Forms.Form has thrown an unhandled exception in the designer and has been disabled. Exception: The checkout was canceled by the user. Stack trace: at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) Clicking "OK" on the error dialog brings up my form (or the border of it anyway) and then continues with a trace of the errors inside the form instead of showin ...Show All

  • Visual Studio 2008 (Pre-release) Enterprise UDDI Services and a SQL 2k Cluster?

    Hello All, I have a couple of UDDI Services questions here. In the document "Enterprise UDDI Services: An introduction Evaluating, Planning, Deploying, and Operating UDDI Services" there is mention of using multiple Web servers to connect to a single database instance. What is not mentioned is whether the reverse is supported. Can I have a single UDDI instance connect to a SQL 2000 Cluster Specifically, how does the UDDI service behave in the event of one node failing over to another If I have a box die and I need to put up another box in its place and I have backups of the DB, can I simply install UDDI on the new box, restore my DB's, and redirect the App tier to the new box What's the best practice ...Show All

  • Visual Studio Tools for Office combobox in microsoft excel

    Hi, I noticed that you can add a combobox through data/validation in microsoft excel, however when you leave that cell, there will be no longer any indication that the cell has a drop down list. Is there any way to add a combo box in excel with the drop down indicator at all time. thanks i'm adding through clicking on the cell, and then selecting data menu/validation. After that, I change it to a list and make sure in-cell drop down list is checked and add values. Is there another way to do it ...Show All

  • SQL Server Trouble setting-up witness.

    Not sure where I am going wrong ... I am able to set-up the mirroring , but the witness set-up always fails. I am running all the 3 SQL servers (Enterprise edition) with same domain account, which is also a member of sysadmin locally within each SQL server. When I try to add the witness on Principal using the following command: ALTER DATABASE MyDB SET WITNESS = 'TCP://WitnessServer:7022' I have even tried the IP address with port number and fully qualifying domain (TCP://WitnessServer.xx.xx.com:7022) and I get the following message in error log. 2006-06-20 10:16:55.07 spid57 The ALTER DATABASE command could not be sent to the remote server instance 'TCP://WitnessServer:7022'. The database mirroring configuration wa ...Show All

  • SharePoint Products and Technologies Changing applicaiton pool account

    A mistake was made during setup and an actual user account was used for the application pool acount. If I simply go to SharePoint application pool and change the identity to Network Service the SharePoint web site show "Cannot connect to the configuration database." How can it be changed now Which account should be used for administration application pool Your help is appreciated. You should run the application pool with a user account - create a system user (for example sys-SharePointAppPool) and use it for the application pool. But since that account needs access to the databases, you should also go into SQL and give it security permissions to the database manually. ...Show All

  • .NET Development returning fields from SWbemObject

    Hi there, I am using WMI to send a WQL query to an SMS server and retrieve information on systems on our LAN. I am working on a .net application to display the results of these reports. I am able to return an SWbemObject with the results of the query. In order to access items in the object I use code like this: Dim objResultSet as SwbemObjectSet Dim objResultRow as SWbemObject < CODE THAT CONNECTS TO SERVER AND EXECUTES QUERY > For Each objResultRow In objResultSet objResultRow.SMS_G_SYSTEM_CDROM.DESCRIPTION Next The problem with this is that I want to be able to return the field value, without hardcoding the field name. something like dim fieldName as String fieldName = "SMS_G_SYSTEM_CDROM.DE ...Show All

  • Visual Basic How to Find last record in a database

    How can I find the last record (row) in a database I am developing a VB 2005 program that must read a sql database and find the last record so I can retrieve the last "Batch Number" used. This will then be incremented and the new "Batch" record will be inserted into the database. I can't find a SQL command that will work except to read each record until the EOF. Can this be done Thanks, Ron you could use: SELECT TOP 1 [PKfieldName ] FROM [tableName ] ORDER BY [ PKFieldName] DESC Then to read it use the SqlDataReader to read the result returned: Dim theLastRecordNumber as Integer = -1 Dim theSQLCommand as new SqlCommand("SELECT TOP 1 [PKfieldName ] FROM [tab ...Show All

  • Visual Basic Determine if a Registry key is writable

    Greetings, Is there a way to determine if a particular registry key is writable by a user The program which I'm developing needs to write to HKLM area and I wish to make sure that the currently logged-on user has the permissions to modify/write to a specified branch (HKLM\Software\MyBranch). I'm using VB 2005. The program is designed for Windows XP and Vista. Will I need to use GetAccessControl function If so, a small code snippet would be greatly appreciated. Thanks in advance! I am having the same delima, however the solution you provided will not work in the case of Vista for me as Vista now has the virtualization of the Registry so even if the write fails, the write succeeds it just doesnt ...Show All

  • Visual Studio Express Editions How can i kill a process?

    o.k i i am trying to kill the iexplore.exe process what am i doing wrong here the code: Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim ps As Process ps = Process.GetProcessByname( "IEXPLORE.exe" ) ps.Kill() End Sub i get this error: Error 1 'GetProcessByname' is not a member of 'System.Diagnostics.Process'. the funny thing is that the exact same code works with "getprocessbyid" tnx i just can't get it to work i will really appriciate if you will give me a full solution or explain to me what exactly is wrong with my code. tnx ...Show All

  • Visual Studio Express Editions how to access the parallel port?

    i want to send and recieve data through parallel port i dont what class shall i use or function i need help plz Excellent! The second ref to DLPortIO works great. I have written a pulse generator routine with it that will write to a particular data bit on the parallel port with a specified pulse width and delay. Glad to share if anyone is interested. ...Show All

  • Internet Explorer Development IE7: Img control NOT allowed to view local files???

    Hi, I have an image preview function (in javascript) that allows the user to view an image before it is uploaded to the web site. I use the standard upload control (type="file") which- when set by browsing to an image- is used to determine the image path on the user's local machine. For some reason IE7 refuses to display the image. This works in IE6. I have to admit that this did not work in FireFox so maybe there is some standards incompatibility that is involved. code is : var path=up.value; // 'up'is the upload control img.src=path; // 'img' is the image control I've tried various ways to modify the local path with file:/// and file://localhost/ but nothing seems to work. Any one know Thanks! Jack ...Show All

  • Smart Device Development Using XmlSerializer to serialize Window Forms control in v2 of the framework

    Hi, I'm trying to use an XmlSerializer to serialize Forms Controls (in this case a TextBox) see the code below: MemoryStream ms = new MemoryStream (); XmlSerializer objectToXml = new XmlSerializer ( typeof ( TextBox )); objectToXml.Serialize(ms, textBox1); textBox1.Text = ms.ToString(); When the code get to the creation of the XmlSerializer it throws the exception: An unhandled exception of type 'System.NullReferenceException' occurred in System.Xml.dll Could anyone tell me what I'm doing wrong, can you actually serialize windows form controls Any help is much appreciated. Thanks in Advance Andy No, you can not serialize controls. Desktop won’t do it either – i ...Show All

  • SQL Server Do you need 1 or 2 SQL licenses to install RS on separate web server?

    Plese help with this issue by reading and responding!!! If you install Reporting Services 2005 on a separate web server from the database engine do you need 1 or 2 SQL licenses It's a more complex issue than it initially appears to be. Please go to the following thread and read the bottom of page 1 and page 2. Please help verify this! Page 2 contains a post with 5 steps that you can perform to verify that only 1 license is actually need! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=198900&SiteID=1 Note: Unfortunately this discussion got started in a off topic thread in the wrong category. I wrote this thread so that interested people could find it. ...Show All

©2008 Software Development Network