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

Software Development Network >> Mehmet Metin Altuntas's Q&A profile

Mehmet Metin Altuntas

Member List

Angry Coder
OneScrappyLady
SuperFox
maest
Sanjukta
nabeelfarid
phil_har
Rahul Singla
vbrada
jayakhanna
Lj47
Dave Midgley
billqu
lisaais
qqterry123
bill_csharper
vr3h
Leon_ye
Poma
goozbee
Only Title

Mehmet Metin Altuntas's Q&A profile

  • .NET Development Detecting remove lock event on file

    I have the following problem: We have to write an application that acts on changes on files. For example editing a word - file. We achieve this using the FileSystemWatcher from .NET 2.0.  When the word-file is saved the events correctly trigger, but the files are locked, which causes our action to fail, but this is not the problem. But when the user closes the word-application. The application release the lock,but  we can't seem to catch this event so we could run our actions then.   Does anybody has as solution Thx, gert So if there is no explicit windows way to detect a lock, we are back to an old-school trial and error approach to find out whether there is a lock ...Show All

  • Visual FoxPro pass contents to C#

    hi! this is sort of connected to my other post regarding Foxpro and C#.. in the foxpro program i will type in a name and when i call the C# program it will also contain the name entered in the foxpro program. is this possible How can i do this thanks! From C#, you use ADO.NET, connect to the database that contains the data and query it. There is nothing to it, and it is not related to VFP. A SQL Server database is a repository of data. Which client you use to access that data is immaterial to SQL Server. So it is perfectly OK to insert data from a VFP front-end and retrieve it from C# as you want to do. If you are unfamiliar with C# and ADO.NET, there are forums here for them where you can ...Show All

  • Smart Device Development Button Control

    I apologize if this is too simple an issue, but I am just beginning a project targeted at smartphones (e.g., Treo 700w). Why is there no button control in the toolbox for these devices I am porting an application from desktop and other Pocket PC devices, and I need the same look/feel on each device; i.e., I need to use buttons. Thank you for your assistance. Just to confirm then, when developing for the Treo 700w, one must use the Pocket PC form, not the smartphone form What happens with the phone-related controls cxroh ...Show All

  • Visual C# VC# Express crash with form designer

    Hello everyone, my first post here :) I have a problem viewing my Form in Form Designer; however, this only happens with the current project i'm working on. When I try to view my form i get the following error: One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. Error in the application. Hide at Microsoft.DirectX.Direct3D.Effect.FromFile(Device device, String sourceDataFile, Macro[] preprocessorDefines, Include includeFile, ShaderFlags flags, EffectPool pool, String& compilationErrors) at Microsoft.DirectX.Direct3D.Effect.FromFile(Device device, String sourceData ...Show All

  • Windows Forms Strange RectangleF behaviour

    Hi, I'm experiencing seeing some rather odd behaviour with RectangleF in release mode. Consider the following unit test: [Test] public void RectTest() { RectangleF rect = new RectangleF(0.2f, 0.0f, 0.8, 0.0f); //RectangleF rect = new RectangleF(0.25f, 0.0f, 0.75f, 1.0f); if (rect.Right > 1.0f) throw new Exception("rect.Right > 1.0f"); } When I run this test with the first rectangle initialization, it throws an exception. However, with the second rectangle, it does not. More generally, it seems that for x=1/n, and width=1-(1/n), where n is odd, the exception is thrown, but when n is even, it isn't (that rule starts to break down around n=25). Note also that no exception is ever thrown in debu ...Show All

  • SQL Server Where to find Reporting Services News

    I have read an article about Reporting Services that was rather critical regarding a number of topics. But, this article was from 2005 and I assume that there have been some improvements in Reporting Services since then. Or If so, are there any good places where you can find the news I haven’t been able to find a good site for news in, in this case, Reporting Services. Generally I search blogs.msdn.com, www.technorati.com , and blogsearch.google.com. The product teams blogs usually have the most up-to-date information. Here is one blog: http://blogs.msdn.com/bimusings/default.aspx One entry has lots of useful information. The Tigers Have Spoken (Reporting Services White Papers) I've got a virtual cor ...Show All

  • Visual Studio Express Editions error after wizard import from old VB 6.0 application...

    After import from wizard in vb express 2005 have error in select.vb: MODIFICHE_USER.ENTER_PROVA1 = Text1.Text attached old vb 6.0 and new project http://www.mytempdir.com/838111 http://www.mytempdir.com/838115  code complete: Option Strict Off Option Explicit On Friend Class SELECTION Inherits System.Windows.Forms.Form Private Sub CLEAR_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles CLEAR.Click Me .Text1.Text = "" Me .Text1.Focus() End Sub Private Sub SELECT_Renamed_Click( ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles SELECT_Renamed.Click Dim MODIFICHE_USER As N ...Show All

  • Windows Forms how to put my application on start up in deployment project

    hello to all.. i have completed my project and now i am preparing a setup project for it.. does anyone have an idea abut how can i put my application on the start up menu of PC that will install my project so that whenever the user turns on the PC my application will launch automaticallly please do not offer services i am new to development and i ddi not understand much of services... Hi all, i am using the publish method of deployment as my application should get automatically updated and at the same time i want the application should start at startup how can i place the shortcut in the start up of windows ...Show All

  • Visual Studio Express Editions Dataset Not Writing to Database

    Ive set up a small database project. I created it using the wizards, and used the dragging and dropping of the table in the data sources view to get the fields and buttons on to the form. That is all I have done, no custom code or anything. But it doesnt work. The data is written to the dataset as it is all stored while the program is running in VB. However if you close it the data is not written to the database (I did press the save button). I dont understand why this doesnt work as I have touched it myself. Any ideas on how to fix this problem Thanks in advance Code is beneath Public Class Form1 Private Sub Table1BindingNavigatorSaveItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Han ...Show All

  • SQL Server How to find out silent install is complete?

    I’m using installshield to install my program, from installshield I doing a silent install of SQL Express 2005, how I can find out than my silent install of SQL Express is complete is there more than one way if any thanks Fernando ...Show All

  • SQL Server problem with japanese character 俱

    Hi All, Create a table , and put in some row 子 and 俱 and fire a query something like SELECT * FROM mytable WHERE (myColumn = '子 ') it gives me right result. But if i fire SELECT * FROM mytable WHERE (myColumn = '俱') It does not return any result for the same even if myColumn has '俱'. Surprisnly if i fire query like "SELECT * FROM mytable" it correctly dispalys 俱. What's the reason for the same Why does it is not able to search me on this japanese character( 俱 ).Collation is Japanese_Unicode_CI_AS Regards, Sunil Hi Sunil, you wil have to indicate that the string is unicode in your query: SELECT * FROM mytable WHERE (myColumn ...Show All

  • SharePoint Products and Technologies (WSS3) XML web part cannot load xml file in different site collection

    I uploaded a xml file into the Shared Document lib in the root site (/Shared/link.xml) In the subsites of the root site, i can use the xml web part to load the xml. However if i am in another site collection (e.g. /sites/site1/), the xml webpart cannot load the xml: "Cannot retrieve the URL specified in the XML Link property. For more assistance, contact your site administrator." I already grant everyone permission to the link.xml in the root site. Please helps. Thanks. Jason ...Show All

  • .NET Development RS485 and SerialPort

    Can .NET SerialPort class be used to talk to RS485 I tried to communicate to RS485 serial port using .net SerialPort class but failed: I write data to the rs485 commport, the DataReceived event never fires. The same code works fine with RS232. Can anyone here help me out You need special hardware to convert the RS485 signals to RS232 signal levels. Do you use such hardware ...Show All

  • Windows Forms How to erase the lines I have drawn a moment ago ?

    I have to cover the first line with a new line with the same "backcolor".if the backgroundimage is a picture, how do i do Also, you can do it in this way. Like the raster operation in win32 api ControlPaint.DrawReversibleLine(PointToScreen(ptStart), PointToScreen(ptEnd), SystemColors.Control); Pay attention that the method takes the screen coordinate. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Pixel Shader 1.1 not available

    I'm using Intel D845GVSR main board and it has 64mb VGA and 512mb of RAM but my main board does not support Pixel Shader 1.1 or greater, I want to do game programming but this problem does not allow me to do so. Please give me some suggestion to avoid this problem without purchasing any new Hardware. I'll very thankful to you, Farhan This page will help you ...Show All

©2008 Software Development Network