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

Software Development Network >> Mark Freeman's Q&A profile

Mark Freeman

Member List

Becker2
StievieD
SimonOng
Zadoras
Alexander_Monday
GeoffPennington
SanthaMind
JTai
eyupcinar
BabuKP
ssfftt
regthesk8r
Misbah Ahmad
Bertrand Caillet
Chris Richner
xRuntime
Xiaobo Gu
Alex2200
Andre.Ziegler
cdun2
Only Title

Mark Freeman's Q&A profile

  • Software Development for Windows Vista Synchronous Web Service Calls

    Hi all. I have two distinct WFs, WF A and WF B, that send messages to each other using Web Services. When A calls a Web Service in B, B receives the SOAP request but it seems that B reply is asynchronous. B replies to A only when it finds suitable to do so. A have a few questions about this: 1. What conditions B has to meet so it can send a reply to A Does it need to be idle 2. I really need synchronous web service calls. Is there a way to implement this How 3. Since WF A is waiting for a reply from B, what happens if B takes to long to reply (B does not meet the conditions that are necessary to send a reply to A) Is there a timeout that should be handled by A Thank you for your time. Any help is welcome. Joh ...Show All

  • Visual Studio Express Editions TreeNode->Tag ("4:3") into two INT values

    I've been a Javascripter for a few years now, I'm spoiled when it comes to Data Types being easily changable. Here's what I'd like to do, I have a TreeView control that I've assigned ->Text & ->Tag to. The values of the ->Tags are aspect ratios & I've got them stored like this. 4:3 A later function needs to use thoose aspect rations to adjust the size of a thumbnail. My problem is that I get errors when trying to get variables I can perform math with from thoose TreeNode->Tags. I've tried using the String->Split method & casting the two pieces into Integers, but I haven't been able to get it to work. I've since beginning, used an if/elseif structure to handle the aspect rations since there's onl ...Show All

  • SQL Server Where is the database selection dropdown in Management Studio?

    Hi, I am a long time user of Sybase and SQL Server 2000, and have been trying to get used to the new Management Studio for the past few months. I have found many situations where I ended up in the wrong database, almost ending up deleting production data, etc. At this point, I am back to pasting temporary "use DB" clauses in my edit window just make sure that I am in the right place. Where is the eqivalent of the sql server 2000 database selection dropdown Also, how can I display the current database on the screen All I see now is the tab showing abreviated file and db, that I constantly have to mouse-over to see. It looks something like "DB........test.sql" thanks Did ...Show All

  • SQL Server The connection manager 'OLEDB' is not properly installed on this computer

    Please help someone from MSFT! I've just finished installing the Sep CTP on my laptop.  I previously had the April CTP and June CTP.  I followed the instructions for removing a previous installation of SQL 2005. Now, when I try to create an SSIS package, I get a message that says: TITLE: Microsoft Visual Studio ------------------------------ The new connection manager could not be created. ------------------------------ ADDITIONAL INFORMATION: The connection manager 'OLEDB' is not properly installed on this computer. (Microsoft.DataTransformationServices.Design) For help, click: http://go.microsoft.com/fwlink ProdName=Microsoft%u00ae+Visual+Studio%u00ae+2005&ProdVer=8.0.50727.24&EvtSrc=Microsoft.DataTransformationServ ...Show All

  • Windows Forms How add a item to combobox

    how i can add a item to combox with value an display value without use a datatable Thanks A ComboBox stores objects, not just strings. You can store your own object; override the ToString() method to generate the text the user will see. Here's an example: public partial class Form1 : Form { // Content item for the combo box private class Item { public string Name; public int Value; public Item(string name, int value) { Name = name; Value = value; } public override string ToString() { // Generates the text shown in the combo box return Name; } } public Form1() { InitializeComponent(); // Put some stuff in the combo box comboBox1.Items.Add(new Item("Bl ...Show All

  • Visual Studio Tools for Office Word VSTO: BeforeClose, Close, ShutDown and Document Saved

    Word 2003 VSTO Solution using C# In my Word VSTO solution, I recently added a BeforeClose() event handler, so I can "restore" Word's commandbars (those I've hidden and whatnot). Since having done this, anytime a close the document using Word's close button (X), I am prompted to save the document. So I added this.Saved = true; in the BeforeClose handler as the last line and yet I'm still prompted to save the document. So I added a Close() event handler and checked the saved property, and sure enough, it's set to false following the BeforeClose() event. So I tried setting this.Saved = true; in the Close event in hopes the Save dialog would not display ... but that does not work!!! For giggles, I called base.Close() in the close event han ...Show All

  • Visual Studio 2008 (Pre-release) How to control line breaking in TextBlock ?

    I have a problem with the text layout algorithm of the TextBlock. Consider the text fragment "+3/+4". WPF thinks that it's fine to break the line after the slash, and I understand that it really is (except when followed by a number, which is not the case here). But the problem is that I don't want it to happen. I've tried to add a Word Joiner (0x2060) after the slash to prevent the break, but it doesn't seem to be recognized and looks like a square box. I've tried the Zero Width No-Break Space (0xfeff) also. This one seems to work, altough the effects are varying, depending on what follows it. When it's one (or many) plus, they disappear ( !). Given that the Unicode support for those characters looks partial or at least buggy, ho ...Show All

  • Commerce Server Variant Chooser

    Hi, When the user sees the product detail screen with variants on the site, I would like to automatically choose the first variant in the list. How and where would I make this change. I have the Single Chooser, List Box currently set for parameters. Please Advise. Good point, Sorry about that. There is an overloaded constructor it appears that lets you specify the Selected property, so I guess the only route to go is to put a counter on the foreach, (or use a for and check the indexer where the code is creating the new SelectOption) and when it's 0, or 1 if you increment a counter before the end of the loop, then use the constructor with the selectOption param else use the default one in t ...Show All

  • SQL Server Invalid class string in Enterprise manager

    Hi, Sorry to be cross-posting, but I'm not getting much response to this... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=807314&SiteID=1 ...which I don't even think is in the right forum anyway. can anyone help Basically, I get a error box saying "Invalid class string" in Enterprise Manager whenever I try to run a query. nope didn't work. I installed the Analytical services, ran the regsvr line (which worked) but still having the same problem. btw, I used to have some version of SQL Server 2005 installed (as part of Visual Studio 2005) but removed this, as I though this was causing the problem. I tried a repair of Visual Studio 2005 hoping this might help, which t ...Show All

  • Visual C# Bind folder structure to a Treeview

    Hi Please transilate the following code for me to C#: This function collects and displays the files in a specified folder as hypelinks on a webpage. I would like to attach this to a TreeView control on an aspx webpage.Thanks in advance.I would also like to have the file list as hyperlinks ,so that the files opens when clicked on. Function ShowOfferFileList(folderspec) dim FileExtension dim FilePath Dim fso, f, f1, fc, strList dim i Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.GetFolder(folderspec) Set fc = f.Files For Each f1 in fc FilePath = cstr(f1.name) FileExtension = GetExtension(FilePath) 'FileExtension = mid(FilePath, len(FilePath) - 3, 3) 'FileExtension = mid(FilePath, 1, 3) if ...Show All

  • SQL Server Update with Inner join

    I have an MS Access query that needs to be converted ot SQL Server 2005 Access Query: UPDATE tblCheckNumber INNER JOIN tblHistory ON tblCheckNumber.Autonumber = tblHistory.AutoNumber SET tblHistory.CheckAmount = ([tblchecknumber].[amount1]), tblHistory.CheckNumber = [tblchecknumber].[checknumber], tblHistory.CheckDate = [tblchecknumber].[checkdate], tblHistory.AccountNumber = [tblchecknumber].[AccountNumber], tblCheckNumber.Updated = "YES" WHERE (((tblHistory.CheckAmount) Is Null Or (tblHistory.CheckAmount)= 0 ) AND ((tblHistory.CheckNumber) Is Null ) AND ((tblHistory.CheckDate) Is Null ) AND ((tblHistory.AccountNumber) Is Null )); SQL conversion: UPDATE tblC ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. What's difference between Express and Professional?

    I've installed the Express edition beta 1, but I have interesting to the Professional edition. I thought the Professional edition should have more classes than Express edition, but I've never seen any documentation to compare the class library of each edition. Could you tell me the differences of them, particularly about class library Or I'd be happy if I could find the reference manual of XNA Game Studio Professional on the net. Thanks, Hayashida Check out the XNA FAQ for the answer to this and other related questions: http://msdn.microsoft.com/directx/xna/faq/ From the FAQ: Q: What’s the difference between XNA Game Studio Express, XNA Game Studio Pro and XNA Studio A: XNA Game Studio Express ...Show All

  • SQL Server Live Onecare subscription lost

    Hi  I got the following error message when I make a new integration service project  Failed to save package file "C:\Documents and Settings\Administrator\Local Settings\Temp\1\tmp2B.tmp" with error 0x80040155 "Interface not registered". Can someone help Me Guys, there are thousands of interfaces registered on a typical Windows box. The error can be caused by missing registration of any of them. We've found that particular problem ("Interface not registered" error when creating new SSIS project) is usually caused by incorrectly registered msxml dlls - my reply above describes how to fix it. Regarding other applications - like media player, etc - there is no common answer, and you should be looking at t ...Show All

  • SQL Server Notification services not installed

    We are upgrading a Windows 2003 system with SQL Server 2000 and we've been seeing the notification services .net dll fail to install. The error that is displayed has a internet lookup to Microsoft. When we lookup the error it mentions that MS DTC needs to be started for the notification services to be installed. We re-imaged the box and verified it was running prior to the install of SQL 2005. Anyone have any ideas why this error is occurring The first place to check for a failed install would be the SQL setup logs (in %ProgramFiles%\Microsoft SQL Server\90\Setup Bootstrap\LOG). The notification services installation log should be one of *NS.log. ...Show All

  • Windows Search Technologies Printing Outlook 12 Beta 2

    When i print my email, only the header is printed. Why Hello queenstreetmotors, This forum is for questions specifically regarding Windows Desktop Search. I'm not able to answer your questions regarding Outlook. For best results, I would suggest posting your question in the Outlook newsgroups here: http://www.microsoft.com/technet/community/newsgroups/dgbrowser/en-us/default.mspx dg=microsoft.public.outlook.general Paul Nystrom - MSFT ...Show All

©2008 Software Development Network