Software Development Network Logo
  • IE Development
  • Visual FoxPro
  • Microsoft ISV
  • Windows Forms
  • Visual C#
  • Visual C++
  • Visual Basic
  • Game Technologies
  • Windows Vista
  • SQL Server
  • Audio and Video
  • SharePoint Products
  • .NET Development
  • VS Team System
  • Smart Devicet

Software Development Network >> p.cosmos's Q&A profile

p.cosmos

Member List

Lars E.Nes
Michael Grau
MA2005
Scott Chang
rogupta
dpuza
shimshon
Denis A.B.
Saravanakumars38
Kirill Sukhonosenko
Kay-Davis
Gravy
KrishnaUNISYS
Kulbhushan Sharma
TiborK
Jessica Alba
barkingdog
brohans
imanish11111
Jorge L Nieves
Only Title

p.cosmos's Q&A profile

  • Visual C++ Namespaces System.drawing

    hi, I recently started using Visual C++ 2005, and I'm trying to work with BITMAPS to get pixel information, I had started a thread about that topic but now I have a more general question about namespaces, I was wondering if to include the system.drawing namespace I must be in a CLR project. Is there another way to use the bitmap class and other namespaces like system.something Thanks Generally, if you want to use .NET classes, you need to compile program with /clr switch, this means, make it managed. However, every task can be solved using .NET and without it. Specifically, Bitmap is part of GDI+ which is available for unmanaged C++ program. http://msdn2.microsoft.com/en-us/library/ms533798.a ...Show All

  • Visual C++ #using "AbsoluteFilePath". . .How do I. . .?

    In my application I have 5 Dynamic Link Libraries I am using. Each of these libraries holds a Windows Form. One of these libraries has a class that holds ALL varaibles that will be used accross my entire application. This is how it works: DCMPMessenger.EXE -> AcsLib.DLL OR LgnLib.DLL -> MainLib.DLL -> ExtLib.DLL Variables come from: VarLib.DLL Now in DCMPMessenger.EXE, I have a Windows Form which is used as my splash screen. In my splash screen I have a reference to both AcsLib.DLL and LgnLib.DLL. Here is how I have it coded: #using "C:\\Documents and Settings\\Dave S. Anderson\\My Documents\\Visual Studio 2005\\Projects\\DCMPMessenger\\debug\\VarLib.dll" #using "C:\\Documents and Settings\\Dave S. Anderson\\My ...Show All

  • Visual Basic link vb to fortran

    I have several subroutines which are written in FORTRAN. Can anyone tell me in a step-by-step manner ... 1) how I need to compile the FORTRAN subroutines 2) what I need to do within VB 2005 to call these FORTRAN subroutines within the VB 2005 code We are using COMPAQ Visual Fortran compiler. When I compile the code I get a .obj file and when the code is linked a .exe file is produced. We use the .exe file to run the code as a stand-alone application. Our IT people (who have no experience with VB ) believe that I should be able to reference the .obj file within Vb somehow and create a VB .exe ... but they don't know how. Is it possible to use that .obj file Is it possible to use that .obj fi ...Show All

  • .NET Development Missing Schema Information of Base Tables in SQL 2005 Views

    Hi! I have a problem, because in SQL 2005 my views does not provide the schema information of the base tables. I mean neither the identity behavior of the columns nor the primary key are reachable. In details, in my .Net application I use DataAdapter.FillSchema method for querying the schema information of the views. The trouble is that the application is a finished software and it is developed and tested for SQL 2000 and it is working correctly on this version. Now I’m about to migrate the application to SQL 2005, further, I have to support both SQL version: SQL 2000 and SQL 2005. I tried to switch the database option to be compatible with SQL 2000, but it didn’t work. What should I modify in the d ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Xbox 360 Hardware limits

    Hi, I've been searching around for the answer to two questions but have had no luck. Firstly how much system memory can an Xbox360 XNA game actually use. I know the executable size is limited to 50Mb just like Arcade games, but with procedural techniques you could still use up lots of physical memory. Secondly how many cores are available on the xbox 360 for use to XNA developers. Are two cores powered down so we in effect only have two hardware threads or can we use all six. Judging by the fact the fan is not on 'noisy';) I assume it is the former. Many thanks! There are 3 cores, each of which is hyper-threaded, so there are 6 hardware threads. Of those, the XNA runtime has chosen to reserve 2, so you get 4 hardware threads for your ...Show All

  • SQL Server Query results from MySQL to SQL 2005, EASY?

    I am looking for a simple example or guidance on how to move the results of a query from a mysql database to sql server 2005 using SSIS. It seems rather difficult to do this or at least I am stuggling to figure it out. It was easy to do in DTS, how do you do it in SSIS Have you ever used SSIS before If not then it might be useful spending some time getting up to speed with it. There's lots of good resources around. For example: TechNet Webcast: Introduction to SQL Server 2005 Integration Services (Level 200) http://msevents.microsoft.com/cui/WebCastEventDetails.aspx EventID=1032289998&EventCategory=5&culture=en-US&CountryCode=US The New ETL Paradigm http://www.sqlservercentral.com/col ...Show All

  • SQL Server execute sql task resultset

    hi all, in my execute sql task, i have a try catch statement to catch error code if there's an error... begin try insert into person.contact (contactid) values ('1') end try begin catch select @@error as ErrorCode end catch this ErrorCode will be mapped to a user variable. my problem is the value for ResultSet. in order to assign ErrorCode to the variable, i have to set the ResultSet value to Single row, but if this task does not fail, i need to set ResultSet value to None in order for it to run successfully. How do i go about solving this problem Please help. thanks! hi Phil, thanks for your reply. but what resultset value should i set None or single row there'll still be ...Show All

  • Visual C++ SP1 redistibutables can't run as private assemblies

    Hi there, We have an application that uses VC++ 2005. For the runtime libraries we distribute them as private assemblies (which is to say we include the manifest and the msvc*.dll files in our application directory). This worked fine with the RTM. When we installed SP1, we updated the manifest and dll files to the SP1 versions but we have found that the application will not load on any machine that doesn't already have SP1 installed. It seems that the runtime redistributables will no longer work as private assemblies. Has anyone had any experience getting this going (or know of a reason why it no longer works) Thanks, Brendan Agreed with Marius - they do work, I just had to manipulate the m ...Show All

  • SQL Server Newbie MDX Question

    Let's say I'm doing a fairly standard MDX query: SELECT {[Measures].[Revenue], [Measures].[Expenses], [Measures].[Profit]} ON COLUMNS, [Products].[Name].Members ON ROWS FROM [My Cube] This will show the product name on the row axis, and several measures along the column axis. What if I also want to get the product ID (numeric key) in addition to the product name in my query. How would I do that I suspect that a cross join would work, but there is probably a much better way. I'm using ADOMD.NET to process the results. Might this product ID already be embedded in the returned CellSet object Assuming that you have attribute ProductName with numeric key and text name column, you can do this: SELECT ...Show All

  • Visual C# Events in ASP.Net

    Group, Is there any event that finalize the loading of a page I would like to get the property values of a gridview... such as cell width, but don't know where to start. I tried the Page_Load event, but not able to attain the width values of each cell in a row sample: gvTemp.Rows[0].Cells[0].Width this returns 0's Please help. You would have to do this in the DataBinding event of the Grid - however I will warn you, that what you are trying to do - probablly can't be done. Width should always be Null/Empty unless you specifically set a column width. Hope this helps. Let us know if you have any further questions or comments. ...Show All

  • Visual Studio Debugger opens wrong files

    I am running a relatively large unmanaged VC++ solution (~110 projects) in Visual Studio 2005 which builds a handful of dependant libraries, unit tests, and a couple sample executables. As one might imagine, this solution contains a number of files in different projects which share the same name ("test.cpp", for instance). When stepping though code, the debugger has the tendancy to bring up the wrong file. I can set a break point in a given file which is respected by the debugger, but it then proceeds to follow the execution path, correctly following line numbers but in the wrong source file. This behavior suggests to me that maybe the system is using some kind of hash based on file name which has some-how fallen out of sync with the files ...Show All

  • Visual Studio Express Editions listview display

    hi.. can anyone help me to add a part of code wherein i can sum up the total debit, and display it to a cell in the listview just 2 spaces below the last read debit amount. i just can't do it.. this code works in displaying the data in listview coming from the database. but how can i add data in the listview just after i read the database..i want to add the total debit amount on the 3rd column, 2 spaces below the last row of debit column.. please help me. Private Sub Button3_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click lv.ListView1.View = View.Details lv.ListView1.ForeColor = Color.Navy Dim myCommand As New OleDb.OleDbCommand() Dim myConnectionS ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Rants on XNA 1.0

    This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the contents are only built before the program runs. The helper functions wrapping D3DX can only be used with types in the content pipeline. I have to utilize the full content pipeline just for generating something dynamically, of course with significant performance cost. Or I have to write those D3DX utilities my self. Currently I don't have a good id ...Show All

  • Windows Forms Tabbed Browsing

    Hi I am using this code for a tabbed web browser: Public Class Form1     Public Class WebBrowserTabPage         Inherits System.Windows.Forms.TabPage         Private WithEvents WebBrowser As WebBrowser         Public Event Navigating(ByVal sender As Object, ByVal e As EventArgs)         Public Event Navigated(ByVal sender As Object, ByVal e As EventArgs)         Public Sub New()             Me.WebBrowser = New WebBrowser()          & ...Show All

  • Visual C++ Migrating from VC++6 Pro to VS2005 Standard

    Hi, I just got VS2005 Standard (+ SP1) and I'm migrating from VC++6 Pro. I'm purely only interested in C++, Directx and MFC development. Does anyone know if Microsoft has any migration guide that I could read to help me along the way 4 simple questions: 1) What happened to Class Wizard window VS2005 and how do I go around this in VS2005 2) In VC++6 I had resources tab in my project window. In VS2005 Solution window I don't see resources tab, how can I add it to the solution view Or how do I access the resources tab 3) If VC++6 sometimes I needed to rebuilt by *.clw file as some classes are deleted added to the project, I simply deleted the file and then regenerated it in VC++ IDE. Can this be done VS2005 Or is it even necessary.... 4) I ...Show All

©2008 Software Development Network