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

Software Development Network >> Howard B's Q&A profile

Howard B

Member List

Thomas Ivarsson
Austin Ledbetter
dataking
Phreddy
BolffX
conqueror
Archan Nair
laszlo.gosztola
netsql
Skitter
byroman
ericthered
Hernan Gatta
jchan
JMMJ
Weng_Smith
Magneto
veneta
dwerner_80
JosAnt
Only Title

Howard B's Q&A profile

  • Visual Studio Express Editions Finding the cubic root

    I couldn't find any function for the cubic root in the System.Math class, only the Math.Sqrt() function, I decided to write my own function. After some searching I found out about the formula for Newton approximation method and implemented it in my own function. As you might understand, you can only approximate it. If you are in need of computing the cubic root, please feel free to copy and paste the code, or change it if you want. I see no reason to protect this code that isn't even optimized yet. If you anyone has any suggestions how to improve it, please post it here. /// <summary> /// Computes an approximate cube root of a ...Show All

  • .NET Development txt File partition

    Hi, I need to read a .txt file , partition it into smaller .txt files ,and then saving them. The partition process depends on finding the carriage return (enter) character. How can I doing that Thanks in advance , Aya. You might want to be careful doing the way that Kevin suggested as this will cause problems when reading large text files. His solution will read the entire text file into memory and then make another copy of it. So if the text file you reading is 10 MB, you application will consume 20 MB memory when calling this method. It might be better to read a line in at a time: ...Show All

  • Visual C++ error LNK2005: "void __cdecl bp5(void)" (?bp5@@YAXXZ) already defined in test.obj

    Hi All, I generated a simple SDI skeleton using the wizard, and tried to #include some of my libraries. It gave me a bunch of 'LNK2005: ... already defined ' errors. I repeated the basic SDI generation in another project and this time only tried to include a single, trivial header file: mytest.h #pragma once //#include "stdafx.h" void bp5(){  int a = 0;  a+=1; } I include this file in the testDoc.h file of my test project. Despite that this simple header file is so basic, and despite the #pragma once directive, it still gives me the same LNK2005 error! Can somebody kick me and tell me what's wrong Thanks ...Show All

  • SQL Server Import & Export disabled in Management Studio

    I find that sometime the menu item "Import" and "Export" of the database popup menu in SQL Management Studio are disabled.  Why and how can I enable them Thanks  ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Creating a very simple GUI

    I am trying to integrate a very simple GUI into the project I am working on. All I need is 3 edit boxes to accept values and a button to execute a command. That's it. I have looked at the tutorials included with DirectX, and the GUI example is simply too complicated...I don't want to include a bunch of files I probably won't even need. What's the easiest way to implement a GUI like the one I am describing (By the way , I am writing this in C++.) thanks in advance. >What is wrong with the sample code provided in the SDK (Custom UI) It can't be used unless you use the whole of the framework. There's ...Show All

  • Windows Forms Invalid Value for 'OSversion'

    Hello. I also need a Information how to set the OSversion within the Visual-Studio-GUI. The Application cannot be build, and i don't know how to enter a correct Value 4 that! Manuel, The issue you are running into looks similar to http://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=120572&SiteID=210 . The problem is most likely OSVersion that the system defaults to is cannot be handled by the build process. Here is the information from the bug mentioned above: The cause of this failure is that something is setting the OSVersion MSBuild property and this is ...Show All

  • SQL Server performance has been decreased after migration.

    Hi, I have migrated my database from sql server 2000 to sql server 2005, for migration i have backed up 2000 database and restored that into sql server 2005 databse. when we are running following insert query is 50% slower in sql server 2005. truncate table Table1 print getdate() INSERT INTO Table1 SELECT CONVERT(INTEGER,cust_id ), store_id, MAX(Buydate), COUNT(*) FROM Table2 (NOLOCK) GROUP BY cust_id, store_id print getdate() How to increase the performance for the query. Thanks in advance. Regards Manoj "Standard" recommendation is to compare plans on 2000 and 2005 if you have ...Show All

  • .NET Development Custom TOC

    Hello, I want to create a Custom TOC. Can you help me with the requirements for this implementation Thank you. Regards, Santosh Hello Daniel, TOC is nothing but Table of Contents used in Microsoft Websites. We have to customize the already existing TOC. For a Custom TOC, we need to enhance (override) iContentInterface again. Do you have any suggestions, how to acheive this Thank you, Santosh ...Show All

  • Visual Studio Team System Good God what a mess!!!!

    well it's getting better but the install / setup process for TFS is still way to hard IMHO! for example the notes in beta 3 say "after installing Share point and Report services test to see that they are both working" but when I did the steps as given SSRS web UI fails to work... then I found a blog post that says to go into the admin of SPPS and exclude the report server folders... ok now the test works... so start to install the main TFS and I get an error telling me that SPPS is not configured right!!!!!! dang it just build an installer that loads and configures all the bits..... Hey I know it's "Beta" but please ...Show All

  • Windows Forms How do I bind a TabControl so that the tabPages displays the sheetname of an excel doc? (was:Please help)

    How do I bind a TabControl so that the tabPages displays the sheetname of an excel doc Im new to programming & need help for work. Pleassssse help !!! ...Show All

  • .NET Development Calling unmanaged c++ dll's and lib's into c# using visual studio 2005 beta

    Hi, i would like to find out what are the ways to call unmanaged c++ dll's and lib's into c# using visual studio 2005 beta. I have tried many ways like using p-invoke and  adding through reference but none  of these methods seemed to do it for me.  Are  there any easier ways to perform this operation using Visual Studio 2005 Beta I would like to create an application that uses certain dll's and lib's from the ogg vorbis library and implement them into my windows application whereby the GUI would be done using C#. The url for the ogg vorbis codes are as follows. www.vorbis.com. I would really appreciate your kind feedback. ...Show All

  • Visual Studio Team System XML differencing supported?

    Does TFS Version Control differencing support "diffing" at an XML structure level Thanks No, but you can use any 3rd-party tools you like. tf diff /configure -> change the associated program for XML files. ...Show All

  • .NET Development SAP BW NetWeaver web services

    Hi, Has anyone done any integration of a .NET app with SAP BW through web services I’m talking about retrieving data defined on the BW side and then using it for whatever needs, all through web services. I've successfully created a web service on the BW side, but could not find any information on how to consume the web service in .NET, since most people seem to prefer the .NET connector or direct ODBC connection. Any references/documents are much appreciated. By the way - I know how to create a web reference, proxy class, etc. It's just that I don't really know how to use the WS istself. ...Show All

  • Smart Device Development cryptographic support in PocketPC

    Is there a cryptographic Library/API for Pocket PC. If yes, could anyone please direct me to some tutorials/code samples. thanks, divyesh Sure. NETCF V2 mimics desktop's System.Security.Cryptography. For V1 you could use OpenNetcf.org implementation. For native application use Crypto API (which you also can P/Invoke from NETCF V1): http://www.developer.com/ws/other/article.php/10949_3562346_3 ...Show All

  • Visual Studio Express Editions Updating a database using a TableAdapter where a column was added programatically

    First time a data application, I need to change number of columns in runtime programatically and save it back to the database. I managed to read data from a manually filled database using a TableAdapter as shown in the examples. I used the dataset design tool to create the TableAdapter methods (GetData() generated by the wizard) and filled a DataTable object. Data got there correctly. However I tried to add a column to the DataTable object and save it back to the database. The TableAdapter.Update(DataTable) did nothing. After many hours I figured that maybe the automatically generated Update method created visually in the desi ...Show All

©2008 Software Development Network