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

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

Eswans2000

Member List

handyman9
TJ2007
penninha
Mark Garner
Raybritton
TimStspry
wls1973
Amos Soma
mkoren
Thucydides
zhihao
williamtcurtis
Matt Dinovo
hadjici2
Steve Whitley
Oleg Kalenbet
lou_RUS
Hytham
shimshon
Matt Stum
Only Title

Eswans2000's Q&A profile

  • Visual C++ How to identify Heap curruption

    Hello World, I am getting a Heap corruption message in my DLL. How can I identify the cause of the heap curruption. I am using CrtCheckMemory(), and it fails in an constructor where there is a call to new operator. regards, Karthikeyan. It is usually much easier to avoid corruption errors than it is to diagnose them. The time you spend being careful when you write code will often save much more time when you test. If you spend time looking at your code and fixing potential problems then the time won't be wasted because even if a problem is currently not relevant, you might be preventing more problems in the future. Look for things such as: errors, especially when returned from API functi ...Show All

  • .NET Development Insert/upadte thousands of records in the table from an excel file depending on some business logic.

    Hi, I have an excel file with thousands of records which contains Employee data. Depending on some business logic I want to upadate/insert the records in a table "Employees". Is there any way to do this with little performance impact Please reply... Thanks in advance, Suren... I would read the excel spreadsheet in using an ADO.NET DataReader and upload it via SqlBulkCopy: Check out this tutorial: Import Excel Spreadsheet Data into SQL Server Database Table Using SqlBulkCopy Here is some sample code: // Connection String to Excel Workbook string excelConnectionString = @"Provider=Microsoft .Jet.OLEDB.4.0;Data Source=Book1.xls;Extended Properties=""Excel 8.0;HDR=YES;""& ...Show All

  • Software Development for Windows Vista WebPageRequest/Response activities for ASP.NET integration

    http://wf.netfx3.com/files/folders/control_flow/entry4354.aspx Package includes WebPage Request/Response custom activities: - WebPageRequest - WebPageResponse - WebPageTransfer - WebPageRedirect These activities will help integrate Workflow technology into your ASP.NET projects. Just derive your ASP.NET page from "WorkflowPage" and indicate which workflow to use. Features: - integration with Http Request/Response, ability to expose Http parameters in Workflow designer, ability to "Activity Bind" and use them in rules/condition expressions. - integration with ASP.NET WebControls and data binding sample - ability to use in both Sequential and StateMachine Workflows - includes extensible examples of work ...Show All

  • SQL Server SQL statement - Where not joined

    Help. I have a table with a composite key (two primary keys) that is a foreign key to another table. I need to select all records in the primary key table where there are no matches in the foreign key table... I have no idea how to do this.. Here is how to join the tables: Select A.Key1, A.Key2 From PrimaryKeyTable A, ForiegnKeyTable B Where A.Key1 = B.Key1 and A.Key2 = B.Key2 I need to query all records that do not join, so basically the inverse of this query. How do I do this Please let me know if this is in the wrong forum or you need any clarifcation. Just FYI, on a single Primary key column I would just simply do the following: Select A.Key From PrimaryTable A, ForiegnTable B Where A.Key not ...Show All

  • .NET Development HTTPListener Speed 25kB/s?

    Hi, I am using httplistener with in a standard way (took the source code from one of the examples on this website), but no matter what I do I can download from it only at 25kB/s when not on localhost. I tried IE, firefox, flashget ad nothing helps. I assume there must be some variable to set like with the max connections on the client side with the service point manager. Can you please point me in some right direction. Thanks There is definately some throttling going on, but it's somewhere inside the framework. On the local machine I get speeds > 10MB/s, but transferring over a 100Mbit ethernet network from one machine to another I get 25kB/s only. Interestingly enough 25 is on windows XP SP2, on server 2003 R2 I get 45kB/s. it is ...Show All

  • Visual Studio 2008 (Pre-release) FindItemWithText in the new ListView??

    is there a way to do it thanks! ...Show All

  • Visual Studio Express Editions Ordering Visual Studio Express

    I'm wondering if there is anyway to order the Visual Studios Express Editions directly from Microsoft. I need this simply because my Dial Up makes it a pain. Currently there is no way to order directly from Microsoft. However, you can email Dan Fernandez ( danielfe@microsoft ) and he can provide you with information about getting a cd. Thanks! ...Show All

  • SQL Server Running Value

    Hi In my report I have the total column,under the total i have two sub fields:no , Row%and i have another column Cumulative total sub fields are no,***% For the Row % under total i write like this: =Round((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100,2) For the *** % under cumulative total the expression is: =RunningValue((Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)/Sum(Fields!Male.Value+Fields!Female.Value+Fields!Unknown.Value+Fields!Invalid.Value)*100, sum , "AgeByGender" ) But i am getting this error: The Value ex ...Show All

  • .NET Development Base Constructor accessing inherited members directly?

    My system seems to have changed. It used to be that when I inherited from a base class and called it to construct via the :base() it would only fire the base class members only and not override'd members of the inheriting class. But now the base class is firing the overriden members of the iherited class instead of it's own members only. What has happened Perhaps there is a setting in the options that affects this Thanks in advance, Devin ...Show All

  • .NET Development Determine Drive Type

    Hi... i have next problem... how can i determine if an optical drive is a CD-ROM or DVD-ROM the documentation say what this is included in driveinfo class in .net 2.0, as an enum, but isn't true... please help... thanks the DriveType enum in .NET 2.0 only has CDROM (which will also show true for DVD) which will show if the drive is a CDROM (or DVD). I'm not sure how to see if it actually is a DVDROM drive however ...Show All

  • Internet Explorer Development A compile error message : C1902

    Please help me out of here. My MSV2005 worked well before, but after I upgrade with IE7.0 in my WinXP/Pro SP2. Everything becomes abnormal. Whenever I compiled any program, it always warned me following msg: fatal error C1902: Program database manager mismatch; please check your installation. I tried to find the answer from MSDN, it told me it's caused by a file "DIB.dll" was out of date, I can't following it. Where i can find my previous working well file or other solutions ...Show All

  • Visual Studio Tools for Office How to grant trust to more than one assembly using Custom Actions for Outlook Add-in?

    Hello again, I am trying to deploy an add-in that relies on a third-party assembly. I created a setup project with VSTO and it deployed fine (created the code group for the add-in's assembly etc) . I can manually grant trust to the third-party assembly by creating a code group with the .NET Framework 2.0 Configuration tool and I can use the Caspol.exe to do it via the command line. But what I really want to do is grant the trust using Custom Actions like I did for the add-in. I've read the various whitepapers and other MSDN articles but I'm struggling with the steps to do this for more than one assembly. Can someone please point me to an online article or provide some instructions in this regard. Many thanks, Tad ...Show All

  • SQL Server Distributor cannot connect to subscriber

    I am setting up my 2005 Replication system... publisher = 2005 sp1 Subscriber = 2005 sp1 I created a publication for a single table. Then I created the subscription to another 2005 server. Had to add it as a subscriber in the wizard. Told it to do the snapshot right away. Everything seems fine right up to the point where it tries to connect to the subscriber... I get a cannot connect error. I have tried all kinds of security context and accounts for the sql agent to run under but nothing seems to work. I cannot even get a linked server to work. I have the subscriber setup to accept remote connections. I am not sure where to look at next... I never had this issue in 2000. Ok... So the above ...Show All

  • Visual Basic TextBox Woes

    Is there a way to determine which line in a textbox has the most characters in it I cannot seem to find anything within the Lines property that has worked. Also, Is there a way to do this and not count Chr(13) and Chr (10) Thank you, Troy L. I don't think there is a property that does this. one way would be to go through each line of the textbox and check if the current line length is > the last one stored in a temp variable. Maybe ineffecient but this is one way I can think of. Example (untested) Dim theGreatestChars as Integer = 0 Dim lineNumber as Integer = -1 for counter as Integer = 0 to Me.theTextBox.Lines.Length - 1 if Me.theTextBox.Lines(counter).Length > theGreatestChars then theGreatestChars = ...Show All

  • Community Chat Share my JMC_Photo_View 2.1

    Hello guys, I finally done it. This is an image viewer based on my needs. This not only display all the supported image files in the current folder, but also its sub-folders (one level down only). It is much helpful when you have a photo collection mainly from online sources, hehe, meaning each of your photo folders consist of 16 to 20 images. And it has a lot of other cool features. Anyway, just try it out and see how you like it. I can't upload the HTA file, so I zipped it. Open the HTA file using notepad to view the source code and ReadMe. To run the HTA file, just double click, Windows XP should automatically run it using IE HTA Mode. http://www.geocities.com/magicalclick_1/JMC_Photo_View.zip Enjoy ...Show All

©2008 Software Development Network