aragon127's Q&A profile
Visual C# Excel versions
Hi, I am writing my application that using the Excel 2000 COM file. Can somebody tell me if it will be run on computer with Excel XP/2003 Thank's Alexei The forums are not the best place to get sample applications. There is simply too much code and too little space for it all. Instead you should use MSDN and Google to find resources that contain examples. Here are some links to get you started. http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=b7df82d9-3619-465a-bc28-c6f0d2c5fdfd http://msdn2.microsoft.com/en-us/library/aa192488(office.11).aspx Michael Taylor - 12/28/06 http://p3net.mvps.org ...Show All
Visual C++ Probelm when compiling/debugging different projects in Visual Studio
Recently my class has switched from older compilers to Microsoft Visual Studio 2003/2005. The problem we are having is that whenever we create a new project the compiler runs a different code. For example: we make a simple hello world project. Debug and run it. Command prompt opens with Hello World on it. Closes. Now we create a new project that for instance converts km to mile. We write the code debug and run this program and the previous Hello World still comes up in the command prompt. Not our new current project we are creating. Is there anyway to fix this or what are the proper steps to compile and run the current project. By the way all these projects are in C language. A ...Show All
Windows Live Developer Forums I am trying to develop a application of Virtual Earth Map Control SDK ,can you give me some vc sample program for it or some lin
I am trying to develop a application of Virtual Earth Map Control SDK ,can you give me some vc sample program for it or some links Thanks you very much. ...Show All
Windows Forms How to add "Expression" style to all properties displayed in a PropertyGrid (like in SQL Reporting Designer)
The SQL Report Designer has a great feature that I would like to replicate in a custom designer, each property listed for a selected control has an "Expression..." entry that will allow for displaying a "VBA" like editor. My question is...How do you associate something like that to each control in the designer host (I'm using version 1.1 of the framework). Generally speeking, attaching a certain editor or designer to a certain property in a property grid is done using the Editor and Designer attributes. However, it is not clear what exactly do you want do you have some classes that you want to have custom editors for their properties (even if the same designer), or do you want to ch ...Show All
Visual Studio WindowsApplication1.vshost.exe has encountered a problem and needs to close.
Whenever my code encounters an error, I get a " WindowsApplication1.vshost.exe has encountered a problem and needs to close." message, Instead of breaking into the line of code that has the Error. Any Ideas Thanks Hello I have the same problem as jkelsch, and I have tried to uncheck "Enable the Visual studio hosting process", but when I do this I get the following message: Internal Error: Unhandled exception in Debugger::HandleIPCEvent. Event ID=0x205. Exception code=0x0000005, Eip=0x7a05c98b. Process ID=0xab8(2744), Thread ID=0x974(2420) And after that, I get the WindowsApplication1.vshost.exe has encountered a problem and needs to close. Just before th ...Show All
Visual Basic Posted code
I would like to import the excel in to the sql server using vb.net. how can i do it Another question is how can i execute the DTS using vb.net THats a good idea too. I have another question. if im using DTS i have to hard code the path name so the DTS can locate the excel file, but do remember now the DTS is running on the server and there is no way i can pass the whole excel file to the server with a correct path that DTS configure. If i still cannot solve it i think the better way is stick back to your choice. Thanks ...Show All
.NET Development Detecting a Nullable Field or Property
I'm trying to determine if a property's Type is of a Nullable type or not, anyone know how to do this Simple Example: class Program { static void Main( string [] args) { foreach ( PropertyInfo propInfo in typeof ( Car ).GetProperties()) if (propInfo.PropertyType is Nullable ) Console .WriteLine(propInfo.Name); // Should print out the names of the nullable properties (i.e. Doors and Date) } } public class Car { private int _id; private int _doors; private DateTime _date; public int Id { get { return _id; } } public int Doors { get { return _doors; } } public DateTime Date { get { return _date; } } } Thanks ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Problems getting XNA working
I've installed all required files for MSFT Game Studio Express to function. I've installed SP1, released yesterday for Visual C# Express. I've installed the XNA framework, .Net 1.1 framework, .net 2.0 framework, the directX December 2006 SDK, and platform SDK (for other reasons). I've found that there's a problem getting the XNA Transport Server started. In this situation, I cannot deploy anything to my 360, which is sitting next to my computer, on the same network/subnet. When I manually run the XNA Transport server (C:\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\Bin\XnaTrans.exe), it gets further in deployment, and tells me that the 360 has timed out. While doing a packet capture using WireShark, It appears that my machine s ...Show All
Smart Device Development Other ways to obtain the version of an assembly
To obtain the version of and assembly i go throught the reflection class and use the assembly.loadfrom("assemblyPath").getname.version. This way implies to load the assembly.Is other way to read the manifest which don’t implies load the assembly And as I supouse there isn’t any way to unload an assembly that has been load with the system.reflection.assembly.loadfrom, isn’t it ...Show All
Visual Basic open access
Hi how to use AppActivate( "Untitled - Notepad" ) if i want to open one access db call pcg reards alvin ...Show All
Microsoft ISV Community Center Forums Place a CR in normal Text Box via vba
I am trying to place CRs in a normal Excel text box via vba in an initialization routine. Here is the code I am using: Option Explicit Dim iLines As Integer Dim iCount As Integer Private Const SCG1 As String = "Line 1" Private Const SCG2 As String = "Line 2" Private Const SCG3 As String = "Line 3" later in code I have the statement: ActiveSheet.DrawingObjects("Text Box 2").Text = SCG1 & Chr(13) & SCG2 & Chr(13) & SCG3 However, the Chr(13) does not appear as a CR, but instead as a square character. The text does wrap at the margins of the text box. I have also tried using vbnewline instead of chr(13) with the same results. How can I get a real CR into the normal Excel text box ...Show All
Windows Live Developer Forums Unable to login to Windows Messenger 8
Have been running Windows Messenger for years.....am now on version 8. Then last week .....it suddenly stopped signing me in. It has not given me a failed login message, it simply leaves the green and blue bodies spinning for hours on end. I can still access hotmail from internet explorer. The service report says it is running and stable. Any ideas Yes...can someone please explain what this problem is and how to fix it. I have been having this problem for a week now and its driving me insane. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Spacewar failed to build... Different processor target
I'm getting this warning and the project won't build Warning 2 Referenced assembly '..\..\..\..\..\..\..\Program Files\Microsoft XNA\XNA Game Studio Express\v1.0\References\Windows\x86\Microsoft.Xna.Framework.dll' targets a different processor than the application. MySpacewar1 I'm using a Dell XPS M1710 with a Core Duo 2Ghz processor. Any help please. Perhaps, but as I mentioned: I've got a single core, old school P4. ;) I was actually thinking this could be a bug. It seems to happen only when I do things in a certain order. I'm going to play around with it a little more before I file a br though. ...Show All
SQL Server Problem using openrowset to query foxpro VFP 9 tables
Hi, I have been trying to query VFP Foxpro table using following command. Select * from OpenRowSet ( 'VFPOLEDB' , 'C:\ShareBridge\Dbf\WLK\Dbf\' ; '' ; '' , 'SELECT * FROM SOM.DBF' ) as A I have upgraded latest oledb driver for visual FoxPro 9 but, all the time it gives me following error message. /************************************************************** Msg 7399, Level 16, State 1, Line 1 The OLE DB provider "VFPOLEDB" for linked server "(null)" reported an error. Access denied. Msg 7350, Level 16, State 2, Line 1 Cannot get the column information from OLE DB provider "VFPOLEDB" for linked server "(null)". ************************************************/ ...Show All
Visual Studio Team System Name of the validation database
Hi, A very quick one. I have 3 datadude projects, hence 3 validation databases. 2 of these DBs are named: <last-few-characters-of-the-project-name>_DB_<guid> The third one is named <full-project-name>_DB_<guid> Why the difference I know its nothing to do with truncation in order to keep the database name under a certain length because the name of the third one is much longer than the other two. Just interested to know that's all. -Jamie Bruce Johnson - MSFT wrote: Haven't seen this issue before. The default naming convention for the validation database is as you show for the 3rd one above: <full-project-name>_DB_<guid>. I'd be interested in ...Show All
