handheld design's Q&A profile
Visual Basic Declare and Call A Fortran DLL from VB 2005
If I have a Fortran DLL "CNDBC.dll" (compiled in version 6.6) with a subroutine: CNDBC_CURR(ICURMX,ICNDRMX) INTEGER*2 ICURMX INTEGER*2 ICNDRMX ... (i believe INTEGER*2 is 16 bits and i think SHORT is 16 bits in VB.net) How do I declare the subroutine and how do I make a call to this DLL Are there any other things i need to do to use this DLL thanks, gareth I don't recall if Fortan passes parameters b ...Show All
Visual Studio Team System Can/Will beta 2 SCC/WI data be preserved in the GA release
OK, we're interested in starting to use beta 2 for our next big project, however I need to know if the data we create using beta 2 can be preserved (or at least migrated) in the GA release Does the "go live" license apply to TFS too Dave We haven't been dogfooding it for 2+ year - It's been about 8 months :) A converter from SourceSafe has been planned from the beginning as you suggest and is available in the Beta. The issue of ...Show All
Windows Forms Showing property values as dropdownlist
Hi, is there a method to show a custom control property values as a dropdownlist (like ControlToValidate property) I know thet declaring an enum type property is a solution. Is there another Thanks Marco Apply a custom TypeConverter to your property (through the TypeConverterAttribute) and override GetStandardValues, GetStandardValuesSupported, and GetStandardValuesExclusive. ...Show All
Smart Device Development How to read .dbf file in the Windows mobile 5.0 pocket pc?
My app needs to read a dbf file in the wm5 pocket pc. But i can't use the mehtod using OleDb Provider such as "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\db\db.dbf;Extended Properties=dBASE IV;User ID=Admin;Password=" it's not supported in compact framework . Can anyone help Thanks a lot . SQLIte is free and works on PPC and desktop and is a lot more capable than DBF. I ...Show All
Visual Studio Tools for Office Unable to Delete Name Ranges in Excel
i'm creating Named ranges in excel with following code :- ObjExcel.Names.Add(Name:=RangeName, RefersToR1C1:=MyExcelRange) But when i give following code objexcel.Names(RangeName).Delete it's giving a compile time error. Whereas when i create macro, it gives me this line only to delete Named Ranges. ActiveWorkbook.Names("Range1").Delete Pls help. Finally this is working. I'm ve ...Show All
Windows Forms Communicating between objects in object model
Hopefully this will make sense. I have a class, we'll call it Class1. It contains a collection of Class2 objects, which contains a collection of Class3 objects. Class1 has a property called IsChanged. Class3 has a property called Value. Whenever the Clas ...Show All
Windows Forms DataGrid TextBox leave event
Hello. I don't know how to explain this but i'll try. I have a form with numerous textboxes and one datagrid. It all works fine until I navigate around the DataGrid. For some reason when the datagrids currentCellChanged event fires it a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. HLSL in C# vs. C++
This is probably a stupid question, but I just want to make sure. I tried out shaders a bit in RenderMonkey when it all looked like ASM. But havn't touched it after HLSL came out. So I want to get up to speed on it now. So I found this book: http://www.amazon.com/exec/obidos/tg/detail/-/0976613212/qid=1127229280/sr=8-1/ref=pd_bbs_1/103-6524508-7375040 v=glance&s=books&n=507846 Now, what I am wondering about is, does it look the same i ...Show All
Visual C++ C2275 with CTypedPtrArray
Hi, I received the following error message while using a CTypedPtrArray as typedef. Using the VC++6. I include here the complete code. The program is called CMini: in MiniDoc.h: #include <afxtempl.h> #include <afxwin.h> #include <afxext.h> class Cline: public CObject { protected: int m_x1,m_y1,m_x2,m_y2; public: Cline(int x1,int y1,int x2,int y2) { ...Show All
Smart Device Development Installing Framework 2.0 over 1.1.
Hi, It seems that i need to use some classes that are available only in 2.0, but i have 1.1. Is there some articles about reinstalling 2.0 over 1.1 I have lots of development stuff on my comp and i dont want to harm anything uninstalling 1.1 and installing 2.0. Currently i have 1.1. and VS 2003. So, if i take 2.0 Framework and 2.0 SDK and install both of them, not removing 1.1., will everything work fine Will my VS 2003 work with 2.0 sinc ...Show All
Visual Basic Winsock, What is it and where do I get it ?
I know u can do client/server with winsock, but what is it and how do u get it Definition is Winsock http://en.wikipedia.org/wiki/Winsock There are other ways of doing client server - .NET remoting, Web Services are two others. ...Show All
Visual Studio 2008 (Pre-release) SSL Support
I am currently implementing a service utilizing BasicHttp binding using XmlSerializer serialization....effectively giving me a bare bones service consumable by a smart devices app. What's the easiest, most straight-forward way to utilize SSL over the Http I don't want any username or password tokens, etc. All I want is SSL encryption over the connection when the smart device client connects. Given the above, I believe I need to use Transp ...Show All
SQL Server ASP.NET 2.0 Interface for SSIS
Hi there, we have several DWH Load processes running in SSIS, however I want to enable the enduser to have more control and information about the status of these processes. Therefore I plan to write a monitoring interface based on ASP.NET 2.0. However I hardly could find good docu or samples on what is available from within ASP.NET 2.0 to read out or control SSIS. Anybody having me some good pointers to start with ...Show All
SQL Server Only functions and extended stored procedures can be executed from within a function.
Hi, l've created an function [GSM].[KPIAging], and test it in studio by substitule declare value, i.e. DECLARE @sCellName VARCHAR(8) DECLARE @dDate DATETIME SET @sCellName = "CELL1M_1" SET @dDate = CAST('06/Jun/2006' AS DATETIME) EXEC GSM.KPIAging @sCellName, 'CSSR', @dDate It work fine and return the desired result, but when l used this function in SQL, SELECT DATEKEY, CELLREGIONKEY, CELL_NAME, CELL_ID, CSSR, GSM.KPIAging(Cell_Name, ' ...Show All
Software Development for Windows Vista Workflow Parameters and Activity Properties in xaml Beta2
I would like to know if it is possible to declare a workflow parameter and then pass that parameter into a custom activity using xaml. I see that in beta 2 that ParameterDeclaration has been removed so I am unclear if this is possible. This is my current workflow, very simple, i just want to pass in a parameter and assign it to "To" Thanks < SequentialWorkflowActivity x:Class = " Microsoft.Samples.Workflow.SequentialWo ...Show All
