RPKJBP's Q&A profile
Visual Studio 2008 (Pre-release) Multithreaded in Per session
I should 2 thread in the same proxy. i have one Service object per client proxy. there is no real soultion to the problem i can not simultaneously access the service with two thread If you set ConcurrencyMode on ServiceBehaviorAttribute to Multiple in your service, you can have multiple threads using the same instance concurrently on the server. mjm ...Show All
SQL Server IS Package doesnt ship with password
Hi, I tried many times checking "Save password" in connection manager editor. But everytime I open the editor again and I see the password field blank. I took it as normal, and deployed my IS Package, It couldnt run because of login failed for user 'sa'. How do I force IS to save password on any ProtectionLevel Thanks, Fahad Fahad349 wrote: Hi, I tried many times checking "Save password" in connection manager editor. But everytime I open the editor again and I see the password field blank. I took it as normal, and deployed my IS Package, It couldnt run because of login failed for user 'sa'. How do I force IS to save password on any ProtectionLevel Thanks, Fahad You can't. You'll have to set it through ...Show All
.NET Development PROBLEM WITH FTP FIREWALL IN C#
My problem deals with the fact that I was able to FTP files to and from a friend's site that doesn't have a firewall but I now have the real FTP information and it does have a firewall and I have no idea how to FTP a file to this new FTP location. I am under severe time pressure and would like to see the commands necessary in C# and NET 2.0 to accomplish this goal. Here is an example I was given by the site administrator using DOS FTP to access and upload a file. I will change the passwords in the example below: ftp -n open edifxpbw.geia.com user yppc112 yppc110GX user 10033XDIR@edi.yppc.geia.com 15211 HENRY binary put DirectoryStart.dat %YPPC-TEST%DIR ls mblist Here is an example of an upload that I created in C# ...Show All
Smart Device Development CameraCapture
I have tried code samples of Windows mobile-CECamera, and CameraCapture for C++. But I can not execute these programs.. I think the problem is my camera is not integrated in PDA. These sample codes are really for integrated camera My device is HP IPAQ 2790, and Camera is Photosmart camera SDIO Type.(not integrated in IPAQ 2790) I have tried CECamera, CameraCapture for C# and C++. Thanks. Yes, I have tried Veo camera SDK. But It can just handle still image. Veo SDK supports just still image, not video. I need to capture video.. ;;It seems very difficult..I think all my problem is SDIO camera for WM2003, not WM5. ...Show All
Visual Basic Autoplay Handlers - How do I retrive the media type
I have created an autoplay handler that launches my app when a mobile drive is attached(usb, sandisk, external drive, ect). It was setup to autoplay on Video or Picture files. How can my application tell what windows detected when its scanned my drive and decided to use my application, is this passed to my application somehow Did it detect Pictures Did it detect Video Did it detect both I found this article: http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/default.aspx I know nothing about C++ but I see they can read the files that windows already scanned to determine the media types found on the autoplay. Can anyone apply this to VB.NET for me ...Show All
SQL Server restoring from a backup file to a new database
I am trying to restore from a backup file to a new database with SQL2000. Here is my C# code: SQLDMO._SQLServer srv = new SQLDMO.SQLServerClass(); //connect to the server srv.LoginSecure = true; srv.Connect("servername","",""); //create a restore class instance SQLDMO.Restore res = new SQLDMO.RestoreClass(); //set the backup device = files property ( easy way ) res.Devices = res.Files; //set the files property to the File Name text box res.Files = @" \\server\backupfile.bak "; //set the database to the chosen database res.Database = "databasename" + "-restored"; ...Show All
Visual Studio Express Editions How to use MS Word automation in WebBrowser Control
Using VS 2005... Added a Web Browser control to my Windows form and can successfully navigate to a Word doc. The question is - how do I access the Word object that is displayed on my form. I can do all the Word stuff on the form but I need to access the document programmatically. Basically I need to convert from the HTML document to a Word document. Thanks for the rapid replay AND ANSWER. I am using .Net 2005 and I am including a code snippet for anyone else who may have a need to do this. I am using Word but it should work for Excel. Ray Microsoft.Office.Interop.Word. Application app = null ; try { app = (Microsoft.Office.Interop.Word. Application )System.Runtime.InteropServices. Marshal .GetAct ...Show All
Visual Studio Express Editions Create and Set Environment variables
I would like to create and set a system environment variable from a vb application. The environment variable will hold a path (c:\Program Files). I know that it has to do with Environ$, but i'm not sure how. Any help would be much appreciated. Thanks in advance VB6 questions should be posted here: http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx dg=microsoft.public.vb.general.discussion&cat=en_us_ab067bc0-bda5-4921-a1ec-e76402873945&lang=en&cr=us ...Show All
.NET Development How can I parse a CSV file from within an X64 OS
I have an application that I'm attempting to port to from an x32 asp.net 1.1 enviroment to an asp.net 2.0 x64 enviroment. I have IIS running in 64bit mode thus the ODBC drivers that are installed in the 64bit Enviroment are only the SQL Drivers. WHen I try to access the file i get the error message saying that the drivers are not found. I believe the cause of my problem is that there are no x64 "Microsoft Text Drivers" installed in x64. Has support for these drivers been abandoned or is there a site that they can be downloaded Thanks in advance, Jake This is correct. There are no 64-bit Jet-ISAM or ODBC drivers for Text files in 64-bit Windows. You will need to use the file I/O namespaces instead. ...Show All
Visual Studio 2008 (Pre-release) Terminology Question
What's the official name for: (a) a query that binds to the Enumerable operators (b) a query that binds to the Queryable operators This is for writing a book. I'm looking for something simple (one or two words) that captures the difference in their architectures. Note that (a) includes LINQ to XML queries. Thanks Joe ...Show All
Windows Live Developer Forums V3 performance degrades over time
During my development, I had to refresh my webpage every so often. I noticed that over a period of time the map was taking longer and longer to refresh. In fact, at one point, it took 35 seconds. So, I decided to do some testing. With the help of the "window.setTimeout()" function, I automated the GetMap() function to run every 30 seconds. I calculated the time for the GetMap() function and saved it. It started out with 1 second and at the end of 30th call, it took 9 seconds. The increase was progressive and there were no spikes. I have 15 pushpins on the map. I'm using IE6. If I close the browser and restart my application, it starts running faster but gradually slows down again. In our production environment, I foresee my ...Show All
.NET Development Problems connecting to sybase from serviced component
Hi, folks: I'm new in this forum. I'm running an application in a Sybase DB. I have the following code: using System; using System.Configuration; using System.Data; using System.Data.OleDb; using System.Reflection; using System.EnterpriseServices; using System.Runtime.InteropServices; using System.Runtime.Serialization; [assembly: ApplicationName ( "DistributedTransaction" ) ] [assembly: ApplicationActivation ( ActivationOption.Library ) ] namespace TestEnterpriseServices { [ Transaction ( TransactionOption.Required ) ] public class DistributedTransactionSybase : ServicedComponent { public DistributedTransactionSybase () { } [ System.EnterpriseServices.AutoComplete() ] public void NewItem () { OleDbConnectio ...Show All
Microsoft ISV Community Center Forums cyberin
Do you know how I can create a dinamic table on visual basic I have a dinamic table in excel that agroup project, sub category project and month, and later fill the budget in this, I need realy create this in visual basic, thanks for your help ...Show All
.NET Development Regional Settings, depending of the format, my .NET app cannot reach a field inside an Access2000 table...
Hi, I created C# application with VS2003. This program is getting data from an Access 2000 database. Everything works really fine on almost all OS (espacially XP English-French-Spanish and German). But, lets say that I'm using my app on a XP SP2 machine and I change the formats (within Regional Options, Standards and formats) to Azeri (Cyrillic), I get this error: Message: The Microsoft Jet database engine could not find the object 'MyFieldName'. Make sure the object exists and that you spell its name and the path name correctly. Source: Microsoft JET Database Engine I got the same result with Mongolian (Cyrillic) or Uzbek (Latin). Its really a strange problem since the application works properly using English (United Sta ...Show All
Visual Studio ElementAdded event not firing
I'm trying to capture the ElementAdded event in a VB project. My add-in works if the project is a Windows application, but if the project is a class library, my event handler never gets called. I downloaded some sample extensibility projects from Microsoft, one of which was called EventWatcher, which handled a number of events, and wrote to the Output window when they fired. I observed the same behavior with this add-in, which suggests to me that the problem is not my add-in code. Is this likely to be something in my VS configuration Intended behavior Bug Thanks. Well, if anybody's interested, Microsoft responded to my bug comment, saying that this was by design. Their comment was: "In order to ...Show All
