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

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

Little_John

Member List

Allenvm3
Michel Péres
Kev160967
ZopoStyle
badlydressedboy
sumari
Bill House
luidia.mk
Timothy R James
pecasis
Kuolong
Narasimhan
Bruno Silva
plasticgoat
JPasqua
jetter
virtualrush
Neal Olsen
dayzd
happy_84k
Only Title

Little_John's Q&A profile

  • Visual Studio Create a diagram by using custom code

    Hi all, I am trying to create a diagram by using some custom code but facing some problems. Not sure if I am on the right way.  I am first trying to create a "store" (Microsoft.VisualStudio.Modeling.Store). after that I am trying to create a new diagram ans suply it the new (empty) store by using code that looks like this: ServiceDescriptionDiagram diagram = ServiceDescriptionDiagram.CreateServiceDescriptionDiagram(store); I am getting an expection ("Cannot modify the store unless in the context of a transaction."). I tried to add the store to the transaction manager but this ...Show All

  • Visual C# Issue with COM Port Access (serial port emulation)

    I'm developing an interface for a handheld barcode reader, and I'm having trouble with accessing the COM port with Visual Studio 2005. The device has a USB connection, but comes with drivers to emulate a serial port. Whenever I try to access the device with System.IO.Ports, I get the error: "The given port name does not start with COM/com or does not resolve to a valid serial port. Parameter name: portName" Is Visual Studio accessing the port at a lower level than the USB is emulating Thoughts, Comments. What is the value you are passing into Open for the portName parameter portName is ...Show All

  • Visual C++ Share Projects in one solution

    Dear all, I create two projects, say A and B, in one solution in VC.net 2003. They are basically 2 executable applications, A.exe and B.exe.   In project A, it uses some classes created in project B. I include the header B.h in A.h, and add Additional Include Directories to which B.h resides.   Compile is OK but when linking it looks like the LINKER does not know where to link obj in B project and gives the error messages like this: ATest error LNK2019: unresolved external symbol "public: __thiscall HelloWorld::~HelloWorld(void)" ( 1HelloWorld@@QAE@XZ ) referenced in function _main I do not want to c ...Show All

  • Windows Forms wsdl.exe.... sounds great... but WHERE IS IT???!??!

    I have one book that has been trying to teach me how to build and deploy web services...  I find this book totally worthless and confusing.  But anyway lets not go into that... Now what I need to do, is create a web service that will do this and that on the server. But I want to call this web service from a windows form.   ...Show All

  • Visual Basic Add connection wizard fails with Access database

    I have the RTM version installed. I am quite puzzled at this wizard. It works fine with SqlClient. But for Access databases, this wizard completely fails. In this wizard, I only have one option to do - setting the ConnectionString. I set it to Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\path\abc.mdb, which works fine in my code. But when I click OK, it complains: --------------------------- Microsoft Visual Studio --------------------------- Format of the initialization string does not conform to specification starting at index 0. --------------------------- OK   --------------------------- And more, the Advanced button is dis ...Show All

  • SQL Server problems with the excel-addin

    Hello, I tested the excel-plugin for analysis services and had some odd problems. http://www.microsoft.com/downloads/details.aspx FamilyID=dae82128-9f21-475d-88a4-4b6e6c069ff0&displaylang=en When I build freeform reports, they work fine first until  I get only "#Value". If I refresh the sheet, I'll get the message "Cannot verify connection" in spite of it is definitively correct. Have others also had problems with this Add-in Tobias ...Show All

  • Visual Studio Express Editions cannot open form in design view

    Hi i saved a visual basic 2005 project containing two forms. When reloading the project the next day, i could not get the design view of those forms anymore. I only see the code in form1.designer.vb, i do not see the form with the usercontrols itself. In the solution explorer i see a node form1.vb with an icon which looks like a small textfile and "VB" in its corner. When i click on this node two files appear: Form1.designer.vb and Form1.resx. I also noticed that in a project where i do see the form in design view, the icon of the node form1.vb looks different from the icon in this project. What has gone wrong here or do i need to ...Show All

  • Visual Studio url access rs 2005

    I have an intermittent problem trying to access reports in reporting services 2005 via url. I receive the following exception Exception of type "System.Web.HttpUnhandledException" was thrown. Viewer control object is in a read only state. This is thrown for all reports on the server and access via report manager is fine. I have not found a way back from this error that does not require reinstalling reporting services. Any light you can shed on this would be greatly appreciated. Thanks If anyone is interested we were setting a link target to _self in the url, intermittent was a lie. ...Show All

  • Visual C++ Using ROT in VC++

    I have a standard 3-tier system programed by VC++, in which there is a Application Server running as Windows Service, and Windows-based desktop application as clients. Client application interfaces with the server via DCOM (App Server runs in a server machine and clients run in Windows 2000/XP desktops). The reason I choose to run the AppServer as Windows service is that the server caches a lot of data, and loading data from DB needs some time, so that I want only one instance is running at any time. My problem is : sometimes there will be some problems with the server resulting in that it stops responding to clients, so I want to put the ...Show All

  • Windows Forms Change Font size for MessageBox.Show dialogs?

    Hello, Is there a way to increase the Font size of the MessageBox.Show() dialog boxes Can this be done without creating a new custom Form from scratch It seems like such a simple thing, but I can't see any obvious way to do this. Any suggestions Thank you in advance. MessageBox.Show simply wraps a Win32 function, MessageBox. Here is the P/Invoke signature for Win32 MessageBox[1]: [DllImport("user32.dll", CharSet=CharSet.Auto)] public static extern int MessageBox(IntPtr hWnd, String text, String caption, uint type); As you see, you can specify owning window, text, caption, and type, respectively, but you cannot specify font size. (Tex ...Show All

  • SQL Server how to do the same thing in mssql as mysql?

    in MySql: SELECT * FROM table LIMIT 5,10 How to do this in MicroSoftSql What does this do Does it select 10 rows from row 5 onwards If so, you can do something like this select top 5 * from ( select top 15 from table ORDER BY id ASC ) ORDER BY id DESC assuming that you have an index on the column called id. Of course, you need to add a third query to flip them back to ascending order, if you require that. ...Show All

  • Visual Studio Can you get a command prompt within a Tool Window?

    I do a lot of stuff at the command line.  It sure would be nice to have a tool window with cmd.exe running in it.  I remember way back having this feature with CodeWright. In earlier betas I thought there was this thing called the Quick Console.  What happened to it   Now that I think about it perhaps it was only used for output/interaction while a console program was running. ...Show All

  • .NET Development Exception: Unable to read data from the transport connection

    Hi, We've written code in C#.Net (Microsoft .Net Framework 1.1) for a Windows service to download the .csv files from different sites over GPRS connections through FTP. The Service runs on mulptiple threads to connect to multiple GPRS modems (as of now we are using 3 GPRS modems/connections) to collect the files from different sites at the same time. It all download files and works fine for some time. But later after some time any one of the gateways only works where in the other two goes into hang over condition. At this time there are no trace logs also been updated to find out the root problem. But very recently we got the message t ...Show All

  • Visual Studio Tools for Office Excel errors

    With VSTO I have complete an excel spread sheet that is laded by a SQL data. There are 2 templates on for each project that is copied each time a new project is pulled. I have a summary sheet that is also copied when a new company is pulled; it filled with totals of each project. Here is the bug that I cannot figure out. If I open the excel workbook launch it pull a company and pull a project fro them it works as properly. If I go to another company and pull one its project, it wont copy the summary and fill a summary sheet for the next company. But if I pull one company and two of its projects, then pull another company’s proje ...Show All

  • .NET Development querring data from tables in different connection

    Hi, i have 2 databases (oracle databases) i need to read data from both databeses (the same table structure ) and represent the totals per periof in one datagrid (totals only). i can't (sure don't know how) to do it thanks in advance avner See the DataSet.Merge() and DataTable.Merge() members. ...Show All

©2008 Software Development Network