Software Development Network Logo
  • VS Express Editions
  • VS Team System
  • Visual C#
  • SQL Server
  • Architecture
  • Windows Vista
  • Visual Basic
  • .NET Development
  • Visual FoxPro
  • Visual J#
  • Windows Live
  • Visual Studio
  • Visual C++
  • Windows Forms
  • Game Technologies

Software Development Network >> Mike Haladjian's Q&A profile

Mike Haladjian

Member List

Dave at Detica
BoshBuy
eshu
username
EGH25091970
has2nk
vort3x
PMace
.Fortune
Sumit Chawla
Fady El-Rukby
arrayhunter
bzoli
jradi
Jyh-Cheng Chen
Ulf Lagerb
UGimelS
Phillip Feldman
Luis H Mora
obiwanjacobi
Only Title

Mike Haladjian's Q&A profile

  • Visual C# serialize mail messages

    For a message queue I need to serialize (and later on deserialize) many MailMessage s. Quite generally I ask myself, which is the best way to do this To .eml To a mbox format How can this achieved Are there any free libraries (open source preferred) Thanks a lot Jan Yeah, it can get heavy on disk access if you have alot of mail going through that box.  I did do load testing and I averaged it out to be about a 25% performance loss for 1000 messages with the sink activated.  Although my event sink is really heavy, it is multi-threaded so I gain some performance back there. You don't need to be running Exchange or an event si ...Show All

  • .NET Development .NET Remoting & Indigo

    I had a look at the famous article "Introducing Indigo: An Early Look" ( http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/introindigov1-0.asp ) and I would like to add another row to the comparison table and that is "activation model", while .NET remoting has got a comprehensive model for activation (Single call, SAO, CAO), web services on the other hand just support single call. My question is about Indigo, Which model does it support I used the CAO model and it was wonderfull, its model is very close to local object oriented model and basically you can have one piece of code for both of local objects and remote ...Show All

  • Windows Forms How to bind to BindingSource.Current?

    Hi there, I currently wonder how to use the BindingSource class in a seemfull manner. I have written a UserControl that has a property where you can set a BindingSource instance as a source of addresses. I also have a BindingSource on my Form. The control should display and allow editing of the current address. The "current" address is the one that is the value of the Current property of the "external" BindingSource, the one on the form. When I assign a BindingSource instance to the control that encapsulates an address table, the internal BindingSource of the control does not have the same value for the Position pro ...Show All

  • Windows Forms Sharing classes between projects in a solution in Visual Studio Express Edition

    How do I share classes between projects in a solution As I read misc. help topics, this should be possible, but it seems like menu items for it is missing. Could this feature be disabled in the Express Edition of Visual Studio C# Here's one way: Choose "Add existing item" and browse for the class file. Do not click "Open" button (in a FileDialog) but instead click an arrow just beside the "Open" button. Select "Link" option and you will have selected file added to VS solution as a "linked" file (with small arrow indicating a link on the file icon). When y ...Show All

  • Windows Forms Modifying Images

    I am trying to create a program that displays a map, which is a satellite photograph, of  a street or community for example. I want to design it so that I can have several small icons on the form that users can drag and drop on the map, to "mark" certain spots on the map. I then want the user to be able to save these changes to the map, and print the map with the icon on it. Can anyone point me in the right direction, maybe an idea of what objects or namespace is capable of this, or a tutorial Thanks in advance, smtraber Chris, you're awesome! I'm gonna have a go at it and hopefully I'll get it working. Thanks again, smtraber ...Show All

  • Smart Device Development system will not resume ? dead? after following code

    tested on HP6315: PlaySound(_T("Alarm2.wav"),NULL,SND_FILENAME | SND_ASYNC | SND_LOOP); Sleep(1000); GwesPowerOffSystem(); // never resumed, press the power button will not effect GwesPowerOffSystem() API is OEM implementation dependent. I tried the same code on emulator and it is just powered off. Checkout, if possible, the implementation details. ...Show All

  • Visual Studio Express Editions How to create ODBC Data Source

    Hi, I installed Visual C++ Expres Beta 2 and want to "Add New Data Source" for Database but when creating connection there is possible to choose only SQL Server and MS Access. I would like to work with ODBC data source. I checked registry and under HKLM\SOFTWARE\Microsoft\VCExpress\8.0\DataProviders there is registered .NET Framework Data Provider for ODBC. Why am I not able to choose this component Is there any workaround, or must I wait for final release Many thanks. For the express beta2 SKU's   the only database3 providers supported are SQL Server and Access. To use other database providers will mean purchasing a st ...Show All

  • Visual Basic access to runtime created webbrowsers' events

    hello. im trying to make a multipaged webbrowser. the user can add page (tab) and in this case - if more pages there are - each page has an individual webbrowser. i navagite them from a combobox. when u select the first tab and key in an url into the combobox the currently active webbrowser (on the first tab) navigates to that url. and this works with all newly added tabs. my question is how can i access these runtime created tabs' runtime created webbrowsers' events eg: documentcompleted or navigating, etc... can anyone help me ok... after a lotta thinkin' i made it myself Anyways a lot of thnx to You. and got one more questio ...Show All

  • Software Development for Windows Vista How to provide paths to Runtime for CreateWorkflow from XOML?

    My XOML contains custom activities. How do I provide the paths to the custom activities assembly so it can resolve them I know one way is to put all the assemblies together with the host. But sometimes the assembly are located with the "client" app, not the "runtime host". With WorkflowCompiler class you have librarypaths property, however the runtime compiles directly from XOML, and I can't see librarypaths for the runtime. In http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=208634&SiteID=1 Vihang seems to use TypeProvider as a runtime service. But that still doesn't solve the problem of paths. you can wri ...Show All

  • .NET Development how do I handle the DBNull fields

    1/ I have a checkBox that I want to fill with a value from a Bit field in SQL server. But when the field has a Null value, it gives me an error. How do I convert the DBNull value to a boolean and how do I handle the DBNull values of my table columns. 2/ One more question: I ve seen a technical document about handling Null values from the database in the MSDN articles, but I didn t keep the URL. Does any body know it pls. Thanks. Compare the field value with IsDBNull and set the checkbox as true or false as required. Ex: Datareader.IsDBNull(0) MSDN article for handling Null Values: http://msdn2.microsoft.com/en-us/ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. using pixel shaders with C#

    i have a bunch of "old-fashioned" ps files that i don't have the time to convert to HLSL. i have the managed directx book and searched the forums but i cannot find the answer to this simple question: how can i use those old ps files with C# and managed directx i have the latest february sdk and vs 2005 installed but there's nothing in the documentation that is helpful. in fact, the documentation for managed directx is sketchy AT BEST. could someone please post a few lines that outline the steps for getting from a ps file on hard disk to a PixelShader class thanks. You need only two lines of code ...Show All

  • SQL Server Default Web Site using wrong IP

    I just installed sql server 2005 on a windows 2003 server.  I chose the option to install but do not configure.  After restarting, I used the Reporting SErvices Configuration Manager and it all looks ok.  When I browse to //localhost/reports I get a rs page with the message of: The request failed with HTTP status 400: Bad Request. One slightly unusual thing is SQL Server 2005 was installed as a named instance ("(local)\SQL2K5") - the server's default instance is a sql 2000 installation, which had RS installed and running.  Before configuring RS for 2k5, I deleted the VDs for Reports and ReportServer ...Show All

  • Visual C# DataGrid RowSelection

    Ok. I've asked this question before, but with a DataGridView. I would like to know how to put the selected row inside a textbox once it is selected. Hi, bind the column from the underling dataset you want to apear in the texbox to the textbox. If you bound your datagrid and your textbox to the same dataset the value in the textox will update with no code. ...Show All

  • Visual Basic simply play music (midi, wav ect...)

    How do you play music on form load just play music (from file) i tried Sub PlayBackgroundSoundFile()     My.Computer.Audio.Play("C:\Waterfall.wav", _         AudioPlayMode.Background) End Sub didn't work hi can any1 help me to play wav audio file in Visual C++ thanks u a lot. in whatever way, please enlighten me. ...Show All

  • Visual C++ Visual C code to change parent process of new created process

    Hi All, I have a problem while working in Visual C. I want to change the parent of a newly created process by my own code. E.g: " I am opening a notepad.exe by using CreateProcess API in Visual Basic 6.0 and another Visual C application is also runing that need to track the newly created process (notepad.exe) . The parent process of newly created process (notepad.exe) is visual basic application from which the notepad.exe in initiated. What i need to do is just change the process parent from visual basic application to whom i want. " Please any one could tell me the answer or any suggestion. Regards, Kamran Ali Hi Martin, Please ...Show All

©2008 Software Development Network