Chris Walters's Q&A profile
Architecture Need help on solution architecture employing BizTalk Server & MSMQ Server
Hi, I have a potential software project for a large ad composition agency. The requirement is briefly as follows: 1. There will be front offices located in more than a dozen locations across multiple states. These front offices would be posting requirements about advertisements to multiple back office located in some other country. Each front office would have about 10 users. 2. Each ad could be approximately 6MB in size consisting of metadata and graphic files. 3. There will be 3-4 back offices with about 200 users in each location. 4. Jobs posted by the front offices wou ...Show All
.NET Development Problem in converting byte[]to stringBuilder
HI, I am trying to write a small function to script some object data and if I was to script a photo ,I am trouble to convert it to a string. I have a for each statement that loops a datarow and depending on the type I append to a stringBuilder. I have a routine that converts to text I got it from snippets that should do the trick but cannot make it work. The problem i have is in the byte case statement. foreach (object item in tmpRow.ItemArray) { itmCount++; itemType = item.GetType().Name; switch (itemType ) { case "String": { tmpString = string.Concat(" ...Show All
Visual Studio 2008 (Pre-release) DLinq provider?
We are in the middle of developing an ORM system in C# 2.0. The system differs from conventional ORM tools in that the data classes are maintained through a userfriendly interface. The system dynamically maintains and compiles both the codefiles and database. The system has built in logic for handling user access, revisions, relation fields etc. At the momement we are developing a query object for retrieving data and are looking into using syntax similar to Opath or NHibernate. Will we be able to support DLinq with our system through implementing DLinq interfaces or making some sort of a DLinq provider http://www.webscape.n ...Show All
Windows Forms Filter DataGridView That Has Columns With Values From Other Sources
Hi, My name is tomer. I have a problem with filtering a datagridview. the grid is bound to a binding source. I have a text box that alows me to filter the DataSource accoording to the values in the text box. How do i filter the DataSource when i have a combo box column in the DataGridView Example: I have a combobox that show customer name ( value is customer id). CustomerID is 1, CustomerName is Tomer When i write in the filter text box "T" i want the datasource to bring me all the values that start with a "T" in them (like tomer). How do i do that thanks. ...Show All
Audio and Video Development DirectShow vs. Media Foundation for new application
Hi Prakash, Please could you answer some questions for me I am evaluating Media Foundation vs. DirectShow for a new application to be written in C#. The required functionality is: * Decode a large range of video formats and extract individual frames. * Insert individual frames and encode a large range of video formats. I currently achieve this using DirectShow from C++, but I have some difficulty using DirectShow from C#. 1) Is Media Foundation available for me to download and use now I can only find some very brief documents on the web site, no API reference and no download I can see. 1) Would you recommend Media Foundation for this applica ...Show All
Microsoft ISV Community Center Forums Shared Addin using Word
Hello Everybody, i have created a shared addin for word. i succeded with adding an item in the context menu of word (text context menu). The menu which appears during right click of a text. I did that thru adding an control button on "TEXT" commandbar which is for context menu thru addin. The problem now i am getting is the associated event for that command button which newly inserted is not firing. If i try to add the item in some other menus say "HYPERLINK CONTEXT MENU" or "WORDART CONTEXT MENU" etc., the click event of the menu item is firing properly. The procedure which i followed on both the cases is one and the same. I am sure that th ...Show All
Visual Studio Team System How to create additonal directories in output
I am new to Team Build and I am struggling to create additional directories in the output. To elaborate: By default team build drops all binaries in $BuildDirectory$\$ProjectName$\AutomatedBuild\Binaries\Release. I want to create something like the following directory structure in $BuildDirectory$\$ProjectName$\AutomatedBuild\Binaries : ├─── Binaries │ │ ─── dir1 │ │ ─── dir2 │ │ │ ─── subdir1 │ │ │ ─── subdir2 And I want to selectivly place binaries, and other configuration text files in these folder. Can someone suggest me how can I do that using teambuild. I will really ...Show All
Windows Forms My latest pet peeve
Erm, just a thought...but PLEASE...*PLEASE* add a .Tag or .Name property to MenuItem ..i'd be in love then :( I've done this before, but then I sacrifice being able to use the designer to modify the menu. Does anyone know if the Menu designer can be forced to use a custom MenuItem instead of the normal framework MenuItem Thanks, Ro ...Show All
Visual Studio Express Editions Export Data into an existing Excel File
Hello The following code adds the string "Test" into the A1 field. In this Case, it opens a new Excel File / Workbook. However, i don't want to use a new Workbook, i want to insert the data into the Field A6 of an Excel File which already exists. The Excel File in which the Data should be inserted is named User55 How can i do that Imports Microsoft.Office.Interop Public Class Form1 'Keep the application object and the workbook object global, so you can 'retrieve the data in Button2_Click that was set in Button1_Click. Dim objApp As Excel.Application Dim objBook As Excel._Workbook Private S ...Show All
Visual Studio from purticular pc VSS database not able to connect
hi all am not able to connect vss from a particular pc, but from the other pc i can open the database with the same user, the error is when i connect is "unable to access the user.log file", but user same or admin i can login from the other pc. pls help me out thanks in advance You may not be using the same Windows account to access the database share when connecting from different computers. The Windows user you've used to loggon on the machine from which you don't have access probably doesn't have write access to the database files. I'd check the share and ntfs permissions for the database folder, ...Show All
SQL Server Random variable modeling using T-SQL
Good day. i'm a new person here and not that familiar with T-SQL... the question is: is there any buil-in functions or special libraries in T-SQL that can help to generate correlated random variables with non-normal distribution function It would be also good if someone could advice if there is any application (statistical programm or non-microsoft developed library) that can deal with MS SQL and has modeling and forecasting capabilities... thanks in advance Well, since no one else has answered yet, I will chime in with an " " answer. I am not clear with what you want, though it is ...Show All
Windows Live Developer Forums Virtual Earth Shared Map
There is a new Activity in MSN Messenger - "Virtual Earth Shared Map". I have downloaded it and tried to run in test mode. But it did not run properly: address search in map is not working. Probably, application can't have permissions to access outer server to get data. Changes in XML setting file did not help. So, is there exists some special permission which are not accessed in test mode Aleksei, the Virtual Earth Shared Map app is a beta and is still having a few issues worked out. Keep trying to use it as we are working to have all the problems ironed out in the next couple of days. ...Show All
SQL Server C# CLR best practice example
Folks - had a look around Google and no surprises, but never found what i was looking for. I want to see a real work best practice C# Stored Procedure for Sql 2005 (express is what i am using, but don't mind the Sql edition). Almost everything i see is a "select * from table" which to be honest was my first stored proc many years ago - everything since has been fairly detailed. I ask as i am sceptical, after years of trying to STOP building Sql queries in code (as it's hellish!) that the CLR technique really makes any kind of a diffence. If someone has found that it HAS i'd love to hear about it. The thought of: SqlComman ...Show All
Visual Studio Express Editions C# networking help
Hi everybody... i just wanna your help with a piece of code.... client/server program, that the client wanna log in on a server ( send a username and a password) and the server verify if the username and the password match. if they math, the server sends to the client that the usernaem and password are correct. else, it sends that they are not correct. the suernames and passwords pairs are stored in an array or in a Hashtable in the server. no need for database ( for simplisity ). anybody can help me and write me this piece of code Hi! What technology do you want to use Sockets, Web services, ...Show All
SQL Server Check Connection Exist
Lets say I have created an excel connection to an excel file. During/Before runtime, I have deleted the file. Is there any way for me to detect if the connection exists or not, and if the connection does not exist, skip a particular data flow process Hi there, You have a couple of options: 1. Use a script task to call out to System.IO.File.Exists to confirm the file exists. This will mean you'll have to get the file name from the connection string or use a variable that the connection manager's connection string uses itself. 2. Use a script task to call AcquireConnection on the connection to see if that suc ...Show All
