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

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

lightiv

Member List

Rei Miyasaka
Syed Atheeque Pasha
JJKusch
LLeuthard
Madix_t
Paul Fuhrmann
Herru Perdana
becklighter
JaBaVe
Ofir Epstein
newbieneedshelp
Carl Peto
Learning VB
edmsing
PostMeridian
DerekRost
SaimaSalim
RajivB
bishoycom
Larrybird02744
Only Title

lightiv's Q&A profile

  • Windows Forms Determining whether a control came from an inherited form

    Hello, I'd like to know if there is a way to determine if a control was added to an inherited form or was it inherited from a base form. I tried GetType but I couldn't figure out with properties/methods to use. Thanks, JR I do not quite follow what you are looking for... are you looking to see if one type (or object) inherits from another If so you can always use the 'is' keyword: object someObj = new Button (); if (someObj is TextBox ) { Console .WriteLine( "o is a TextBox" ); } else if (someObj is Button ) { Console .WriteLine( "o is a Button" ); } ...Show All

  • Software Development for Windows Vista Workflow runtime hosting questions

    We're interested hosting a single workflow runtime to manage all our workflow instances. These workflow instances are mostly human user approval processes that could span days. The primary method GUI for approving/rejecting will be through a web application. If I implement my workflow runtime in a Window Service how difficult would it be to access the runtime instance. Can the workflow runtime be remoted by a web app or web service I have looked at implementing a workflow as a web service but they seem better suited for short-lived sequential workflows. I'm curious how SharePoint v3 implements the workflow runtime. I read that they use a specially tailored web service to broker the workflow runtime calls but I am not sure where the runtim ...Show All

  • Visual Studio minidump: getting correct call stack with a different dll version and pdb file

    Hi All, Consider the following scenario: I have an application that has a dll say ABC.DLL (version 1). This DLL version is already delivered to customers. A crash on the customer site does generate the minidump so that they can send it across to me. Unfortunately, I did not generate debug info in pdb when compiling the Release version to the customers. So, even though I have the pdb file and the minidump file, since I do not have the debug info. the minidump is useless. Now, I want to integrate debug info. (for use in minidump) for my application. I changed the project settings appropriately (to generate debug info in pdb) and built again. Tested locally, everything works fine. Lets say my current DLL version is 2 (since I built t ...Show All

  • Visual Studio 2008 (Pre-release) Error log for svcutil?

    I am trying to use svcutil to create datacontracts and service code for a service defined by a wsdl and associated schemas. When I try to do this, I get the error: C:\Program Files\Microsoft SDKs\Windows\v6.0>svcutil c:\a\dws\MFPDevice.wsdl /ou t:newclient.cs /dconly /ixt Microsoft (R) Service Model Metadata Tool [Microsoft (R) Windows (R) Communication Foundation, Version 3.0.4324.13] Copyright (c) Microsoft Corporation. All rights reserved. Generating files... Warning: No code was generated. If you were trying to generate a client, this could be because the metadata docu ments did not contain any valid contracts or services or because all contracts/services were discovered to exist in /reference assembl ies. Verify that you pass ...Show All

  • Visual C# how to do copy & paste with folderbrowserdialog

    I have a folder path that I copy from other application. In my appliation, I want to open a dialog that I can paste the path to. folderbrowserdialog allows me to choose the folder to clicking through the folder tree structure, there is no way to allow me to enter a path directly. Is there a good way to work around this Try using a TreeView with a Thread that builds the nodes with all of the files on your HDD. foreach (File file in Directory.GetFiles("*.*")) { nodes.Add(file); } Then, use a drag and drop feature to File.Copy, then refresh the TreeView. Does this work for you ...Show All

  • SQL Server Delete question

    I recently uploaded my old MSAccess database structure/information to the SQLExpress 2005 database. I now need to clean out the data of each table so i can repopulate it with the program i am trying to debug. The problem i am encountering is the same no matter what i do. I think it is just some sort of typo when it comes to the statment, but i am so new to Server that i am not sure. Table: OwnerInfo - fully populated/created SQL Statment: Select * From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. SQL Statment: Delete From OwnerInfo SQL Error: Msg 208, Level 16, State 1, Line 1 Invalid object name 'OwnerInfo'. Am i mistyping the table name or forgetting some sort of punctuation I have tried ( ), [ ...Show All

  • Visual Studio vs6 sp6 installation

    What would be the appropriate action to take when during installation of sp6 I recieved the warning that it couldn't replace msvcp60.dll and I hit ignore It has completed and is closed. Can I replace it manually Where do I find the sp6 version ...Show All

  • Windows Forms Samba Struggles

    I am having a problem that I have seen a few other places, but no solutions for. I cannot connect to samba. I can see the computer on the network and I can even ping it (Name and IP address), but whenever I try to access it says "Windows cannot find \\gnu (or \\192.168.0.20 ). Check the spelling and try again. I have already changed the security policy to "Send LM & NTLM - Use NTLMv2 session if negotiated." Does anyone have any other suggestions. I am running Vista Build 5536. Thanks This forum is for the development of Windows Forms Applications using .NET Framework 2.0 technology. Please redirect your issue to a forum that better suits your question. http://www ...Show All

  • Visual Basic Calculations

    This is totally differetent from Access I have got a field's property set to money I need to divide that field by 2(sounds simple) but VB is haven a fit. I am used to me.text1= me.text2 / 2 its saying that / is not defined how do you divide and multiply in VBE Davids Learning Im learning so bear with me here me.textbox2 is an user input, tied to a field with the properties set to money me.textbox1 is what the answer would be. when you use single, what does that mean when you use string, does that change the answer to string would it be better to be something else if you need to take the answer and add me.textbox2 back to it how would you do that and show it as cur ...Show All

  • Visual Studio Problems installing Workflow Extensions (RC5)

    Has anyone had any problems installing the workflow extensions (RC5) for Visual Studio I have this installed however every time I try and run Studio it displays the splash screen and then hangs using 99% of the cpu. If I run Studio in safe mode then I can get in fine and the workflow options appear in the create project dialog however if I create one of them then I get the error message: --------------------------- Microsoft Visual Studio --------------------------- The project file 'C:\Documents and Settings\gordon.NT\Local Settings\Temp\w42cddt1.gwy\Temp\WorkflowConsoleApplication1.csproj' cannot be opened. The project type is not supported by this installation. --------------------------- OK Help --------------------------- ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How to add alpha to the glow using Microsofts DX SDK Glow.fx

    Hi all, I've added my first shader to my game (The Glow.fx that comes with the DirectX SDK... samples/media/sharedfx/Glow.fx) and I now have a nice glow around various bits and bobs that I'm drawing in my scene which is sweet. I want the glow to be translucent though (and more translucent at the edges) so as to mimic a planets atmosphere. Does anyone have any tips / code / knowhow that can help me achieve this Whenever I try and do anything with DX / XNA I always hit a 'I really need to start using shaders' stumbling block so even getting this thing to work as it is was a bit of a triumph. I'd love it if one of you guys / gals could point me towards the solution. Regards, James Looking at the ...Show All

  • Visual Studio How to debug in your own model?

    Hello everyone, I should apologize if there were some similar discussions here. I have a basic question. I used DSL tools to build a new solution, then i executed, and modeled another system based on the solution, here i want to use the "Debug" command on the menu to make the system running, just like the example "WinzardUIP", generating a new window.. I have read the document in the project, but still did not get how to start it. Do i have to build another project too and how can make the new project integrated Any suggestion or related work are welcome! Thank you very much! Di Hi, Assuming you have the T4 templates in the debug project you can generate the code by hitting the "Transform al ...Show All

  • Visual Studio how to change LocalReport.ReportEmbeddedResource runtime

    Hi, I want to change LocalReport.ReportEmbeddedResource of a reportviewer runtime. following is the code that fails to change this. Please help me. I want it to be worked. But i don't know how to do this. there must be some way. private void newToolStripMenuItem_Click( object sender, EventArgs e) { while ( true ) { try { switch (ledgerPrompt.ShowDialog()) { case DialogResult .OK: // ledgerPrompt is a dialogbox where ledgerType is a combobox switch (ledgerPrompt.ledgerType.SelectedIndex % 2) { case 1: reportViewer1.LocalReport.ReportEmbeddedResource = "Laskea.LedgerReport.rdlc" ; break ; case 0: reportViewer1.LocalReport.ReportEmbeddedResource = "Laskea.LedgerRepor ...Show All

  • Visual C# Override Onpaint

    What does it really mean when overriding the OnPaint event example if possible. thank you Im trying to do double buffer. but i don't have access to the SetStyle with my panel. is it because i develop on a CF platform ...Show All

  • Smart Device Development MessageBox Question

    I am noticing after loading all the data in the tables in my CF data application that the forms open very slow, you actualy wonder if you tapped the button. Is there a way to open a messagebox to let the user know that to form is opening and then close itself I tried this but you have to tap the messagebox to close it. HorseList hlistform = new HorseList (); MessageBox .Show( "Loading HorseList" ); You have to tap to close this is there a way to get it to close on it's own when the hlistform shows hlistform.ShowDialog(); horsenameTextBox.Text = hlistform.hrsname; Tahanks Jon It is more appropriate to use wait cursor in this case, not message box (which is pointless anyway as it would block exec ...Show All

©2008 Software Development Network