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

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

RedLion146665

Member List

Plantron
TheWacoKid
jwhansen
sub4
TimeTrips
andreas s
DSD
vbuser1
Jiaozi
Lord of the Idiots
queryfish
kolo
Steven W.
Jamesisme
Kris Reynolds
kellyo
bobiav
kblaine
DanTi
the_real_joc
Only Title

RedLion146665's Q&A profile

  • Visual Basic System.Runtime.InteropServices.COMException (0x800A03EC): Cannot access xls file

    Hello I am trying to retrieve the Worksheet name from an Excel spreadshet so I can load into a dataset for conversion to a .csv file. I am aware that Excel has that facility built in, but the users that use Excel are not familiar enough with Excel to use that feature, it is up to me to write an application that will do this for them. (Automate as much as possible, if you will.) Nevertheless, when I try to retrive the worksheet name, which is needed for objCmd, I receive the following error: System.Runtime.InteropServices.COMException (0x800A03EC): Cannot access 'IBM Legacy RISC Inventory.xls Some code snippets are included be ...Show All

  • .NET Development Using transactions with TableAdapters

    I have several table adapters, each with an InsertCommand (among others). I call BeginTransaction before I start calling Update for each adapter. Update results in the InsertCommand being used but I get an exception because the command has no transaction. The commands are private members of the VisualStudio-generated adapter classes so I cannot access them to set their Transaction members. Is there a "proper" way to do this You will find the answer in the code sample at - http://windowsforms.net/samples/ThreeLevelUpdate.zip   Look at Form1.vb in this sample. You will find the following code. ' st ...Show All

  • SQL Server For Travis Lowdermilk

    I dont know if anyone mentioned this, but I would like to have the ability to disable objects in a Data Flow Task Travis, I've split this into a seperate thread because it isn't relevant to the previous thread. What is the scenario for wanting to do this I don't understand why this would be required or how it would even be possible. e.g. If you have a data-flow with 3 components, components 2 & 3 would not be able to execute if component 1 were disabled. The unit of execution in SSIS is a task, not a component. -Jamie ...Show All

  • Windows Forms Designers and Partial Classes

    We played a bit with the Whidbey designers today, and then switched to View Code. And oops, surprise - the code one sees is now a partial class. You can't see the designer-generated code anymore. That sounds baaaaaad to me. I want to see the code the designer creates. Please tell me that there is a way to see the code that the designers generate & ...Show All

  • Windows Forms BUG: Application.EnableVisualStyles() breaks ToolBar control

    Create a windows forms application, add an image list and load some random images. Now add a toolbar, set the imagelist to the image list previously added and then add a couple of buttons. Set the pictures for the buttons to any of the loaded images. Run the application. You should see a Windows2K style form with a toolbar and iconsied buttons. Now add ...Show All

  • Software Development for Windows Vista TypeProvider in Designer Hosting SDK Sample and Lab 10

    Hello, I've noticed in both the Designer Hosting SDK sample (WorkflowDesignerRehosting) and in the Beta 2 Hands On Lab # 10 (DesignerHostingApplication) that there is use of the TypeProvider class. In the Designer Hosting SDK Sample, the TypeProvider class is used to add an assembly reference to the assembly containing the string type in the Workflow Design Surface's constructor. The service is added to the design surface's service container. The same thing is done in the WorkflowLoader class (that extends the work flow's designer loader), except the service is removed in Dispose(). In Lab 10, the WorkflowLoader (extends the workflo ...Show All

  • Windows Forms making combobox read only

    I'm trying to make the comboboxes in my program read only so that the users can select an option but can not change the text or add options to the list.  I know how to do this in asp.net by using the .readonly property but can't seem to find anything to do this in vb.net. Tanx for any help you can give You need&nbs ...Show All

  • Visual Basic Microsoft World MRU Lists and VB

    Hi, I am trying to load Microsoft words MRU list into VB and display it on a pop up menu for a client. My client wants to be able to click a system tray icon and have the option to open a document and automatically print it. I have done this ok. My problem is however is that he also wants to be able to right click and see a list of all his recently used word files. I have not really used the registry before when it comes to reading and displaying has anyone got any ideas where to begin Thanks Tom  Hi Vikram, Thank you for your help its much appreciated. Have a nice day, Tom. ...Show All

  • Visual Studio 2008 (Pre-release) Multiple endpoints for a service hosted in IIS

    Is it possible to have a service hosted in IIS to have multiple endpoints I suppose WCF services hosted on IIS only support HTTP. But, can I have a scenario whose config is shown below : < system.serviceModel > < services > < service type = " PaymentGatewayService.Payment " > < endpoint address = "" binding = " basicHttpBinding " contract = " PaymentGatewayService.IPayment " /> < endpoint address = " wse " binding = " wsHttpBinding " contract = " PaymentGatewayService.PaymentWSE " /> </ service > < ...Show All

  • .NET Development Problem with TransactionScope and Swedish OS

    Hello. We are trying to run a piece of code that looks like this: DBManager target = Factory_CreateDBManager(); using ( TransactionScope scope = new TransactionScope ()) { CompanyDataSet . CompanyRow company = target.GetCompany(UnitTest. Constants .CompanyId); company.Com_Name = name; target.UpdateCompany(company, lastAlteredBy); } When we run it on a English WinXP there is no problem. When we run it on a Swedish WinXP we get this exception: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager has failed. ---> System.Runtime.InteropServ ...Show All

  • .NET Development config file and RegisterChannel()

    hi, i'm running .net remoting server with user channel. it's config file is like : < channel type ="ChannelClass, dll" port ="2200" priority ="100" interface ="localhost"> < clientProviders > < formatter ref ="binary" /> </ clientProviders > < serverProviders > < formatter ref ="binary" typeFilterLevel ="Full" /> </ serverProviders > </ channel > i had no problem in framework 1.1 to call in server code RemotingConfiguration.Configure(pathToConfig) ...Show All

  • Visual Studio VSHPROPID_ParentHierarchyItemid?

    Hi, my project system is based on native C++ and the hierutil library. I have a situation where if I select more than one item in my project hierarchy an assert gets fired in hu_archy.cpp on a request for the above property. The assert is fired because the item id given to the hierarchy GetProperty call is not VSITEMID_ROOT (it's actually one of the nodes selected). I've tried reproducing this with FigPkgs or BscPrj but with these projects the request for the property is never actually made. Clearly something specific to my project system is causing the problem, but I'm not sure what. Can someone with access to the VS sources tell me what ...Show All

  • Smart Device Development anti-virus software for a PDA that runs windows mobile 5.0

    i recently purchased a dell axim pda and have wireless software installed. i have tried desperately to find anti-virus software for the pda. i've looked at the mcafee and symantec websites and the only software they have for pda's will work on windows mobile 2003. any suggestions This forum is dedicated to device development. Please post to relevant news group instead: http://support.microsoft.com/newsgroups/default.aspx Closing as off topic. ...Show All

  • Windows Forms System.Deployment.Application.InvalidDeploymentException on some machines

    Hi! I'm getting the following exception when trying to install my ClickOnce-App on some machines: PLATFORM VERSION INFO  Windows    : 5.1.2600.131072 (Win32NT)  Common Language Runtime  : 2.0.50727.42  System.Deployment.dll   : 2.0.50727.42 (RTM.050727-4200)  mscorwks.dll    : 2.0.50727.42 (RTM.050727-4200)  dfdll.dll    : 2.0.50727.42 (RTM.050727-4200)  dfshim.dll    : 2.0.50727.42 (RTM.050727-4200) SOURCES  Deployment url   : http://192.168.23.105/system3/System3.application      &nb ...Show All

  • Windows Forms Application icon is not shown in ALT+TAB menu

    Hi All, I am having two windows form. One is a splash screen and another is LogIn screen. Splash screen has properties like ShowInTaskBar=false and FormBorderStyle=FixedToolWindow since I don't want to show this screen in taskbar as well as in ALT+TAB menu. But for Login Screen both the properties are default (ShowInTaskBar=true;formBorderStyle=None), since Login Screen is shown I have to show icon in ALT+TAB as well as in taskBar. Form sequences are given below. 1> Initially splash screen comes up. 2> After few seconds Login screen come on top of it. 3> Once user clicks ...Show All

©2008 Software Development Network