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

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

lbeham

Member List

Archaeon
Konstantin L.
Tryin2Bgood
ScriptingAdminGuy
aivlis
gleason78
JH.
twilightown
stick_thai
PublicError
bes7252
Adix
Dan Lingman
ADP Comm
Malleswar
Rajat Tripathi
ronwest99
Mahender
Leaf.
pwinant
Only Title

lbeham's Q&A profile

  • Visual Studio 2008 (Pre-release) "Process must have access rights for the private key"

    I'm getting an error message trying to run a service host with a certificate created according to the explanation here: http://msdn2.microsoft.com/en-us/library/ms733813.aspx SetCertifacte finds the certificate, but ServiceHost.Open gives me an exception saying: "The certificate 'CN=rei' must have a private key that is capable of key exchange. The process must have access rights for the private key." I'm hosting the application under the same account as the one I created and installed the certificate with. Since this wasn't working I tried making a .pfx file using pvk2pfx, as explained here: http://msdn.microsoft.com/library/default.asp url=/library/en-us/directx9_c/Authenticode_Signing_for_Game_Developers.asp The res ...Show All

  • Visual Basic connection to FTP server

    I am trying to connect to a FTP server using the FtpWebRequest class in visual basic 2005. Right now, I am merely trying to get a list of files on the server. I have the IP address, the username and password to the server. I also had to install a certificate in my browser. I get a "The specified network password is not correct" - error when trying to test the code. I get it after the Client certificates statement. Public Shared Function ListFilesOnServerSsl(ByVal serverUri As Uri) As String Dim username As String = "username" Dim password As String = "password" Dim retStr As String = "" ' The serverUri should start with the ftp:// scheme. If Not (serverUri.Scheme = Uri.UriSch ...Show All

  • Visual Studio Can't edit macros; "The parameter is incorrect."

    I am getting "The parameter is incorrect." when I try to edit macros. I get it from the context-menu in the Macro Explorer and I get it when I use the Tools menu to get to the Macros IDE. I have also gotten a message saying that an interface is not registered but I forget the details and I cannot get it to happen now. It is highly likely, nearly certain, that I messed it up. I tried to convert a couple of VC 6 macros and messed things up. Now however I can't fix it. I hope we don't have to totally re-install VS. I don't mind losing everything in MyMacros.vsmacros if I must so if someone wants to explain how to do that then that would help. I tried to search for provious answers; if there are any then I don't know what to search for. ...Show All

  • Windows Forms How can I bind a treeview to data returned by a CTE (Common Table Expression) in SQL-2005

    Just out of curiosity is it possible to bind a treeview control to data returned from a CTE Ken is right, treeview does not support databinding. But you can customize/extend it. The following links will be useful http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnwinforms/html/custcntrlsamp3.asp http://www.codeproject.com/cs/miscctrl/dbTree.asp ...Show All

  • Visual Studio "Disconnected Context"

    I am getting a “ Disconnected Context” error with the vsPackage that I am developing. When a command is invoked I give control to an external program and wait until the External program completes. The external program can take a long time to return control. Once control is returned if I try to access any of the interfaces I get the “Disconnected Context” error. Is this a CLR bug or I am doing some thing wrong How can I fix this error Thanks Can you please provide more information about what you're doing What is your "vsPackage", what interfaces are you using, etc ...Show All

  • Visual Studio Express Editions help parsing a varing space delimited file

    I am having some trouble parsing a file that has varing spaces between the data. I'm using the textfield parser and setting the delimiter as a single space. (" ") Some of the code is below. The problem is the spacing is not a constant and the data ends up in different fields based on the spacing. Is there a way around this Can you set the delimiter to use a varing length amount of space a only one Data Example: 9/28/2006 534 23 12/28/2006 235 25 Code Snip: Dim delimiter As String = " " 'Space seperator Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) parser.TrimWhiteSpace = True 'doesn't do much While Not parser.EndOfData ......yo ...Show All

  • SQL Server Clone DB

    Helloo Can I backup DB programatically , and then restore it with different name also programatically meaning: I have db2006, can I backup this db then restore it as db2007 programatically using a stored procedure for example So by doing this the user will be using db2007 @ the begininng of the year and so on each year I'm using sql2000 Please I need your help Thank you Thank you for your reply but I had explained in a wrong way I need to create a dublicate for this database programatically meaning if i have db2004, I need to create db2005 programatically same as db2004(tables and procedures, only structure) Is that possible thank you ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How am I supposed to expose objects as properties?

    Ok, here is the situation. I have a GameComponent that does 2D collision processing called Collisions2D. It requires that an object implement the interfaces IPhysical and ICollidable. Included in these interfaces is the property of type List<Vector> Vertices. This property needs access to other objects in the class that are not created yet since this is not at runtime. I also need to expose the position vector for the object which is held within an object in the class. The designer did not like this at all and had to set up a layer of abstraction so that the properties affect simple types in the class which are then used to update the inner-object's vector. Is this really how we have to do this How are we supposed to expose object ...Show All

  • .NET Development Cannot assign PowerStatus to int

    Hi, I am currently learning C# and have been following the following article on MSDN- http://msdn2.microsoft.com/en-us/library/hxkc1kwd.aspx This article provides the following code example, but I receive the message "Cannot implicitly convert type to int". I can't understand what the problem is. Can someone please help. Thanks Matthew private void powerModeChanged(System.Object sender, Microsoft.Win32.PowerModeChangedEventArgs e) { int si = SystemInformation.PowerStatus; switch (si) { case BatteryChargeStatus.Low: MessageBox.Show("Battery is running low", MessageBoxIcon.Exclamation); case BatteryChargeStatus.Low: MessageBox.Show("Battery is critcally low", MessageBoxIcon.Stop); } } ...Show All

  • Software Development for Windows Vista Autoplay dialog box not appearing

    Vista Home Premium - I place blank media in the CD/DVD drive - but I do not get the dialog box with the burn options. I get nothing. Same for blank CD and DVD. Even from the drive, selecting the "Open Autoplay" option I get nothing - no response at all. The media type is recognized - a "CD-R" symbol representing the media I am using shows up on the drive image. Optical drive is a Samsung SH-S182M. No problem with the drive reading CD/DVD's. Anyone having this problem Hello DWillett! I have not heard of an issue like this before. If you open my computer with a blank piece of media in the drive and double click on the device, do you get any dialog box To make su ...Show All

  • SQL Server problem with foreach loop container and excel files

    well i am trying to follow the example of msdn help on how to loop through excel files and it doesn't work. the variables have the project scope. what can i do I have a working example that I have done can be download from here . Uses c:\Temp as source directory for Foreach Loop Thank Sutha     ...Show All

  • SQL Server Definition of 'Persistent Data'

    What is the definition of 'Persistent Data' as related to the definition of a RDBMS thx, Kat hi kat, i encounter the term  "persistent data" in the .net terminology which refers to data in the cache of an asp.net application its in one of the three caching method of .net  which are page, fragment and data caching. you can also persist the data from the dataset to a XML file oh well, terms are used in different ways and honestly i dont have any idea about the subject matter. well, just wanna say hi! anyway, here are some usefull link http://en.wikipedia.org/wiki/Persistent_data_structure http://www.techweb.com/encyclopedia/defineterm.jhtml term=persistent+data joey ...Show All

  • Visual Basic After insert

    Hi I have a form where i with a button use insert into .................................................. and create a new record This works fine. after this shal i then clear the textbox, and combobox ........... one at the time or can i clear them all at once regards alvin ...Show All

  • Visual C# input data to website

    Ok right now I have to configure routers manually by inserting the exact same data into a router's configuration panel (website on router) then swap out the configured router with one that needs the exact same setup and redo this process over and over. I would like to write an application that fills in all the needed boxes,selects values from drop down menu's and fills in any other information and presses the save & restart button for me is this possible I initially though about trying to find the file on the router that its writing to thinking making its one config file maybe if thats the case I could just write to the file but im not entirely sure. it's a tricky one really since you need to know wh ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Bug in texture content importer (alpha generation)

    It appears that a texture will be made chroma-keyed, even if you don't select the chroma-keyed texture processor. When importing a pre-saved DDS from Photoshop, pure magenta color turns to black (which in DXT1 can mean alpha), even when using the plain "texture (mipmapped)" processor. Bug filed at: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=237899&SiteID=226 I agree that parameters for processors is a useful thing but in the mean time it is pretty easy to override the default processors. I also wanted to avoid the texture processing and came up with these very simple processors, which basically just pass through any .dds textures while still allowing the usual model texture processing for ...Show All

©2008 Software Development Network