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

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

Mehmet Metin Altuntas

Member List

Jon50
neogortex
Elaine.Wong
Luis Esteban Valencia Muñoz
Kendal
Andrew Stanford
.net sukbir
Benin
Aelx
JavaBoy
Morely
Uggywuggy
strikefreedom
aztec2_step
Jeanet
Stve445186
PeterVrenken
Marauderz
GeorgesZ
polymorphicx
Only Title

Mehmet Metin Altuntas's Q&A profile

  • Software Development for Windows Vista ExternalDataExchage object crosstalk

    I'm seeing some odd behavior with ExternalDataExchange and wondered if I was seeing the correct behavior or what. I have an app and workflow that share data objects (versus serialized XML or something). The objects, being reference types, are created on the heap and therefore are available to objects running in the same AppDomain. The issue is I expected to see the objects serialized when passing between app and workflow (or back again) such that I would have two different instances of the objects being passed. To me, this was the architectural point of ExternalDataExchange. But that's not what I'm seeing. The objects, being reference types, are merely being passed by reference, so that when they're updated in one location (say, t ...Show All

  • Internet Explorer Development IE7 and desktop icons

    I just installed Internet Explorer 7 today, which I guess is a.k.a. Windows Live . All of my fancy customized shortcuts on the desktop disappeared and each got replaced by the same generic windows icon. Right-clicking & changing the icons in properties no longer works. Also, when I create an internet shortcut while browsing, that creates a shortcut with that same generic icon (not even an explorer logo). Now my desktop is just one forest of identical icons. Anyone know how I can fix this I've wasted all day without success. CPIAD That is exactly the problem and question I am also experiencing...I finally uninstalled both IE7 and Netscape 8.1 (which is also behaving unsatisfactoril ...Show All

  • SQL Server AVG MDX Function

    I have been trying to solve a calculated measure using both the sum/count methods and the avg function, but neither is working for the result that I want. We are trying to come up with an average course score based on an average test score. Example: user takes two tests (test1 twice for 50% and 100% - avg = 75% test2 once for 100%) and the course average would be (75+100)/2 = 87.5%. In our MDX we are getting (50+100+100)/3 = 83.33% instead. We do have a hierarchy set based on course-->test-->test iteration where test iteration is each individual score. The overall average works the way you would typically thing with the sum/count method, but not based on how we want it to calculate AVG(AVG(test1 scores) + AVG(Test2 scorces)). I t ...Show All

  • Visual Basic hiding the startup form

    Hi, I was wondering if there is a way to immediately hide the startup form on startup. The Me.visible = False and Me.hide() Methods don't work. I am trying to make a simple program that has a login form and the main form. When my program starts i want the login screen to appear and the main form to immediately disappear, then when the user clicks OK the login screen closes and the main form shows. Everything works except when the program runs both the login and the main form window appear and i can't seem to make the main form disappear, and for other reasons setting the login form as the startup form is not an option. Hope this is a simple fix. Connor There are a couple of ways: 1. Use a sub Main(). Y ...Show All

  • .NET Development Unable to write file with StreamWriter after replacing explorer as shell.

    Hi, everyone. We have an application that we are using to replace explorer.exe as a user's shell. The application runs in a manufacturing environment, is the only thing that we want to run on the machine. We are trying to write to plain-old text files from the application using the StreamWriter for logging purposes. If we set explorer.exe as the shell and then start the application from within explorer it writes the logs with no problem. Now, if we replace explorer with our applicationa s the shell, then no logs are written. Even if we then start explorer.exe after our application has started, still no logging. The code behaves like everything was written OK, but no file is created or appended. I even tried a third-party loggin p ...Show All

  • Visual Basic Saving data displayed in dataGridView

    I am fairly new to VB.NET 2005 and have a small problem that looks like a big one for me. Below is what I am doing to get queried data in the dataGridView at run time: Private Sub CompleteOperationsToolStripMenuItem_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CompleteOperationsToolStripMenuItem.Click OperationsDialog.Show() End Sub So on clicking event of the above code the operationsdialog form opens up which has got a workcentercombobox (which is dragged from the WC010931 dataset) and ok, cancel buttons. The code in this form what I have is: Public Class OperationsDialog Private Sub OK_Button_Click( ByVal sender As System.Object, ByVal e As System.EventArg ...Show All

  • .NET Development The best way of storaging images on server

    Hi i am beginner in net developing, and since what have a common question. Supposed what my web page have an set of images, which will be displayed in browser for user. Also intended what to this set will be supplied other images enough frequently. And the question is in which manner i should store this images on server part - in database, or simplesmente in separated files together with pathes to those files in database. What is the best solution. And other question if i yet sorage image data in database, what the best practice for one retriving from database and showing one for user (best for me supposed more convenient and rapid for developing). I mean is existed an asp control, which admit to show image from database directly (w ...Show All

  • Visual Studio Express Editions Weird behaviour of the 'is' operator. Is this a bug?

    I've noticed some strange behaviour when using the C#'s 'is' operator. As stated in http://msdn.microsoft.com/library/default.asp url=/library/en-us/csref/html/vclrfispg.asp : An is expression evaluates to true if both of the following conditions are met: expression is not null . expression can be cast to type . That is, a cast expression of the form (type)(expression) will complete without throwing an exception. For more information, see 7.6.6 Cast expressions . The following expression, however, returns 'false': 0 is byte Since 0 is not null, and (byte)0 casts successfully without any kind of exception, shouldn't it return true Just for your consideration. By the way, the expression '(byte)0 is byte' returns ...Show All

  • Software Development for Windows Vista Token through to Page.User

    I am building my own demo site based on the JulyCTP samples of "intro to CardSpace with IE7" and "decrypting a security token". Things are going well. I was wondering about the best way to get the Token attached to the Page.User so I can utilize the authentication and authorization tools of the rest of the framework. I see there is a call to EndpointIdentity.CreateIdentity in the TokenHelper class. Is there someway to get that into an IPrincipal How would that be done so it automatically assigned the IPrincipal for all Page.User's of all the web pages Thanks! Noremac You can get to the token in the pipeline. Try to use Context.Handler (which is of type Page when you post ba ...Show All

  • Gadgets Cannot add a gadget to sidebar

    Hello, I have the dutch version of windows ultimate vista. When i try to put a gadget from http://gallery.microsoft.com i can not add it to the sidebar. Ive download it install it but it's not visible in windows sidebar/gadget map and it will not appear on the sidebar. What i'm doing wrong. The second thing is that i can install the harddrive meter but it appears on the sidebar as a white square. Thnks for your help. Unfortunately, the Gallery currently shows gadgets for all langauges, even if you are using a locale that a particular gadget does not support. If the gadget supports a language in your fallback chain, the gadget will load. However, many gadgets currently only support en-us, and it's quite ...Show All

  • Visual C# Error while trying to run project: Unable to start program - Access Denied

    I have installed Visual Studio 2005 in my mechine. Then I just tried to create one windows application using c#.net . It was successfully created and build also. But when I tried to execute by clicking F5 it is throwing error like " Error while trying to run project: Unable to start program Access Denied " Please help me in this.   Thanks&Regards, Raja   Hi, I can run application without debug(ctrl + F5). But I need to debug the application. So could you please tell me where I need to grant the access. Please let me know Regards, Raja ...Show All

  • Windows Forms '&' character replaced with '_' in windows form

    '&' character is replaced with '_'. Ex: create a windows forms application with a single form and place a label control with value initialized to 'Praveen & Kumar' (say). run the application, now the label value is shown as Praveen Kumar. '&' is replaced.I think this is due to the menu short cuts which are replaced to the character after &. please any one can help such that text given to controls is shown as it is irrespective of characters such as '&', '@','|','$','#' etc... Hi, yes, the & character is used for shortcut access. To display this character, you have two options: 1. Set the text with escaped &: "Praveen && Kumar" or 2. Set ...Show All

  • Smart Device Development Determining internet connectivity

    Hi all, I have pretty much a common question (only could find examples in VB ...). I have a PDA application that needs to synchronise with SQL Server 2005, which means it has to be connected to the internet in order to do so. I'd like to enable the synchronise button only if internet connection is currently available. Does anyone know about a useful tutorial in C# that will allow me to run a thread that keeps checking the internet connectivity or just has some code that is able to check for internet connection on a PDA Thanks! Hope this one will help you... ...Show All

  • SQL Server how to get error message

    Hello! I am using T-SQL (SQL Server 2000). I would like to get error message (for example stored in some string variable) when error appeares. I found only system variable @@error which holds the error number of the specific error. But I didn't find any way to get a message which is written in SQL Qery analyzer in the Message window beneath the query window. Is it possible to get that message somehow I would like to store it in my error table... Thanks a lot, Ziga Thanks a lot! But anyway I would like to get the same message as is reported in sql server (with object names - attribute name). Systables contains attribute description with description of the messages with placeholders. I d ...Show All

  • Software Development for Windows Vista Cannot uninstall WinFX Beta2 (April) error 1603

    Greetings. I have problem uninstalling the WinFX 3.0 Beta2. This is the latest beta before the current (June CTP) so I think it is Beta2 April CTP. I try to uninstall from Control Panel, and get this error: [06/26/06,09:50:58] Windows Communication Foundation Beta 2: [2] Error: Installation failed for component Windows Communication Foundation Beta 2. MSI returned error code 1603 [06/26/06,09:51:22] WapUI: [2] DepCheck indicates Windows Communication Foundation Beta 2 is not installed. [06/26/06,09:51:22] WapUI: [2] DepCheck indicates WinFX Runtime Components 3.0 - Beta 2 was not attempted to be installed. Ok, so it seems that I didn't have WCF installed , therefore I cannot uninstall WinFX So, I try to fnid the WCF Beta2 ...Show All

©2008 Software Development Network