Matt Lin's Q&A profile
SQL Server Executing Package From Web Service
Hi, I'm having another go at attempting to call an SSIS package from a web service. The Web Service is set up on the same server as the sql server and SSIS package deployment. When i attempt to run the pacage from the web service it starts and then inmediately fails. I can see this in both the Integration Service Logs and the event viewer. If i click on the package itself and run it using the DTExecUI, it runs without a problem. No logs are output by the package when called by the web service. Can anyone suggest anything that i could to see if i can diagnose where the problem stems from. Many thanks in advance, Grant hi, i had the same problem, The reason for this execution error is that you are using the ...Show All
Visual Studio Express Editions draw to picturebox image surface
I am new to VB 2005 and would like to ask for help on the subject: whilest this seams to be an easy problem, considering all the forum traffic on this topic with its expert advice covering large amounts of extra capability - question - "I have set up a form that includes a picturebox. Lets assume that all I would like to do is write a single color pixels, preferably pxl(R,G,B), into the picturebox image surface at an (x,y) location" I am wide open for methods but would prefer to use an 3D array like ImgAry(,,) to draw and than pass that array containing color pixels to the form preferably to the pixturebox image 'surface'. Having coded the application in MatLab all 'pixel producing' algorithms are in place. The ima ...Show All
Visual C# Console.Write problem
I want to punctuate every call to a certain procedure which is a part of a Class separate from the calling procedure Class with Console.Write ("."); statement. I need a simple dot positioned at a line. It is primarily a debug situation but still I want it to be compact. I want all the calls being marked on one line, not 200 lines or so. In the setup like this Console.Write ("."); refuses to do what I expected. It acts pretty much like Console.WriteLine ("."). In other words it feeds in end of the line charactes. Is there a way to avoid it Thanks. I dont think that there is something like what you are saying. Console.WriteLine() puts a carrieage return at the then but Console.Write() doesnot. The ...Show All
SQL Server Date manipulation
I need to to get the result of the function GETDATE and converted to a simpler "mm/dd/yyyy" format in order to compare the results to another date in a table. In ACCESS the function DATE returns the format of 'mm/dd/yyyy' since I need to work with date ranges without a need for this application 'HH:MM:SS' I have try 'TRANSFORM(GETDATE,'mm/dd/yyyy') but I keep getting errors. I am not sure what I am doing wrong Any help is appreciated since I need to work in SQL Server 2000. Gratefull Neil If you want to store the "tranformed date" in a datetime column, the hh,mm,ss will still be added to the column, although they might be NULL, depending on your operation you use for the transform, but if you want ...Show All
Windows Live Developer Forums Map usage for GPS tracking
Hi, I am interested in using the VE maps for GPS tracking and due to my location (Chile/ South America) I have had problems to find accurate maps offering the necesary detail level of roads. The VE maps are pretty good in terms of detail level and I would like to use the Chilean map for visualizing objects tracked by GPS data. Does anyone know if it is possible to export the GPS coordinates into the VE online aplication or even better if it is posible to obtain the VE map for a local aplication on my computer As fas as I know the digital map must have a COM interface in order to comunicate with the GPS device but I am still pretty unexpirienced in terms of GPS combatibility with software. I would apreciate to get some of your recomendation ...Show All
Visual Studio Express Editions Calculate the Average of an Array
Hi All, This is prolly a fairly simple question. It there a way to quicky calculate the average of an arraylist I have an array of 7 numbers and need the average or them. Thanks in advance.. Scott.. Perhaps something like this might work: for x = 0 to 6 y+=array(x) next x arrayaverage=y/7 Don't know what type of numbers are in your array so haven't dim'ed anything, but for sure the arrayaverage ain't going to be and integer lol Hope this helps ...Show All
.NET Development Continued Problems With VS 2005 and Async calls
So everything I have read says if I add a web refferance to a project it automatically generates a proxy file with the begin and end functions for Async calls, however in vs2005 this is not the case. I see a call named [FunctionName]async but there is little I have found online to explain how to use it and the sites I have found say there should be a complete call in the proxy which it does not have. In order to solve the problem I had to manually generate a proxy file using wsdl.exe and that gave me the traditional begin[functionname] and end[functionname]. Anyone have a clue what the deal is or have a simple example using VS2005 and just adding a web referance Thanks Jackie Ok guys wi ...Show All
Visual Studio 2008 (Pre-release) Question on WCFHelpSep15 MembershipAndRoleProvider sample
Hi, just started on wcf and trying to run the sample as posted in title. Problem is I can't seem to properly install the x509 certificate required for this sample to work. I ran the setup.bat included and used the serviceCertificate but got the following error when running the client: Inner Exception: The X.509 certificate CN=localhost chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or chagne the certificateValidationMode. A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. I am running on win server 2003, client server on same machine, server on iis. How can I correct ...Show All
.NET Development Valid Access Query Creates Empty Table using OleDbCommand?
I have a very simple query which runs through the Northwind customers table and extracts all CustomerIDs who live in a city starting with 'P'. It works great if I double-click on it in Access, but when I run it through my VB code, an empty table is created. Any idea what is going on Here is the very simple query text, which works well in MS Access, called 'MyQuery': SELECT DISTINCT Customers.CustomerID, Customers.City INTO pCityCustomerIDs FROM Customers WHERE (((Customers.City) Like "P*")); Here is my very simple VB Code: Public Function ExecuteProcedure( ByVal sFileLocation As String ) As Integer Dim dcMSAccessConnection As OleDb.OleDbConnection = New OleDb.OleDbConnection( _ "Provider= Microso ...Show All
Game Technologies: DirectX, XNA, XACT, etc. is it possible to create strategy games like command hq on XNA GSE ?
i am just wondering to create strategy games like command hq, ancient art of war on XNA Game Studio Express..., is it possible to achieve ... this is a simple war strategy games. it is only 2D games but required some AI to make route / path movement of objects, Iterarion Calculation to find shortest path, plan attact strategy , defense strategy . It is turn-base strategy.... I know the logic and business process of this war strategy games.... but i am just wondering if XNA can perform such AIs... what do you think XNA isn't a language, it's just a framework that helps make it a little easier to make games (doesn't automatically create game AI or menus, etc, but it does make it easy to draw sprites, automatically give you a game loop ...Show All
Visual C# Is primitive types are ref or value types?
Hi, we can call new operator on primitive types, such as- int age=new int(); but we all know that int is an alias for System.Int32 STRUCTURE, and also we know that structures are of *VALUE* types. from this I came to understand that *age* is of value type although *new* operator is called, becoz it is structure. But, I read that the abov declaration is a *REFERENCE* type. I need solution to this and your idea pls frendz. have a nice day... One reason for using boxing is to work with Collections (without generics). There you like to have abstract containers for every type (object) and so you have to box your ints into objects. Normally you don't want to box (poor performance and runtime errors), so use Generics (& ...Show All
Windows Forms Validating data in a bound datatable
I want to validate data for a datatable bound to a datagridview. To cancel an edit for bad data, from what I can tell from the MS docs, I can set the columnerror or throw an exception in the handler for the columnchanging (or rowchanging) event. I tried throwing an exception and that works fine when I do the edit programatically. Ie, try > add a row of bad data > catch exception. But where do I catch the exception when bad data is entered into the DGV The dataerror event of the DGV gets errors from ConstraintException, NoNullAllowedException, and ArgumentException - this works fine. Is this supposed to get the exception that I throw too I am throwing an ApplicationException. Is this right I can catch the exception right afte ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Putting a Window on top of a DirectX fullscreen window?
I'm trying to paint on top of a running full screen DirectX app (seperate process), similar to how XFire In Game works. Is there a way I can do this Currently anything I do just either knocks out my applications Device (DeviceLost event) or causes the other application to minimize. If possible I'd like to be able to do it without obtaining a handle to the other application's Device object. Any ideas Thanks in advance Damn, that's the exact same sample I've been staring at for two weeks. I've had some success with DirectDraw 7 overlays - they'll work with Direct3D, but not with DirectDraw. I suspect it's because DDraw can request FullscreenExclusive mode. Does anyone know if there's a way to do overlays t ...Show All
Visual Studio N Failed to Create Class Error
I Working with Visual Studio 2005 Standart Edition (Academic edition, EN), and i got every time i want to create a new Class in the classdesigner an "Failed to create class" error. Drag and Drop classes from the Classview or Files form the Solution-Explorer works without problems. It was a clean Installation, no Beta2 install. Only Windows XP SP2, Visual Studio Express C# German edition, .Net Framework 2.0 & 1.1 in german also both SDKs in German. I installed Visual Studio without the MSDN Lib.. Visual Studio Version is 8.0.50727.42 (RTM.050727-4200); .Net Framework version: 2.0.50727 Hi there, this happens if the languages of your ...Show All
Visual C++ From VC6 to VC8
Hi all, I'm doing the hard job of porting a program from VC6 to VC8 (Visual Studio 2005) and I have a problem; I have a struct C_FILE defined as follows, typedef struct { /* wide file descriptor */ FILE *file; /* file descriptor */ int binary; /* binary mode asked */ int unicode; /* unicode file flag */ int bominv; /* inverted bom flag */ int mbcs; /* multibyte charracter set interpretation asked */ int encode; /* encoding(write)/decoding(read) asked */ } C_FILE; and I have following, C_FILE Cfilstderr = {stderr, YES, YES, NO, NO, NO }; where stderr is defined on stdio.h #ifndef _STDSTREAM_DEFINED #define stdin (&__iob_func()[0]) #define stdout (&__iob ...Show All
