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

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

wpcmame

Member List

ajliaks
ChrisKinsman
SimonOng
PaulCzy
RtMahi
Dave987654321
Pranav Sanghadia
NoEgo
drinkwater
Ashley Novak
_Michael_
Rajat Tripathi
prasadrn
Secsi
Rocky79
Corrado Cavalli
Rudedog2
GlennM2
WXS123
Foxfire
Only Title

wpcmame's Q&A profile

  • Visual C++ Is this bug fixed - "Add/Remove operation is impossible"

      I very recently bought VS2005 and came across this bug while developing MFC apps (c++). "Add/Remove operation is impossible, because the code element XXX is read only" I have seen this bug discussed in the msdn forums dating back to well over a year ago. Has this bug been fixed yet If so where do I download the fix from Whats the point of developing an MFC application in VS2005 if the wizard does not work Its absolutely insane!! I might as well go back to using VC++ 6. (This is the second fustrating bug I've come across in VS2005, if you see my other thread). From the thread you linked to, it looks like either this bug or one very similar to it has been fixe ...Show All

  • Visual Basic ListBoxes selection issue

    Hi guys, I've been working on a macro in Outlook for quite some time, to handle emails and attachments, and now i'm converting to an add-in using VSTO, and particularly VB.NET. Originally, I had a listbox that was populated with all the attachments in an email. Then the user selects the attachments they wish to handle, and click to proceed. Then, they select, with a drop down list, where to save the attachments - once decided, i want to refer back to the list box, to go through each one, and if it is selected, save it... In outlooks VBA it was easy, with a simple for i = 0 to ListBox.ListCount - 1 if ListBox.Selected(i) = True ...etc etc However in VB.NET there seems to be absolutely no similar easy method to do this ...Show All

  • Smart Device Development ERROR: failed to initialize property bag

    I am running Visual Studio 2005 on Windows XP Pro SP2. When I try to install Windows Mobile 5.0 Smartphone SDK, the installer fails with the message 'failed to initialize property bag'. The installer does install the entire directory for the SDK (C:\program files\Windows CE Tools\wce500...), but the Mobile 5 project templates do not appear when creating a new project. And, if I try to open an existing Mobile 5 project I get an error "The project type is not supported by this installation". Does anyone have any ideas on how to get this installed ...Show All

  • .NET Development errors adding a web service with sockets to a C++ project

    Hi everyone, I have a web service which communicates via TCP to a C# program. When I invoke it's methods through a browser, they work fine and can communicate perfectly with the C# program. However, when I attempt to add the web service to a C++ MFC DLL I've created, I get multiple warnings, but with only 2 unique: 1) Warning 3 warning SDL4008 : skipping unrecognized extensibility element, with c:\Documents and Settings\*******\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 84 2) Warning 9 warning SDL4001 : only one SOAP port will be processed. c:\Documents and Settings\cpappas\My Documents\Visual Studio 2005\Projects\Extend\Extend\CalcSvc\CalcWS.wsdl 104 I am assuming it is because the web service opens a s ...Show All

  • Windows Forms Clone control properties

    Hi together, I am trying to clone a control. So I run thru all propertydescriptor elements from the following collection: PropertyDescriptorCollection originalProperties = TypeDescriptor.GetProperties(originalCtrl); Then I want to set the properties in a new control: PropertyDescriptorCollection cloneProperties = TypeDescriptor.GetProperties(cloneCtrl); foreach (PropertyDescriptor origProp in originalProperties) { // Get the corresponding property of the cloned control PropertyDescriptor cloneProp = cloneProperties.Find(origProp.Name, false); if (cloneProp != null) { if (origProp.ShouldSerializeValue(originalCtrl)) { object origPropertyValue = origPro ...Show All

  • SQL Server SQL Queries for an Access database

    Hi, I'm working on an electronic register which people use to sign in and out of a building. It uses 3 tables, one to store personal information (Name & Visitor Number), one to store what time they come in, and one to store what time they leave. Visitor Number is the primary key in the Visitor_Info table, and is used as a foreign key in the other 2 tables. I've been asked to put in an 'emergency print' function where, when you click the print button, it compares the data in the time in database and the time out database and prints a list of people still in the building. So, what I'm trying to do is create a SQL query that will give me this information. Having never used SQL before, it's a little tricky. I've spent the last few days loo ...Show All

  • Visual Studio Team System ClickOnce Version Number as Team Build number

    I want to create a Team Build that does a ClickOnce publish for my testers that creates a build number that includes the ClickOnce version number. We are showing the ApplicationDeployment.CurrentDeployment.CurrentVersion to the testers as part of the test application. When they enter bugs into TFS, we want them to be able to easily pick a build (on the Details tab of the Bug work item) that correlates to that ClickOnce version. If have several of the pieces to do this figured out: 1) Change SolutionToBuild to SolutionToPublish in the build proj file. 2) Override the BuildNumberOverrideTarget to create my custom build number. I could use some pointers on these questions: 1) If I want to append to the standard Team Build bu ...Show All

  • Visual Basic stringbuilder or string within structure to match a C++ struct..??

    **********************     C ++  6.0    ******************************************* typedef struct sSegment {     char   szName[128];                  } sSegment; int EXPORTED GetSegment(long lSegmentIndex, sSegment* pSegment) **********************     data marsaling in vb.net  ******************************************* Public Declare Function GetSegment _         Lib "EVaRT40.dll" _             (ByVal lIndex As Integer, ByRef objSegment As Segment) As Integer ****************** ...Show All

  • .NET Development pinvoke and enum

    Hi, I need some help with passing enum from C# to C dll function in a pinvoke call. How can this be done correctly Thanks! Pass it as if the target method was managed, there's nothing special to it. Just make sure the enum's underlying type is correct so the enum has the right size. If you're having problems, please be more specific. ...Show All

  • Visual C# Windows Task Scheduler C# 2.0

    I wanted to know if there is a task scheduler in C# (windows application). I need to start an application function at a specific time. Can someone point me in the right direction. Will the thread start when windows starts - Relating to the above article So the code provided should start me off Is this the code for C# 2.0 Cheers ...Show All

  • Visual Studio Express Editions Cst file

    Hay ,     I am new to cst file. If anyone of you know or worked on Cst  file . Please help me to read and write from cst file. There are several applications that use the cst file extension: http://filext.com/detaillist.php extdetail=CST What type of file are you using (What is the application that the cst files are used with) ...Show All

  • Visual Studio 2008 (Pre-release) Release date for WPF/E

    In an interview with Mike Harsh ( http://channel9.msdn.com/showpost.aspx postid=193367 ), he says that there will be an alpha/beta release of WPF/E for us to play around with this summer. Any updates on the date of this release There was recently some new info regarding WPF/E posted here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=924260&SiteID=1&mode=1 ...Show All

  • Visual Studio How to access Crystal Reports

    I have Visual Basic Studio 2005 standard edition and am having trouble developing a report. All the MSDN queries talk about opening Crystal reports and give great detail about using this program. I can't find it. When I open a new project and go to the templates page there is only a generic report form. Do design wizards, just a generic report form. How do I get the Crystal reports program It does not come with the standard edition of Visual Studio 2005, it comes with the professional version. You can purchase Crystal Reports XI release 2, and it will integrate into the VS 2005 IDE. ...Show All

  • Visual Basic Weird DataGridView Adding Data Error. You can't have an index = -1

    I'm having a weird problem while using a DataGridView. I'm using a DataGridView to display some information in an list of something called a Flag. Most of the information are String, one column per Data Property. In my program, I've got a button I press to add an element to this list. So it adds a new flag and refreshes the DataGrid and the new Flag appears. Now, here's the problem. If a Flag is added to the list before the DataGrid is first shown, it works fine. BUT, if the list is empty when the DataGrid is shown and I then press the button to add a new flag, I get an IndexOutOfBoundsError when I click on any cell in the DataGrid. It's the most bizarre thing; if I start with a flag in the list before showing the Grid, I can a ...Show All

  • Visual Studio Express Editions How to use popup menu in VBX2005

    How can I use popupmenu in visual basic express 2005... tnx;) hi CyberJunkie, on the form, place a contextMenuStrip, name it contextMenuStrip1, and fill its required menu items. then use the following code to popup your menu (contextMenuStrip1), when the user "Right Clicks" the mouse on the form : Private Sub Form1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick   If e.Button = Windows.Forms.MouseButtons.Right Then      Dim p As Point      p.X = e.X      p.Y = e.Y      ContextMenuStrip1.Show(Me, p)   End If End Sub mario g ...Show All

©2008 Software Development Network