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

Software Development Network >> Kristoffer Ryden's Q&A profile

Kristoffer Ryden

Member List

omarf
S. Dalby
jmartin505
Jimc25
Lepsik
KarlTheBaker
paomeow
RajeshPaddy
Martin Thorsen - MSFT
Jose Bonilla
Intern
Singee
kawing0510
Haridas Mane
Jos Warmer
intrus0
pramod Bavchikar
ErickLopez
Coach24
salafa
Only Title

Kristoffer Ryden's Q&A profile

  • Smart Device Development How to Soft Reset a Device programatically

    Dear all, Is there any command in VB to Soft Reset the device Please give an advice. Thank you! Hi Call the Win32 API SetSystemPowerState to reset the device Declare the Function as folllowed: Const POWER_STATE_RESET As Integer = &H800000 <DllImport("coredll")> _ Private Shared Function SetSystemPowerState(ByVal psState As String, ByVal StateFlags As Integer, ByVal Options As Integ ...Show All

  • Visual C++ Detecting Colours

    <BladeMaster@discussions.microsoft.com> wrote in message news:15b0c6af-d5d4-4dbb-8c2b-96cad754fa45@discussions.microsoft.com > Hello, I've been wondering if it is possible to detect the RGB value > of > specified pixels. For example, If I am viewing a blank internet page, > the colour in > the middle of the screen would be white, is there a way to find this > (In VC++) GetDC(0) gives yo ...Show All

  • .NET Development How to prevent Gzip to create a compressed file bigger than the original

    I am working in the Graphic Art industry where most common files are Adobe Acrobat PDF, big image file with Jpeg compression, and 1-bit TIFF file for plate making. Working with the new Gzip Class on those file types is outstanding since the compressed files are usually much more bigger than the original. Is there a way in .NET 2.0 to prevent this behavior Hello Henri, Unfortunately, this is a known issue with the GZipS ...Show All

  • .NET Development Please help

      I HAVE BETA2 . I STARTED A PROJECT USING BETA 1 AND THEN CONTINUED THE PROJECT IN BETA2.   I NOW WANT TO USE JUST BETA2 HOW CAN I DO THIS I DID SOME CHANGES . MAYBE THERE IS ANY EASY WAY OF CONVERTING IT THRU WIZARD                 PLEASE TELL ME HOW TO DO THIS.               ...Show All

  • Visual C# Adding multiple records into a database from a list box selection.

    I'm trying to figure out how to get what is selected in a list box to be added to the database, but as a seperate record for each item. Here is what I have so far, but when I compile I get an error that "Listbox does not contain a public definition for 'GetEnumerator'. Has anyone done this before or know how to do this Thanks for all of your help protected void btnAddUsers_Click( object sender, EventArgs e) { foreach ( Li ...Show All

  • SQL Server Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance

    No wonder Microsoft is giving it away for free. It’s not worth anything. I am very disappointed in this version of SQL server. I decided to start learning VB so I downloaded and installed VB 2005 express edition and SQL 2005 express. I tried to build a personal website using the starter kit. I kept getting the following error message, for which I have seen numerous postings on this forum. “Failed to generate a user instance of SQL Server due ...Show All

  • Windows Forms Read Data From Windows Form?

    Hi, I have a fairly basic or possibly complex question. I am using a piece of windows software which displays a table of constantly changing numbers. What I would like to do is write a little program which reads these numbers and presents me with a warning if any of them drops below a certain level! My question is how could I do this and, is there a way to do this without reverse engineering the program ...Show All

  • Visual C# Polymorphic Collections

    In one project (assembly), I have some interfaces: public interface ISecurable { int SecurableID { get; set; } string SecurableString { get; } ISecurableContainer SecurableParent { get; } } public interface ISecurableContainer : ISecurable { List<ISecurable> SecurableChildren { get; } } In another project, I have some classes: public class Item : IComaprable<Item> { ... } public class ItemCollection : List&l ...Show All

  • SQL Server Error when trying to use checkpoint file

    I have a package with settings SaveCheckpoints=True and CheckpointUsage = Never.  After the package failed I fixed the cause of failure by setting a database column to allow nulls.  Then I went to our web app that we built to monitor package execution and clicked on the button to restart the package.  The web app loads the package and then sets the CheckpointUsage property of the package object to 'Always'.  Then it ...Show All

  • .NET Development RegSvr32

    Hi, In VB, I was able to shell out to a window and use the RegSvr32 command and register a DLL or OCX, like so: Dim vShell as Variant vShell = Shell("regsvr32 /s " & strPath, vbNormalFocus) Does anyone know how I can accomplish this in C# (vs2005) Yes, it works from the command line or the run line.. After much research on the internet (and thanks to google) I found the solution: //C ...Show All

  • .NET Development Exposing "visual stuff" in child forms property boxes

    I have a hierarchy of forms each layer adding some functionality Base V DialogBase V EndDialog I'd like to put the tooltip and helpprovider in the Base form. But as near as I can tell they then don't show up in the properties of EndDialog. I need to use them in the base form for startup processing. (The help string is copied to the tool tip. Redunant, but ...:-) Is there a way to do this My solution is ugly. Put mustoverride properties in Base ...Show All

  • Visual Studio Team System Craziness in my Upgrade to RC0

    All was going along swimmingly in my upgrade from Beta 3 Refresh to RC until.... I was actually running the install for RC. I had followed all the steps as directed. The tfsupgradeat.exe had run successfully and dropped the two databases as expected. One being TFSActivityLogging. During the setup run for a single server if the RC the following error appears: Received Error 32000 The command line "C:\program files\Microsoft visual ...Show All

  • Audio and Video Development MF_ProtectedPlayback Sample doesn't work for Video on Vista Beta 2:

    1. Installed Vista Beta 2; 2. Installed Vista Beta 2 SDK; 3. Build MF_ProtectedPlayback Sample from provided samples; When starting both Release and/or Debug versions of MF_ProtectedPlayback Sample with both Adminitrative and not-Administrative priv. as well as with DRM and not-DRM Video content => getting complain in the form of 3 Message Boxes: "Windows -- Bad Image: X is either not designed to run on Windows or it contains ...Show All

  • Smart Device Development How to close the former form?

    Hi. I have built a login form which links to a main form. After check user's ID and password, i use such codes: Dim newForm as New mainForm mainForm.show() Here i do not know how to close the form login form, me.close() and me.disposal() do not work well. anyone can help me thanks!  Hello Joey, Do you really close your loginform or just hide it And on which form is the MessageLoop runnin ...Show All

  • Visual C# Communiacting with DLL in c#

    I am working on a project which communiactes with a Radio Device (WR G303e Radio Receiver)connected to PC via USB. I comes with an API WRG3API.DLL implemented as a 32-bit driver. In the SDK it has examples for Delphi and C/C++. My Question is..... How can i import/communicate (with) this dll to work in C#. I am looking for some1 2 reply... please help me if any1 out there has any info about this issue... Kind Regards t4urean I think you ...Show All

©2008 Software Development Network

powered by phorum