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

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

DudleySoft

Member List

Sunil Gupta
Gafrage
AlexBB
Josh Kinder
becklighter
John Portnov
N G Smith
Pojev
SLV
MarcGBeauchamp
A.Russell
Ljhopkins
guyinkalamazoo2
Alex Merchant
dmb13
Jon Braganza
nastynate
Martijn Mulder
S.Jan
Chryso
Only Title

DudleySoft's Q&A profile

  • Software Development for Windows Vista Using cardspace for SSO

    I have been reading about Cardspace and testing the sample code and wanted to see if the standard could handle this use case Is it possible for our employee’s to authenticate into a website using a user id (employee number) and password and once authenticated the site would email them a card file (managed or personal) with their employee number embedded in it or would be supplied via the STS. The employee would import the card into their store and use the card for all future authentications and not need to type in their password again. I realize this is not strong authentication and would only use it for low level internal websites that did not require massive security. I am trying to provide the employee a SSO method of logging int ...Show All

  • Visual Basic GetPrivateProfileSectionNames

    I am officially at a loss. Now, please do not inform me that ini files are obsolete. I am not using them for application settings. My question: How does this work All the sample code I can find is for vb6 and when trying to port it, there are errors abound. I found one sample for vb.net but could not get it to do what I want. Here is the sample: Dim profiles As New Collections.Specialized.StringCollection Dim ptr As IntPtr = Marshal.StringToHGlobalAnsi(New String(vbNullChar, 1024)) Dim len As Int32 = GetPrivateProfileSectionNames(ptr, 1024, IniPath) Dim buff As String = Marshal.PtrToStringAnsi(ptr, len) Marshal.FreeHGlobal(ptr) Dim sb As New StringBuilder For ii As Integer = 0 To len - 1 Dim c As Cha ...Show All

  • Visual C# How to get cube role from Analysis Services

    Dear All, Recently I want to learn How to get cube role from Analysis Services by .NET while I can't find better ways, so would you give me advice,and thank you very much! ...Show All

  • SQL Server SOLUTION! - VB.NET 2005 Express and SQL Server 2005 - NOT saving updates to DB - SOLUTION!

    VB.NET 2005 Express and SQL Server 2005 Express - NOT saving updates to DB - SOLUTION! ----------------------------------- The following article is bogus and confusing: How to: Manage Local Data Files - Setting 'Copy to Output Directory' to 'Do not copy' http://msdn2.microsoft.com/en-us/library/ms246989.aspx You must manually copy the database file to the output directory AFTER setting 'Copy to Output Directory' to 'Do not copy'. Do not copy The file is never copied or overwritten by the project system. Because your application creates a dynamic connection string that points to the database file in the output directory, this setting only works for local database files when you manually copy the file ...Show All

  • Windows Live Developer Forums Virtual earth routing not working through VPN

    I have been utilising the routing functionality of virtual earth successfully, but when I try and run the web page through a VPN connection (Juniper 2000 vpn) the route or directions are never displayed. All other functionality works through the vpn (zooming plot pushpin etc..) it is just the route plotting. Any advice would be greatly appreciated regards, Stephen ...Show All

  • .NET Development Large Database Update Methods

    I have a large product database table that I need to do updates on. It has over 600,000 records. I need to update pricing usually once a month for the products. I get a price file from a vendor that then needs to be looped through and any changed prices need to be updated to the database. Best method for this large a database I was thinking of looping through the price update file and then using a direct sql t-sql type update like: update table set values x where productcode = partnumber cmd.executenonquery(). I don't think a want to try a dataset or adaptor for this large a table The code seems to run but not update the database and I expect I also need a commit command or acceptchanges command after the updates. I exp ...Show All

  • Visual Basic Setting up a Multidimension Array

    Here is my question: I need to add all values in an array how do you set it up for a multidimension I've looked all over and have found no good examples. Dim X(,) As Integer = {{44, 3}, _ {32, 11}, _ {16, 4}} Heres a few URL's which show how to declare and initalize multidimensional arrays in VB.NET http://www.startvbdotnet.com/language/arrays.aspx http://msconline.maconstate.edu/Tutorials/VBNET/VBNET01/vbnet01-03.aspx You may also want to consider using the collections rather than array's, such as arraylist, List etc. ...Show All

  • Visual Studio code and example xml tags

    Has anyone noticed or observed that code and example xml tags seem to work properly when decorating a method, but when the tags are at the class level, none of your sample code seems to appear. Is this an issue that is being worked on Just thought I would pass along what I observed. John Here is a small sample.  Didn't paste in the best but you'll get the idea.  Also, there is no implementation in the class here that I pasted in, but there is in the actual class.  Hope this helps.  If I were to put this same documentation tags on a method of the class then the code sample will work. /// <summary> /// Represents a name - value collection in an enterprise library c ...Show All

  • SQL Server Cannot remove push subscription on SQL Server 2000

    Hi, We have created replication from one production server to another backup server by using SQL scripts. These scripts have been generated by SQL Server after manual initial setup. When I ran these scripts they did not add the subscription for the backup server because a stored procedure were missing named something like sp_addsubscription. Therefore I ran the script on the production server and created the subscription manually on the backup server. But I made an error, I created a push subscription first but I should have created a pull subscription. Now I can't delete the push subscription. I don't even get a error message. I can't press delete and when right clicking on it I can only choose Help. The subscription has the following ...Show All

  • Smart Device Development connection status monitoring

    Hello everyone, I have a new idea to develop a connection status monitor program at server side, which could monitor the connection status (online/offline) of devices running Windows Mobile. Are there any samples to start Are there any built-in functions in Windows Mobile thanks in advance, George Are you trying to build a monitoring application (like HP Open View) which would show all the devices currently online and/or offline This would require that your device periodically send heart-beat or status information to the server. You can use State and Notification Broker (Microsoft.WindowsMobile.Status.SystemState class) on WM with which your program on device can detect if a connection is present or ...Show All

  • SQL Server OLE DB - ADO .NET

    Does anybody know why in some cases you can use both connection types, in others you can't . Like for example, you start a data flow task with a Datareader Source which uses an ADO .NET connection manager, next you want to do a lookup and seems like the only type of connections you can use in a lookup table is the OLE DB. So OLE DB is placed hard coded in a lookup task, and I thought things changed since the coming of OOP ... ...Show All

  • Visual C++ Problem with treeview coding in c++/cli

    hi there... currently im working on this project on WiMAX. My section in the project is to create a tree view and when the icon are drag and dropped in the pannel, it will appear in the treeview, jus like the windows explorer. Basically there are 2 icons, 1 base station which is the parent while the subscriber station wil be the child. I have done the codes to create base and subscriber staioon. my only problem is the subscriber station do not appear as a child. Please see my codings and state where i went wrong. Thanks. TreeNode^ baseNode; array <TreeNode^>^ subNodeArr; static int count=0; #pragma endregion private : System::Void add_baseNode() { baseNode = gcnew TreeNode(String::Format ...Show All

  • Visual C# Build a 'long' number from two int's

    Hello, i'm wondering whether it is possible to "build" a long number from two int's. My aim is to make it platform independent, thus i can't use any shift operators. With them, i would do something like that: long number = (long)myInt | (((long)myInt2) << 32); Does anybody have an idea georg Actaully, the simplest solutions might actaully be the one. :) Instead of you worrying about endianess, let the JIT worry for you. Keep the casting to avoid leading 1's from messing your end result:               uint a1 = 4294967295;             uint a2 = 4294967295;  & ...Show All

  • Software Development for Windows Vista Windows SDK and ML64

    After installing the Windows SDK RC1 with the x64 compiler tools, I noticed that there was a lack of the x64 version of the assembler. It is available under the x86_x64 cross tools, but that isn't installed on Windows x64. Is this intended or is this a some kind of problem with the SDK setup. Sorry, I wasn't clear enough back then. My system is Windows x64 pro. When I install the SDK with the x64 compiler tools, ml64.exe isn't installed. When I installed it on a XP 32 bit machine with the x64 cross compiler tools, ml64 was installed. After looking around a little, it seems as if ml64.exe is only installed with the cross compiler tools, it doesn't even exist in the x64 compiler tools cab file. The only way I could get ml64 was to t ...Show All

  • Windows Forms How to get border width of a control?

    I set PictureBox.BorderStyle to Fixed3D and I need to know the width of its border. I searched and searched but did not find equivalents to WIN32 API GetSystemMetrics. Does the Framework provide any class to retrieve this information Hi, Actually, there is a .net way to achieve this goal. Here it is: string s; s = string .Format("Border3dSize: Height:{0}; Width:{1}", SystemInformation.Border3DSize.Height, SystemInformation.Border3DSize.Width); MessageBox.Show(s); s = string .Format("BorderSize: Height:{0}, Width:{1}", SystemInformation.BorderSize.Height, SystemInformation.BorderSize.Width); MessageBox.Show(s); The SystemInformation class has lots of setting about your environment. name ...Show All

©2008 Software Development Network