avrilsim's Q&A profile
.NET Development Using C++ header in C#
I wish to know the possible way for me to use the C++ header, in this case the ogr/gdal header in C#. I am currently trying to 'turn' all the header into .dll file and using dllImport in C#. However, I find no way to import classes, which to be used to create object to store dataset. Is it a fine way converting to .dll in order to achieve what i want On the other hand, I found out from msdn about unmanaged/managed code. I have seen the migra ...Show All
Smart Device Development Custom uninstall in the CAB file
hi, My application creates folders within the location of the exe. These folders are created during runtime not setuptime. When I uninstall the application from the Device the folders and files created in those folders are not deleted. Is there any custom action can I add to the CAB file that will delete these folders and files during uninstall from the device I know how to add custom action to MSI installer but do not know how to add fo ...Show All
Visual Studio Class Designer in Visual Studio 2005 Beta 2
Hi, I would like to know if there is a possibility in Visual Studio 2005 Beta 2 to design classes using Class Designer without updating the code The purpose is to have the tool create a XML schema, kind of XMI, that will at the end generate with a custom tool my Data Access Layer. Thanks Best Regards, --- Laurent Kempe - laurent.kempe@techheadbrothers.com Tech Head Brothers - http://www.TechHeadBrothers.com Blog - http://weblogs.asp.net/l ...Show All
SQL Server Cannot view actual report
Hi, I am using the reportviewer control the following way <% @ Page Language ="C#" AutoEventWireup ="true" CodeFile ="RenderReport.aspx.cs" Inherits ="pages_RenderReport" Title ="View Report" %> <% @ Register Assembly ="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace ="Microsoft.Rep ...Show All
Visual Studio Express Editions Do I start a separate project with a new Form1, or, do I add a Form2 to my project?
I added a MenuStrip to my Form1 with the following: File Doctor Patient Exit The user would select "Doctor" in order to update the doctor file. I do not have any room on Form1. Do I start a separate project with a new Form1 for the file update function, or, do I add a Form2 to my project You should always rename form1 to something meaningful, even if it's just MainForm. The typ ...Show All
Visual Basic How to gracefully end a VB2005 program
I'm in the debug stages of my first VB2005 app. I added an exit button. I click the button, the app continues to run. hmmm The Exit Button Logic was simply On_Click End I was in a loop, so I decided to set a boolean variable called Exit_Button_Pressed Then I check for it's status in the middle of the loop: If Exit_Key_Pressed = True Then Me .Close() End End If The only way ...Show All
Visual C# 101 Samples for Visual Studio 2005
Hi, I wonder if anybody can maybe help me. I recently downloaded the "101 Samples for Visual Studio 2005", from the following link http://lab.msdn.microsoft.com/vs2005/downloads/101samples/default.aspx I wanted to test and see how Datasets work in the new SQL Express. The application that I was testing is called "Reading and Writing Images from a Database", and is located in the Data Access folder. When I run the application, I can select a new ...Show All
SQL Server Making SSAS Developer Edition act like standard edition
My understanding is that the Developer Edition of SQL/SSAS contain all of the functionality of the Enterprise Edition. Is there a way to force it to act as if it were Standard Edition (and therefore subject to all of the limitations of SE) The reason I ask is that with our product we're trying to maintain compatibility with both SE and EE. I realize I can just install SE instead of DE, but if there's a way to simple toggle the behavior, that wo ...Show All
SQL Server Error when doing fuzzy lookup
I am trying to run a SSIS package that contains a fuzzy lookup. I am using a flat file with about 7 million records as the input. The reference table has about 2000 records. The package fails after about 40,000 records with the following information: ------------------------ Warning: 0x8007000E at Data Flow Task, Fuzzy Lookup [228]: Not enough storage is available to complete this operation. Warning: 0x800470E9 at Data Flow Task, DTS.Pipel ...Show All
SQL Server Long running Query
Hi, I'm trying to optimize a long running (several hours) query. This query is a cross join on two tables. Table 1 has 3 fields - ROWID, LAt and Long. Table 2 has Name, Addr1,Addr2,City,State,Zip,Lat,Long. Both tables has LatRad - Lat in radians, LonRad- Lon in Radians. Sin and Cos values of Lat and Lon are calulated and stored to be used in the distance formula. What I'm trying to do here is find the nearest dealer (Table 2) for each ...Show All
Windows Forms Table existence in a database
How may I find out if a specific table exist in my Microsoft Access database, by ADO .NET For example I have an Access database named "MyDataBase". I want to figure out is there a table named "MyTable" in this database Regards! M.Sa ...Show All
Visual Basic Currency Formating
I am trying to get an output value to a textbox to display in currency form but I have had no luck. Here is what I have so far; Private Sub btnCalculate_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _ btnCalculate.Click Dim Principal As String Dim intRate As Decimal Dim Months As Integer Dim Pmt As String Principal = txtLoanAmount.Text intRate = txtR ...Show All
Software Development for Windows Vista Rendering video from network
Hi Can anybody suggest a method to get live video from a network device.(A video server) either by using DirectShow or WMFSDk Is the server running any particular video serving software Or are you planning to write that too ...Show All
Visual Studio Problem in CR:This field name is not known. Error in File C:\WINDOWS\TEMP\temp_443........}.rpt Error in formula....
Hi, I want ask about CAL in Crystal Report, At this moment my condition is I’m running OS 64 bit and install application that we built with VS.net 2005 and CR 10.2 (bundled), if I install on this machine, at the first time the reports can open properly, but if for some period, around 2-3 hours, and if some user more than 5 access it concurrently, the reports crash and will show error message like “This field name is not known. Error in F ...Show All
.NET Development Trouble betweeen xp32 and xp64 within the same vs 2003 app
Hi there, We have an app here we are developing, using vs 2003 visual basic and asp.net. For the past months, we only used vs 2003 pro under xp32 machines. Recently, 2 new atlhon 64 machines, running xp64 joined the developing team, using too vs 2003 pro. For some kind of strange reason, i dont know if its possible, but it seen that the code that was handled on Xp 64 machines and returned to xp32 machines stopped to work correctly. F ...Show All
