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

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

pcompassion

Member List

tamri
keithpsft
R.K.S.
Rups11
Simon_X
Tihomir Ignatov
Siebe Tolsma
Burrough
nick5454
ScubaBob
Jose76
mary.oneill
TheBlackhorse
_hunter
Rupinder
KompjoeFriek
Nonu_k
Peejj
Rick3581
dalterio
Only Title

pcompassion's Q&A profile

  • Visual Studio Get All Types

    I writing a UITypeEditor to a Type property, and I need to show a form with all Types of my solution. The form is Ok, but, how i can get all types of my solution Thanks Ps: my english is bad, sorry. You have to use the code model (you can't use Reflection because your code may not be compiled yet or up to date). See my articles: HOWTO: Navigate the files of a solution from a Visual Studio .NET macro or add-in. HOWTO: Navigate the code elements of a file from a Visual Studio .NET macro or add-in. http://www.mztools.com/resources_vsnet_addins.htm ...Show All

  • Visual J# java.awt.geom.AffineTransform - - System.Drawing.Drawing2D.Matrix

    Hi; Is there an easy way to convert to/from an AffineTransform from/to a Matrix thanks - dave Hi David, There is no straight way to convert to/from an AffineTransform from/to a Matrix.But you can use JLCA-Java Language Conversion Assistant to convert the Affine Transform java code to Matrix C# code. I tried a sample. check.java import java.awt.geom.AffineTransform; import java.awt.Shape; import java.awt.geom.Point2D; import java.lang.Object; import java.lang.String; public class AffinetoMatrix{ //getRotateInstance(double, double, double) void metodo18(double x1, double x2, double x3){ try{ AffineTransform V1 = AffineTransform.getRotateInstance(x1, x2, x3); }catch(Exception e){ } } } converted check.cs us ...Show All

  • Visual Studio Express Editions 3 line text file to be put into 3 text boxes

    Hi. Ive got a text file which has: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 and 6 text boxes. How can i get my vb app to read the file and put each line into each textbox Thanks!!!! Just 1 more thing! how can i get my program to read the 1st line of my text file into a variable in simple terms: dim this as string this=system.io.file.get1stline("C:/this.txt") MsgBox (this) then remove that line Thanks! ...Show All

  • SQL Server MS SQL Server 2005 Database Documenter

    I have started a Reporting Service project called "SQLDB.Documenter" that can be used to document databases hosted on MS SQL Server 2005. Now, the project is in its alpha phase. I am willing to give it out to people who might be interested to give it a try. It can only document MS SQL Server 2005 databases and requires SQL Server Reporting Services to run it. Please contact me directly if you are interested and want to give it a try. Any suggestions and/or feedbacks will be highly appreciated. My e-mail address is < George.Liu@iko.com >. ...Show All

  • Visual Basic Recent Projects List on Start Page is not being Populated

    The Projects List on my Start Page is not being populated with the Projects I open. It's empty. Does anyone know what could be the problem I can see the entries being recorded in the Registry key: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\ProjectMRUList But VS isn't reading them in for some reason. I'm running Visual Studio 2005 Professional. Thanks. Right, I had to modify the group policy for my users: User Configuration/Administrative Templates/Start Manu and Taskbar Do not keep history of recently opened documents -> disable or no config. This policy had been set long ago and I pretty much forgot about it. So, here is a follow-up question: Where can I find a document ...Show All

  • Software Development for Windows Vista Visual Studio 2005 Macros and 5744

    Macros in Visual Studio seems to have stopped working in Vista RC2. When attaching to vsmsvr.exe exceptions are thrown when you try to run a macro from devenv.exe. From debugging the disassebly I think it is a access denied message. I also saw a string "Bad IL format" if that helps. Anyone have an idea how to solve this issue without waiting for RTM or going back to RC1 I don't get any exceptions or other errors. But it does not work either. Running a macro does nothing. Debugging macros is the same... nothing happens. Probably this is something to be fixed in the RTM SP1. ...Show All

  • Visual Basic How to create a web service that enable to comunicate with an exisitng window appliacation

    Hey Guys How can we convert a html report to an xml format with values.Is it possible Thanks. Yes, parse the HTML. It's what a web browser does to display the data as it should be formatted. It just means to apply the HTML tags to the data according to what each tag does. For instance take the HTML: <b>some data</b> and displaying it as: some data You'll need to post more info about what you're trying to do. The formatting of the HTML document, the desired XML output and what the webservice has to do with it would all be helpful. ...Show All

  • Windows Live Developer Forums Can you change Pin icon dynamically

    Hi, I am writing an application to display images on a map using Virtual Earth, and would like to change the colour of an associated pin when the user rolls the mouse over an image on a web page. The VEPushPin class doesn't have an icon property, only allowing you to set the icon in the constructor. As far as I can tell there are two options: 1. Add a new pin with a different icon in the same spot, and delete the old pin. 2. Inspect the HTML using javascript to obtain a reference to the img object used in the pin, and change the icon using the .src property. Neither strike me as being particularly nice or robust. Does anyone have a more elegant solution Thanks your help! Hi nickstreet, Can you plea ...Show All

  • Windows Live Developer Forums Error pops up when staring MSN LIVE MESSENGER

    Hi people! As in the topic,whenever i start up windows live messenger an error pops up,what will the problem be the error says svchost error and then my dial up connection get disconnected and fails to re connect. what will the problem happen to my pc and my brothers pc,both encounter same problem. even if we restart the pc and redo the thing,same thing happens. please help! ...Show All

  • Visual Studio 2008 (Pre-release) Adding Images to MenuItem()

      Hi,   I create a menuitem during run time and attach it to the contextmenu for my window. But I am not a ble to add images to the menuitem. How do i do it  The code is as below ***************************** MenuItem mi = new MenuItem (); mi.Header = str; mi.FontWeight = FontWeights .Bold; mi.AddHandler( MenuItem .MouseEnterEvent, new RoutedEventHandler (MI_Select)); mi.AddHandler( MenuItem .MouseLeaveEvent, new RoutedEventHandler (MI_Leave)); mi.Command = EditingCommands .CorrectSpellingError; mi.CommandParameter = str; mi.CommandTarget = rtbWordDocument; rtbWordDocument.ContextMenu.Items.Insert(cmdIndex, mi); ************************* Basically which means I shld b ...Show All

  • Visual C# excel+oledb+datatype+integer and text in a same column

    hi, i am populating my datagridview with oledb connection with ms excel. the data in my excel file is in unmanage format. means one column, named "col1" contains text and integer data type as well. the problem i am having is that the data in grid doesnt show integer values in grid which actually exists in "col1" in excel file. i have used odbc connection as well. the sample view is as follows: excel sheet(actual data): col1 col2 col3 turbo 2 1 one 2 3 45 yo 8 three 45 23 and the data shown in grid view is as follows: datagridview: col1 col2 col3 turbo 2 1 one 2 3 8 three 45 23 i think this is the problem ...Show All

  • Visual C++ Odd pre-compiled header question

    Hi folks, I suspect this is an easy one but I can't seem to solve it. A week ago, I decided to reset my VC++ environment settings to the default values. Now, I'm getting errors related to the PCH whenever I try to build a file that's either creating or using precompiled headers. The error if I try to use a pre-compiled header ("/Yustdafx.h") is C2857 -- included file not found in source. If I try to create one ("/Ycstdafx.h") I get C1010 -- end of file while looking for PCH. The compiler helpfully suggests that perhaps I forgot to include #include "stdafx.h" in my source; I didn't. Figuring maybe I'd screwed something up, I reset to default settings once again, created a brand new Windows Forms app and a ...Show All

  • Visual Studio Creating projects in a subdirectory

    I want to be able to have the solution template create the projects in a subdirectory without having to use solution folders. I don't know if this crude diagram will explain it, but basically I want all projects to go into a subdirectory named "Source". Does anyone have an idea on how to do this MySolution | -- MySolution.sln -- Source | --- MyProject1 | --- MyProject1.csproj --- MyProject2 | --- MyProject2.csproj -- Documentation -- Libraries -- Build The only mechanism using plain templates is to use a solution folder. Alternatively, you can write a custom action that moves the files around, but it's risky as projects will be already loaded, etc. ...Show All

  • Smart Device Development can not find System.Data in Compact Framework 1.0 project

    Hello everyone, I have used Visual Studio 2005 to create a C# .Net Compact Framework 1.0 application on Pocket Pc 2003 device. But when building the application, there are some errors dealing with System.Data can not find. I have solved this issue by manually add System.Data from References of project, and it is working now. I am wondering whether we should manually add reference to System.Data in an application based on .Net Compact Framework 1.0 (Pocket PC 2003). thanks in advance, George VS 2005 adds reference to System.Data automatically for NETCF V1 project but not to System.Data.Common.dll. Last DLL includes some classes which are normally found in System.Data on desktop. ...Show All

  • Visual Studio Error Running ReportViewer Service

    I wrote a windows service in vb.net 2.0 that uses a reportviewer and a local report to generate some PDFs. This works just fine on my laptop (when running as a service) but when I try it on one of our servers I get these unhandled errors cropping up in the event viewer. These errors are happening on the Render method of the report viewer, but I am unable to trap this error in a try/catch block. One of the odd things, is that service continues to run after this error, until the NEXT time it is supposed to do the Render method (I am creating multiple PDFs in a loop). So my debug code shows it progressing down the body of the loop, hitting and reporting the error on the Render method (the PDF is actually created!), then it gets t ...Show All

©2008 Software Development Network