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

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

Vasquez19

Member List

nothingmag
makeer
XP_2600
Mahmoud_Fayed
batterhead
randomblink
awesj
Matt Lin
pgago
NRJ
Beej80
shimshon
General Fault
riant78
TimGL
Curt Broyles
TestEng
SoniaJulka
akin_l
ryxyr
Only Title

Vasquez19's Q&A profile

  • .NET Development Accessing USB Port using Visual Basic.NET

    Hi all, I am currently doing some programming task to access USB port via VB.NET SE. The program is supposed to control the device connected via USB and I have some problems in what class or namespace I ought to use. Can anyone help me with this problem Thank you very much. Sir, I am developing same kind of project. Can you guide me on this context. I have developed an application which is used to detect USB devices but I want to control them without using registry. Kindly reply me on chris_x_love@hotmail.com . I believe we both can help each other. Kindly help me out. ...Show All

  • Windows Forms multiple projects in a solution

    Hi, i get problems when i have multiple projects in my solution, each time i debug and make changes after that, i get... Error 2 Unable to copy file "..\..\..\ControlsLibrary\ControlsLibrary\obj\Release\ControlsLibrary.xml" to "bin\Release\ControlsLibrary.xml". Access to the path '..\..\..\ControlsLibrary\ControlsLibrary\obj\Release\ControlsLibrary.xml' is denied. Costing and i need to exit .net and get in again. how can i prevent this any command line thingi to clear the hold on the file S I see you are using VB 2005 for your projects. There is a performance hotfix available for VB 2005. See Chris Mayo's post for more info. ...Show All

  • .NET Development Quick Start Sample MultipleSchemas

    I am developing a Validation Schema for a few large applications. We want to be able to share the portions of this schema that are appropriate between applications. We decided to do this by using multiple schemas. In my research I stumbled across the quick start example in: Microsoft Visual Studio 8\SDK\v2.0\QuickStart\howto\samples\xml\MultipleSchemas\cs\MultipleSchemas This sample uses two different schema files to completely define the type book. This looks like exactly what we need however the sample doesn't work properly. For example there is an entry in books.xml that is as follows: <book genre="novel" publicationdate="1967" ISBN="0-201-63361-2"> <title>The Confidence Man</title> ...Show All

  • Visual Basic Upgrade Wizard Fails at Form Parsing Step

    Hello. I am upgrading one exe project of a VB6 group and will have COM interop components. During the execution of the Upgrade Wizard, a run-time error "System Error &H80004002 (-2147467262). No such interface supported" occurs. The dialog caption contains the name of a UserControl. Once I accept the message the Upgrade Wizard completes. I am running VS2005 SP1. What can I look for as the cause of this message and what possible effect did it have on the upgrade Thank you. Hi Steuckra, If you can please send me a small project with the usercontrol that reproduces the problem I'll be glad to take a look. You can send it to JohnHart at Microsoft.com ...Show All

  • Windows Forms Automate PDF reading

    Hi, I am trying to use the acrobat reader to read and view the pdf file. When I am using the acroPDF it works fine except it doesn't have the function of searching text (that opens the search panel and do the search). I have tryed objects like AcroExch.AVDoc but it can't create the type defenition of it and it said that a class doesn't registered. I checked it in registry. It doesn't exist there. Here the example of code: <code> // Create an Acrobat Application object Type AcrobatAppType; AcrobatAppType = Type.GetTypeFromProgID("AcroExch.App"); Acrobat.CAcroApp oAdobeApp = (Acrobat.CAcroApp)Activator.CreateInstance(AcrobatAppType); // Create an Acrobat Document object; Type AcrobatPDDocType; ...Show All

  • Windows Forms mshtml not returning results

    I am working on creating a CCW, but am testing my code in a Visual Basic .NET 2005 with .NET 2.0 windows application. I am trying to get all of the href attributes from a web page. I have been looking around, and have found very helpful stuff that has gotten me to where I am, but now I am stuck. In my code I try to get the links from the links collection, and roll them out in a text box, but it is saying there are no links in the collection, but I know there is because if I use the webbrowser control it returns many of them (I can't use the webbrowser control in this circumstance though). Here is my code: [CODE] Imports mshtml Imports System.Runtime.InteropServices <ComVisible( True ), ComImport(), Guid( "7FD5 ...Show All

  • Visual Basic suppress exception text in immediate window?

    This is not particularly a VB question as it is an IDE question. Is there a way to suppress the display of first chance exception text in the immediate window My app throws a plethora of expected errors as I'm building a database. I trap these errors and handle them and the code works fine. However, I have other debug output that is being lost in the flow of exceptions. Is it possible to tell the IDE not to display the first chance exception notification in the intermediate window I'll bet it's an attribute somewhere, eh Thanks! Sean Found the answer - google is your friend. Open the Output Window, right click, uncheck "Exception Messages". Voila! ...Show All

  • SQL Server "Current day" MDX

    Hi, is there any "update" on how to do the "current day" as a set in MDX with SQL 2005 based on the actual system date If you don't want to base that on the system date is this still the "best practice" to introduce some "flags" in the time dimension to identifiy the actual day, last week, ... Just the way it was introduced with the BI Accelerator tool... Thanks, Have a look here: http://support.dspanel.com/help43/Web_Part/Examples/MDX_Examples.htm Regards Thomas Ivarsson ...Show All

  • Visual Studio Team System Ignoring system tables and procedures

    Is there a way to not import system tables and procedures into a project I believe when the source database you are importing from has the option for system tables and procedures to not be viewed they don't import. Since we are trying to import from our production environment we don't have permissions to change these settings. Also going through and selecting all the system tables and procedures to be skipped is a pain, so maybe giving an option like Ctrl click to click mutiple objects to skip, or shift click to select most of a list, or just anything so you can skip multiple objects more easily. Actually they are created by the Database Diagraming tools in SSMS and Enterprise Manager, and since these ...Show All

  • SQL Server Can't Route to another LOCAL Broker Instance

    I have two databases (A and B )on the same SQL Server instance. Both have SSB enabled and running fine within themselves. All athorizations are at present set to dbo. Recently I had a requirement to start a dialog and send a message from within data base A to a queue via a service that is in database B. I tried coding the SSB instance in the BEGIN DIALOG then I set up a route and tried that. On both occoasions I got the following on sys.transmission_queue "An exception occurred while enqueueing a message in the target queue . Error : 916 , State : 3. The server principal "sa" is not able to access the database "B" under the current security context ." Is this sometjhing to ...Show All

  • SQL Server Upload a Sql website to a host server

    Hi I have built a site in Visual Web developer Express 2005. it works fine on my local machine but when I load it up to the server I get the following error message: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) My connectionstring in my web config file: < add name = " ConnectionString " connectionString = " Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True " providerName ...Show All

  • SQL Server SQL Server Express won't install with default service name

    Anyone else had this problem I think I had a beta installed at some point. After a dozen attempts, I got SQL Server Express to install, but I had to change from the default service name (SQLExpress). When trying to configure the .NET samples that come with Visual Studio 2005, the ConfigSamples.exe does not recognize that I have SQL Server Express installed. I suspect this is due to my non-default service name. I have verifed that there is not a service installed (at least according the Services Admin Tool) that is named SQLExpress. I just dropped over $600 for a personal copy of 2005 Professional, and I would just like to view the samples. Someone take pity on my poor soul and help out. I promise to help you help me and show much ap ...Show All

  • Windows Forms How to create an instance of System.Windows.Forms.AxHost.State ?

    I am writing an user control, it would add the ActiveX control by checking the installed version of Office Web Component SpreadSheet (currently there are OWC11, OWC10, OWC components). After checked the installed version of OWC, I create the instance of the axXXX library which generated by vs.net 2003 & add this instance to UserControl.Controls. If I do nothing more then it would be OK, but I wish to set the CSVData property of the instance after the constructor of the UserControl finished. I got an error said that OcxState of the OWC instance is valid. I noticed when I drag & drop the OWC control into the UserControl, the designer would generate the code such as : owc.OcxState = ((System.Windows.Forms.AxHost.State) ...Show All

  • Visual C# How to read a binary file into String?

    Please note my binary here does not mean the 1s and 0s, but those unprintable characters. I tried to use File.ReadAllText() but found that the data has been changed. And if I use File.ReadAllBytes(), then I found that in order to convert Byte[] to String, I need to define an encoding. But the data is not a language text but actually some image data. What is the best way to convert a byte array of unprintable character to String Please help. I will grade your answer. Thanks Matthew Watson wrote: If it is not text, why do you need to convert it to a string Why not leave it as an array of bytes Good question. The reason is that I need to manipulate the content by adding some text in ...Show All

  • Software Development for Windows Vista Taskbar Thumbnail API

    Our app currently does not display properly in the taskbar live thumbnail in build 5384.  It seems to not display any popup windows in the thumbnail.  Is there an API that allows us to construct our own thumbnail for this (or can we turn it off) Thanks. Is there any way to control the taskbar thumbnail I need my WPF app's thumbnail to be pretty much anything *but* the window content just before minimize. The live window content would be great. A static image of my choosing would also be OK. No thumbnail at all would even be acceptable. Alternatively -- and even preferably -- is there some event I could listen for to change my window content before the taskbar thumbnail "snapsho ...Show All

©2008 Software Development Network