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

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

devjam

Member List

Marky52
Erwyn van der Meer
johnfrost
valentin tihomirov
suparna_tech
RTEKI
hansifer
Alan_98
T.69.72.
geetasain
Murali Karlapudi
Gouranga1
basic4ever
Paul Raj
piaqt
Cypry
Ali D
Bernhard Hammer
Prathvi
Akhmad
Only Title

devjam's Q&A profile

  • .NET Development Method to encrypt/decrypt passwords not working

    I had a post asking the best way to encrypt and decrypt passwords and I got a great response from David. He said to go to http://blogs.msdn.com/shawnfa/archive/2005/11/10/491431.aspx for help. I did, and came up with the following code (C#): public static string Encrypt( string data, string password) { if ( String .IsNullOrEmpty(data)) throw new ArgumentException ( "No data given" ); if ( String .IsNullOrEmpty(password)) throw new ArgumentException ( "No password given" ); // setup the encryption algorithm Rfc2898DeriveBytes keyGenerator = new Rfc2898DeriveBytes (password, 8); ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Multiple render targets

    As mentioned in an earlier thread, I'm rendering the results of DrawText operations to textures, and then rendering these textures to the screen. However, I just noticed that this is causing problems when multisampling, making the text corrupted and producing this error message: Direct3D9: (ERROR) :MultiSampleType between DepthStencil Buffer and RenderTarget must match. First-chance exception at 0x7c81eb33 in Client.exe: Microsoft C++ exception: long at memory location 0x0012f38c.. Direct3D9: (ERROR) :Clear failed. This happens at this line: if ( !SUCCEEDED( getDevice()->Clear( 0, NULL, D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, ...Show All

  • Windows Search Technologies Outlook 2007 will not search

    I have installed WDS 3.0 and still when I run outlook 2007, i can not search and dispay what I am looking for regardless if it is a contact or email or what ever. Example: From the phone list, Contact search I type Jon. The only thing displayed is "Outlook cannot perform your search" This goes for all searches. Hello Tylerk, I've seen this problem pop up when users install over older versions of WDS (for example 2.6). People have been able to get around this problem by completely uninstalling all versions of WDS from their computer (the older version AND 3.0beta). Once both uninstalls are comple ...Show All

  • SQL Server Help getting mirroring working

    Hello guys and gals, I've having some trouble getting DB mirroring set up in Sql Server 2005. Perhaps someone can help, as I've read everything I can find on the web and Google groups about this but still can't solve it. Here are the steps I have taken: 1. Installed a fresh Windows 2003 on box A (the primary) and a fresh Windows XP on box B (the mirror). 2. Run Windows update on both. 3. Installed Sql Server Enterprise on box A and box B, and also on my own machine box W (the witness). All good so far, I can connect to all machines, all machines can ping each other, all machines can telnet to each other on port 5020 (the 16 keystrok ...Show All

  • Visual Basic SQL Statement - INSERT INTO (Syntex Error)

    Hi, can someone please help me, for some reason does this INSERT INTO statement not work. I'm using Access2003, and each time I try to run this query through by wondow, I get a "Syntex Error in INSERT INTO statement". My 'adddate' column has a DataTime datatime. Here's the code: "INSERT INTO labour (cat, adddate , labours, hours, normrate, subtotal, ,jobnum, otimerate, dtimerate, othours, dthours) VALUES (" & mdlinstallair.cataddvall & ", " & lbldate.Text & " ," & mdlinstallair.labaddvall & "," & txtnh.Text & "," & txtnr.Text &am ...Show All

  • Visual Studio Express Editions Power control of windows: How to reboot and wake from hibernate/standby?

    Hi everyone: I have only found system.windows.forms.application.setsuspendstate method could make system into standby or hibernate state, but I don't know how to reboot the system via .net method. Must I call API functions to reboot the system And I want to know how to wake up the system after hibernate/standby For example, if my user input "3" and hibernate, the system should enter hibernate and wake up itself after 3 minutes. Is that a method could do this in .net framework or which API should I call Thanks very much!!! Um, I don't think there are any program running in hibernate (or suspend) state: it would probably ...Show All

  • Visual Basic Is it possiable to create a C/C++ Style Macro VB.NET???

    Does any one know if it is possible to create a C/C++ style macro that can be used through the namespace as needed Example: The code below will be used in several classes throughout the namespace. I guess I could develop a base class to inherit from; however, some of the classes will need to inherit from other classes so the base class solution will not work. Your thoughts… # Region "Registry - Properties" Private mRegisrtyRoot As RegistryHive Private mRegistryControl As Boolean <Description("The root location that the controls attributes will be stored..."), D ...Show All

  • Visual C# Please hepl me solve this problem

    When I press F5 to run the project I receive this error message : Error while trying to run project : Unable to start debugging on the Web Server (But I run without debug (Ctrl + F5) it's OK) I don't know why. Please help me this. Thanks a lot ! Dear pvphuc, please try this: (add the following code(the "compilation" part) into your web.config file in the root directory of your website) <configuration> <appSettings/> <connectionStrings/> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this ...Show All

  • .NET Development Ping SendAsync() not releasing resources or GC'ed bug?

    System.Net.NetInformation.Ping after doing a SendSync() does not appear to be releasing resources or being Garbage collected. Am I missing something here or is it a bug Using a memory profiler and seeing and application that does a lot of pings grow with out bound I am seeing that the async does not let go. It there anything I can do about this A simple test case is creating a form with a couple of buttons: // do a ping private void PingButton_Click( object sender, EventArgs e){     ping = new Ping ();     //ping.Send("mymachine");    ping.SendAsync( "mymachine", ,null); } // wait for d ...Show All

  • Microsoft ISV Community Center Forums VBA eBook

    Apparently, there was a free eBook on VBA available a short while ago. Can someone point me where to download it Thanks, Antonio http://msdn.microsoft.com/archive/default.asp url=/archive/en-us/office97/html/web/FULLTOC.asp It's for Office 97 but still worthwhile reading if your using a newer version. ...Show All

  • Visual C++ missing msvcr70d.dll

    Hi, I uninstalled VS .net 2002 and then installed VS .net 2003. I could successfully build my project in both debug and release modes. But when I try to run in debug mode, I get the following error. Unable to load library 'C:\tpapps\Rev4.0.0e2.1\lib_debug\iCOASIS.dll'. Dependency verification failed: File 'MSVCR70D.dll' not found in directories: ....list of included directories. I searched online for more information about this dll and found that it should be in c:\windows\system32 folder. I am running windows xp and there is no MSVCR70D.dll in c:\WINNT\system32 folder, but I found msvcr70.dll, msvcr71d.dll and MSVCR71.dll i ...Show All

  • Visual Studio Express Editions How to get "Sender" to open a specific Form

    I have menu items that need to open different forms. In the application the number of menu items is rather long. I have attempted to create a single event handler that handles the click event for all menu items. In the code sample shown, I have implemented the function using Select Case statements. Private Sub TasksMenuItems( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles _ SignUpToolStripMenuItem.Click, TeamsToolStripMenuItem.Click CloseAllChildren() Dim f As Form Select Case sender.ToString Case "Sign Up" f = frmSignUp Case "Teams" f = frmTeam ...Show All

  • Visual Studio Team System Scenario in MSF FOR CMMI BetaPG-51125.00

    I would like Know, if is a mistake don't found Work item = Scenario in this version of the MSF FOR CMMI. If really don't have scenario Work item in MSF FOR CMMI BetaPG-51125.00, how can i to represent in this process Thanks and Regard Hi,     The scenario and quality of service requirement from MSF for Agile Software Development have been combined into a single requirement work item in MSF for CMMI Process Improvement. Cheers, Randy MSF ...Show All

  • SQL Server SQL Impesonate Logon Problem

      Hi. I am currently working on an ASP.NET application which has to log on to SQL using a specific windows user account. As far as I am aware the only way to do this is by adding the Integrated Security=true ; property to the connection string. If you specify a user id and password then it will try to log you in as a SQL user. Is this all correct   To be able to login to the SQL server we explicitly call the LogonUser function from the   advapi32.dll then open a SQL Connection using the Integrated Security=true property. When you look at SQL Profiler it seems that there is two logon calls made when the conne ...Show All

  • Windows Forms How to change color of control's border ?

    Dear all, As you knew, the BorderStyle property of controls (Ex: panel, textbox...) is : None, FixedSingle and Fixed3D. With FixedSingle, the border of control's color is black. I want to customize border of control is another colors, so what i should do Thanks for your help. Steven Hi jelle, I think you got me on that one :) Sorry, I forgot what was I thinking when I posted GetWindowDC thing, probably lack of sleep lately. Cheers, -chris ...Show All

©2008 Software Development Network