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

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

drag00n

Member List

TheMax
Nick Piazza
KateC
srinivas_234
IbrahimSA
alij
MaxAtHome
Matthiasone
carmima
Jordi
Trond Reierth
kennyp
Daniel F.
Stahn
JAYPUNJANI
WilliamDGJones
Sajid Saeed
saderogba
printerpro
biz-admin
Only Title

drag00n's Q&A profile

  • SQL Server Insufficient Log Data

    The mirror database, "UOP_PIMB", has insufficient transaction log data to preserve the log backup chain of the principal database. This may happen if a log backup from the principal database has not been taken or has not been restored on the mirror database. (Microsoft SQL Server, Error: 1478) I've taken a backup while the database is online and applied it to my "other" server. What do I need to do to have both in sync to get mirroring to work. My way around this is to restore the backup to my primary. thanks. Even though the BOL don't mention this, I have always had to appl ...Show All

  • Visual Studio Cursor Position

    Does anyone know how to get cursor position (screen coordinates) from the editor I need to show custom popup window that needs to be shown below the cursor (like intelisense menu). Thanks. This thread has been super helpful in helping me cross the threshhold from an add-in programmer to a vsip programmer, so thanks! For future copy/paste, here's a corrected C# code sequence, which requires the following VSIP assemblies to be referenced: microsoft.visualstudio.ole.interop; microsoft.visualstudio.shell; microsoft.visualstudio.textmanager.interop. ServiceProvider sp = new ServiceProvider ((Microsoft.Visua ...Show All

  • Visual Studio Express Editions Does VBEE handle this DateTime?

    I use a webserver that uses these datetime structures: DATETIME_NONFORMATTED 200605012006 DATETIME_FORMATTED 05-01-06 20:06 From the help, this non-formatted doesn't seem anything like VBEE's standard non-formatted datetime. I thnk VBEE's structure is the number of seconds since 01-01-00 midnight or some such structure. I need to add like 6hrs 55min to the above and get 020201 and then convert to formatted. Am I stuck writing my own code or can someone point me to a help link that explains how to handle the above structure Convert.ToDateTime will probably work on the formatted one. T ...Show All

  • Windows Forms Capture Icons

    Hello all i want to know how to capture the icon of a file or folder , or at least create shortcut icon for it , and then use it in my application thx all:) Check out this link: http://www.codeproject.com/csharp/imagecapture.asp ...Show All

  • SQL Server The underlying connection was closed: The remote name could not be resolved.

    When I try to access localhost\reports, I have this error: "The underlying connection was closed: The remote name could not be resolved." When I try to access localhost\reportserver, I have this error: " You might not have permission to view this directory or page using the credentials you supplied." But before it was working, it doesn't work when I change computer name and domian. Can anyone help ...Show All

  • Windows Forms Close button problem...URGENT!

    Anyone know how I can conrol what happens when a user presses the close button on the for ( the x int the top right corner). My problem is that the form doesnt close when the button is pressed.  Please help!!!!!  Found that the code i tought fixed the problem earlier did'nt. Had to tweak it a litle more... protected override  ...Show All

  • Visual Studio Install VS2005 Beta prep

    OK, I just got the Visual Studio 2005 Beta tean Suite. Rock. Now before I install, and considering the "don't install Beta 2 over Beta 1" with the Express editions, what should I uninstall or keep to ensure all is successful Current tools and SDKs are: Microsoft Platform SDK Visual Studio 8 Express Editions (c++, c#, j#, vb) .NET framework 2.0 DirectX 9.0 SDK I'm going to guess that the DirectX and Platform SDKs can stay, but I'd be better off uninstalling the rest, before the new install. Is this correct are there other things that should go is there a particular uninstall order (as the beta1->beta2 did) Thanks, ...Show All

  • Visual Studio Tools for Office ServerDocument.AddCustomization() starts new Word Instance

    Hi, I use VSTO ServerDocument.AddCustomization() method to dynamically customize Word .doc file. However, if I try to customize a fresh (new) Word .DOT file, a new instance of Word is started even if one already exists. This is causing so much pain. Also, this behavior is NOT repeated if the .dot file is already customized and I re-add the customization after removing it first. Here is the code: private void button1_Click(object sender, EventArgs e) { string fileName = @"C:\Documents and Settings\My Documents\Template1.dot"; this.StartWordApp(); this.DoThis(); MessageBox.Show("Annonymous Template Created and cl ...Show All

  • Windows Forms VS beta2 with production Framework ClickOnce Prerequisites

    Does anyone know a way to continue using the Vis. Studio beta2 and still integrate ClickOnce with the .NET framework 2.0 production release   I was able to get the beta and the production framework both installed by uninstalling the beta, installing the production, re-installing the beta. I was then able to easily enough update my references inside the project to use the production release of the framework.  The app runs fine on machines that only have the production release of the framework.  The only problem is in the ClickOnce prerequisites I can't specify the production framework.  The only option is the beta framewo ...Show All

  • Visual Studio Express Editions Stop remote process

    I need to stop Outlook running on a remote computer in the network. I know how to stop Outlook when it is running on the local system (code at the end) I am aware that the help file for the Process class says "local" for start and stop: "Provides access to local and remote processes and enables you to start and stop local system processes" However, this is becoming for me a pressing need and there should be a solution. Thanks, Antonio Dim processes() As Process = Process.GetProcesses For Each proc As Process In processes If proc.Id > 4 Then If proc.MainM ...Show All

  • Visual C# Potential Bug with C#

    The screenshots speak for themselves. Debug - 4 is the most relevant shot. Take a look at the values shown in Watch 1, and the execution path that is being followed. What should happen is, base.Text == null evaluates to true, null is returned and life is good. What does happen, is that some how it passes over that part of the if, falls into the else and then executes the code highlighted in Debug - 4. A null reference exception is then thrown, because I try to call base.Text.Trim() when base.Text is null. Even though it should NEVER have gotten to that point. I hope the problem is clear enough. I'm running VS2005 RTM - I've just been to bus ...Show All

  • .NET Development HOU INSERT DATA ACCESS como inserto datos en access

    Me sale debe usar una consulta actualizable, consulto lo mas bien, pero no puedo insertar. The message is "must use consults updateable" Dim cn As OdbcConnection cn = New OdbcConnection("Driver={Microsoft Access Driver (*.mdb)};" & _ "DBQ=c:\1\bd1.mdb;UID=;PWD=") cn.Open() Dim xdataset As New DataSet Dim xcomando As New Odbc.OdbcCommand vsp="insert into tabla1(nombre)values("ab") Dim xobjadapter As New Odbc.OdbcDataAdapter(vsp, cn) xobjadapter.SelectCommand.CommandType = CommandType.Text xobjadapter.Fill(xdataset) xconec.Close() Return xdata ...Show All

  • Visual C# "Layer of Abstraction" Confusion

    Hi folks, I'm trying to understand what events are, and primarily, why and when to use them, however, I'm having a little trouble understanding the subject. I hear a lot of people saying that events are another layer of abstraction, but I don't actually know what that means. I've tried Googling around, and I have found some sites that discuss it, but they seem to be talking to people who are CS graduates. Could someone explain the concept in simplish terms to me please I hate the fact that I'm shying away from what seems like a major language feature. Thanks in advance. Hi, As I see it, the ...Show All

  • .NET Development Issues with UdpClient recvfrm function

    Hi Friends I am creating a Network engine. the problem is when i sends information from server to client side-> the information is i am sending 3d object cordinates x and y from server. it works for a while but after some time server movements simply hangs on client side but client's movement will still be working on server side. That means clients recvfrm function have some problem i have debuged the code lot of time..could some1 tell me what can be the problem Hi, The first problem could be that the network is dropping the UDP packets because they are not guaranteed to be delivered. Could you g ...Show All

  • Smart Device Development Can't deploy project to emulator or device in Visual Studio 2005 Beta 2

    When I build a C# project and try to deploy it to the emulator or device, a message box always pups up and says "No such interface supported" and  the deployment fails. A error message in the output window shows: "Error: The operation could not be completed". Can someone help me to solve this problem Did you have a previous version of VS2005 installed on this same machine   It sounds like there are conflicts between certains dlls. You may want to try to completly remove the betas of VS2005 using the tool from : http://go.microsoft.com/fwlink/ LinkId=47598 If the problem still happens, could ...Show All

©2008 Software Development Network