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

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

ogtr

Member List

Edmund
Speedbird186
Mike V T
barkingdog
hrubesh
Martijn Mulder
cisco0407
TIENG Sunheng
Brian Hartman - MSFT
rajan nair
nevermore
Santosh A H
XNA Rockstar
SachaVDK
MicahN
Paps
WilliamW6488
Todd Biggs - Windows Live
dork
Lynette2
Only Title

ogtr's Q&A profile

  • Visual Basic GAC'd dll does not work for an application.

    Hi, I have 2 windows forms applications which uses all the required functionality from a dll which is GAC'd. They both use the dll in the same exact way just different classes in the dll. I am installing the apps using the setup and deployment project msi created by visual studio (2003). The problem I am facing is that while the first app runs fine using the GAC'd dll the second app refuses to run (both the apps have the exact same dependencies). The second app only runs when the common dll is copied into the application folder. The error that I am getting when I try to run the app without the common dll in the folder is: MyApp.exe - Common Language Runtime Debugging Services Application has generated an exception that cou ...Show All

  • Visual Studio Team System Class Diagram Reverse Engineer with Visio from .Net

    Hi: I need to pass a Class Diagram from Visual Studio 2005 to a Visio Class Diagram Any body know how to do it Thanks The way to do this to use Visio UML to reverse engineer your Visual Studio solution. This will build up the UML model in Visio, but will not populate the diagram - unfortunately you'll have to do that manually. http://office.microsoft.com/en-us/visio/HP815507451033.aspx describes how to do this. Hope this helps, Ian Bavey Software Development Lead Team Architect ...Show All

  • SharePoint Products and Technologies Can not creat Site collection in wss 3 release version

    hi all... My installation of WSS 3 was successful.. My config Windows 2003 SP1 (Part of Domain "testwss") Framework 3 (Release) Wss 3.0 (Release) Sql 2005 ( On other machine which is part of Domain "testwss") IIS 6.0 office 2003 pro after creating application successful i am not able to create site collection i get the following page. The Windows SharePoint Services Web application has been created. If this is the first time that you have used this application pool with a SharePoint Web application, you must wait until the Internet Information Services (IIS) Web site has been created on all servers. By default, no new SharePoint site collections are created with the Web application. To create a new sit ...Show All

  • Software Development for Windows Vista can an app in protected mode use filemapping?

    Hi, My ActiveX(which runs in protected mode) does CreateFileMapping(,,"Local\\MyMap",,) and spawns another process with ShellExecuteEx the spawned process tries OpenFileMapping(,,"Local\\MyMap",,) but it fails. I tested opening the file mapping from the same activeX and it succeeds. Is there a special setting that allows seperate process(could be low/medium/high privileged) to open the file mapping object Thank you Thanks again, Oliver Actually, I've read the articles mentioned many times even before I posted the original question.. IEInstal and IEUser are brokers which provides elevation supports. I fear thoese are not relevant to what I need, I can actually starts IEInstal or IEUse ...Show All

  • Visual Studio Team System Is Team System just for .NET developers?

    We have both .NET developers, and developers using other platforms at our company. Will the Team System work for everyone, or is it primarily for .NET/Visual Studio developers I haven't been able to locate any specific IDE requirements or info on what development platforms are supported. YES, it is, Team System is an edition of Visual Studio, and you can use it for .NET programming languages only, for more, please read : Product Feature Comparisons . Visual Studio Team System Official Page . ...Show All

  • Visual Studio 2008 (Pre-release) Help about WPF!!!

    hi,all.Im a newbie with .net development. Today my computer installed the VS2005 extension for WCF and WPF.I make a WPF project,but I confused a bit of programming method.I spend 3 more hours for a program of "hello,word". Now,I got problem: I make controls of button and Image in Winform.I wanna let the Image display a picture which path of "c:\shee.jpg" when I click the button.Please tell me how to figure it out,I really a appreciate for you. Thanks anyway. Hi there... In WPF there are many ways to accomplish what you want. If you're looking for a simple, Windows Forms experience, you can simply put an Image element on the form and set its Source property in XAML. < Image Source = " C:\shee.jpg ...Show All

  • Visual Studio LaunchDebugTarget always claims file does not exist

    Hi I'm using the latest VSIP SDK packages (Sept 06) and attempting to reach first base in a project to launch and talk to a number of DebugEngines simultaneously. First base is somewhat unambitious: just launch a program with an attached DebugEngine. I've copied "hello.exe" to C:\ just to make sure it's nothing daft like spaces in filenames that causes the problems. Essentially, I always get a file not found error from the return of the LaunchDebugTargets. Any suggestions as to what fundamental bit I'm not getting CComPtr<IVsUIShell> spUiShell; HRESULT hr = pisp->QueryService(SID_SVsUIShell, IID_IVsUIShell, ( void **) &spUiShell); CComPtr<IVsDebugger> dbgr; hr = pisp->QueryService(SID_ ...Show All

  • Visual Studio Express Editions Detecting a serial pinchange, and the pin it rode in on.

    Hello, I've been trying to piece together an event handler for a serial pinchange event. I have what one would expect: Private Sub SerialPort1_PinChanged(ByVal sender As Object, ByVal e As _ System.IO.Ports.SerialPinChangedEventArgs) Handles SerialPort1.PinChanged msgbox("pin change") end sub which works great. But I don't know how to tell WHICH pin is changed. I know that VB knows, but I can't figure out how to get it to tell me if it's the DCD, DSR, CTS, or RI pin. I'm in my 3rd week with Visual Basic, trying to do my own version of the infamous KegBot. When I look to the reference material on pinchange events it still all seems like gibberish to me. I just don't speak the language yet. an ...Show All

  • Visual Basic looking to exclude a function based on a flag

    i want to (based on a flag) not reference any ink stuff so my application can run on non tablet pc's. what contructs in VB do i use would i need to remove references to the dll how do i that with functions in a class not sure what this is called...sorry for the vague questions. Dan You can't do what you want to do that way, based on what I think you are saying; however: You can use conditional compilation flags: #if USE_INK then #end if But this is at compilation (when you create the executable) . Do you need 2 executables or just one If you need two, then you can use the conditional compilation, as shown here, and run the desired executable on the target machine. Compile once for WITH ...Show All

  • Visual Studio Express Editions How can I avoid code repetition?

    Hi I need some help on my project. I have 76 textboxes and 76 textfiles. I want each one to display the text from it's corresponding textfile. In other words Text in textfile1 in Label 1 Text in textfile2 in Label 2 Text in textfile3 in Label 3 and so on until 76 Is there any way easier than repeating the code 76 times Hi, you could make a function like in the following example: Public Sub FillTextBoxWithFileContents( ByVal control As TextBox, ByVal filename As String ) ' Return if file doesn't exist If Not My .Computer.FileSystem.FileExists(filename) Then Return End If control.Text = My .Computer.FileSystem.ReadAllText(filename) End ...Show All

  • SQL Server SQL Server 2005 SP1 upgrade results in build 2040

    I have SQL Server 2005 Standard installed on a Windows XP SP2 PC. I tried to install the SP1 upgrade from http://www.microsoft.com/downloads/details.aspx familyid=CB6C71EA-D649-47FF-9176-E7CAC58FD4BC&displaylang=en , which is listed as build 2047. I installed the upgrade and each upgraded component reported success, and I rebooted the PC. However, checking the version of my SQL Server as per KB321185 results in version 9.00.2040.00. There are errors at the end of the SQL9_Hotfix_KB913090_sqlrun_sql.msp.log log file as follows : MSI (s) (54:A8) [15:57:42:059]: Product: Microsoft SQL Server 2005 - Update 'Service Pack 1 for SQL Server Database Services 2005 ENU (KB913090)' installed successfully. MSI (s) (54:A8) [15:57:42:059]: Not ...Show All

  • Software Development for Windows Vista Vista RC2: RasSetEntryProperties() return failed if non-admin

    Hello, System setup: Vista RC2. We have some Managed C++ code that calls RasSetEntryProperties() to create a phonebook entry in order to perform a direct connection through a modem device. If I am logged in to the machine as a Windows administrator, the RasSetEntryProperties() call returns 0. However, when I log in as a non-admin (i.e., a standard User), my RasSetEntryProperties() call still returns failed, return value is '5'. Does anyone have any ideas as to what might be going on On Vista RC1 I did the following test to see how dial-up connections are handled by Vista itself: 1) Go to Control Panel | Network and Sharing Center 2) Click on the "Set up a connection or network" task 3 ...Show All

  • Visual C++ cannot open file 'comdlg.lib'

    I've just installed MS VC++ 8.0, followed the instruction to install SDK update and tried to to build my Win32 console app project. Building output gave me an error message: LINK : fatal error LNK1104: cannot open file 'comdlg.lib' I checked directories and file locations. Everything corresponds with instructions to install PSDK. But when I try to find comdlg.lib, I find nothing. Maybe the problem is in project settings but I need help with this. Thanks Martin, I tried your solution (linker->general->show progress-> display all progress messages (/VERBOSE)), and learned little. However I did link sucessfully by copying C:\Program Files\Microsoft Platform SDK\Lib\comdlg32.lib to *\comd ...Show All

  • .NET Development dataset.merge .NET 1.1

    Hey guys Got trouble with dataset.merge in .NET 1.1 . I did 8 query with the sql database and tried to merge those tables to one dataset. it simply doesn't work. It gets 7 datatable and doesn't merge the 8th one. I wrote a simple for loop and it does the same. mycode: DataSet dts = new DataSet(); for (int i = 0; i < 10; i++) { DataTable dt = new DataTable(); dt.TableName = "table"+i; dts.Merge(dt); } dataGrid1.DataSource = dts; Result: adds table0 till table6 and after tht doesn't add anymore tables. I display the results on a datagrid. Please help!!! is this a bug Or constraints on DataSet.Merge ...Show All

  • Smart Device Development problem with System.windows.forms.message in VS2005 & windows mobile 5 for pockectpc

    I just want to override wndproc : protected override void WndProc( ref Message m) { base .WndProc( ref m); } But I got built failed: error CS0246: The type or namespace name 'Message' could not be found (are you missing a using directive or an assembly reference ) But I can do it in a windows application Make use of MessageWindow. Create the class that implements this. In that override the WndProc http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=59218&SiteID=1 another way is http://blog.opennetcf.org/ayakhnin/CommentView.aspx guid=9a05b2dc-c79f-4cd8-af17-aa485fada5c7 just check it out this. hope this helps u out. ...Show All

©2008 Software Development Network