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

Software Development Network >> bhmsaad's Q&A profile

bhmsaad

Member List

PinTxO
Helen999888
Rafet
Martin Moe
maverick_majnoo
AamirKhurshid
bshive
Wayne-sea
NBtech
A1Programmer
Anuj164
Xancholy
VSB
marric
LouisPeter
Xcel
Stuart Massey
Steve1999
Eva Gonzalez
mpetanovitch
Only Title

bhmsaad's Q&A profile

  • Visual C# contents of release mode

    Hi My solution consists of three project that creats three dlls. first projects dll is used by 2nd project and 2nd projects dll is used by 3rd 1. do i required to release all these 3 dlls r only the 3rd 1. how i can release it regards Yes. other machine has the .Net framework on it and it is the correct version as it is same as on my machine, application can upload and run the chield dll but it is missing to call the parents dll methods. do i missing any referance r configuration ...Show All

  • Visual Studio 2008 (Pre-release) Many-to-many mapping in EDM Wizard?

    I'm using the recently released Mar2007 CTP. Bring up EDM Wizard using the pubs database and select authors, titles, titleauthor tables. Traditional many-to-many design through a "join (relationship) table". Model gets generated with errors. The Primary Key in the table 'titleauthor' cannot be used as a foreignKey for the relationship 'FK__titleauth__au_id__0AD2A005', the relationship between table 'dbo.authors' and table 'dbo.titleauthor' was excluded. The Primary Key in the table 'titleauthor' cannot be used as a foreignKey for the relationship 'FK__titleauth__title__0BC6C43E', the relationship between table 'dbo.titles' and table 'dbo.titleauthor' was excluded. No Associations or AssociationSets in the model. Why I th ...Show All

  • Visual C# Detect Close via X button in Console App

    Good day, We have a VS2005 C# Console Application and are trying to detect the user closing by hitting the X button in the top right corner of the app. As you can see by the following code, we have tried hooking up a variety of event handlers, but in all cases the event handler never gets called. What are we missing Thanks in advance... static void Main( string [] args) { // get notification of close AppDomain .CurrentDomain.ProcessExit += new EventHandler (CurrentDomain_ProcessExit); //Application.ThreadExit += new EventHandler(Application_ThreadExit); //Application.ApplicationExit += new EventHandler(Application_ApplicationExit); //Process.GetCurrentProcess().EnableRaisingEvents = true; ...Show All

  • Software Development for Windows Vista IDMOWrapperFilter::Init alternatives?

    Do DMOs really have to be registered in order to be used with the DMO Wrapper Filter I suspect the answer is "yes" based on IDMOWrapperFilter::Init. It would be nice if IDMOWrapperFilter::Init could take a pointer to an IMediaObject - that way the DMO could be "compiled into" our executable, it wouldn't have to be registered, and our proprietary algorithms in the DMO wouldn't be available for use outside of our application. (We compile many of our DirectShow filters into our application in this manner and it has worked great, not to mention it makes the installation a lot easier - almost an xcopy!) Are there any alternatives to the DMO Wrapper Filter that could wrap an IMediaObject in this manner I have done a ...Show All

  • .NET Development Export/upload Data from excel to access 2003

    Haiii... How the method Upload/export Data From Excel to Access 2003 use VB.Net Please anybody help me.... Thanks Jebat I've try your idea but when i run the program, and then show message error like that "Unrecognized database format 'C:\jun\My Data\JMb\Bin\contoh.xls' Can you give me the method for view data from excel to datagrid Thanks Jebat ...Show All

  • Windows Forms Dragging an Item to a Minimized Window on the Taskbar

    [C# WinForms Application in VS2005 running on Windows Server 2003.] Typical Windows functionality:  If you have multiple windows open and minimized to the Taskbar, dragging an item from a visible window to another window on the Taskbar will maximize the target window.  For example: Open Outlook, then create a new email message. You now have two windows open: Outlook and your email message. Minimize the email message. On the Outlook window, drag the Inbox down to the taskbar over the email message. The email message will become maximized (or restored). I have an application that uses node like Outlook, but in my application this will not work.  Moving the icon above the minimized window does nothing.&n ...Show All

  • Windows Forms Adding Record to Details Table

    Hello, I have a form showing information from two tables which are related one-to-many as Master-Detail records (as in Customer-Order relationship).  Information is shown in two DataGridView controls, bound to the underlying database tables via BindingSources by dragging & dropping in Visual Studio. I wish to write some code which adds the first Detail record to the database whenever a new Master record is created.  Can anyone help with: Which event on which object is best to attach to How one finds the key value (and possibly other contents) of the new Master Record being created so one can add it  to the Detail record How to create and add the Detail Record (allowing for the fact that the Maste ...Show All

  • Windows Search Technologies Vista Machine with Office 2007- Outlook not finding emails. Instant Search/Indexing issue

    Hi, I have search everywhere for a solution and still I do not seem to find a solution. Outlook is not finding any emails (instant search). I think it is not really indexing anything. Vista search works perfect (seems like it). The index says it is done (outlook is included on it) As I receive emails, the list of pending items to index just grows and grows. I am using pop accounts not exchange. (I already checked the instant search options, the indexing thorugh control panel). Any ideas. I spent the last two weeks searching for a solution, and I have read and follow the suggested solutions from microsoft, but still is not really finding anything.. so frustrated!. Thanks for reading this, and I hope somebody can help me ou ...Show All

  • Visual Studio Express Editions trying to build my first class file - need help

    I hope this is the right forum to post this question, if not, if someone can point me to the right forum. I'm trying to create a static class file that I can use to send auto-generated emails within my application. I want to create a static class so I can directly reference the class members. I'm pretty new to C#.NET and using Visual Web Developer Express Edition. Normally, when I want to send an auto-generated email, I use the following method from the System.Net.Mail class: const string ToAddress = "xxxx@xxxxx.com"; MailMessage mm = new MailMessage("xxxxx@xxxxxxxxxxxx.com", ToAddress); mm.Subject = "Subject goes here"; mm.Body = strmsg; mm.IsBodyHtml = true; SmtpClient smtp = new SmtpClient(); ...Show All

  • Visual C# cannot open a connection to VFP Database

    It is a C## Console application in Visual Studio 2005. I have an ODBC VFP 9 database and am trying to establish an OLEDB connection. The error I am getting is " Cannot open file ...." Here is the code: I have this statement in the Project Resource definition Dsn=Visual FoxPro Database;sourcedb=C:\VFP_Projects\DATA\dataBaseVFP1.dbc;sourcetype=DBC; exclusive=No;backgroundfetch=Yes;collate=Machine;null=Yes;deleted=Yes however, I am trying to connect to another database altogether: private ADODB . Connection cnn1 = new ADODB . Connection ( ); string cnStr ; //Connection string. cnStr = "Provider='VFPOLEDB.1';Data Source=D:\\VFP_Projects\\DATA\\Stoxx\\stoxx.dbc;Collating Se ...Show All

  • SQL Server MSDTC cannot move on a cluster

    Today we installed on MS Cluster (W2k3) and SQL Server 2000 a MSDTC Service. The installation was succesfull, but wenn we try to move the group, then it failed. Because we have only 2 Disks on the cluster one for the Quorum, the other for the Sql Server. We installed the MSDTC as a Resource on the Quorum Disk. The other Thing, wenn we start the firts node all is running on the first node, but we cannot move. Wenn we start the second node all is running on the second node, but we cannot move the Group which contain the Msdtc resource. Who has a solution to this problem Thanks to all ...Show All

  • Visual Studio Team System Merge Limitations Caused by Branching Hierarchy

    I'm in the process of planning a migration from VSS to TFS and have come across a stumbling block when trying to merge from a Branches/Trunk-v1-BugFix subfolder to the Trunk folder. (The issue stems from the fact that the Branches/Trunk-v1-BugFix folder was originally branched from Releases/Trunk-v1). My repository layout is as follows: - Project1 - Branches - Releases - Trunk Let's say I reach version 1 in Trunk development. At this point I branch the latest Trunk version to Releases: - Project1 - Branches - Releases - Trunk-v1 - Trunk Ongoing development occurs in Trunk. Meanwhile, to fix a bug in version 1, I branch the release version 1 of Trunk (in the Releases folder), to the Branches folder where it can b ...Show All

  • Visual C# Unable to open the physical file"

    I have just completed the installation of Visual C# Express and I am attempting to connect to a delivered SQL .mdf database using the database browser of the IDE. When I test the connection, I'm getting an error that the system is unable to open the physical file and "The Process cannot access the file because it is being used by another process". I do not have any other applications open other than Visual C# Express. I have tried shutting down and rebooting the computer but I still get the same error. Does anyone have any suggestions on how I can around this problem Thanks, Richard . ...Show All

  • Visual C# Am i in the wrong forum with this Query, could somebody direct me to the correct one?C# convert Excel to PDF or any image format

    I have a C# application and i am trying to figure out the best way - or any way to retrive data from my excel file and convert it to a pdf file for printing. Thanks, Pam My main objective is to get the document to print wth all the current excel formatting on the client machines.. which is why i was looking for direct convert to a pdf format... but if i can even figure out how to convert to an image format like .tif, .bmp or a .jpeg i can still convert it to .pdf from there at run time... Currently i am trying to directly print it as: Microsoft.Office.Interop.Excel. ApplicationClass app = new ApplicationClass (); if (app == null ) { MessageBox .Show( "ERROR: EXCEL couldn't be started!" ); return ; //System.Windows.Forms.Applic ...Show All

  • Visual C++ Memory bloat when using Visual Studio

    Visual Studio 2005 has been taking up 600MB+ of memory, with a VM footprint around the 1200MB mark. I thought it might have been a plugin I use, Visual Assist, but I’ve uninstalled it and still have this problem. It will happen with normal use, but happens much quicker if I attach/detach the debugger to an application a few times. Anybody have any thoughts on what might be causing this Thank you both for your replies. I have looked at some articles on TechNet that were related to memory thrashing, though none of them were all that useful in my situation. Neither of the hotfixes pertain to my situation either, since I do not do any Web application developement. I did try to reinstall VS 2005 SP1 though ...Show All

©2008 Software Development Network