Shailja's Q&A profile
.NET Development Remoting in the same process and lifetime services
I have two app domains in my application: domain A and domain B. When application starts an object in A (objA) instantiates an object in B (objB) and calls a few methods on it. While application is running there are no calls from objA to objB. When application shuts down objA calls a method on objB. If application runs for some time (I have not figured out yet exact numbers) a last call from objA to objB throws RemotingExeption: "Object ...Show All
SQL Server Error using Execute Package Task
I'm trying to run a package from another package using Execute package task - I'm getting the error: Error: Error 0xC0012050 while preparing to load the package. Package failed validation from the ExecutePackage task. The package cannot run. . I have Delay validation on the child package. Any other suggestions Thanks I am perhaps wrong about this but I don't think setting DelayValidation=TRUE on the package prevents ...Show All
Visual Studio Tools for Office VSTO Deployment
Hi all We have just started our work with VSTO enabled documents. We have made our first Proof-Of-Concept solution, which works in our development environment. So now we have come to the next level, deciding and implementing our deployment strategy. So I was wondering if any of you could provide some help, links to guides, or just general comments on "how-to". Our primary deployment strategy is to store both the actual templates and ...Show All
SQL Server how to write 55.5 into sql2000 via OLEDB ?
i use a DB_NUMERIC variable to store the data, coded like this: DB_NUMERIC num; num.precision=5; num.scale=2; num.sign=1; long tmp = long (55.5*100);// which is 5550, 15ae in hex memset(num.val,0,16) memcpy(num.val, &tmp, sizeof(long)); but number on the server side is 55, missing 0.5 what's the problem with my code how can i get a IDataConvert interface what's the IID of Data Conversion Library i cant find it any where... ...Show All
Visual Studio Team System Global list issues
I created a Global list of our customers. Many of the names include an apostrophe (') example "Joe's" Whenever one of these items are selected, the Work Item <Group> the list is in no longer displays correctly. Items earlier in the Group display correctly, Items in the subsequent Groups display correctly. Examples below... I have temporarily substituted (_) for (') in all customer names. GLimport.exe should screen for outlawed c ...Show All
Smart Device Development listbox and datasource problem
Hi i have one problem with data in the listbox. if i assign Listbox1.datasource = ArrayList1; and then if i work with arraylist items (add, remove), in the listbox is no change. why That is expected as ArrayList produces no notification events, so control is unaware of changes. To refresh the list you can rebind the array list after each change. To do so change the data source to null and set it back to ArrayList. That makes A ...Show All
Windows Forms Transparent Image to see through form?
Hey people, I have a slight problem. I have a transparent PNG file. I want to see through the transparent png to below the window, but for it to still take click events, unlike the transparentcy key in VB. I tried setting the form background color to black, with no success. Tthe form shows transparent, but the image has black behind it, from the form color. If I change the backcolor to something other then black, behind the image is that co ...Show All
Visual C++ LINK : warning LNK4049: locally defined symbol "_malloc" imported
As I already told, that i made DCM converter using DICOM Viewer, CxImage and DCMTK. but everytime I build DCm Converter I get 3 warnings: LINK : warning LNK4076: invalid incremental status file "Debug/DCMConverter.ilk"; linking nonincrementally LINK : warning LNK4049: locally defined symbol "_malloc" imported LINK : warning LNK4049: locally defined symbol "_free" imported Can you tell me Why i am getting these warn ...Show All
Windows Live Developer Forums Commercial Control - printing problems / v2?
Hello, Is it possible to maintain the pushpins on the commercial control upon printing I've experimented with z-index but that didn't help. Has anyone been able to add a pushpin to the commercial control and have it show up when you print it Also, are there any updates on a new v2 version of the commercial control Thanks, Jeff ...Show All
Windows Forms Weird Screen Painting; random pixels
Kind of new to Windows Forms programming (disclaimer). I have an application that uses a TWAIN camera to capture a photo. I'm using the camera driver's dialog window to capture the photo. It all works just fine except when the dialog&nb ...Show All
.NET Development Strings
Hi folks, I'm just wondering if .NET impliments the + operator for its String class As well, does it have any (for example) ToInt(), ToFloat(), FromInt(), FromFloat() members -Zero For converting you have the convert class http://msdn2.microsoft.com/en-us/system.convert.aspx You also have Parse/TryParse methods on most numerics, if not all. The + operator will concatenate strings in VB.NET and C# comp ...Show All
Windows Search Technologies How to calculate the mailbox hash to construct URL path
Hello, It seems WDS is using some hash number in MAPI url to locate items. For example, the text in red : mapi://LocalHost/default/Mailbox - Wang, George ( $d3f5 )/ Is it possible to expose the hashing routine so that we can construct the URL from mailbox ENTRYID Here is a doc about something similiar, http://blogs.msdn.com/stephen_griffin/archive/2006/05/10/594641.aspx , search for "ComputeStoreHash", not sure if they are ...Show All
Windows Forms Dynamic add a Plugin to Project
Hi All, I am doing a application which include two parts: - MainApplication: will call some Plugin projects - Plugin Projects: I have some features( eg: add new menuItem and toolbarbutton to Main). I created a configurate file for dynamic load plugins. My code: public partial class formMain : Form { Hashtable instantiatedMenuPluginTypes = new Hashtable (); public formMain() { InitializeComponent(); SetPa ...Show All
Windows Forms DataGrid Column Width Problem
I cannot set the datagrid column width using the DataGridColumnStyle.Width property, unfortunately, it keeps reverting to the DataGrid.PreferredColumnWidth. Does anyone have any idea what's going wrong DataGridColumnStyle prodCol = new DataGridTextBoxColumn(); prodCol.Width = 500; prodCol.MappingName&n ...Show All
Windows Forms ClickOnce updates all assemblys!
Hi, I am now trying to deploy with Click Once, and have run into 2 problems/questions. I have 6 projects 1 win and 5 class libs. I seem to think that with Click Once I should be able to make a change to library X and redeploy, in turn the user would only need to download that one assembly. The problem I am having is, a change to 1 library forces the user to download the entire application again. I must just be missing something, what is the wa ...Show All
