Merav's Q&A profile
Visual Basic couldn't find installable ISAM
Hello all, I've successfully compiled a source written in VB6 - Sp6 wich connects to Access 2003. The operating system is WinXP-sp2. The software works well when run from the Visual studio ide ("run with full compile"), so it does what I want, connecting to the database etc. But the problem is that when I run the compiled exe I get the error: "Couln't find installable ISAM". I' ve checked other sites, tried to upgrade MDAC to 2.8 and also Jet to 4 but without resolutions to my problem. Why when I run the source from visual studio it works and doesn't when compiled Any help would be appreciated. Thnx Bye ...Show All
Visual Studio Team System Web Testing using Anthem (ajax)
I am using web tests within team system and I am trying to record a test on pages which uses Anthem (ajax similar to Atlas) - the teste arent recording the ajax and I have attempted to use fiddler to record the traffic and have managed to do this, however when I try to manually add the steps in I am getting an issus wheer the test cannot find one of the anthem controls. WebTestRequest request2 = new WebTestRequest ( http://localhost/Default.aspx ); request2.ThinkTime = 7; request2.Method = "POST" ; request2.QueryStringParameters.Add( "Anthem_CallBack" , "true" ); FormPostHttpBody request2Body = ne ...Show All
Software Development for Windows Vista WWF in synchronous mode
We are calling a WWF Sequentional library from our Windows Application. The problem is that it executes in a a synchronous mode. We would like to execute the workflow in a sychronous mode. tried using objWFRuntime = new WorkflowRuntime(); -> DefaultWorkflowSchedulerService scheduler = new DefaultWorkflowSchedulerService(1); -> objWFRuntime.AddService(scheduler); return objWFRuntime; Try using the signal - AutoResetEvent waitHandle = new AutoResetEvent ( false ); .... instance.Start(); .... waitHandle.WaitOne(); In the delegates for W ...Show All
Windows Forms executing program from vb.net service
I have the following code...and it works fine..it RUNS notepad..but i can't SEE it...its hidden...how do i make it run and make it visible to user.. ------------------------------------------------ Dim proc As New Process Dim filename As String filename = "notepad.exe" proc.StartInfo.FileName = filename proc.StartInfo.Arguments = "" proc.StartInfo.WindowStyle = ProcessWindowStyle.Normal proc.Start() ------------------------------- ...Show All
Windows Forms Maximize a form on dual screen
The others have answered your general question so I'll just caution you as to whether this is really a good idea or not. Depending on the video card you are running the user may already have set up the system to fill the whole screen when a window is maximized. Then again a user may have configured their machine to only maximize across all monitors when they have the CTRL key pressed. Matrox exposes this directly. I believe nVidia does as well. ATI currently does not. It depends on how your multi-monitor system is laid out. Cards like Matrox support "cloning" where both monitors show the same conten ...Show All
Visual C++ standard libraries
How do I compile a cross-platform code using standard libraries such as iostream, fstream, etc Cannot open include file: 'iostream.h': No such file or directory All standard library files don't have the extension .h. Always use #include <iostream> #include <fstream> and so on. Also the new standard library classes are located in the namespace std. So you have to use using namespace std; or to extend the classes with the namespace prefix (i.e. std::string). ...Show All
SQL Server Constants to Sets
Hi, I guess that's an easy one... I'm quite sure that my brain is gone for weekend... And I'm still getting used to MDX... I'm using the min function to find out the minimum of two measures, so basically: min({[Measures].[MeasureA],[Measures].[MeasureB]}) This works perfectly. But what I need is to have something like that: min({[Measures].[MeasureA],[Measures].[MeasureB],0}) So that when A and B are both greater than 0 the result is 0. OK, I can do that with iif but that's not nice... There must be a way to add a constant to a set... I even need something like that: min ({sum(...),sum(...),0}) I guess it's the s ...Show All
Software Development for Windows Vista Workflow Hosting
Hi Is it possible to host workflows created from different workflow definitions in one host Just to be clear, I do not mean multiple instances created from the same definition but multiple instances created from multiple definitions I cannot find anything to suggest this is possible in the docs/book. Thanks for any help you can give on this... Clare ...Show All
SQL Server How to input and output simultaneously in SQL 2005 Express?
I want to process data of an old VS6 project in VisualStudio2005. First part is done. With SQL Management Studio I created the database file 'dbTest4' and attached it to SQL 2005 Express server (.\SQLEXPRESS). Then I recoded the VS6_C++ project feeding its data into the database file using the ConnectionString: "Provider='sqloledb';Data Source='.';Initial Catalog='dbTest4';Integrated Security='SSPI')" Until here its working fine. As second part I want to catch these data with VisualStudio2005 for processing there. In VisualStudio 2005 I created a Windows Application as new project added the database file ...Show All
SQL Server Local System Account or Domain User Account
One of the first questions the SQL 2005 Dev Ed pops up with is this one: Local System Account or Domain User Account, for the service programs. What are the ramifications of choosing one over the other I tried an installation using the local system account and I was unable to copy a database from a SQL2000 instance on another server to my new local instance - I figure the cryptic error message I was getting refering to an inability to login to DOMAIN\MACHINENAME$ was coming from the other server (Especially since I made DOMAIN\MACHINENAME$ a local sysadmin and it made no difference. Thanks, David ...Show All
.NET Development HttpWebRequest.GetRequestStream() Halts when run it 2nd time during same Execuation
Hi all, HttpWebRequest.GetRequestStream() Halts when run it 2nd time during same Execuation. But if i Rebuild the Code and execute it again it works fine but again halts when i try 2nd time during the same execution of the Application. one thing more some time it dose not works agian until i end the aspnet process from the taskbar . but it occurs rarly. here is the code below uri = new Uri("SOME URL"); req =(HttpWebRequest)WebRequest.Create(uri.AbsoluteUri); req.Method = "POST"; req.UserAgent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4433)"; req.Accept= "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, ap ...Show All
Visual Studio Add-In Wizard problem in VS 2005 Beta 2
Hi, I'm trying to build an Add-in with the VS 2005 Beta 2 wizard. After completing the wizard and pressing F5, I can see the Add-in in the "Tools - Add-in Manager". The Add-in itself, however, is not shown in the Tools menu. While running in Debug mode, the line : Command command = commands.AddNamedCommand2(addInInstance, "MyAddin4" , "MyAddin4" , "Executes the command for MyAddin4" , true , 59, ref contextGUIDS, ( int ) vsCommandStatus .vsCommandStatusSupported+( int ) vsCommandStatus .vsCommandStatusEnabled, ( int ) vsCommandStyle .vsCommandStylePictAndText, vsCommandControlType .vsCommandControlTypeButton); wh ...Show All
SQL Server Database create error due to folder access right.
I have an application which will create a SQL database(using CREATE DATABASE) and the database files are supposed to be placed in c:\program files\myApp\data\myDatabase.mdf However, when I try to do so, I get the following error: System.ApplicationException: System.Data.SqlClient.SqlException: CREATE DATABASE failed. Some file names listed could not be created. Check related errors.CREATE FILE encountered operating system error 5(Access Denied) while attempting to open or create the physical file 'C:\Program Files\myApp\data\myDatabase.mdf'. My window login already have administrator role. The problem can be solved if I manually add ful ...Show All
Visual C# Communication with an USB Device
How can I communicate with an USB Device using its installed driver I've installed the driver for my Motorola V600 phone, so now I want to develop programs to communicate with it. Did you tried #usblib ...Show All
Smart Device Development Can't Check Submenu Item
So basically, I am trying to check a menu item that belongs in a cascading submenu. I have a sample diagram to show you want I mean. I am sure I am getting the handle because I get get the string, but I just can't put a check mark there. I want to check mar Item2 and Item1. (Submenu Bar ) Item1 Item2 ^ | (Submenu Bar ) Add Subtract Mutiply Divide Opts ^ | (Main Menu Bar )Close Edit Tools ////////////////////////////MY CODE//////////////////////////// CMenu* mmenu = ...Show All
