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

Software Development Network >> --Alan---'s Q&A profile

--Alan---

Member List

Batikit
Ron DeSerranno - MOBIFORM
Can-Ann
Jamie Thomson
rabi
schlrobe
Simon Dahlbacka
shmulik_segal
roadresident
Nawar G.
Chiarigos
bankit
CommerceSherpa
Mario M.
M Kenyon
SulaimanA
sniwas24x7
wlaulner
prk
Drudkh
Only Title

--Alan---'s Q&A profile

  • Visual Studio Express Editions how to get hardware IDs of system

    how to get Hardware ID,serial no,model no of pc Harddisk,Processor,motherboard etc.... you could use WMI for this approach. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=845223&SiteID=1 be sure to add a reference to System.Management and import the namespace. I would also suggest downloading this cool tool which allows you to go through the WMI engine and go to specific classes and get information you want and it also generates VB.NET/C# code for you: http://www.microsoft.com/downloads/details.aspx familyid=2CC30A64-EA15-4661-8DA4-55BBC145C30E&displaylang=en ...Show All

  • Visual Studio File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found.

    Hello, I have migrated my web app from VS 2003 to VS 2005. My app has a page with Crystal viewer to display crystal reports. I am getting the following error. Please help. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: File or assembly name CrystalDecisions.Shared, or one of its dependencies, was not found. Source Error: Line 26: <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/> Line 27: <add assembly="Crystal ...Show All

  • .NET Development Using == null on Nullable type

    I found using == operator to compare a Nullable variable with null always return false. Is it a bug on C# 2.0 Hi, you can test nullable objects for their values with Nullable's HasValue property: DateTime date = null ; if (date.HasValue) {     MessageBox .Show(date.Value.ToShortDateString()); } else {     MessageBox .Show( "No value" ); } Andrej ...Show All

  • SQL Server Problems with Reporting services

    I just installed SQL Server Express Advanced. I previous had SQL Server EXpress installed, which I didn't uninstalled. The problem is that, when I look in Services, it is not started and when I try to start it, I get a warning: "SQL Server Reporting Services started and stopped, some services stop automatically if they have no work to do". I have IIS installed and running. I have disabled Apache web server. What could be the problem Thank you. I have solved the problem partially. I have re-installed the .Net Framework, because initially when I installed it, I did not have IIS installed. Now that IIS is installed I re-installed the Framework and the Server Status is up and running. So, in my humble ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. End users shouldn't have to rewrite XNA math functions in order to improve performance.

    The overhead of passing a 64 byte Matrix by value is significant. Most especially when you are comparing two matrices for equivalency (==), or performing a Vector*Matrix multiplication (Vector3.Transform(Matrix)). The following matrix comparison function performs 5-10 times better than your built in == comparison. If the matrices are equal, then it is about 5 times faster. If they are unequal then it fails fast, and is about 10 times faster. public static bool Equals(ref Matrix a, ref Matrix b) { // i check the diagonal first for quick fails return a.M11 == b.M11 && a.M22 == b.M22 && a.M33 == b.M33 && a.M44 == b.M44 && a.M12 == b.M12 && a.M13 == b.M13 && a.M1 ...Show All

  • Visual Studio Express Editions Reversing a list order

    Hi there. Does anyone know how to reverse the order of a list. I have a column set up of names. How can i select this list and have it reverse the list in a separate column. I dont want it reversed alphabetically, or numerically... my example would be this... Cell A1 - A5 Paul Barry John Steve Jim i would like to either select the 5 cells and have click a button to reverse this order, or have it return the reversed order in column B1 - B5... giving me the result of Jim Steve John Barry Paul The only way ive seen how to do it is with the offset function but ive had alot of trouble with that for some reason and hoped someone had an idea. Thankyou! These forums are for VB.NET questions. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Need help controlling forcefeedback functions with labview

    Hello, I am working on my engineering senior design project and need to control a force feedback joystick using software called labview. It looks like the easiest way to accomplish this is through DirectX. Labview has the ability to import .dll functions as well as .net and activex functions. If someone tell me the best way for me to accomplish this or at least point me to a specific kb to read that would be great. I've found a lot of forums about the same subject but the explanations were very vague. I have Visual Studio 2005 as well the DirectX sdk installed if that helps. thanks a lot! I already found those samples in the SDK and tried playing around with them, unfortunately it was beyond my p ...Show All

  • SQL Server SSIS Shared Configuration files -SP2 Problem

    Hello, I have several packages that share one configuration file located at a network location. Up until i installed sp2 everything worked fine, but now the packages "loose" the path to the configurationfile. It is replaced by some c:\program\sqlserver\package.... path where no config file is located. I can run packages if i specify the config file explicetly, but I really don't wanna do that, since it will not work in the context i'm working. I am using the wizard to install my packages. Anyone with similar problems Any help appriciated. Note: This is not the issue that sp1 solved (for me at least). =) ...Show All

  • Visual FoxPro Configuration requirements to allow VFP7 to be called from ASP.NET on IIS6

    Hello, I am in a similar situation to 'cpf' who posted "VFP7 COM+ error while calling from ASP.Net 2.0 on IIS6" earlier today. Since I don't know if my problem or manner of usage is DCOM or COM+, I wanted to start a new thread, outline what I have tested, and see if anyone has any pointers on how I may reconfigure my server to allow VFP7 to be started by an ASP.NET web page. I started in VB Express 2005, created a new project as a class library, added a reference to Microsoft Visual FoxPro 7.0 Type Library under the COM tab, renamed the automatically created class1.vb file to VFPInterop.vb, and typed in the following code: Public Class VFPInterop Public Shared Function CreateVFPInstance() As Boolean Dim vfpAPP As Visua ...Show All

  • Visual Basic datetime manipulation

    Hi there! I’m a newcomer, so I’m not sure this is the correct thread...sorry if it’s not... I have the following problem: I need to show in a windows Form the conversion from a normal dd/mm/yyyy shown in a date time picker to two textboxes (and viceversa). The first containing the day of the year (from 1 to 366) and the second the year itself (this oe is easy!). For example: txtdayofyear.text = "360", txtyear.text="2006" ->> Datetimecontrol.value="26/12/2006" My problem grows as i need to convert from one format to another in both senses, depending of what button the user presses. I have found a Date "dayofyear" funvtion, which gives me the partial solution, but I still don’t ...Show All

  • SQL Server Union for two sets with where clause

    Hi, I have situation where I'm returning comparing data from two date ranges in a chart in MS Reporting Services. In regular SQL, I simply do a UNION between two select statements. I also have a dummy column returned to distinguish between the two selects. i.e. Select *, 1 As 'DataSet' from tblData Where startDate >= @sdate AND endDate <= @edate UNION ALL Select *, 2 As 'DataSet' from tblData Where startDate >= @sdate2 AND endDate <= @edate2 In MDX, I've only seen a UNION for the columns, but not with the WHERE clause included. Is it possible to have a where clause for each set What's the syntax Thanks a lot! Well, I'm having some problems with this query. In addition to the above, I wan ...Show All

  • .NET Development 2.0 OracleClient + Oracle 8: oci exception (System.AccessViolationException: Attempted to read or write protected memory.)

    hi, From time to time we get an execption when we try to create an Oracle connection. Could anyone give an indication what might be wrong or how we can examine this problem... The 2.0 application is a batch application executing on a win2003 server. The DB Client is an OracleClient 8.1.7 client and the DB server is Oracle 8. We use the .NET 2.0 System.Data.OracleClient. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Data.Common.UnsafeNativeMethods.OCIEnvCreate(IntPtr&#38; envhpp, MODE mode, IntPtr ctxp, IntPtr malocfp, IntPtr ralocfp, IntPtr mfreefp, UInt32 xtramemsz, IntPtr usrmempp) at System.Data.OracleClient.TracedNativeM ...Show All

  • Visual Studio 2008 (Pre-release) What is "best practise" for databinding custom controls with xmlFile from xaml ?

    Hello.. I’m having a hard time figuring out how to databind a custom control from xaml with an XmlDocument. My problem is how to generate the ItemCollection. Example, myListBox control containing a List of <myListBoxItem>. In codebehind it is very easy to create a ... List<myListBoxItem> myItems = new List<myListBoxItem>(); ...and then use... myItems.add(..); What I’m looking for is a very simple example where this is done so after the databinding has been made in xaml (with xml) I have an customized ItemCollection (in this case myListBoxItem) that I can control, add events, animate or whatever I wanna do from my parentContainer (myListBox) Hope I made myself clear, otherwise I’ll try to clar ...Show All

  • Visual C++ How to check if a string is digits or just alphanumeric?

    Dear folk During my programming, I came across a specific check procedure to a string. sometimes this string contains alphanumeric and othertimes it contains numbers. My question is how to check the contents of that string whether they are digits or alphanumeric A simple code is shown below: Here's one way to do it using the count_if standard algorithm: #include <string> #include <algorithm> using namespace std; int main() { string foo = "123"; if(count_if(foo.begin(), foo.end(), isdigit) == foo.size()) { // is all digits } else if(count_if(foo.begin(), foo.end(), isalnum) == foo.size()) { // is all alpha numerical } else { // ... } } ...Show All

  • Visual C++ Block Images

    Hi, Iam using CHtmlView class (MFC) for displying the contents in a mail........but i have to block the images..........which are getting......dowloaded from websites........how can i do this ...........can tell me the starting point to implement this one.... Thnx in advance, Sudhakar. Hi, Sudhakar, In VC6, the implementation of CHtmlView seems just create a webbrowser control by CreateControl, there is no extra advanced features available. So you must write your own control code, there is lots of source here that may help you on extending the functionality of CHtmlView. Thanks. Bite ...Show All

©2008 Software Development Network