Webologist's Q&A profile
SQL Server SQL 2000 (publisher & distributor) <> SQL 2005 (subscriber) - Is it possible
We have a SQL 2000 Server (publisher & distributor) with around 15 databases being replicated ( all using merge replication ). My question is the following: Is it possible to perform Merge replication from a SQL 2000 (acting as the publisher & distributor) to a SQL 2005 server acting as the Subscriber) If anyone has a link to any instructions somewhere that would be great. Thanks You can not have SQL 2000 publisher & distributor with SQL 2005 subscriber for merge replication, please refer to SQL Server 2005 Books Online topic: Using Multiple Versions of SQL Server in a Replication Topology http://msdn2.microsoft.com/en-us/library/ms143241.aspx Merge Replication Distributor SQ ...Show All
Windows Forms MenuCommandsChanged not firing for all commands
I am adding an instance of the MenuCommandService to my DesignSurface and attaching a delegate to its MenuCommandsChanged event. I would expect that when I select two or more controls in the designer, the event should be fired for commands such as AlignLeft, AlignRight, AlignToGrid, etc. since they should then be enabled. However, I only receive events for a small fraction of these (AlignLeft, CenterHorizontally). Using the MenuCommandsChangedEventArgs. ChangeType property, I ensured that all of the above commands are being added to the MenuCommandService. They just aren't notifying the service of their change. Does anyone have any suggestions to get the event fired for all relevant commands Could I be missing a service or adding the MCS ...Show All
Windows Live Developer Forums HELP!!!!!
plz tell me how to get my bot to be on 24/7 without me being online 24/7 (f i am on 24/7 my bill will be like £99999999 lol) You can use the SDK from Akonix/Improv, they will host the bot for you if you made it with their SDK. Or ask someone else to host it for you. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How to use this code into my another code?
How to put this code using System ; using System . Diagnostics ; using System . Runtime . InteropServices ; namespace DirectShowLib . Test { public class IBasicAudioTest { IFilterGraph2 graphBuilder = null ; IBaseFilter filter = null ; IBasicAudio audio = null ; public IBasicAudioTest () { } public void DoTests () { try { // We need a stereo sound renderer... BuildGraph ( "foo.avi" , out this . graphBuilder , out this . filter ); this . audio = ( IBasicAudio ) this . filter ; TestBalance (); TestVolume (); } finally { Marshal . ReleaseComObject ( this . filter ); Marshal . ReleaseComObject ( this . graphBuild ...Show All
Visual Studio Express Editions Encryting connection string
I have a c# windows application that uses connection string in appconfig.xml file for connecting to database. What is the best practice in terms of encrypting and decryting this connection string. I do not have a choice to use intergrated authentication. I have to use username / password for the purpose. It is Microsoft sql Server. Any help and pointers are highly appreciated. Thanks, Alok It's a good question, to which I would also like an answer to for my reference. The way it normally works is that you could encrypt the string, store it, then when reading it, decrypt the connection string and use it to connect to SQL Take a look at some of the encryption and decryption algorit ...Show All
SharePoint Products and Technologies Welcome!
Welcome to this new forum, which is part of the SharePoint forums group that contains a comprehensive set of forums designed to cover all aspects of SharePoint Products and Technologies. I’ve held off on having these forums created for over a year because we already had a handful of newsgroups in place, but the benefits (search, moderation, filtering, stats, flexibility, planned enhancements, etc.) and the recent surge in usage have convinced me that it’s finally the right time to embrace forums as the de facto channel for community Q&A and discussion . This particular forum is for topics about site design (i.e. definitions, templates) and page customization (i.e. layouts) as well ...Show All
Smart Device Development Http Image File Uploader for .net compact framework 2.0
Having major problems trying to upload a file (an image) to a webserver via http post, keep getting a WebException.. Tried using the example code available at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetcomp/html/httpcomm.asp ---------- Code -------------- private void menuItem2_Click( object sender, EventArgs e) { String httpResponce = UploadFileBinary( @"\Storage Card\test.jpg" , http://www.myServer.com /upload.php ); MessageBox .Show(httpResponce); } public String UploadFileBinary( string localFile, string uploadUrl) { Cursor .Current = Cursors .WaitCursor; HttpWebRequest req = ( HttpWebRequest ) WebR ...Show All
Visual C++ MFC documentation
I have Microsoft Visual Studio 2005 Professional installed on my machine. So far, this product has been an incredible hassle and ridiculously difficult to use. I have the task for writing a simple application for Microsoft Windows, and the MSDN library is installed, but I can't search for MFC functions at all. The MSDN library keeps trying to give me totally inpertinent results. I have used Visual Studio in the past, and the older versions were a lot better. I ONLY want to see information about MFC. Is there a way to set this Thank you. Perhaps my question is not clear... I cannot access the internet from within my Windows box. I can only use what was installed from the Visual Studio Professional 2005 ins ...Show All
Windows Forms Append 2 byte[] arrays
How do I append 2 byte[] arrays Obviously this doesn't work: <code> byte[] 1; byte[] 2; byte[] 3; 3 = 1 + 2; </code> So how would I go about doing it I tried to convert them to strings, append the strings, and then convert back to bytes, but that doesn't work. Thanks! This works: byte[] arr1 = { 1, 2, 3 }; byte[] arr2 = { 4, 5, 6, 7 }; byte[] arr3 = new byte[arr1.Length + arr2.Length]; Array.Copy(arr1, arr3, arr1.Length); Array.Copy(arr2, 0, arr3, arr1.Length, arr2.Length); ...Show All
Visual C# vs 2005 c# and infopath!
hi, me and my team are currently developing an application for creating workflows, something similar to k2, however it is using windows workflow founadtion. the user is supposed to use infopath to design his forms containing information about his workflow. our application should be able to open infopath for him and edit the information in the forms to create the workflow accordangily... the problem is that i cant find any tutorials describing how to edit information in infopath forms through visual studio 2005!! if u have any plz send.. thanks alot:) Here is the InfoPath SDK, I hope there will be solution for this: http://www.microsoft.com/downloads/details.aspx familyid=351f0616-93aa-4fe8-92 ...Show All
.NET Development Querying remote database.
Hello. Your help is very much appreciated. I'm using C#, with framework ver 1.1. I am writing stand-alone windows app, that queries MySql db, that resides on a remote server(internet). My question: Is it possible to create secure communication between my win apps instances and the remote server, while: 1. Not compromising the mysql server. 2. Data that is transferred between the database and the win apps should be encripted. I read about ssh port forwarding, but I'm not sure if it can work in this situation (can ssh be embedded in .NET ! also, port forwarding using 127.0.01, meaning that the client needs to run web server ! ). Thanks a lot Roy It looks like you can use SSH o ...Show All
Visual C# Searching Text or Unicode strings
I would like to be able to take 1 file with entries, like: COMPARE FILE: _________________ siteone.com sitetwo.com sitethree.com _________________ And search a file for matches... But it seems like if I loop through each entry (siteone.com, sitetwo.com, etc.) it will take forever. How can I search contents of files to compare to see if there is a string of text in the file It needs to be quick because it will be searching tons of files... I could check with each loop, but then if there are 2000 entries in the compare file, and it takes 2 seconds for each compare, then that would be like 30 minutes per file... I am just throwing numbers out there, so I am sure it is a little quicker than that, but if I am doing 100 files a minute, ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Resource Management - Taken care for us?
Hey all, Does the content pipeline handle duplicate resource entries or is that still up to us ie.. tex1 = Loader.Load<Texture2D>("picture") as Texture2D; text2 = Loader.Load<Texture2D>("picture") as Texture2D; Does this load picture twice or does it load it once and hand out references for us ...Show All
Visual Studio 2008 (Pre-release) Why a GeometryModel3D which Opacity setted as 0 can blot out other GeometryModel3Ds ?
When I Set a GeometryModel3D object's Opacity to 0 in a viewport3D, it has been lucency,but it blot out other Model3D objects ! I think when I set a Opacity of GeometryModel3D object to 0,the GeometryModel3D object should be disappear ,and not hidden other Model .Anybody can tell me why You may just need to re-order the models you have in the scene so they render from furthest away from the camera to nearest to the camera. I don't know if this is true for Avalon but in DirectX, you have to render 3D things in the corect order for translucent surfaces to work as expected. Say you have the following scene: ------------ <- triangle A z=-1 ------------ <- translucent triangle B z=0 \/ <- camera z=1 If you re ...Show All
Windows Forms ClickOnce deployment - bootstrap Install Check
We are planning to use an executable along with Bootstrapper to handle installation checks with ClickOnce. I dont see any option to specify the install condition for the application that is deployed, even with the bootstrapper I can just specify the install condition for the prerequisite bundled along with the application getting deployed. So we have decided to make a dummy installable and attach an external executable (InstallConditionChecker) that could do the installation check and return the appropriate exit code so that the installation can bypassif install condition are met / halt. like dotnetchk.exe that does the prerequisite check before installation of dotnetframework. We want to have some executable that can do the prerequisite ...Show All
