Stephen McCloskey's Q&A profile
Smart Device Development Intaller corrupting files
Our installation process is corrupting one of the file being installed and we can't figure this out. Does anyone have an pointers Our application comprises of a Setup.exe file that is 63,026kb. This setup installs several files including a 62,264kb data file which contains all the data for the app. When we install the application to the 128meg SDCard this large file is getting corrupted. Here is what we know thus far. This problem happens in PocketPC 2003 but this does not happen on Windows Mobility 5.0 We cannot duplicate this problem with 1 Meg SD Cards. We have tested this with ActiveSync 4.0 (buil ...Show All
Visual C++ Errors when building MFC applications
When converting an MFC application from VS.net 2003 to VS 2005, I got the deprecated warning. While I was working on it, I probably made some kind of setting (not sure where) that causes any C++ application (out side of .Net applications) to error on building. I get the following errors when I try to build: C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(55) : error C2733: second C linkage of overloaded function 'memcpy' not allowed C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(55) : see declaration of 'memcpy' C:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(68) : error C2733: second C ...Show All
Visual C# Can I define Array with a defined structure type?
I want to define an array of structure tryped data. Can I do it and is it same as conventional way of Array define Thank you very much for your help. James SimpleStruct [] Nd = new SimpleStruct[20] ; You need to use square brackets, and you need to specify how many you want. Use ArrayList for dynamic arrays, or List. Nd.x = 1; // Test here . ss.X = 5; This can't work. If you have an array, you need to index the array to access the individual objects, as in Nd[0].X = 1; Also, C# is case sensitive, .x won't work at all. ...Show All
Visual Basic no output visible from debug.print(...)
Hi I create a simple Windwos Form Application, place one button on the main form which executes debug.print("hello") Pressing the button while running the application in IDE generates no output in the Output window. (neither 'Show output from: Debug' nor 'Show output from: Build' Debug is the active configuration and 'Program Output' and 'Exception Messages' are enabled to show in the Output window. My IDE is: Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework Version 2.0.50727 Installed Edition: IDE Standard Does anybody know how to resolve my problem Thanks Reto Are you using ...Show All
SQL Server Authoring Custom Report Controls
Hi, I'm using VS2005 Beta 2 (April) and SQL Server 2005 (CTP April 2005) and I'm very interested in creating my own custom control for SQL Server 2005 ReportingServices. I understand that in order to do this I have to inherit from some classes (CustomReportItem ) and other interfaces which are declared in the following namespaces: using Microsoft.ReportingServices.Interfaces; using Microsoft.ReportingServices.ReportRendering; using Microsoft.ReportingServices.ReportProcessing; Does anybody have a simple example I can use similar to the SimpleControl Sample for Windows Forms control Or any other pointers Many thanks, ...Show All
Windows Forms view designer error - there is no editor available for c:\tmp\windowsapplication1\form1.vb file
I allready checked the http://forums.microsoft.com/msdn/showpost.aspx postid=75492&SiteID=1 post, but i didn’t understand how to solve this problem. Thank you ALL ...Show All
SQL Server Erro whit J# - Urgent
Hi...Urgent... The following errors are occurring when we try to give one printing to print in the screen a consultation to the one bank SQL. This site that makes to the consultation this in IIS 6.0 and following errors is occurring. Somebody already saw these errors Erro whit J# 2.0 - Exception of type 'java.lang.ExceptionInInitializerError' was thrown. Erro whit J# 1.1 - Could not load file or assembly 'vjslib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Hi, You would need to register all the dependent assembl ...Show All
SQL Server The question is “how to populate the Constants section used in Expressions?”
The que st ' w:st="on">st ion is “how to populate the co ' w:st="on">Co ns ta ' w:st="on">ta nt ' w:st="on">nt s se ct ' w:st="on">ct ion us ...Show All
SQL Server Pause between pages when printing RS report
I am using Report Services on SQL Server 2005. I have a report that gets its data from a single SQL Server stored procedure. One other small table is used, but only to provide a list of values for selecting a parameter value to send to the stored procedure. On the report I use a list control to display multiple records per page. When printing the report (which currently produces over 500 pages - future printings of this report will not be nearly so large), the printer pauses between each page as if they are seperate print jobs. This is an HP LaserJet 5Si that normally cranks out reports very fast. The only thing I can think of that might con ...Show All
Visual Basic Problems with ADO .NET
Hi, I'm trying to pass a LongVarBinary data type parameter to a dynamic SQL, but it gives me a Syntax error. That is in order to insert a blob data type under Informix DataBase. The code that I'm using is the following: '******************************* dim intValReturn as integer = 0 dim Table as string = "st_example" dim fieldblob as string = "fieldb ...Show All
Windows Forms Why g.DrawImage(myImage) image quality is not good?
Hi, I use the following proc to draw an image (whether *.gif or *.*jpg). The image dispalyed is worse than 'Internet explorer' or 'ms photo editor'. Why How can I make the image better Public Sub DrawImage(ByVal MyFile As String) Dim formGraphics As System.Drawing.Graphics = Me.CreateGraphics() 'Dim rect As&nbs ...Show All
Software Development for Windows Vista How to prevent an Workflowinstance from terminating
Hi there I'm currently working on a (runtime-)service that should start a workflow for errorhandling if an instance faults. The service works fine as long as I trigger it by the instance's terminate event (Runtime -> WorkflowTerminated), but I want to prevent the instance from terminating and instead suspend it so it could be resumed and starts at the State that caused an error previously. Is anyone there who could give me a hint how to stop the instances termination By the way: I can't use the Sequence Workflow's Fault view to handle errors 'cause I've got to implement my Errorhandling in base classes from which our w ...Show All
Visual Basic VB2005 Express - Problems Configuring Access Data Source Connection
I wonder if anyone can help.. I'm struggling to add a connection to an Access DB from within VB2005 Express. The database I'm trying to connect to is secured and therefore has a Workgroup Information File associated to it, which I don't seem to be able to specify when using the Data Source Configuration Wizard. I have not had any problems in connecting to a number of other Access DBs (ones not associated to WIFs) it's just when trying to connect to one with a WIF that I have problems. I'm wondering if there's any way I can specify a command line, maybe incorporating "/wrkgrp" refering to the .mdw file or, perhaps, whether ...Show All
Visual Basic Error Type 'MarshalAs' is not defined
I recently converted a project from VB2003 to VB2005. I am getting this error and I can't figure out why... Type 'MarshalAs' is not defined Here is an example of the code that is causing the error: <StructLayout(LayoutKind.Sequential)> Friend Structure VersionInfoDef Dim SizeofVersionInfo As Byte Dim BootVersion As VersionDef Dim OSVersion As VersionDef Dim NumOSExtensions As Byte <MarshalAs(UnmanagedType.ByValArray, SizeConst:=40)> Dim OSExt() As Byte Public Sub I ...Show All
SQL Server Loooonnngggg delay in loading due to "pre-validation". Can it be turned OFF?
During dev. I _know_ certain things are invalid. I don't need the validation, it just wastes a lot of time... You can set SSIS to be offline (SSIS Menu), or set the delay validation on the component. Both these mean you can't validate the component at design time. ...Show All
