Software Development Network Logo
  • Windows Forms
  • Visual C#
  • Visual Studio
  • SQL Server
  • Visual Basic
  • .NET Development
  • Architecture
  • Visual J#
  • VS Team System
  • Visual FoxPro
  • Microsoft ISV
  • Game Technologies
  • Windows Vista
  • VS Express Editions
  • Smart Device

Software Development Network >> Daniel Maresca Jr's Q&A profile

Daniel Maresca Jr

Member List

Pennan
GLA
Darwin Wright
redwyre
daleUSA
Yaniv Feinberg
NikiB
Meylum
HдLΛвί
RS_babu
Mikmaq
marceloudi
si downes
Joe Szymanski
GhostElite
m2s2
RotcivL
Chowkilla Nagarjuna
canislupus
jennie.nguyen
Only Title

Daniel Maresca Jr's Q&A profile

  • Visual C# problem in adding reference to a DLL file

    When trying to add a reference to a DLL  file (made with ANSI C++) to a VS2005 C# project, by right click on references, add reference, I receive the following error in both of them:    "A reference to 'dllFileName.dll' could not be added. Please make sure that the file is accessible, and that it is a valid assembly or COM component."       Now When I try to use the TlbImp on a .dll file the following error appears:    "The input file 'dllFileName.dll' is not a valid type library".   How can I resolve this problem. The issue is whether ...Show All

  • .NET Development Querying a DataSet (multiple Tables) - No attached Database.

    I have two tables in a dataset, which are both filled when the user opens a source file. One table contains customer names, the other contains transaction information I want to display a datagrid/datagridview of all customers who have transactions records between a certain date. All the records are in each table and linked via a relationship (customer account code) I can't work out how to generate a query without using a seperate database. At this stage a seperate database is not a viable option. Can anyone help please If I understand correctly what you're asking, I think all you need to do ...Show All

  • SQL Server DBCC Daily commands

    Can anyone tell me what are the daily DBCC commands they run and if they run it as a job and how you can capture the result of those commands for further analysis. I am switching from a development role to a DBA role and i can never find such a sugestion anywhere online or in books. So more than 1 openion would be greatly appreciated. Hi, you can read this article at http://www.sql-server-performance.com/dbcc_commands.asp,to learn more about DBCC commands and how it will help you when you are trying to optimize your SQL Servers. You can run the DBCC commnads as a job by scheduling DBCC commands by u ...Show All

  • Visual C# event declaration

    Hi. I'm experienced in VB but new in C#. What's the ecquievelant of the following in C# Public Event MyEvent(arg1 as string , arg2 as int) Public Sub RaiseMyEvent()     RaiseEvent MyEvent("bla bla",15) End Sub   It sounds like you want to race the event outside of the class you've declared it. This is not possible. You can only add or remove events (+=/-=) from the outside (public domain). The event can only be raised from within the class where you've declared the event (private domain). ...Show All

  • Windows Forms Why are SnapLines and SnapToGrid Mutually Exclusive?

    SnapLines and SnapToGrid are mutually exclusive.  Why I thought one of the major reasons for SnapLines was to encourage better organized forms.  But a major strength of SnapToGrid is to assist the programmer to evenly space controls within the form. SnapLines helps you when it comes to the outside margins of the control or form, but not so much when it comes to distancing fields from each other.  SnapLines doesn't use the grid size when determining separation.  Apparently this is to allow the programmer more flexibility. Had these two options been offered as independent choices, I would have suggested that ...Show All

  • Smart Device Development AfxMessageBox memory leaks!

    I am developing programs in WINCE.net by EVC4.2, and just using the MFC Dialog project. I find it when I use AfxMessageBox one time, the heap will increase by 80bytes every time and cannot be free. How can I avoid this Is this a bug of MS I am a QA in MS. I have reproed and the problem is there only in 4.2. I have reproed the issue on 4.1 and 5.0 on eVC and the memory is freed. I shall take the issue further and will post the solution/work around, if any exists. ...Show All

  • Visual C# COM Reference

    Fixed Can you do the properties on the reference that you added and see what is the pass to the dll, for me it is, and it looks to work fine: C:\WINDOWS\assembly\GAC\Office\11.0.0.0__71e9bce111e9429c\Office.dll And another thing are you sure that you have primary interop assemblies installed I think that in some installation configurations these assemblies are not installed. Just go to forlder C:\WINDOWS\assembly and see if you have assemblies like Microsoft.Office.Interop.Outlook, Microsoft.Office.Interop.Excel and so on. Max ...Show All

  • Windows Forms grid row display order affected by binding?! (interesting)

    I have random data coming in from a process which I need to display with the latest always appearing on top. There are no specific sorts, keys or anything. Just rows to display. How do I do this  I am trying with DataSet.InsertAt(0, *datastring*) I tried the following (I can't figure this). If I insert rows into a dataset with InsertAt(0, *bla*) FIRST;  ...Show All

  • Visual Studio Express Editions Registration is somewhat confusing

    I think I registered successfully but I haven't received a key, only a thank-you email. Does anyone understand exactly what is supposed to happen when registering Thanks. i'm having the same problem and i need to sort the key out as using the package for my studies just received 5 thank you emails and no product keys at all can anyone from microsoft shed any light on this issue ...Show All

  • Visual Studio Team System Update Check In Comment

    I would like to update a check-in comment for a source code file that I checked into TFS version control. Is this supported If so, what tool should I use Make sure to try and use the command-line "tf changeset XXX" - in Beta3, we didn't allow changesets to be edited from history. We've since changed that and in the final bits you'll be able to edit the changeset details regardless of how you brought them up. ...Show All

  • Windows Forms Requirements for developing pocketPC apps

    Can I create a windows form using Visual Studio.net 2002 and install it on a pocketPC and have it run successfully Right now all I have installed on my PC is the .net Framework 1.0 and VS.net 2002. I made a very simple form with a couple buttons and a textbox. Build it. Then I upload the .exe to the pocketPC and try running it. I g ...Show All

  • Visual Basic Open File

    Hi, I have just recently downloaded the Visual Studios 2005 Beta version, so i don't really know if this counts. I am looking for a code line which will let me open a microsoft word file of course actually on word. Any suggestions Of course - this only works if you have word installed on the machine... ...Show All

  • Visual C++ One Static Library for all kinds of C Runtime

    Hello, We have developed a library for other C++ programmers which we would like to deliver as a static library w/ VC++.Net 2003. I have a question though: Assuming that we don't know which C runtime the users would like to use (Single threaded, Multithreaded etc.), is it possible to build one static library which fits all Thanks, Devrim. Unfortunately the answer is no. You have to recommend consumers of your library what CRT should be linked in. Using /MD usually found as the best solution. Thanks, Nikola VC++ ...Show All

  • Visual FoxPro Obtaining a web page's title

    I'd like to get the titles of web pages, and would prefer not to do this by loading all the web pages into a webbrowser, because that seems a bit heavy handed. In VB6 I used some APIs to achieve this, but I'm not having any luck in getting it to work in .net. Here's the code I'm trying: Module Module2 Private Const INTERNET_FLAG_RELOAD = &H80000000 Private Declare Auto Function InternetOpenUrl Lib "wininet" Alias "InternetOpenUrlA" ( ByVal hInternetSession As Integer , ByVal lpszUrl As String , ByVal lpszHeaders As String , ByVal dwHeadersLength As Integer , ByVal dwFlags As ...Show All

  • Visual Studio 2008 (Pre-release) WinFX XAML Browser Applications for Vista MCE

    In the Vista Media Center SDK they have an example of using a WinFX XAML Browser Application as an application in Media Center. However, I have not been able to get the application to load in media center. Using the example in the SDK everything compiles fine but then hangs when you try and start the app in Media Center. I'm using Vista Beta 2(5384). We have yet to see any WinFX apps run in Media Center. Does anyone have any experience with this or know the best place to get more information Thanks, R. Sparrow Hi Mr. Sparrow Can you please specify how exactly does the app ‘hangs’ T ...Show All

©2008 Software Development Network