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

Software Development Network >> samymelbourne's Q&A profile

samymelbourne

Member List

Jebat
Donaghy
tornin2
Alinushka
Mallyk
Debabrata.debroy
Michael Hotek
Wazoo
rtaiss
vgta
blackpuppy
MBarley
Dietz
Umair-Shahzad
rcsarp
Whoisit
Peter Ritchie
Magannahan Skjellifetti
WedgeSoft
Mahmoud Gourar
Only Title

samymelbourne's Q&A profile

  • Visual Studio 2008 (Pre-release) color space?

    Hi all, does anyone have any experience with WPF and color spaces (i.e. Adobe 1998) I'm finding that images loaded into my app keep their color space fine (in this case, adobe 1998), but i'm rendering a bitmap from on the fly compositions (some layered canvases) using RenderTargetBitmap. I encode to Tiff and save to harddrive and find the colors have changed dramatically. Not sure how to keep the adobe 1998 colorspace/ assign a colorspace /or even possibly assign and difference colorspace than the original. can't seem to find anything in the sdk docs or the forums... thoughts thanks, steve FYI, in order to reference a ColorContext when saving a file, try this: static class Utility { p ...Show All

  • Visual C++ /MTd and /clr options are incompatible. Why?

    Ok, here is the long story. I have a nice C++ component which statically links to about 10 libraries as well as links to ATL, C run-time library and MFC. Component is multi-threaded and it actually runs couple of threads inside but everything is nicely wrapped into one DLL which can be called from any .NET program. It was all fine until I tried to migrate this project from VS 2002 to VS 2005. After migration at first I got this message: Building MFC application with /MD (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD I checked settings and saw that migration changed runtime library option to Multi-threaded DLL instead of just Multi threaded. Well, I have no intention of having 10+ DLLs instead o ...Show All

  • Smart Device Development PROBLEM : Connection to emulator device using Microsoft Loopback adapter !

    Hi, I'm trying to get a solution for the following problem : I'm developing an application where I have to send data to an emulator (or an PDA connected to a desktop pc) using XML-RPC. To use this, I need the emulator to have an IP-address. I searched on the internet and found something about the Microsoft Loopback adapter. So installed and configured the adapter using the following configuration : - IP address : 192.168.1.1 - Subnet mask : 255.255.255.0 - Gateway : no - DNS : no This seems to work without any problems, I can see I have 2 connections running (my internet and the one using loopback adapter) To configure VS.NET 2005 I did the following thing : - select TCP-IP Transport (instead of DMA-transport) as the em ...Show All

  • Audio and Video Development How do I protect Embedding media player link?

    How do i protect Embedding media player link does anyone know how can i use an extention link with Embedding media player. or any javasprict to protect my link This question belongs on the Windows Media Player newsgroup: http://www.microsoft.com/windows/windowsmedia/community/newsgroups/WindowsMedia/default.mspx dg=microsoft.public.windowsmedia.player&lang=en&cr=US ...Show All

  • SQL Server Error 70038 on install Solved!

    Hi all I packaged .Net Framework & Sql Express with my setup project. When I attempt to install it on an XP (with SP2) system .Net Framework installs fine. The Sql Express gets about 25% of the way through then fails. Here's the content of the log file: The following properties have been set: Property: [AdminUser] = true {boolean} Property: [ProcessorArchitecture] = Intel {string} Property: [VersionNT] = 5.1.2 {version} Running checks for package '.NET Framework 2.0', phase BuildList Running external check with command line "C:\DOCUME~1\Gary\LOCALS~1\Temp\VSDA0.tmp\dotnetfx\dotnetchk.exe" Process exited with code 1 Setting value '1 {int}' for property 'DotNetInstalled' Reading value 'Version' of registry key 'HKLM\Softw ...Show All

  • Visual Basic how i can Run VB.Net Commands Under My Application

    Dear All I want to Make Application And when am run my application i want to but the vb.net Code in TextBox an run This Code if any body know this and can help me Thank For All Ayman_Hdaib, Since you would like to run the VB.NET code from your TextBox control input by the users, it seems that your project is a compiler. It makes me to imagine the command-line execution tools. However, the code is input to a TextBox control. According to your demand, I found an article in code project titled Compile and run VB.NET code using the CodeDom that demonstrates "run-time" compile and execute of VB.NET code, using the CodeDom. Please take a look at the following link and download t ...Show All

  • .NET Development Website

    Can Any body help me how can i create a web site that ather than localhost,i want it to have an address like juandelacross.com in my own computer my os is server2003 standard,please i'm an amature. they are all correct but,there is also other thing to do you have to configure your dns or if u dont know how you have to register ur domain,if u want to learn about configuring your dns to host your own internet domain or windows domain just text me so i can responce you any time i dont have internet connection at this time so you have to text me (0920-272884) ...Show All

  • Software Development for Windows Vista ASP app failing to create COM objects on IIS7

    I have an ASP app that I'm trying to run on Vista/IIS7. The ASP page creates a COM object that provides some content to the page but this is failing to create with the error: Microsoft VBScript runtime error '800a01ad' ActiveX component can't create object: 'ProgID....' The COM object is installed/registered and can be created with oleview. If I run procmon (sysinternals) looking at the registry access for w3wp.exe, I get entries where it's looking at HKCR/ProgID.... but returns NAME NOT FOUND. It obviously exists because Oleview can create the object. The IIS website has anonymous authentication enabled and this is set to the same user that I'm logged on as. I've made this user an administrator - still failed, all username ...Show All

  • SQL Server How to drop database table if it exits in sql mobile version?

    Hi, I am using VB.net and Visual Studio 2005 to compile a program for a Pocket PC with MicrosoftR Windows Mobile 2003 Second Edition. I am using sql mobile also. What I want to complete is like one of the following two queries. But when I tried them in the sql mobile, errors happened. So how can I complete the same function in sql Mobile Thanks. USE DBa if exists ( select * from dbo . sysobjects where id = object_id ( N'[dbo].[Table_a]' ) and OBJECTPROPERTY ( id , N'IsUserTable' ) = 1 ) drop Table Table _a or USE DBa IF OBJECT_ID ( 'dbo.Table_a ) IS NOT NULL DROP TABLE dbo . Table_a You should issue a query to check if table exists and if it does issue ...Show All

  • Visual FoxPro Hiding deleted items on grid

    Hello What I want to do is to hide deleted items in a grid in real time. I have a grid bound to a PRODUCT table. The grid displays all the products I have. I have SET DELETED ON in the Form's Load event In the grid's INIT event I have SET FILTER TO NOT DELETED() and in the DELETE event I have Thisform.grid.Refresh, to refresh the grid every time I delete an item. In a button called "DELETE PRODUCT" I have the following code DELETE So, when I choose a item in the grid, I click the DELETE PRODUCT button and the grid behaves a little weird, 1- The last record in the grid gets deleted not the one I chose. 2- The grid gets refreshed only when I click in another Item inside the grid. I have tried other ap ...Show All

  • Internet Explorer Development I

    Hi I have found some behaviour in IE7 that is inconsistent with IE6 and even Firefox. I am struggling to find a way to set the height of the first ROW of a table with a height of 100%. Here is a simple code snippet used to illustrate: <body style="height:100%; padding: 0px; margin: 0px"> <table cellpadding="0" cellspacing="0" style="height:100%; width:100%"> <tr> <td style="border: 3px solid red; height: 25px"> <table><tr><td>This is the top row</td></tr></table> </td> </tr> <tr> <td style="border: 3px solid blue;">This is the bottom row</td> </tr> </table> ...Show All

  • SQL Server Help Passing Complex Variable Types to a Web Service Task

    I need a little help here and appreciate any insight into this issue. I am building an SSIS package that retrieves data from a database to use in a web service task. So let me give you a little more broad overview of the package so you can understand how this is supposed to roll. A database is queried and those values are dumped into a recordset. A foreach loop uses each row of variables to call the web service and dump the returned values to another database. The first database holds a bunch of fields, but the four fields of interest are: a StartDate (DateTime), a StartFormat (single char), an EndDate (DateTime) and an EndFormat (single char). The output from the query of the first database is the input in the signature of a web servic ...Show All

  • Visual Studio Express Editions Invalid Column Name

    Hello, I am using Visual C# 2005 Express Edition and I am trying to connect to an SQL database. I have created the database with the following columns: id, first, last, phone, date I have created a binding source with a Data Grid View and I am trying to load the data. However, I am getting an "Invalid Column Name" error for NO apparent reason. Here is what my code looks like: SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|\\dsAllMembers.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"); con.Open(); if (con.State == ConnectionState.Open) { System.Console.WriteLine("So far, so good."); SqlCommand command = new SqlCommand("SELECT id, first, last, phone, date FROM tblMemb ...Show All

  • Windows Forms Having problems building my Setup Proyect??

    Hi! At the time that I'm building my Setup Proyect I have a 8 warnings saying Two or more objects have the same target location and one error saying Unrecoverable build error I don't know what to do beacuse I can not find the error. Please help me if you have seen something like this before because I want to run my application in another computer.... Regards!!! I had that problem... Dependancies of my project output had dependancies themselves; and the setup project will recurse until it has all related dependancies... however, when these recursed dependancies conflict dosen't do anything about it. So, the solution is to simply add in the references to all possible projects (or assemblies) which may get automatic ...Show All

  • Visual Studio 2008 (Pre-release) How to perform explicit Validation?

    I've implemented a validation object and successfully bound it to an input control (textBox) in XAML such that when I modify the UI, the validation fires, and prevents the value from being updated. I would like to trigger the validation explicitly, so that I can perform it as the result of a user click (eg. a Close button) and condition the closing of the window on successful validation. I tried doing this in code. Specify the UpdateSourceTrigger to "Explicit" in XAML in the Binding and validation declaration and then do the following in the click handler for my close button.            BindingExpression be = textBoxPosition.GetBindingExpression(TextBox.TextProperty);   ...Show All

©2008 Software Development Network