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

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

Minherz

Member List

nagual20
DiamonDogX
pAbLoPiCaSsO
P Cause
Omar Fawzi
Stijn Van Hamme
rwerner
rykk
Alex S-D
Basiclife
code jockey
trun_gup
Juergen Lorenz
Richard Bourgeois
Brandon Bloom
ititrx
Vlad Shimov
Airseir
BobConsultant
simsen
Only Title

Minherz's Q&A profile

  • Visual Basic how to not show a column in a DataGridView that's using a BindingSource

    I am tring to get my ID column in the DateGridView not to show. I went in the properties of my DataGridView under columns and then under my ID column properties put visible equals False. However, when I run my application my ID column still appears. Does anyone have any idea as to why my ID column is still showing when the application is run Exclude it from your DGV.Columns collection. If you need to get to it, refer to your BindingSource.Current. Cast it as the object type you want and then you can hit the property directly. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All

  • Visual Studio Tools for Office VSTO and dead code.

    I've built COM add ins for PowerPoint XP and 03 that work perfectly, now I am trying to get them to work in Office 07 and am getting no where. The problem seems to be that when I call an out of process (microsoft encoder) my code dies. There are no errors thrown, there is ummm, nothing, just dead code. As an example; Set encoder blah, blah, blah encoder.start Msgbox "Done". In the above the encoder indeed starts, runs as expected, and then, zip, nada, nothing. Its as if the rest of the msgbox doesn't even exist. What is your dev environment to build your '07 project Are you trying to rebuild your COM addin using VSTO 2005 SE There are not much clues to go on from your ques ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. No Starter Kit

    This is frustrating. In File, New Project I am only seeing "Windows Game Library (XNA)". I don't see the Spacewar starter kit or Windows Game (XNA). Once I realised it was supposed to be registered first, I did that and reinstalled. Same problem though, no starter kit. If you don't see it please file a bug and let us know some of the details about your system. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=682902&SiteID=1 Thanks! ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. "Your first game" graphics device errors

    I'm working on trying to get the "Your first game" code given in the Help documentation to work. I had an exception when accessing the graphics device which I solved by turning the multisampling option to "off". Now I have another exception which occurs when I attempt to load a sprite texture into the graphics device. This texture has been added to the project and so it's where it should be. I'm thinking maybe it's just my GeForce4 graphics card is not supported by XNA. Any thoughts on this Here is the code where the exception occurs: <code> void LoadResources() { myTexture = Texture2D .FromFile(graphics.GraphicsDevice, "ptah1.gif" ); <<<<<< Exception thrown ...Show All

  • Software Development for Windows Vista Rule Engine - Stands alone?

    Hello, I was wondering is it possible to use the rule engine as a stand-alone piece of infrastructure Or do I have to use it only in the context of a workflow. Are there any existing examples where there rule engine is used on its own, and not as part of a workflow. Thanks Houman Hi VSTO for Office 12 is not available yet, so you cannot run that sample unfortunately on Vista. To answer your original question - yes rules can be used outside of workflows. Basically rules will operate on a target type. When running inside a workflow, that target type is the root workflow object; but it can infact be any .Net type. Moustafa has this on his blog - http://blogs.msdn.com/moustafa/archive/2006/ ...Show All

  • Software Development for Windows Vista LessThan cannot be used on decimal type ?

    How do you do comparisons on currency values in rule conditions I want to do a simple discount test for a price < 50.00, where price is decimal type. Am I missing something easy Unless I am missing something, this works for me without the extra m on the RTM bits. I used an int OrderValue and in my rule, I compared it to 29.99 and worked just like that. ...Show All

  • SQL Server New query based on SOME fields returned in another query

    I need to have two queries, the second query uses some information from the first query but the second query's results is not a subset of the first query. this is my first query select name, date, company, valid from tbl1, tbl2, tbl3 where valid=0 Then I need to take the person's name to do another query, but I don't need to look in the first set of results to get what I need. It is a brand new query just with the name as the parameter. select name from tbl4 where name = @name Right now I have the second query getting it's parameter from the first query in RS. The two queries are two different data sets BUT my second query is limited by the results from the first query. How do I get the second query to be it's own query not ...Show All

  • Windows Forms Process arrow key combination

    Hey, I am trying to process arrow key combinations (for example when a user presses Up and Right). The KeyDown event will not work because it does not handle the arrow keys. ProcessDialogKey will not work because it is fired seperatley for each key (so once for up and once for right). I could do a timer to make see if the keys were pressed quickly but that seems over complicated for something like this. Does anyone have any ideas on how this can be done easier Thanks. UserControls can process arrow keys in KeyDown if you override IsInputKey and return true for the arrow keys. I wasn't sure if you were trying to write a method that could work on any control or on a particular control that you were writi ...Show All

  • SQL Server how can i get this query

    Hi can anybody give me a suggestion to get result like Student Computer Geography Social ID Name ID SEM Marks ID SEM Marks ID SEM Marks 1 ABC 1 1 80 1 2 35 1 3 88 2 CDE 2 1 60 3 2 65 2 3 45 3 XYZ 2 2 55 3 1 67 3 1 75 and I want OUTPUT as below Name Com ...Show All

  • SQL Server slow respons time from reporting service over sharepoint

    I am running SQL 2005 reporting services on a windows 2003 machine with SharePoint over SSL My reporting services web directories are virtual directories under the SharePoint website. I am having a problem with loading https://sharepoint.mysite.com/Reports/Pages/Folder.aspx When you first open IE and bring up the page it takes about 30 seconds to load. Once you have connected via any machine, all other machines can connect at normal speed 1-2 seconds. All testing is being done on our LAN so there is no bandwidth issues when opening the pages. My guess is that something is going into a sleep mode, but I am not sure where that would be set. Thanks for any suggestions Robert After ...Show All

  • SQL Server Querying multiple databases

    Hello, This is probably a simple solution but I'm a bit confused about which flows to use. I have two databases on different servers that contain the same information but for the appropriate server.  I want to retrieve data from each of the servers using a "select" statement. Would I use a ForLoop and change the connection in a Script Task and then execute the SQL statement   Or can a ForEach Loop be used, but I'm not sure which type of enumerator. Thanks for any help you can give. You can change the connection string using property expressions. Select the connection manager, find Expressions in the Properties panel, assign property ConnectionString using a variable. Now the variable ...Show All

  • Visual Studio Team System Team Project Creation Failed

    Hi I have just installed and configured the VSTS foundation Server 180 Day Trial Edition. When I create a new team project with my user credntials (which have been added to the TFS Admin group and SQL Reporting and Sharepoint) I get the error below. When I create a new team project using the TFSSetup user the project creation is successul, however I am unable to retrieve work items from the Project from Excel or Project. I get the following error "TF80066: You are not authorized to porform this operation. Please contact your Team Foundation administrator." I am not sure if the problems are related. Any help would be greately appreciated. Cheers Jock Error TF30004: The New Team Project Wizard encountered an unexpected erro ...Show All

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

    Wow, I'm full of problems today. public static Cue Play(Sounds sound) { Cue value = soundbank.GetCue(cueNames[(int)sound]); value.Play(); return value; } This simple method takes in a Sounds enumeration, which I made based on the XNA framework starter kit. The enum basically is the string[] index for the proper sound in the soundbank. I could just as easily (and have) replaced the cueNames reference with an actual sound name ("laser") in this case. The problem is, whenever my program hits the bolded line up there, it crashes, throwing an InvalidCueException at me. This exception is very sparse: "External component has thrown an exception." There is no inner exception. That's pretty much all it ...Show All

  • SQL Server sp_helprotect error if no matching rows

    Why does sp_helprotect throw an error if there are no special security permissions for a specified @username   Why not simply return a blank resultset   This makes the procedure a hassle to use when trying to capture results into a table as part of another stored procedure (use it for auditing). [Edited]The same problem occurs when I execute xp_logininfo to get the list of members for a group that has no members.  Instead of just passing back some sort of status, the procedure blows up and keeps me from scripting the procedure. Am I just missing something Brandon This is good to know. We are only just starting to use SQL 2005. In fact, I accidentally posted my question here instead ...Show All

  • .NET Development How to read the record data (byte array) while writing a Metafile (WMF/EMF) and edit it

    Hi! Need your ideas urgently! I have a metafile which I wish to convert to PDF on the fly. The idea is to create a metafile template with placeholder text, which will be parsed and replaced by user information at runtime before generating the PDF. When editing the metafile, I have progressed to the following steps: 1. Called the Graphics.EnumerateMetaFile() method, which calls the callback method (lets call it ‘Play’) 2. Called the callback method and obtain the record data public bool Play( EmfPlusRecordType recordType, int flags, int datasize, IntPtr data, PlayRecordCallback callback) { byte [] dataArray = null ; if (data != IntPtr .Zero) { dataArray = ne ...Show All

©2008 Software Development Network