Jassim Rahma's Q&A profile
Visual Studio 2008 (Pre-release) certificateValidationMode="ChainTrust" ?
hi, unless i do not set certificateValidationMode = " PeerOrChainTrust " i get a security error .. the default certificateValidationMode = " ChainTrust " does not work , however the issuer of the certificate is in the trusted root certification auhtority (local computer and current user) .. how is that thanks Matevz, I am only describing the default behavior here. If the revocationMode is set to "NoCheck" WCF will not perform revocation check. I am not sure I understand your second statement: "certificateValidationMode="ChainTrust" checks the cert chain, but does not validate the chain's certs if revocationMode is set to &qu ...Show All
Visual Studio Express Editions Subform appears behind pictureBox?
Newbie alert! :) I built a main form and set the property IsMdiContainer to true and then have a subform which works fine. I added a pictureBox to the main form but the sub forms appear behind the pictureBox. Any ideas why private void openToolStripMenuItem_Click(object sender, EventArgs e) { SubForm1 sform = new SubForm1(); sform.MdiParent = this; sform.Show(); } You shouldn't put any controls on the MDI parent form other than a tool strip and a status strip. Use the BackgroundImage property to display a picture. ...Show All
Smart Device Development Simple app to view registry keys
Hi All, I need to create a simple app which does nothings apart from display some values which are taken from the device registry or basic APIs. e.g. Device Type (HERM200, WIZA100 etc) along with values taken directly from the registry (personal settings and configuration). Can someone please provide me with some pointers (URLs with info or source which I can edit) which can meet my requirement I am more worried about opening and displaying the registry entries. Thanks m@ In .NETCF 2.0 you can use the Microsoft.Win32.RegistryKey class, in native code the RegOpenKeyEx, RegQueryValueEx etc functions. If you do a search for these you should find many examples. Peter ...Show All
Visual Studio Express Editions Need help on threads.
I have a problem. I am making a data sync application and i am putting the sync method in a background worker. I am allowing the user to sync multiple jobs at once. so i have a forloop and a list box. [Code] for (int x = 0; x < lb_Select.SelectedItems.Count; x++) { Sync.RunWorkerAsync(lb_Select.SelectedItems[x].ToString()); // Need to suspend the main calling thread until the background worker is complete // then contine the forloop. txt_Status.AppendText("Syncronization of " + lb_Select.SelectedItems[x] + " Ended - " + DateTime.Now.ToString() + "."); } this for (int x = 0; x < lb_Select.SelectedItems.Count; x++) { Sync.RunWorkerAsync(lb_Select.SelectedItems[ ...Show All
SQL Server LOCAL USER vs GLOBAL USER set in agent service
My replication is not working. I was able to create a transactional replication successfully. However, when i tried starting the agent on the snapshot, it wouldn't work. I figure that it was because my agent service login is different from that of the subscriber. my publisher and distributor is on local user whereas my subsciber sql services use our global login. Thank you in advance. Good day! Can you post the error message you're seeing while trying to start snapshot agent job From that we can confirm whether the issue you're seeing is due to agent account setup. Sometimes the issue may be caused by local user doesn't have permission on network resources. Thanks, Zhiqiang Feng ...Show All
Visual Basic use FileSystemWatcher to look for 2 tyeps of files?
Riiiiiihgt! I've been on this a week, and I'm getting a bit sick. Can you set a FileSystemWatcher to look for "*.csv" & "*.zip" or do I need 2 FSWs to achieve this Please say no, or I'm going to convert to Delphi and start hating MS Use two, write your own, move to delphi: your choice. Get results, curse and complain for 2 months, complain about all the things Delphi doesn't do...again, your choice. ...Show All
Visual Studio Express Editions Visual Studio.Net new version
I currently have Visual Studio.net 2001. I downloaded the 2005 express edition of visual C# the primary language that I'm coding in. Can I use the Visual C#2005 without upgrading to the full Visual Studio.net 2005 beware however there are some limitations in the express editions. http://msdn.microsoft.com/vstudio/products/compare/ ...Show All
Visual Studio Team System Override default drop location for each solution in build
Is it possible to copy the output binaries of a solution to a different location than just ..\[buildname]_[date].[iteration]\Release This makes it hard for me to package all of our software into a package since we have seperation for each of our applications. Is there a way that I could force the build project to copy the binary files to something like ..\[buildname]_[date].[iteration]\[solutionname] as this would make it much easier for me to get at each seperate product. If this can not be done, what else have people tried to get the same effect Thanks for your responses. Thanks for your response, it was very helpful. Do you have any code examples of overriding the CoreCompile target to iterate ove ...Show All
Visual Studio Team System Multiple projects in solution, wrong project is put to drop location
Hello, We have a solution with multiple projects DAL, Business, Service and a Webservice project. I created a new team build type and run this. I then only get the dll files compiled in my drop location. I'm expecting a "Binaries\Release\_PublishedWebsites" folder. What properties or settings could I check or alter to make it work. Any help would be appreciated. Thanks in advance Pieter Bijoy, Did not fix the problem. I will try to explain the problem in more detail maybe this pops up a new idea. We have the following solution structure Sources - Business Component - BusinessEntities (Class Library project) - BusinessLogic (Class Library project) - Data Access Layer - DAL (Class Library project ...Show All
SQL Server How to rank an union of two result sets?
I am new to SQL Server Integration Services. I need to help here. If there is only one result set, I could get rank info by putting DENSE_RANK expression inside of my select. My case is that I have two data source. After union of them, I need rank the result set and save result set plus rank info into the destination. I tried to use Derived Column component by using expression DENSE_RANK() over ( order by columnName ). But it does not like it. Does anyone know how to achieve this Thanks! Jun Fan wrote: Thanks for the info. Do you know where to get the Conchango Runk transform conponent At the bottom of that post, there is an "Attachment" link. Click on that to get it. ...Show All
Visual C# Changing ServiceAccount to "Network Service"
Hi, I am trying to programmatically change the Service Account under which "SQL Server 2005" is running from default "local System" to "Network Service". I had browsed through http://msdn2.microsoft.com/en-us/library/system.serviceprocess.serviceaccount.aspx which explains about the ServiceAccount enumeration but I couldn't a pointer on how it can be used on an already installed windows service. Any pointers would be appreciated. Thanks, Loonysan The link you refered is to change the account type of service you build at your own but you cannot change it from what Microsoft assigned this during development! By the way, I would like to know the reason why you need t ...Show All
Software Development for Windows Vista how much will this product cost
Hi. I love the sound of windows vista and i am going to buy this when it hits the markets ... but how much would this product cost ... and how will this benefit my gaming ... i am in the process of updating my computer and i was going to update to XP but i heard this artical that halo 2 will only be available for machines running on windows vista operating system .. Question 1 : how much will this product cost Question 2 : how will this benefit my gaming experience thank you >>dunnee<< I know that this forum is for developing but I also want to know what is the price for Windows Vista the Ultamite version if possible. Is there an actual price yet. If not I would please like an aproximate price. Thank ...Show All
Visual Basic Types that cannot be Converted from VB6 to .Net
Hi all, I have an Interface named "IMyInterface" declared in VB6. And I have a user control project in VB6, this user control implements the Interface "IMyInterface". Now I want to use the user control developed in VB6 in my new .Net Project. So I have added the reference of the VB6 user control in the .Net project, by the way .Net IDE creted the Interop dlls. Now I want to make a call on the VB6 user control through the IMyInterface as my VB6 user control implements the Interface. This IMyInterface has 10 functions, some of them returns basic data types and some of them returns structure/class types. But, I was warned that not all the types in the VB6 will be successfully converted to the .Net types, some of t ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Mesh, and mesh optimization.
Hello, ID3DXMesh object contains an attribute buffer. It is possible to optimize the mesh with D3DXMESHOPT_ATTRSORT. This would make an attribute related indices and vertices streamed. So it is possible to draw a subset seperatly, However, how does an unoptimized mesh's subset can be drawen seperatly You can set the entire vertex buffer, but how do you pick the correct indices from the index buffer(How does ID3DXMesh picks those indices) Thanks. What do you mean by linear search How does the subsets are actually drawen The mesh interface just wraps some other basic d3d interfaces, so there should be a call for a drawPerimitive somewhere inside, as you would if you want to simply ...Show All
SQL Server transaction inside a data flow task
We are designing an ETL solution for a BI project using SSIS. We need to load a dimension table from a source DB into the DW; inside the DW there are two tables for each source dimension table: a current dimension table and a storical dimension table. The source table includes technical columns that indicate if each record was processed correctly by ETL procedures. Each row in the source table can be a new record, or an exisisting one. If it's a new record, a corresponding new record should be inserted into the current dimension table of the DW; if it's an exisisting one, a new record should be inserted in the storical dimension table and the existing record in the current dimension table should be updated. Furthermore for each ...Show All
