Natural_orange's Q&A profile
Visual FoxPro import from excel
how can i import an excel sheet with huge text on some cells... i try it, but the character field is only 254 chars size, i did try to create a table and then append the big text cells to memo fields, but they remain empty... thanks for the help !! I wrote this a while ago to convert an excel file to a foxpro dbf... its need some cleaning up but it should give you a good start. Dave * * FNXLSTODBF * ** *FUNCTION TO C ...Show All
Windows Forms A Simple Form Question Wait For your solutions
I am working with the directshow VMR9 windowless mode. I had read the documents about the Directshow, but there no answer about it. My question is that How to Draw some sharps on the playing form. It sounds very simple but hard to carry out. Because of the elements of the VMR Windowless, the windowless means that it cann't create any other handle to play the video but use the handle of the form. The windowless is also that when we send Update me ...Show All
Visual C# how to access c-api with c#
Hello, writing tools for our versioning system, we use vc++, because there is only an old c-api (only pure unmanaged ansi c - no com, no .net .......) delivered with the software. In future I would rather like to use vc# for developing, but I found no way to access this old c-apis from c#. Is there any way Has someone done this before Knows how it works thanks in advance regards AxelF Your unmana ...Show All
SQL Server System::InteractiveMode is FALSE from dtexecui?
In a script task, I prompt the user for some parameters. I use the System::InteractiveMode variable to tell me if the package was launched via user interaction or from an automated process such as a file watcher. I display the prompts only if System::InteractiveMode is true. When I run from VS 2005 then I get the prompts, and when the package runs automated (dtexec) the prompts are not shown, so all is OK. However, when the package is run from d ...Show All
.NET Development calling static Methods by reflection
How do you call static methods by reflection, for example if I want to call "int.Parse()" how would I do it Retrieve the MethodInfo for the Parse method and when calling Invoke, pass in null for the object reference. (Since this method is static, there is no object reference and it is safe to pass in null.) MethodInfo mi = typeof ( int ).GetMethod("Parse", BindingFlags.Public | BindingFlags.Static, null , new Type[] { typeof ( ...Show All
SQL Server How can I tell which version is installed?
One of the server admins recently installed SQL Server 2005 on a new Itamium server. I am trying to set the parameter on the services to indicate they are running on a 64 bit machine, however the changes are not taking...yes I'm stopping and restarting the services. I'm wondering if did not install the right version. Does anyone know how I can tell if the IA 64 version was installed I don't think you could inst ...Show All
Software Development for Windows Vista GdiPlusEffects.h missing in February 2006 SDK
I downloaded the new Feb CTP Windows SDK and the compiler complains about missing GdiPlusEffects.h. This file is included conditionaly when GDI+ version at least 1.1 is detected. Where can this file be found The workaround is to edit GdiPlus.h and change the GDIPVER from 0x0110 to 0x0100: // Define the Current GDIPlus Version #ifndef GDIPVER #define GDIPVER 0x0100 #endif Hi Benny. Thanks for the ping. I ...Show All
SQL Server Executing a SSIS Package from an ASP.NET page.
I am using the following code to try and execute a package from a asp.net page. The server has both SQL, SSIS, IIS and ASP.NET on it. The package runs fine from the SQL Management Studio. The Execute result from the web page is 'Failure'. My questions are: 1. How do I catch errors to see exactly what is failing and why 2. Is there a better way to execute a package using SSIS from asp.net Thanks, Nathan Su ...Show All
Visual Studio Express Editions Learning Resources Zip File
I was going throught videos on learning Visual Basic 2005 Express Edition and in lesson 2 (I just started) he says that you can download a learning resources .zip file from the location where this video was. I can't find the file anyone know where it is We are talking about tool strips and adding images tot he button and the zip file supposidly has the images. Thanks, Rick When I down load what I'm runnin ...Show All
Visual C++ Recursive function and dynamic memory causing me problems...
I am writing a recursive sorting function that requires, at each recursive call, temporary storage to be created and deallocated after use. Here is the block: Temp = new int [j-i+1]; for ( int a = i; a <= j; a++) Temp = A ; MERGE(Temp, i, j - size_mod, j, A); // merge back into A the sorted portions delete [] Temp; Temp = 0; MERGE is not the recursive function, it is a seperate function that doesn't allocate or deallocate a ...Show All
.NET Development Correct design pattern for WeakReference
Because of its particular nature, I have some hesitations about the design pattern to use the WeakReference class as a cache holder. Basically, public FooType MyCache { get { lock (cacheLock) { FooType foo = cacheHolder.Target as FooType; if (foo == ...Show All
SQL Server How to retrieve the actions using MDSCHEMA_ACTIONS?
Hello, When I run the following code, I get an empty schema. Dim drAction As DataRow Dim dsActions As DataSet dsActions = MyConnection.GetSchemaDataSet(AdomdSchemaGuid.Actions, _ New Object () {szDatabase, Nothing , szCubeName, Nothing , Nothing , szCubeName, 1}) The result: dsActions.Tables.Count = 1 but dsActions.Tables(0).Rows.Count = 0 Even though my cube contains two actions as i ...Show All
Windows Forms tab control + validation
Hi there, I am using a TabControl with 5 tabs. Is it possible to disable some of the tabs and make them available i.e. if the application is connected to the server Also I was wondering if there is something similar like the validation con ...Show All
Visual Basic Does VB.NET support "nested" expressions (like C++?)
Hi all! I don't recall the exact term in C++, but I could do things like: int c = 5 + (a > 1 a : 0) + b; Can I also do this some way in VB.NET Thanks in advance! The languages do have slightly different features. For example C is case sensitive. I see that to be a real deteriment as came from the company that was very UN-C and I'm still very IN-C. Not that it's relevant but, C syntax ...Show All
SQL Server VS2005/SQL Server 2005 Mobile subscribing to SQL Server 2000 publication
Hi. I have an upcoming PDA project, and I would like, if possible, to use VS2005 and SQL 2005 Mobile, rather than VS2003 and SQL CE 2.0. However, the back end will be a SQL 2000 publication. If SQL 2005 Mobile subscribes to such a publication, can anyone tell me which (if any) of the new features in SQL 2005 Mobile will be available (In particular, column-level tracking and sync progress status) Thanks. SQL ...Show All
