Software Development Network Logo
  • SQL Server
  • Windows Live
  • Windows Forms
  • Windows Vista
  • Visual J#
  • .NET Development
  • Visual FoxPro
  • Microsoft ISV
  • Visual C#
  • Game Technologies
  • VS Express Editions
  • Visual C++
  • Architecture
  • Visual Basic
  • Visual Studio

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

Taveira

Member List

yimin chen
Harbinger918
Stuart_D
Mark Haystead
timlshu
Blessed Geek
Simon_C
Kiexcolo
Wsmith
Dynamical Dog
ccote
amcclendon
Anna Lidman
dc21
klotz
martin.kolarik
theone_87
Amish Bandekar
Igore65
Jan Lonsetteig
Only Title

Taveira's Q&A profile

  • Windows Forms Disappearing Controls

    I am using Visual C# 2005 Express Edition.  I have been using the Windows Form Designer to build a custom control using other controls (a combo box, tab control, and three list view controls, and a label control).  Strangely enough, the controls in the custom control have vanished in Design View, but when I go to the Designer.cs source file (which contains the InitializeComponent() method), the code for the controls seems to be there.  Is there a workaround that will get these controls which seem to be present in code to show up again in the Form Designer view Hi - I'm not sure I understa ...Show All

  • Visual C++ Can it build win32 dll which calls c# .net assembly ?

    Hi, We need to write a plugin dll to integrate with a 'legacy' win 32 application using C++.  Sample files are in Dev Studio 6 C++, but we would like to use Visual C++  if it can do the job.  We also have a large library of Visual C# 2003 .net code which we would like to call from our dll.    Is it possible to write a dll (which we compile in c++) called by a win32 application (which is compiled by somebody else, presumably written in c++) which calls managed .net assemblies (which we comile from c#)  using latest version of Visual C++   Many Thanks Cheers Phil ...Show All

  • Visual Basic Getting primary key of record just INSERTed

    Hi. What is the best way of inserting a row of data to an SQL Server database and getting the primary key (identity) of the record you just inserted - preferably in as few statements as possible I've not managed to find any examples of this on MSDN. Is there a method that does this without requiring another SELECT statement following the INSERT Thanks, Mark Using a combination of both answers above I went for the approach: Dim  sql As String = "SET NOCOUNT ON " & _   " INSERT INTO Table ( ... ) VALU ES ( ... ); SELECT SCOPE_IDENTITY()" Dim  cmd As SqlCommand = N ...Show All

  • Windows Forms HELP!!! --> setting up terrarium server

    well, i have been trying almost every options to get this terrarium server running, but... the problem there i think is that i can not get the "Connection String" right to set server up. i have : WINXP PRO SP1 + VS.NET 2003(SDK1.1) + IIS + SQL SERVER PERSONAL The Only Place that it can make this failure is SQL SERVER SETTING UP ------------------- ...Show All

  • .NET Development XML selectSingleNode Issue....

    i'm trying to extract the data in black below using selectSingleNode It works with everything else i'm extracting from the xml file, just not this.... Not working.... strXML(i) = strXML(i) & objNode.selectSingleNode ("Case/StatusUpdate").Text & "|" < StatusUpdate >   < Beh Id =" 2 " Name =" Nutrition " />   < Met Id =" 38 " Name =" Unknown " />   < Status Id =" 1 " Name =" Determined Readiness " />   < StageChange Id =" 3 " Name =" Preparation " />   < Statu ...Show All

  • Visual C# Resource: Loading an HTML page into a WebBrowser control

    Hello, I've created a resource file and I stored some HTML pages and some images in it. And now I want to load the html page when a button is pressed into a WebBrowser control How can I do that How the link between the HTML pages should look like How can I show the images stored in the same resource file Your help would be greatly appreciated. ...Show All

  • .NET Development Logon failu unknown user name or bad password

    Hello, Using VS 2005 Beta (VB) I would like to read a network share in the form of: \\192.168.1.10\c$\ - Using the DirectoryInfo object. However when I try that I get the error: Logon failure: unknown user name or bad password How can I either popup a box for the user to type in the username or password or embed it into the program Hi, You would need to store the logon credentials in some store and retrieve it and logon using the LogonUser Win32API call and then impersonate using the Identity. Code for creating identity and impersonating is provided below. [DllImport("advapi32.dll", SetLastError= true )]   private static e ...Show All

  • Visual Studio Please advice an event when user closes a document

    During implementation of the VSIP package for VS2005 I faced with the following problem. When user closes a document window I would like to know a file name of the project which closed document belong to. I used IVsRunningDocTableEvents.OnAfterDocumentWindowHide as event when user closed a document. Every time that event comes, the first parameter 'docCookie' always have value 0 and I cannot get any information about about a closed document. Please advice. Possible, I need to use another event in VSIP hierarchy to solve the problem. I think that should be something like "BeforeDocumentWindowHide". ...Show All

  • Software Development for Windows Vista WWF Scalabilty

    Hi, I wish to host Windows Workflows in my ASP.NET application. now my question is if each request to the application creates a workflow runtime i am worried about the performance hit its gonna have. loading and intitializing the workflow runtime everytime for each request will have any latency impact on each request Thanks Raja You only have to init the runtime once per AppDomain. Assuming subsequent requests are serviced by the same AppDomain, you should be ok. Riley ...Show All

  • Windows Forms dissecting vs...

    Hi, Does anyone know where visual studio stores the information whether we want the start page to open when we open vs.net, or the open file dialog, etc  In what file... Thanks Well, there is some information in: [My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.0] regarding things like tool windows and such.  But, for your particular example about the Star ...Show All

  • Visual Studio Team System Email Alerts in Workgroup mode

    I can't seem to be able to recieve email.  MY TFS is in workgroup mode.  I have all the alerts turned on.  The pop3 and smtp server are ok (I can send and receive email normally in Outlook).  Is this an issue for anyone else Thanks in advanced,  John Thanks Larkin, that is a good idea...This is just a demo machine for now.. My though is we will move it to a dc version when we go into production.  But i will definately use this for my presentation to mangement next month Thanks again, John ...Show All

  • Visual Studio Change 'arrowStyle' of a connector at runtime

    hi, i want to change the arrowStyle of a connector. If i change a certain property (enumeration type) of a relationship, the style of the connector end should be changed too! Is this possible Thanks! BENJAMIN Pedro, thanks! At the moment I'm still working with the DSL Toolkit November 2005 version. Will change to the new February 2006 VS SDK, although this will not fix the "Reload" Problem. Benjamin ...Show All

  • .NET Development Reading files from Temporary Internet Files directory

    Greetingz, i'm trying to read files from the Temporary Internet Files in order to delete them in a .Net 2.0 app. Therefore I used for example My .Computer.FileSystem.GetFiles(sPath ) in VB or System.IO. Directory .GetFiles(sPath , "*.*" ); in c#. Finally only one file called "desktop.ini" is found in that directory, which is simply wrong because there are serveral more files in that directory. I used that way of checking files out in a lot of other directories exspecially hidden directories and therefore it works fine. Now whats the matter with that "Temporary Internet Files" directory and is there a way get thi ...Show All

  • Visual Studio Express Editions incompatible types - from 'char [4]' to 'LPCWSTR'

    Hi #include<windows.h> int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) { MessageBox(NULL,"test","test",MB_OK); return 0; } a.c .\a.c(4) : warning C4133: 'function' : incompatible types - from 'char [4]' to 'LPCWSTR' .\a.c(4) : warning C4133: 'function' : incompatible types - from 'char [4]' to 'LPCWSTR' how to solve that problem   MarianL wrote: Hi #include<windows.h> int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpCmdLine,int nCmdShow) {     MessageBox(NULL,"test","test",MB_OK); ...Show All

  • Microsoft ISV Community Center Forums Report generated via a query

    I have a report that shows all locations and there associated assets however i would like to limit the locations. currently i return everything but this is a waste of paper and sometimes only 1 or 2 locations will be needed is there a way to control the report so only the slected locations are displayed I think this is relatively easy to accomplish but i cant seem to figure it out fully any help would be much appreciated thanks (again). Your right it is relatively easy to do. Queries are SQL statements, SQL is a language thats used to communicate with data sources. It's fairly straight forward. One of the clauses in SQL is the WHERE ...Show All

©2008 Software Development Network