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

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

AoggY

Member List

h3mp
LeoXue
bronzed_bison
P Cause
Fahad349
Mark 2334
barbbayne
Mohan1
Chris Pyman
Kevin Kelly101
Bnjneer
pcompassion
Ljhopkins
jptrt
Melterx12
cisco0407
theTroll527
Lightknight240
gg1
vitich
Only Title

AoggY's Q&A profile

  • Visual Studio 2008 (Pre-release) Using ContextMenuOpening to populate ContextMenu?

    It seems that it's not possible to use ContextMenuOpening event to populate the ContextMenu. Because it will open before the ContextMenu is filled Best regards, Thomas Andersen You can modify a context menu already on an element but you can not provide a new context menu. This is because context menu opening is fired after the check to see if the element has a context menu. If the element doesn't have a menu at the time of the check, it is not opened on that element even if you add one in the ContextMenuOpening event. A workaround is to add a placeholder context menu to the element and then do what ever processing you need to on it (or even replace with another menu): <Button ContextM ...Show All

  • .NET Development Getting users of the system

    Hi there, Just want to ask how can you (programatically) know what are the users of the OS (Windows XP) and their passwords Regards I was modifying code on the fly so possibly an error in that sense. Try this: ManagementScope theScope = new ManagementScope(" \\\\ "+ Environment.MachineName + " \\root\\cimv2 "); ...Show All

  • Visual Studio Express Editions Answer for How do I bring the animation in my form, to front of the controls?

    (Because the question is in an old post with a lot of 'first try' code. I decided to put this answer with much better code in a separate thread.) The following example is a modified version of a program by Bob Powell that was written in an older version of Visual basic. (Uses shapes instead of circles.) When the conversion wizard upgraded the older program, it retained the old style of not using partial classes. For form1 of the example program we will follow suit and do the same thing. So, CUTTING AND PASTING OF THIS PROGRAM WILL BE SLIGHTLY DIFFERENT THAN YOU ARE NORMALLY USED TO. The code below is clearly divided into three blocks; (block1, block2, and block3), which we will refer to in the following instructions: 1. Open ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. SetChannelVolume

    I read in another post here that SetChannelVolume is not supported on Windows. Is this still the case with June SDK The method always returns S_OK. Sorry - we'll be sure to document this issue and make the API return an error. You might want to look into the IXACTCue::SetMatrixCoefficients call instead - perhaps it will do what you need. Dugan Porter - Game Audio Team - Microsoft This posting is provided "as is" with no warranties, and confers no rights ...Show All

  • .NET Development Webservice throws exception "Expected text/xml" but got text/html

    I access a Webservice written by our client developers.I call a method written by me and return a dataset to the client.This exception happens only when more than 3 users access the application fropm their client machines. I put tracing statements in my method and even put try-catch block in order to write to a log file if exception happens.But no errors are written to the log file from my method. But the control does not go back to the client code.It would take some tinme and throws this error ""Expected text/xml" but got text/html". Does anyone know how can i find out the real problem behind this, what is the actual problem that has occured Pls help. good answer, also try hitting the web serv ...Show All

  • SQL Server Old FSO snippet of code

    Hi everyone, Does anyone has ever written VbScript .Net stuff which do anything like that I've got a dtsx package and I'd need covering along folder looking for subfolders and so on objFSO = CreateObject( "Scripting.FileSystemObject" ) objFolder = objFSO.GetFolder( "c:\test" ) colSubfolders = objFolder.Subfolders For Each objsubfolder In colSubfolders ... ... Thanks in advance and best regards, System.IO.FileSystemInfo is what you need http://msdn2.microsoft.com/en-us/library/system.io.filesysteminfo.aspx -Jamie ...Show All

  • Smart Device Development Beta of Microsoft Certification Exam 70-540

    Microsoft Certification Exam 70-540 is available in Beta form right now! This is a Technology Specialist exam for application developers in the mobility space. The Preparation Guide is available for the Exam at: http://www.microsoft.com/learning/exams/70-540.mspx . To register visit one of our independent testing providers: * Thomson Prometric: http://www.prometric.com/ContactUs/T...rs/default.htm * Pearson VUE: http://www.vue.com/ms/ Please use the following promotional codes when registering: Exam 71-540: BTA540 Best of luck! Howard Dierking Product Planner Developer and Database Certifications Microsoft Corporation Isnt Sql 2005 Mobile Edition trhe same as SQL Everywhere Also, I ...Show All

  • Visual C++ Catching iostream's cout

    Hi! How do I catch iostream's cout if would run a console program from a another "master" program For example, I have a window program that will call a console program and display its cout outputs. , Espen http://msdn2.microsoft.com/en-us/library/ms682499.aspx http://support.microsoft.com/kb/190351 ...Show All

  • .NET Development Is there a Groups property that can be used to iterate Named captures

    Hello all, If you define a pattern with named captures (eg ( <Name>^\w+ \w+) you can then reference the group directly using Groups("Name"). I would like to be able to iterate the groups by name something like this: For Each group As Group In Match.Groups If group.Name = "Name" Then ' Do something End If Next I have not been able to find a property that exposes the named capture. Am I missing something obvious here Thanks in advance for any ideas and/or suggestions! j2associates wrote: Thanks again! I know you shouldn't mix the two and that you should be consistent. Your post was helpful although it has now disappeared from the thread that I see for some re ...Show All

  • Visual Studio Settings to access printer '\\hercules\prtmark01' are not valid

    We recently upgraded our web application to VS.Net 2005 and CR XIr2 from VS.Net 2003 & CR 9.2. We load a report using the ReportDoument class from a UNC path and call the PrintToPrinter method. It works fine on .Net 1.1 & CR 9.2 but with the .Net 2.0 web app & CR XIr2 we get the following error: Exception Details: System.Drawing.Printing.InvalidPrinterException: Settings to access printer '\\hercules\prtmark01' are not valid. Here is the code we use to load the report and print it: oRpt.Load("\\pegasus\reports\warehouse\batchheader.rpt")         Dim crConnectionInfo As ConnectionInfo         Dim crDatabase As Database         ...Show All

  • Visual Studio Express Editions How to take the Value from Database

    Hi, I am a beginner of C# and a beginner of Database system. I am studying by using VS and SQLServer 2005 free of charge.But it's difficult for me to learn many things.I am stumbling in the method of obtaining the value from a data base. Please see the following... ---- SQL Server2005 Express Table: Daily ---- Create Procedure GetLastID: Return (SELECT MAX(ID) FROM Daily) ---- C# Express ---- int iCode; SqlCommand sqlCom = new SqlCommand("GetLastID", cn); sqlCom.CommandType = CommandType.StoredProcedure; iCode = sqlCom.ExecuteNonQuery(); MessageBox.Show(iCode.ToString());   ...and the result is always Minus One. Here, will it be a place in which it ...Show All

  • SQL Server Help with Sending file to server using ftp task

    Doe anyone know how to do this. I keep getting an error remote path missing "/" but it doesn't contain a "/". Mike That's what I have had to resort to at times also. Some of the FTP task functionality just doesn't seem to function like it should. ...Show All

  • Windows Forms Proper way to invalidate using a Region

    Hello, I have a user control that uses a graphic path to draw itself. The control just draws a line with two points. The user can grab on of the points and move it around to change its location. While the user is moving the point, the control is supposed to re-draw itself so the endpoint of the line will be attached to the mouse. This works fine when I do an Invalidate() on the control, but it flickers, so I want to only invalidate a specific part of the control. I'm doing a Invalidate(new Region(_InvalidatePath)); Where _InvalidatePath is is the the combination of the path I just drew and the new path that I want to draw. I get left over garbage on the screen and I don't get a line between the two points. I'm certain I'm ...Show All

  • SQL Server An error has occurred during report processing.

    While creating a new report in the report designer I can pull all the information from my cube, however later after it is created i get this message: An error has occurred during report processing. Query execution failed for data set 'MedContv15S'. Unable to recognize the requested property ID 'ReturnCellProperties'. anybody a clue I meanwhile tried to set "ConnectTo" to 8.0, however after that i get this error:   An error occured during local report processing An error has occured during report processing Cannot create a connection to data source 'MeD'. The LCID or Compare String flags have already been set by an existing connection. They cannot be changed ...Show All

  • .NET Development Try refreshing the table adapter

    It is my understanding that when using a TableAdapter and selecting the proper options, Insert, Delete and Update statements are generated. The Update statement should work just using the following: myTableAdapter.Update(changes); Where changes is the DataSet containing the modified data. This logic works great for one of the tables in the DB but not for another. Learning this new stuff is Confusing at best - Frustrating at worst. Help appreciated, Michael i' ve this problem also, but i even can't mark the chek box "refresh the data table" because it is not enabled. i use the vs 2005 express verision. may it's the reason is somebodt know if i can update the database table with the ...Show All

©2008 Software Development Network