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

Software Development Network >> Davids Learning's Q&A profile

Davids Learning

Member List

av_ster
Michael Hansen
ChrisCo
Cory6132
J. Hammer
InfiniZac
friendlyvlad
Willempie
jcsam
danych
ArtapuS
clue
Thrix
David Botz
boyscout
bighoss
hrubesh
olelar
GeeMann
jonefer
Only Title

Davids Learning's Q&A profile

  • Visual Studio Team System hi, about recurrence block in the code~~~

    Hi All: I want to create a Rule, the detail is: "Programmer should not do the String connect operate in the recurrence block, it will reduce the performance." For example: A method like: public void testStringAdd() { String a = "a"; for(int i = 0; i < 10; i++) { a += a; //violate the rule } } My Question is how to orientation the loop block in the IL code, Thank you very much. ...Show All

  • Visual Basic Application hanging on Serialport .Close method

    This one has me stumped. I've created a class to interface with a device on a comm port. I've decalred the serial port: Private WithEvents moPort as System.IO.Ports.SerialPort In the New event, I create the port and open it, works great. I communicate just fine, handle everthing going in, coming out no problem. When I go to close the port, by just a .Close command in a "Disconnect" method I've defined or in the IDisposeable implementation, the entire program hangs up. I can hit Pause in the IDE and it highlights the "moPort.Close" line, the call stack always shows something like: [In a sleep, wait, or join] [External Code] Executablename!ProgramName.ClassName.Dispose(boolean Disposing = True) Executablename!ProgramNa ...Show All

  • Visual Basic please any one help me

    i want any code to compute the factorial of high numbers like 1000000 in aspeed way & didnt cause the break down of memory any bode cane help me mn_fci@hotmail.com mn_fci@yahoo.com You can refer to this post over Code Project: A class for operations with Large Integer Numbers ( http://www.codeproject.com/cpp/largenumber.asp ) where George Anescu presents some algorithms for operations with large integer numbers in a C++ class using the STL vector container where you can then use it in your VB.net code. I my self will vote for usnig strings for large numbers and if you can manage it I think there is a possibility to integrate java's big number class and perhaps even karbutstra's algorithm for efficient multiplication. ...Show All

  • SQL Server Load data from .DAT file

    Hi All, I am using Bulk Insert task to laod data from .dat file to SQL table but getting an error below. [Bulk Insert Task] Error: An error occurred with the following error message: "Cannot fetch a row from OLE DB provider "BULK" for linked server "(null)".The OLE DB provider "BULK" for linked server "(null)" reported an error. The provider did not give any information about the error.The bulk load failed. The column is too long in the data file for row 1, column 1. Verify that the field terminator and row terminator are specified correctly.". Any help will be appreciated. Thanks. i have the same problem like you, but i don't have solve, w ...Show All

  • Visual Studio Team System Aggregate Coverage Analysis

    We have a very large code base. Is there a way to aggregate the coverage analysis from Unit Test and multiple manual tests run on different machines by different users r.t.s, I'm not sure if this is exactly what you are looking for. But we do supporting performing a join on code coverage results from the Visual Studio IDE. Just move all of your coverage files to one machine and open them up in the code coverage results viewer. In that viewer is a join button (with a green plus on it). Click that button and select the reports that you want to join and you will aggregate the results. Thanks, Ian ...Show All

  • .NET Development StartMenu/Start Button

    I'm looking for a way to make the windows Start Button appear pressed. I have tried sending BM_SETSTATE but this doesn't work properly with the start button. It's meant to make a button appear pressed but not actually send a mouse down event. DECLARES: Declare Function SendMessage Lib "user32" Alias "SendMessageA" ( ByVal hWnd As IntPtr, ByVal wMsg As Integer , ByVal wParam As Integer , ByVal lParam As Integer ) As Integer Public Const BM_SETSTATE As Integer = 243 CODE: SendMessage(TaskBar.StartButtonHandle, Me .BM_SETSTATE, 1, -1) Has anyone ever seen another way of making a button appear visually pressed How about actually drawing the start ...Show All

  • Visual Studio Tools for Office Microsoft Office Access 2003 Developer Extensions and Visual Studio 2005

    It's truly unbelievable that there appears to be no solution to this issue. After searching countless hours and getting caught in endless iterations following MSDN links, I still have no answer to the question that really shouldn't be that difficult. Microsoft advertises that the Microsoft Office Access 2003 Developer Extensions are part of Visual Studio 2005. I talked with a Microsoft representative who confirmed this before making the purchase of their product. I received the product and installed it, but there is nothing in the documentation that talks about the extensions. I simply need to deploy an application developed using Microsoft Office Access 2003 to a computer that doesn't have Microsoft Office Access 2003 installed on i ...Show All

  • SQL Server De-duping data

    I have a list of companies that all have the same Company Id but have formatting issues with the names. For example I have the following: CompanyId Name 12345 Microsoft 12345 Microsoft Inc. 12345 Microsoft, Inc. I figured I would use a simple data flow task to insert the company id and name into a company table where the primary key is the company id (I would then ignore the errors of duplicate keys). I was expecting to see the first instance of the company inserted into the company table and the dupes ignored. That's not the case - I get an error on duplicate primary keys. Can I not do this jrp210 wrote: I have a list of companies that all have the same Company Id but ...Show All

  • Software Development for Windows Vista Application fails to start under Vista: "A referral was returned from the server." Manifest problem?

    I'm working on migrating a driver management application (written in Visual C++) to Vista. It requires access to HKLM, so it needs to run with admin access permissions. For testing purposes, we've been modifying secpol.msc to run it in admin approved mode, but obviously, that's not the right thing to do. The right thing to do, from what I can tell, is to add a <trustInfo> tag to the application manifest (which is embedded in the .exe as a resource). I did that, but now the application fails to start under Vista at all, with the error message "A referral was returned from the server." It still works fine under XP. The manifest is pasted below. Does anything look obviously incorrect If not, is there anything that could interact badly w ...Show All

  • Visual C# URGENT!! Problem running exe from network

    Hi, We have a developed an application for student to submit their results using c#. The program runs fine when we run it from the machine the problem is when we put it on our server it pops up with a box asking if we want to run it. When we click run nothing happens! Any Ideas, Many Thanks Chris This is because CAS policy which can be found in Microsoft .NET Framework 2.0 Configuration MMC. Each assembly is evaluated if it has enough evidence to run and .NET decided in which privilegies to give based on evidence (publisher, location, etc.) by default assemblies executed from network share are ran with limited rights. Take a look here for more details Why doesn't my .NET ...Show All

  • Visual Basic Fax services in Windows

    Did .net enable to send fax through the Microsoft Fax services How is the concept look like,basically i would like to create a program which retrieve a data from SQL SERVER and fax it to the receiver. I created a project by copying above source code. However, my VB reports that system didn't install FAXCOMEXLIb, anyone can advise me how to install FAXCOMEXLIb Thanks & Best Regards, Haihong ...Show All

  • Windows Forms TabControls/TabPages wierd problem when hosting Form Designer

    I'm writing a form designer in C#, and I'm trying to modify the VS-style behavior for adding tabpages to a tab control. I want the user to be able to add a TabControl, and then to add Tabs just add them to the TabControl like a normal control. However, when I add a TabPage to a TabControl on the form, I get the following error message: Cannot add 'TabPage' to tabcontrol. Only Tabpages can be added directly to tabcontrols. This happens before execution hits my code (I have a breakpoint right at the start of the method attatched to the IComponentChangeService.ComponentAdding event, which is not triggered). Has anyone else come across this before I am using the IToolboxService service to provide the ToolboxItems. Thanks ...Show All

  • Smart Device Development Get Data from another exe

    Hi,               I am developing smart device applications by using CF 1.0. I need your help. I have developed a program to get data from another exe. what i am saying is " Two applications are running simultaneously. I have stored a data in a variable in the first application. My question is how to get that data in the second application ". Please anyone to answer this question. First Application:- A=100 Second Application:- Msgbox = A <-- First application Note: I knew this is possible by using Registry, but i need another solution. Thanx. M. GANESAN There are a number of methods of interprocess communication (IPC), this series of Blog ...Show All

  • .NET Development ANNOUNCING: XML Notepad 2007

    Upgrade your XML Notpead 2006 from here: XML Notepad 2007 New features included in this version: Added keyboard accelerators for find again (F3) and reverse find (SHIFT+F3). Added support for loading IXmlBuilder and IXmlEditor implementations from different assemblies using new vs:assembly attribute. Made source code localizable by moving all error messages and dialog strings to .resx files. Added a default XSL transform. New icons, a play on the Vista "Notepad" icons. Bug Fixes included in this version: Fixed install on Windows Vista machines using Windows Installer XML 3.0. Performance of expand node when validating. Fixed bug where changed schemas and transforms were not being re-loaded. ...Show All

  • Architecture Synchronizing Legacy DB and Application DB

    Hi All, We are developing a solution which requires consulting some information on legacy systems. There is also a requirement to keep the system available even if the legacy systems are out. We are thinking about replicating the information on our application DB as a contingency (it is acceptable if the data we have to use does not change often). My questions are: Have anyone used a different solution for a simmilar requirement If not, what would be the best way to do this 1) Implement a windows service that update our DB copy from time to time (the problem here is that our application is running on a cluster, so we need to control the concurrency between the services running on each cluster machine) 2) Use som ...Show All

©2008 Software Development Network