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

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

Tyh24

Member List

loureiro
Saurabh Gune
New Programer
Sowelie
Analyst
dhomburg
DaaDa Ng
Rattlerr
oliver.lauta
CLPMAN
Hemant Kamalakar
Zelalem
DingW
Rob Sanchez
gnutech
ftbeck
JohnWP
k.i.t.t.
Spamsickle
Dgrm4
Only Title

Tyh24's Q&A profile

  • Visual C# PInvokeStackImbalance was detected

    Hi, I keep getting this error when I try to run my project from the IDE.This does not happen when running the exe. The details specify that the Stack Imbalance was detected in a third party dll which I am using. How can I fix this. Thanks, tribal A call to PInvoke function ThirdPartyDll!Namespace.ClassName.NativeMethods::ImageList_DrawEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature. It's because a Managed ...Show All

  • Software Development for Windows Vista Undetermined instance loading problem...

    Hello, I'm having a scenario where I loaded an instance that has a delay when I believe that the delay has expired so the instance can continue. This works ok, but for some reason and randomly, from the host after persist and unload the instance when it gets idle (manually, having the unloadOnIdle from the persistence service to false), someone (this is the part that I don't understand) load it again and the calling stack doesn't tell me much: > MyPersistenceSerializer.DeSerializeFrom > MyPersistenceService.LoadWorkflowInstanceState > [External Code] This situation is random for some instances, I don't have a pattern or a r ...Show All

  • SQL Server SQL Instance name in web script

    Hi, I'm tring to connect to my SQL Express instance from PHP but I get each time an error because PHP is unable to find the SQL server. Is there a specific name I have to fill in to access to my database this is the actual connect command i'm using: <      mssql_connect('server\SQLEXPRESS','webuser','pass'); > Thx in advance David I am not a PHP expert though I would try to connect to SQL Express first on the same machine that will be running that script. Express has remote connections off by default, this is why I am suggesting this. Try: SQLCMD -E ...Show All

  • Visual Studio Data Binding

    How do I bind my report viewer to data There are different ways to bind data to your report. you can do it directly from an EXEL or XML file. also the most common way is to use ReportDocument Componnet. for that you need to create a Report first. then add that exsiting report to your project. ( YOU CAN ALSO MAKE A REPORT DIRECTLY BY VS.NET REPORT DESIGNER ). after creating report, you need to drag and drop a ReportDocument Object into your Form. it will ask for a report source. you need to provide report path or reference to it. After making and initilizing Report Document, you can add ReportDoc ...Show All

  • Windows Forms Select a row of datagrid by click any where?

    Hi all,  How can I select a row of datagrid by click anywhere Thanks alot for support.  Thank you very much, bloke.  I had found the answer.  Goodluck! ...Show All

  • Visual Studio Error 5 Unable to copy file "obj\Debug\BO.dll" to "bin\Debug\BO.dll". The process cannot access the file 'bin\Debug\BO.dll' ...

    I have been successfully using VS 2005 Beta 2 (VB.NET) for about a month now.  Yesterday, I started getting the error: Error 5 Unable to copy file "obj\Debug\BO.dll" to "bin\Debug\BO.dll". The process cannot access the file 'bin\Debug\BO.dll' because it is being used by another process. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50215\Microsoft.Common.targets 2274 9 This error does not occur the first time I build the solution after just opening it in VS.  But all subsequent build attempts fail with this same error.  If I exit VS and reopen the project then I can again build one time and al ...Show All

  • Visual Studio 2008 (Pre-release) silent install

    I need to deploy just the indigo components with our product. I have grabbed the indigo.exe from the winfxsetup.exe. Is it possible to run indigo.exe silently The command line help states to use "/Q" for silent, but this does not work. I have been able to extract the .msi and associated files from the .exe and run it silently by calling the .msi directly, but i would prefer to distribute the single exe and call it silently, directly. Can anyone help Thank you! Daren Hi Darren, I think that it is important to note that the scenario that you list is not supported or endorsed by Microsoft; specifically the separ ...Show All

  • Visual Studio Express Editions INTERFACE

    I am very clear on not running APIs from dot.net as it drastically decrease perfromance. I have therefore planned to create all device interfacing program in vc++, and UI in VS2005 c#. This will make UI developement easy. To create a VC++ app however i have a small constraint. I have 3 different type of device that are providing same Dial() method but with defferent device API at moment. The applicaion therefore must be pluggable, to other device in future. I am not sure if it is better if i create an ATL projects for each devices, that all have method called dial() and derived form .... that implements Dial() method. I need basic instruc ...Show All

  • Visual Studio Express Editions Connecting to a remote registry in VB 2005 Express

    Hello everyone, I don't know if it is possible in the Express edition to do any sort of remote work. I seem to have seen something somewhere that sounded like it was not possible. Anyway, here is what I would like to do: Connect to the registry on a remote PC and read a key. My program works on my local machine. But, I am not sure how to change the code to run it against a remote machine. Presently I am using the: "My.Computer.Registry.GetValue" method. Any pointers would be much appreciated (my appologies if this question has already been answered somewhere. I tried looking ) Thank you much, Oozle_Finch ...Show All

  • Visual Basic soap xml..

    First let me explain I'm very new to vb.net I have worked through this how to artical http://www.codeproject.com/vb/net/vbwebservice.asp Could someone show me how to get the results and put them in a text box, just so I can get an ideal how it works. ...Show All

  • Windows Forms howto create 32bit color ICON?

    please help how to create a 32bit color ICON from a bitmap,jpg,gif file   Well, I have to admit that I have very little artistic skill...  VS works well for me cause I typically capture a screen shot of an app with an icon I like, use a photo editor to paste the screen shot, and then create a 16x16 or 32x32 (or&nbs ...Show All

  • Visual Studio Team System Test Results Window - Should be able to double-click to open test method

    This seems so obvious that I am very surprised there isn't an easy way to go from a "failure" in the test results window to the failing test method source. If there is a way to do this (don't see Goto Source on the context menu either) then this really needs to be in the next release. Hello Keith, There is an option called "Open Test" in the context menu (when right-clicking your result). This will take you to the the test method. Thanks, David Gorena Elizondo [MSFT] VSTS ...Show All

  • Visual Basic Strange ListBox.Items IndexOutOfRangeException

    OK.. I'm building a plumbing company's job tracker. On each Job there can be multiple plumbers and each of those plumbers might have one more more invoices attached to a job. I've included the image URLs incase they don't show up correctly First I add a few plumbers and invoices... (http://hillcrestplumbing.com/VBIssues/Step1.JPG) Then I remove one plumber and his attached invoices... (http://hillcrestplumbing.com/VBIssues/Step2.JPG) Then when I try to remove a second plumber...(http://hillcrestplumbing.com/VBIssues/exception.JPG) Should be noted that this is all being declared and fired within the click event of the Remove button on the plu ...Show All

  • SQL Server Reporting Services Code

    Hi, I am new to RS and i just want to ask which is the best way to implement some code in my report. For example I have a variable @Param and i want to implement the followin If @Param='All' then select * from ... else ............ Thanks Hello, the best way to resolve this problem is using a sp with 1 parameter, in the code of your sp check if parameter is empty. create spTest @param1 varchar(10) begin if @param1 = '' begin select * from table1 end else begin select * from table1 where field = @param1 end end ...Show All

  • SQL Server Recognition of Cube in Catalog

    We have an application that uses MSADOMD classes to access Cubes in a catalog. There are total of 4 Cubes on the catalog and we coudl see all the 4 cubes when accessed through the sample MDX application. When when we access through our application which uses MSADOMD, only three Cubes are being shown. The following method call CubeDefs cubes =m_catalog.getCubeDefs() ;     m_Cube = cubes.getItem(new Variant(sInCubeName)) ; returns the following error: Item cannot be found in the collection corresponding to the requested name or ordinal We checked the User roles setting from Analysis Services and found th ...Show All

©2008 Software Development Network