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

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

nstraub

Member List

Mike Duke
ISP Maker
Kishore Wani
James Walters
ManicFiddler
Frank De Koninck
Amit Pandya
Ronald S
treasacrowe
Itsme850
rcurrie
Fabrizio Valenti
dragank
Scotty_C
gold444
Brian Walters
Jayson Valencia
dasl
Christin-MSFT
Young Joo
Only Title

nstraub's Q&A profile

  • SQL Server How to ignore compile warning messages in VS.NET 2005

    Does anyone know how you can go about setting the VS.NET 2005 compiler to ignore SQL Reporting Services warnings (such as rsOverlappingReportItems) This would be something similar to what you can do on normal projects in C#, where the properties for a project has an option to "Supress Warnings" under the Errors and Warnings section of the Build tab. ...Show All

  • Smart Device Development Can't append menu items to command bar menu after migration from EVC4

    Hi I've migrated my project from EVC4 to VS2005. It's targeting Pocket PC 2003. I'm trying to append menus to a CCommandBar like this: CMenu *menu = AfxGetMainWnd()->GetMenu(); CMenu *submenu = menu->GetSubmenu(0); submenu->InsertMenu(0, MF_BYPOSITION, 100100, L"test"); AfxGetMainWnd()->DrawMenuBar(); The function doesn't return any errors, and in fact the number of items returned by submenu()->GetMenuItemCount() increases by one, so it seems that the item is added. However, it isn't displayed. I tried deleting items, and the same thing happens there - no errors, but the item is still there. I tried getting the menu ha ...Show All

  • Visual Basic Blair Allen Stark

    Here is the problem I am working on. It asks me to use the method CalculateCharges, but I don't fully understand how to do this or how it works. I would be grateful for any input. Lab Problem III A parking garage charges a $2.00 minimum fee to park for up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour period is $10.00. Assume that no car parks for longer than 24 hours at a time. Develop a console program that calculate and displays the charges for each customer who parked a car in this garage yesterday. ...Show All

  • Visual C# Exceptions in designer - how to find?

    Hi, I have a control added to a form and whenever I open that form it tells me that an exception was thrown in the control and thus it's disabled in the form. However, I can't seem to find where this exception is thrown and everything is fine at runtime. Is there a way to break on exceptions at design time Thanks, Tom The immediate window is included in Visual Studio 2005 beta2. You are most likely to find the command that opens the window in the Debug->Windows menu. Best regards, Johan Stenberg ...Show All

  • SQL Server Linked Server to Informix

    I have set up linked servers before but not with INFORMIX. I was wondering what criteria goes into the product name and data source fields in the new linked server window when connecting to an INFORMIX server. I have SQL Server 2005 installed on my machine and have also installed the informix drivers on my machine. Has anyone had to do this before Any help is appreciated. Thanks, Matt Not sure if you got an answer, but.... The provider name does not seem to matter, but I put the name of the Informix OLEDB driver, ifxoledbc The data source is database@InformixServer . Hope that helps. ...Show All

  • .NET Development TableAdapter insert/update/delete order

    I have a typed-dataset with a dozen or so tables which are hooked together with typical on-to-many and many-to-many relationships. I'm using table adapters to do the CRUD actions. For updates I was using: //Update parent tableadapter_parent.Update(dataset.parenttable); //Update child tableadapter_child.Update(dataset.childtable); But I am getting foreign key reference errors when deleting records because the adapter is trying to delete a row from a parent table but it can't because there is a FK refrence to it in a child table.  But if I reverse the order of the table adapter update calls so child tables are updated before p ...Show All

  • .NET Development Data type mismatch in criteria expression

    Hi there,   I am trying to edit and update a chosen database record, the edit part is working properly but the update isn’t. I get the following error: “OleDbException (0x80040e07): Data type mismatch in criteria expression. System.Data.OleDb.OleDbCommand.ExecuteReader (CommandBehavior behavior). All fields In my database are type Text. Should my update statement include everything in the database even if I am not read everything Help will be appreciated. Regards.     Public intID As String Public strFirst, strName, strTeam, strFloor, strTel As String   Private Sub Pa ...Show All

  • Smart Device Development cell event of datagrid ?

    I write a crosstab query, it be binded in a datagrid control. as shown: Company    master  bachelor -------------------------------------- companyA     40         38 companyB     65        67 ---------------------------------------- I want to do it : When I click one of cell, it will shown a list of name details. for example : when I click ' 40 ', it will shown "Milk, Tom, Joan......" How can I carry it out in the datagrid I was at a loss.Thank you everyone.   You ...Show All

  • Visual Studio Team System Get Latest Version changes a file's 'Date Modified' and 'Date Created' attributes

    Hi, We are currently using Team Foundation Server as our source control solution for a pilot project. When a user right clicks on a file in 'Source Control Browser' in Visual Studio 2005 and selects 'Get Latest Version,' he/she gets the file without any problem. However, the 'Date Modified' and 'Date Created' attributes of the local file are set to the time he/she got the file from the source control. It is important for us that we get the files with the exact date attributes that they were checked in with. Use-case senario: -User A modifies a file on June 20th and checks it in. -User B gets the latest version of the file on J ...Show All

  • Visual Basic Does calling a function from a dll created from VB class library spawn a new thread when run or it uses the thread that call it?

    Hi all Just to check, when i created a dll using the VB class library. Does the application spawn a new thread when i call function in the thread or it used the thread that call it   Regards Soon Lee create a delegate to the function and use begininvoke is sometimes the easiest.   Lookup BeginInvoke in help ...Show All

  • Visual C++ Intellisense updates very slowly, and blocks builds - what can I do?

    I'm working on a fairly large program, and the NCB file quickly rises to 90MB, especially after edit-and-continue. Intellisense keeps firing up and showing "Updating intellisense" in the status bar, for several minutes at a time - but much worse than that, it appears to be (read-)locking files that a build needs, so if I use edit-and-continue, then stop debugging, the build that fires off collides with Intellisense and fails, and manual builds fail too, until Intellisense stops. VC7 wasn't anywhere near this bad - it occasionally got confused, and didn't always understand namespaces, and it helped to delete the NCB sometimes ...Show All

  • Windows Forms OLE calling and STAThread

    I have an custom control, defined in class library that dynamicly constructs context menu, and makes "Paste" item visible only if there is any text at Clipboard (..GetDataPresent(..)). Main function is attributted as STAThread, but when void of Menu forming is calling it cause following exception: "You must set STA threading model for making OLE calls, check tha ...Show All

  • SQL Server Can't save package to Server (No description found) ERROR - Again

    Hello, I need some help with installing release copies of SQL05(+SSIS) and VS05 on Win03R2.  It is very frustrating when a basic install fails. I’ve been going round and round with this.  M$ support has not been of help yet. I have a new development box for SQL05/VS05 development, and when I do a clean install of release software from MSDN: Windows Server 2003 R2 ent; SQL Server 2005 dev; Visual Studio 2005 pro I find that the "save to server" in SSIS (and other utilities that save a package) fails with a non-informative message *No Description Found* (see error text below). To setup this box I install Win03R2 first, promote ...Show All

  • Visual C++ 'static binding' with C++/CLI?

    After asking this question in the VC++ Express forum and not receiving a single answer I gather this forum section might be a better place to search for answers. I have a C++/CLI solution I created in VS2005 Express consisting of a windows forms project (the main programm) and a few libraries - now I'd like to create a single executable instead of an executable and a bunch of dll files. As I can't create static C++/CLI libraries (or can I ) how else can I compile them into a single executable Simply moving the header and cpp files from one project to the other didn't do me any good. Any ideas what I should look for when trying to combi ...Show All

  • Visual C# How do I change values in a ListView programmatically?

    I am writing a small program to discover devices on my home network by pinging the entire subnet, then reporting the results in a list view. There are other programs out there that do this already - this is just a learning project for me. I want to do this in a multi-threaded manner so it will be fast. I have the ping portion worked out, and I think I can handle creating the thread pool. My problem is that I want to list all of the IP addresses in the list view (so they will be in the right order) then have the list view update as nodes are found. It would look something like this: IP address Reply 192.168.1.1 ...Show All

©2008 Software Development Network