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

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

skuehner

Member List

psc161
mixxie
Nelson Chang
Bob Lyden
Dallastower
davidjmsdn
Blue-Fire
english_d
daydreamsy2k
SONAL N. SATPUTE
JohnnyR
Vladimir Dumchikov
SaloS
AndersBank
biozid
S.P.
Banhnam
ShyamD
Meltdown61
errolian
Only Title

skuehner's Q&A profile

  • Software Development for Windows Vista Working with the built in Administrator account

    The app I am working on definitly needs all those API calls that require "elevation" under Vista. It seemed that installing the application to launch under the built-in admin account was the answer. It seemed that Vista compliant installers will be able to install an application to start for every user but have it launched as another user, ie: the built in admin account. This seemed like it could solve a lot of our problems, but now in Vista RC1, the built in admin account is disabled by default, and this can be a big problem. Does this simply mean that the user can not directly log in under the built in admin account *or* does it mean that you can't even launch an application under the built in account If the answer ...Show All

  • Visual Basic Preview Code Snippet

    Is there any way to preview a code snippet before placing it, from within Code Snippet Manager Use the snippet manager: http://msdn2.microsoft.com/en-us/library/wy5tazc9(VS.80).aspx or CHeck out the VB Snippet editor: http://www.gotdotnet.com/Workspaces/Workspace.aspx id=a927f4e7-8e7f-45ce-8b72-f3b9384a3eab ...Show All

  • Visual Studio Inconsistent Behavior With Commands on Menu vs. Toolbar

    I have added a new command by implementing a package. I want this command to appear on the "Build" menu, and in the "Build" toolbar, but only when the project factory for my new project type has context. I am able to do this succesfully on the "Build" menu, but my new command is only greyed out, not absent from the "Build" toolbar, when it should be. My .ctc file looks as follows: CMDS_SECTION guidBuildToolbarsPkg MENUS_BEGIN // NewMenu Relative to Group Priority Type Name Text MENUS_END NEWGROUPS_BEGIN // NewGroup Parent Group Priority guidBuildToolbarsCmdSet:MyBuildGroup, guidSHLMainMenu:IDM_VS_MENU_BUILD, 0x0600; NEWGROUPS ...Show All

  • Visual Studio Express Editions Can't close com port

    Hi After my program sends and receives data with the serial port, it hangs up. I've tried inserting comPort.close() in variouse places but it doesn't work. How can I close the com port Imports System.IO.Ports Imports System.Text Public Class Form1 Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim strOutput As String Using comPort As SerialPort = My.Computer.Ports.OpenSerialPort("COM1", 19200) comPort.Encoding = System.Text.Encoding.GetEncoding(28591) 'comPort.DtrEnable = True strOutput = Chr(&H24) & Chr(&HDB) & Chr(&H0) _ & Chr(&H0) & Chr(&H1) & Chr(&H4) & C ...Show All

  • Smart Device Development RUNNING POCKET PC PROGRAM

    I HAVE ONE WINDOWS PROGRAM,"AAAA", AND ONE C++ PROGRAM,"BBBB". THE AAAA PROGRAM HAS ONE TEXTDRAW TO INTERFACE TO THE BBBB PROGRAM. I AM NOT ABLE TO GET THE BBBB PROGRAM TO RUN. I HAVE 3 TYPES OF BUILDS, WIN32 CONSOLE, WIN32 APPLICATION, AND ONE POCKET PC 5.0 THE SMART DEVICE AND THE WIN32 APPLICATION STOP ON THE BBBB PROGRAM AT THE MAIN() FUNCTION. THE CONSOLE RUNS THE BBBB PROGRAM AS A CONSOLE. I AM TRYING TO WRITE TO THE WINDOWS SCREEN FROM THE BBBB PROGRAM. ALL I GET IS HELLO WORLD. I AM SUPPOSE TO GET HELLO WORLD AND THEN A 21 X7 INPUT SCREEN. WHEN I RUN THE BBBB PROGRAM AS A CONSOLE I GET THE 21X7 INPUT SCREEN, SO MY SCREEN HANDLER IS WORKING. I CAN PROGRAM WINDOWS TO GENERATE A 21X7 INPUT SCREEN, EXCEPT I NE ...Show All

  • Visual Studio Team System Ajax Anthem Method Question

    Hi There I am trying to reproduce an anthem method call - what happens is that the user clicks on an athem panel which then calls an anthem method usong the onmousedown event. I can get all of the anthem methiods to work except for this one and wondered if anyone had any ideas as to why this may not work - ie would it have anything to do with the mouse down - I have used fiddler to record the test and added in all the code as per all my other tests but I just cannot get the panel to expand when clicking on the expand panel button. I know this is quite vague but you live in hope eh Cheers Gregor Is the panel expansion happening in DHTML/javascript If so, we're not going to display that in the ...Show All

  • SQL Server problems executing a SELECT inside a TRAN against other computer

    Hi I have a problem executing a SELECT inside a TRAN against other computer For example: IN THE SQL Query Analizer of the COMPUTER2 1) this runs OK BEGIN TRAN SELECT * FROM COMPUTER2.DATABASE.DBO.TABLE COMMIT TRAN 2) this runs OK SELECT * FROM COMPUTER2.DATABASE.DBO.TABLE 3) this runs OK SELECT * FROM COMPUTER1.DATABASE.DBO.TABLE 4) this runs bad BEGIN TRAN SELECT * FROM COMPUTER1.DATABASE.DBO.TABLE COMMIT TRAN The problem is that TABLE locks and it does not finish. I've been looking for similar ERRORS in Microsoft Support but I found nothing I've uninstall and install de SQL server 2000 SP4 and the problems continues the same Please, someone could help me, thanks Hi Thanks for your answers MUGAMBO Yes, I have th ...Show All

  • Visual Studio 2008 (Pre-release) Feature Request for LINQ designer

    Could I make a small request, or perhaps this has already been done and I'm just not aware of it... When dragging tables into the LINQ Designer I get nice classes that I can customize. But what I would really love is if 2 classes were generated: a base class consisted only of the table's member properties, and an subclass that utilizes all of the LINQ data access features. This way I can decouple the LINQ specific data access code from my business objects and allow me to do other things with them (such as Serialize them!) Can this be done Thank you.. Would you not be better off just adding your own code in a partial class --- much the same way as all the other designers work. Cheers Ralph Shillington ...Show All

  • Microsoft ISV Community Center Forums Help with a formula

    I need to write a formula for Excel that calculates the amount of fuel that is in a tank. Here is what it is for. We have cylinder tanks that lay horizontaly. Each month we put a dipstick into the tank to measure how many inches of fuel is left in the tank. I need a formula that will take that and calculate it into gallons. Here is the formula I have to work with. / -1 r - h \ V = L * | [ r^2 * cos (--------)] - [sqrt(2rh - h^2) * (r - h)] | \ r / Any Help is appreciated (BTW I am not the best at math so if possible an explination of this formula would be greatly appreciated) Hey Tiger, I ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Using own data-exporter.

    Hi, we are a team of programmers and graphic artists, wo work on a kind of an instant messaging system in 3D. We use C# and managed directx and are in a decision process, if we shall develope our system for XBox 360, too. Because we work on a commercial project, we have no time to wait for the content managment system. We must work and decide now. Indeed we need a kind of a content system and want to develope our own system with collada as intermediate format and some own formats, which will be only a image of the data, we will hold in the memory after loading, so that the loading process will be very fast - perfect for streaming data in the background. Will it be possible to load our models with the storage system on the XBox 360 Will it ...Show All

  • Visual Studio 2008 (Pre-release) Programatic Selection of Query Sort...

    Assuming I am using the code: personBindingSource.DataSource = from p in SPApp.DBContext.Persons orderby p.PersonLast descending select p; How can I programatically select ascending/descending so I don't have to code 2 separate statements Is there anything I can use in the Query namespace that defines the direction, which I could use as a variable here to specify I ask because I have at least 10 queries where I need to do this, I'd really hate to make it 20. Hi Terry, Can you provide some examples for this one already (before the next feb/mar Orcas CTP) Grtz Roger ...Show All

  • Windows Forms Framework and Windows Installer not present

    I am deploying a project on a large number of user machines. On a W2K machine, when I tested the MSI, it of course, did not have the Framework or the correct version of Windows Installer. But I did get the expected error messages. So I am going to issue install instructions that state the order of install is to first install these two items, and then install the application. Do any of you do anything different interesting as in my experience it automatically downloads it! It never redirects me to a page. I'll set up a few VM's for you and get back to you on what happens in my installations as well as the settings used in my setup project. NEVER hardcode the url path as the path ...Show All

  • Visual J# Regarding java applet conversion to J# browser control

    Hi, i converted a java applet into j# browser control and dll was created. when i tried to use that dll as j# broswer control in my wepage. its giving the error " unable to load j# browser control" i declared VJSCODEBASE VJSCODEBASE ="StreamingApplet.dll#RTApplet" where RTApplet is the entry point class. im not able to trace out this. because the same applet is working in java. Expecting help and suggestions regarding this. Regards Baji Prasad.B AsianCERC Information Technology Bangalore India. hi george, my entry point class i,e RTApplet is having try and catch blocks for every method. when im building in j#,it showing the status as succe ...Show All

  • SQL Server Is this possible in MDX queries

    Hi The cube i have conatins the ProductName , Time as dim and Sales as measure. I need to query from the cube the product name and sales for multiple date ranges. As an example, The I/P shall be in the format ProductName : A,B DateRange : 1/1/2004:2/1/2004,1/1/2005:2/1/2005,and so on. The number of date ranges is not fixed and also is the productname but the date ranges are common across both the Products. I have to query for the above I/P and use SSRS to get the O/P. Thanking you in advance regards saishyam I am not sure exactly what you are looking for, but here is an example using Adventure Works that list products with sales by total for different date ranges: WITH SET ...Show All

  • Windows Forms Table Adapter Insert Problems

    Here is my problem. Currently I'm trying to bring data from 4 separate spreadsheets into my application. I'm using the Jet engine to load a data table to the specified range in each spreadsheet. The next step is where the problem is. I need to take the rows of the data table loaded from excel and put them into a SQL 2005 Express DB. I am stepping through the rows one at a time and attempting to use the insert method of a table adapter connected to the destination table for the data. When I do this I get an invalid cast exception and when I use the convert functions I get a DBnull exception. Is this the best way to do this and if so how can I get around these issues. ...Show All

©2008 Software Development Network