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

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

SuzanneWeiss

Member List

Ambious
Melterx12
Adhi78
Wicket
davemord
cheekster
mojoshaneman
Steve Gadoury
herbjörn
Maeglin
Flamin
Adminanup
shahrul
pfongkye
Jacawa
A Pham
flash.tato
pkv
David100
sabo
Only Title

SuzanneWeiss's Q&A profile

  • Visual Studio 2008 (Pre-release) Alias in LINQ?

    How about allowing the use of alias in LINQ I have a blog and I'd like to get the number of comments for each post. Printing post.Comments.Count will query the database for each post, and will pull the post's comments. This is unneeded and a situation I want to prevent. I can't use an anonymous type because this is a set of posts I return from a method: IEnumerable<Post> GetPosts() { ... } I thought maybe I could extend the partial Post class with a property named CommentCount, and assign a value in the LINQ query: from p in db.Posts select p,p.CommentCount = p.Comments.Count() Then the count will be inside the query. Thanks! Thanks! However, var q= from t in db.Tag ...Show All

  • .NET Development How to indentify a managed exe or dll.

    What's the best way to identify a managed exe or dll so one knows what debugging interface to use. Thanks. - Dan. GetVersionFromProcess() will return E_INVALIDARG for a running process thats not managed code. GetRequestedRuntimeVersion() returns S_OK but the version string is empty when a you call it with a not running non managed code exe. If I load an exe into Visual Studio and press F5 is that how it determines what debugging interface to use - Dan. ...Show All

  • Visual Studio Express Editions Card Generator Issues

    I've been trying to write a basic Texas Hold'em program. Anyway, everytime I run this code I get the same card twice over. My guess is that maybe there's no change in the system clock during this time, so the same card is generated. I haven't gotten to the point where I allow a single card to be used only once. I wasn't sure if it was necessary. Could someone please look over the code and verify Also if I'm not in the right forum could someone move this to the right one, or direct me to the right forum. - JJ /* Header: iostream Reason: Input/Output stream Header: stdlib Reason: For functions rand and srand Header: time.h Reason: For function time, and for data type time_t Header: cstring Reason: For strings ...Show All

  • .NET Development Create table access database?

    I have access database,one table Table1 and I wont to create another table but with the same structure as the table Table1 (columns: Broj iksice,Prezime,Ime,Broj indeksa,Broj pohadjanja). I used this code: Dim veza As OleDb.OleDbConnection = New OleDb.OleDbConnection(Global.Diplomski1.My.MySettings.Default.Studenti1Connection) Dim comm As OleDb.OleDbCommand = New OleDb.OleDbCommand("CREATE TABLE Marko ([Broj iksice] DOUBLE PRIMARY KEY UNIQUE, Prezime TEXT(30) NOT NULL, Ime TEXT(30) NOT NULL, [Broj indeksa] TEXT(20), [Broj pohadjanja] INTEGER)", veza) comm.ExecuteNonQuery() for creating table in the database. Code for creating table in the dataset Studenti1Data Private Sub Button6_Click(B ...Show All

  • Software Development for Windows Vista DVD Title on REV Disc

    Hello, I wanted to know if it is possible to create a DVD title, as per the DVD Video Standard, on the REV Hard Disk Or for that matter any ATAPI Hard Disk What are issues for the same. Thanks, a You can get the IMAPI documentation as part of the MSDN library at http://msdn.microsoft.com/library/default.asp url=/library/en-us/imapi/imapi/portal.asp IMAPI does not support HD DVD and BD-R at this time. OSTA's UDF specification recommends UDF 2.50 for HD DVD and BD, with the exception of BD-R POW for which it recommends UDF 2.60. Type 5 devices refers to MMC indeed, but not particularly to the revision 5 of this standard. Type 5 is defined as part of SPC, Scsi Primary Commands - see www.t10 ...Show All

  • Visual Studio Tools for Office VSTO Word doc design error when adding an numericupdn

    Every time I add a numericupdn control (or any control for that matter) I get the following error. This is in VSTO for a word document. I'm adding the control into a table cell. If I let the designer drop the control where it wants to it is fine, but if I try to place it where I want I get the error. I have Windows XP and am using Office 2003 SP2. Designer failed to load correctly. Then in the Error list I get... Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION) System.Runtime.InteropServices.COMException (0x80020009): Exception occurred. (Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) at Microsoft.VisualStudio.Tools.Applications.Runtime.IHostItemProvider.GetHostExtender(String extenderT ...Show All

  • Visual Basic Toolstrip Questions

    In VB 2005, I have a toolstrip that is inside a panel and docked to the left of the form. I want to place buttons such as Home, Inventory, Contracts, Purchasing etc in the toolstrip that start in the top center of the toolstrip and then below one another but I am unable to achieve this. I have looked at all the properties of the toolstrip but cannot find what I am looking for. I have images for the buttons and want the images to appear there as well. I really just want to be able to select the options on the left so that the other forms are displayed on the right hand side. Dipendra ...Show All

  • Visual Studio 2008 (Pre-release) SqlMetal - Templating the generated code

    I've been playing with SqlMetal and wondered if your planning to allow developers to control what sort of code is generated For example if your using a framework like CSLA you'll need to put code in specific places in the properties on the "entities", I'd like to do that inside Visual Studio rather than having to buy/use something like Codesmith for it. ...Show All

  • SQL Server sharing constant definitions between stored procedures

    I want constants, and variables as well, defined in one stored procedure to be accessible by other stored procedures. How may this be accomplished (Is there a Transact-sql equivalent for the include statement in C#, C++ That would a quick way to allow constants to be shared, for instance.) I am not sure u can relate any command in SQL to INCLUDE Stament of C#.... AFAIK.... there is no equivalent.... But there are ways to hadle situation like this... u can create function (there are three type of function Refer BOL) and call that function where ever u want.... Madhu ...Show All

  • Community Chat Redirecting windows messages to a control.

    When you use the mouse scrollwheel it is the control that has focus that will get the message and process it. This is not always what you want it to do. For instance in a windows explorer scenario, you expect it to scroll the control the mouse is over so even if an item is selected in the listview and you hover over the treeview and scroll it you should still have focus on the selected item in the listview.   With a messagefilter the scrollwheel messsage can be captured, cancelled and redirected to the control that you want should get the message. Without changing the focus of the controls.   In windows forms you usually have few ways to handle windows messages before the controls events get raised. One way ...Show All

  • .NET Development Passing Public encryption key

    I wondering if there is a way to pass an object through a socket connection. For example the following code is from the samples that ship with Visual Studio. At the bottom of the sample snippet the bob Person object is given the public key for alice. Is there a way to then pass this object to another application, for instance a chat application. I'm trying to add encryption to a simple chat program using sockets. // Instantiate 3 People for example. See the Person class below Person alice = new Person("Alice"); Person bob = new Person("Bob"); Person steve = new Person("Steve"); // Messages that will exchanged. See CipherMessage class below CipherMessage aliceMessage; CipherMe ...Show All

  • SQL Server isnull func in Coditional split Tran

    All, I need to use ISNULL function in a Conditional split transformation. Data will be split based on the ISNULL function. ISNULL( col) can get all the null records, How to get the not null records ISNULL(col) = “false” doesn’t work. Thanks in Advance Thank you! I was mixed up. I was trying to find the IISNULL (with two "I"'s function) and it doesn't exist. Barkingdog ...Show All

  • Windows Live Developer Forums Find() error message

    hello everyone, when I use Find() to search an address that is not exsit, it will return a pop up error message, does any one know how to get rid of the message box Yuki Hi Yuki chen, If u dont want any of the messages to be popuped. then use < style type ="text/css"> #myMap_vemessagepanel { visibility : hidden ;} </ style > < style type ="text/css"> #myMap_vemessagepanel , #threeDNotification { visibility : hidden ;} </ style > And user your own messagediv to display the results. ...Show All

  • Visual Studio Retreiving project for an unbound recipe

    I have a recipe that I am developing, and need to determine the project that my recipe was executed against. Say I have three projects and I right click on the second project, and execute my recipe. How do I get a referance to the second project I've also posted this over on the guidance automation site forums: http://www.guidanceautomation.net/cs/forums/512/ShowPost.aspx Any help would be appreciated. Wayne Please clarify one thing: 1) You mean you need to determine which project was right-clicked on in order to determine if your recipe should show or not or 2) You just need to have the project that you right-cliked on available from your recipe's action code. thanks, -Victor. PS. I ...Show All

  • Internet Explorer Development IE7 and issue with TrackPopupMenu(Win32) within ActiveX-control

    Hello. I have a trouble with calling win32-function TrackPopupMenu from ActiveX in new Interner Explorer 7 (RC1 and all betas). The situation is: I have some ActiveX-control - "MyPopupMenu". This control is being used to show context popup menu. To do it, it used win32 function from winuser.h. There's an issue with one of them - TrackPopupMenu. Control has worked fine in IE6, but in IE7 it doesn't. When TrackPopupMenu is called in non-dialog window, nothing happens! There's no popup menu (it was constructed by calling CreatePopupMenu and InsertMenuItem previously). But popup menu still works fine in dialog windows (ones that created in script by window.showModalDialog). Can anybody help me THX. I was also ...Show All

©2008 Software Development Network