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

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

gleason78

Member List

ykgreene
Bigmo
LKharlamov
The ZMan
dczraptor
Suren Reddy
tssweb
Maik Wiege
mammoo
ljames28
John Cronan
Tdotsoulja
goPlayer
gijshompes
James_Steven
NeederOfVBHelp
Darren Baldwin
weirdbeardmt
Satish33
最大的小巨人
Only Title

gleason78's Q&A profile

  • Visual C# implementing the Equals method with and w/o override

    Hi, I'm using .NET 2003 with .NET Framework 1.1. I have a somewhat stupid question: I created a new class (MyClass) that represent some value and implemented the Equals method the following way: public bool Equals(Object obj) { // code here... } And if I try this code I get 'True' (since they hold the same value) MyClass c1 = new MyClass(<<some value >>); MyClass c2 = new MyClass(<<same value as above>>); Console.WriteLine(c1.Equals(c2)); BUT (!) if I insert c1 into an ArrayList and check: int index = myArrayList.IndexOf(c2); I get -1 on the index variable (c2 was not found). Now, if I add override to the Equals implementation signature: public ...Show All

  • Visual Studio Tools for Office seprating location of vsto excel sheet and dll's in windos installer

    Hi, i have created a vsto excel application that installs in the program file in the set security project i keep default values /assemblyName="ccccccccccc.dll" /targetDir="[TARGETDIR]\" /solutionCodeGroupName="MyCompanyName.ccccccccc" /solutionCodeGroupDescription="Code group for cccccccccccc" /assemblyCodeGroupName="cccccccccccc" /assemblyCodeGroupDescription="Code group for ccccccccc" /allUsers=[ALLUSERS] how can i seprate the excel sheet and other dll's i wish to install excel sheet on the desktop and dll's as it is if u have the ans plz reply it is urgent Thank's varun I'm not sure this answers t ...Show All

  • Visual Studio Team System putting lib files in another directory

    Hi How do I put my generated lib files in a subfolder, and use them in the next projects using tfsbuild in my lib project i set Output directory to $(SolutionDir)$(ConfigurationName) librarian output file to $(OutDir)\lib\$(ProjectName).lib And the lib files end up in the correct folder \lib But my C++ project then fails because it looks in $(OutDir)\$(ConfigurationName) and fails beacause it cannot find the lib. Im using project reference to the lib project. I have an environmentvariable LIBPATH the includes the correct lib folder. If I just put the lib files in the outdir there's no problem, but how can I move them regards Kim Carlsen Hi I have in ...Show All

  • SQL Server Login failed for user 'NT AUTHORITY\NETWORK SERVICE'

    Any help would be very very much appreciated as I am about 15 hours into this :( Background is a development system with ASP.NET 2.0 and SQL express 2005. The server is SQL 2005 standard edition. Any ASPX pages that connect to a database results in errors. I have 2 identical servers with Windows server 2003, one has SQL Express and the other has SQL Server 2005 standard. that is the only difference between these systems. The scripts that work seamlessly when uploaded to the SQL Express server dont work on the SQL Server 2005 My connection string is  <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="Datasource=servername;Integrated Security=SSPI;initial catalog=C:\INETPUB\WWWROOT\test\ap ...Show All

  • Visual Basic Access server file from client

    hi all, i having a problem to access server folder. i got one folder inside server, which i already shared. but when i access that folder fail. dim host as string = "\\serverId\folder\file.xml" doc.Load(host) ..... error :System.IO.IOException = {"Logon failure: unknown user name or bad password. how i pass the user name and password any one help please......... hi bruno, idon know why u give me this code but thanks anywhere. i found that: Dim impContext As WindowsImpersonationContext = Nothing Try impContext = NetworkSecurity.ImpersonateUser("mydomain", "bala", "password", LogonType.LOGON32_LOGON_NETWORK, LogonProvider.LOGON32_PROVIDER_DEFAULT) Catch ...Show All

  • Visual Studio .Net web application help system

    Dear sir, I am doing webapplication. Now i am planning to implement the help system in my project. So I am excepting some suggestions from you. Thanks all. regards vijil jones. Hello vijil - unfortunately about all you can do for a help system for web applications would be to experiment with some creative uses of DHTML to hide/display information to the user or plain html <a href> links. There are no off the shelf help systems for web applications provided by Microsoft. Some 3rd party vendors like Component One Doc-To-Help, Macromedia RoboHelp, MadCap Flare, Innovasys HelpStudio, etc. may provide some more comprehensive web-based help solutions that you can explore. Sin ...Show All

  • Windows Live Developer Forums Popup Width

    Is there a way to change the width of the pushpin popup window var x = new VEPushpin(id, location, icon_url, title, details, iconStyle, titleStyle, detailsStyle); iconSt yle A cascading style sheet class name that defines the look of the icon. Optional. titleStyle A cascading style sheet class name that defines the look of the title field of the enhanced preview. Optional. detailsStyle A cascading style sheet class name that defines the look of the description field of the enhanced preview. Optional. I'm not sure any of these are going to help you change the width Am i missing something John. ...Show All

  • Visual Studio Express Editions How to use popup menu in VBX2005

    How can I use popupmenu in visual basic express 2005... tnx;) hi CyberJunkie, on the form, place a contextMenuStrip, name it contextMenuStrip1, and fill its required menu items. then use the following code to popup your menu (contextMenuStrip1), when the user "Right Clicks" the mouse on the form : Private Sub Form1_MouseClick(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseClick   If e.Button = Windows.Forms.MouseButtons.Right Then      Dim p As Point      p.X = e.X      p.Y = e.Y      ContextMenuStrip1.Show(Me, p)   End If End Sub mario g ...Show All

  • Visual C# Storing MS Word docs in Sybase

    Hi all, I need to store a word file in Sybase. Have a look at the following stub of code... sCommandTxt = "INSERT officedocs_test (LoanID, "+ "DocID, "+ "DocumentName,"+ "Document2) " + "values ( , , , )"; dbConn = new OleDbConnection(sConnectString); OleDbCommand dbCommand1 = new OleDbCommand(sCommandTxt, dbConn); dbCommand1.Parameters.Add("@LoanID", OleDbType.Integer).Value = 5; dbCommand1.Parameters.Add("@DocID", OleDbType.Integer).Value = 5; dbCommand1.Parameters.Add("@DocumentName", OleDbType.VarChar).Value = "Gourav Test File"; dbCommand1.Parameters.Add("@Document2", OleDbType.LongVarBinary, b.Length) ...Show All

  • SQL Server Filtering a Cube programatically.

    Hi, My requirement is that I have a cube in the analysis services. Based on conditions I want to filter the cube and attach it to the excel pivot table. For example the list of divisions to be seen in the pivot table will be different for different users. I have been able to attach the whole cube to the excel pivot table programatically using .NET. But I cannot get a filtered cube from the original cube programatically. It will be great if some one can help me out in this. Thanks. Hi: You definitely need dimension security in place. In other words you have assign different dimension members to different user roles. The roles are then assigned to different users or user groups (based on NT accounts). This can b ...Show All

  • Software Development for Windows Vista Where is the definitive post-beta ASP.NET Workflow Sample or Walk-through?

    Hi All, Since the release of .NET 3.0 I have not been able to find an ASP.NET Workflow sample that was not actually written for one of the betas.  Many of the examples out there that come up in the search engines have implementations that seem inconsistent with the final release of WF. The SDK does not include anything close to a complete ASP.NET workflow sample. The free Microsoft Learning module did not cover it anywhere near complete. So, what I am looking for is a clean, complete, post-beta example of how to use workflow in an ASP.NET application, not a web service, just a plain old ASP.NET workflow example.  Any links to a good post-beta sample or walk-through Th ...Show All

  • Community Chat I lost My Pictures

    Hi there, I wonder if anyone is kind enough to lend me a hand. When I was rearranging My Documents, I carelessly deleted the My Pictures folder. Since then the My Documents folder has no more the My Pictures folder. I wonder how can I do to regain the My Pictures folder in the My Documents folder. Many thanks Michael Yeah, do as little as possible on the machine, get a copy of something like norton and see if you can recover the files. The more stuff you've done on your machine since deleting them from recycle - the less likely you are to be able to recover them. Either way this is not a support forum for your Windows issues. I would advise reading the details on what the intended pur ...Show All

  • Visual Studio 2008 (Pre-release) Overlapping elements over a FlowDocument

    Hi, I have a FlowDocument with sections, paragraphs, lines, etc. My target is (for example) to draw two lines in order to create a cross over the page (from angle to angle) so that the lines overlaps the entire page content. Another example is to overlap a big text like "Confidential" over (or behind) the content page. I tired using floaters but they need to be inside an inline, so they take space and modify the flow of the page. I want to overlap those elements without changing the normal flow instead. Thanks, Raffaele In particular, I would look at what it would take to instantiate a highlight annotation in XAML; give it a brush that basically contains your watermark; and attach it to a document, paragraph or ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. avoid tearing

    Just running throught the basic "How To"s in the help pages and adding sprites. I'm getting tearing as it's rendering. Anyone find how to get a swap chain working so I don't get as much tearing Heh, i'm guessing this question gets ignored because no one really has a good answer :) Thanks guys for trying. I'm going to ask again in the specific context of Spacewars. With Spacewars i get absolutely terrible performance in windowed mode. The game is not even playable the framerate is so low. It's the same problem with every sample game I've downloaded. ...Show All

  • .NET Development ASP.net Web Site Administration Tool doesn't work at all

    ASP.net Web Site Administration Tool doesn't work at all This is first time i click on it then i would get "an error was encountered. Please return to the previous page and try again" I have visual studio 2003 and 2005 installed both the 1.4+ and 2.0 framework are installed What can i do Hi, I believe that the issue is that the Web Site Administration Tool can not find the web.conf, so try to create a new project in VWD, (New Project - > Browse -> Local IIS) and try open WSAdministration Tool... Good luck ...Show All

©2008 Software Development Network