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

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

jwagner20

Member List

leodippolito
rncwnd
asalcedo
Han Qiao
Jemau
QWERTYtech
Rocky79
ueqt
tsoetant
Rick.H
xVxObliVioNxVx
Slow Learner
Martin Rajotte
Ananda Ganesh
RavindraPatil
Eddie C
Nowandever29
GaiaGeeks
LeilaM
UnKnown Nick
Only Title

jwagner20's Q&A profile

  • .NET Development Web Service Method Pass By Reference

    I'm working on a Web Services app that needs to pass objects by reference. Freeman and Jones book, ".NET XML Web Services Step By Step" states that when doing so you must use the ref keyword in the method definition and method call. Passing objects in C# are automatically passed by reference (See the code example below). My question: Is this default pass by reference behavior for objects different for Web Service methods and therefore requires explicit designation of the object as a reference type in the Web Service method and call Thanks, Mike using System; namespace RAndD { /// <summary> /// Summary description for Class1. /// </summary> class RAndDApp { /// ...Show All

  • .NET Development SSL session problem

    How can I establish an SSL session ! When I connect to a SSL site using my browser, the SSL session is established. But when i try to do the same using C# I don't seem to be succesfull. Another problem that I don't understand is the fact that when I use my browser to connect to the IP address for instance https://192.168.100.12/advanced_statusF.cgi the session is open and i can login. the problem arises when i copy the page to disk and try to access C:\Documents and Settings\Goran.Kostel\Desktop\Fantom Login.mht , which is just a save as copy of the page, I can't log in. My intention is to login using C# but it appeares I'm not able to do that. Thanks!   My code is as follows..   string p_aURL = "h ...Show All

  • Windows Forms How do I disable highlighting on Toolstrip items when the form doesn't have focus

    Using the Toolstrip or MenuStrip controls, items highlight on mouseover.  This is desireable when the form has focus, but when the form does not have focus it is undesireable because clicking the button doesn't actually activate it, it simply set s the focus on the form.  A second click is needed to activate the button.   I'd like the Toolstrip to behave like that of Office or Visual Studio and not highlight the buttons on mouseover if the form isn't active, but I can't see any properties that would activate this behavior.  I'm hoping it's something simple that I'm missing and it's not going to be a case of having to subclass the Toolstrip control just to get (what I would consider to be) the correct behavior out ...Show All

  • SQL Server SQL Server 2005 - Service Account

    hi, By default SQL Server 2005 runs on "Local System" account. Is there a way to change it to "Network Service" account programmatically. Thanks, Loonysan You should be able to programmatically manage any service with .NET. There is some sample code on MSDN that shows how to use ServiceAccount Enumeration. http://msdn2.microsoft.com/en-us/library/system.serviceprocess.serviceaccount.aspx Let us know if this helps, Paul A. Mestemaker II Program Manager Microsoft SQL Server Manageability http://blogs.msdn.com/sqlrem/ ...Show All

  • Visual Studio 2008 (Pre-release) how to bind to a dictionary (or something like that)

    I've got a dictionary<String,Object> and want to bind a xaml object to the key of the dictionary so it shows the corresponding value. So far I only found ways to bind to get/set accessors, or to attached DependencyProperties, but can't find a way to bind to the key of a dictionary. Is there any way to bind to something like this thanks, Sam I've a blog entry which talked about how to bind to dictionary based collections in XAML: How To Data Bind To Dictionary Based Collections In WPF Sheva ...Show All

  • Visual C# How Can I create Windows User Account by calling WMI method to do that ??

    Hi How Can I create Windows User Account by calling WMI method to do that I know that I can create windows user account by using [System.DirectoryEntry] Class as this artical in microsoft support website http://support.microsoft.com/default.aspx scid=kb;en-us;306273 but my question is to create the Windows user Account using WMI methods , How Can I do that and thanks with my best regarding Fraas yes that's right you will. I'm trying to find a way of creating a user account in WMI but cannot seem to locate any, even with the help of the WMI Code Creator by Microsoft. The only method I found was Rename in the Win32_UserAccount class. I'll be sure to post if I find something. ...Show All

  • Visual Studio Problem building Managed C++ project with Msbuild that has multiple assembly references

    I have a VS2005 solution that includes a Managed C++ project as well as several C# projects. The C++ project references several of the C# projects. All projects in the solution reference log4net.dll (as an AssemblyReference). My C++ project builds without any warnings using the VS2005 IDE. However, when I build the solution using MSBuild, I get zillions of warning messages such as: log4net.dll : warning C4945: 'LogicalThreadContextProperties' : cannot import symbol from '<some path>\log4net.dll': as 'log4net::Util::LogicalThreadContextProperties' has already been imported from another assembly 'log4net' For my managed C++ project, I set all references to be: Copy Local: true Copy Local Depencies: false Use Depend ...Show All

  • SQL Server How to INSERT Decimal value into a .DBF file using VS2005

    Hi, I use this code to connect into my Database: db2 = New ADODB.Connection dbConn = "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=C:\PATH\; Exclusive=NO;Collate=Machine;NULL=YES;DELETED=NO; BACKGROUNDFETCH=YES;" db2.Open(dbConn)   inside my app, I use this command to INSERT into .DBF named testInsert.DBF, the testInsert.dbf has the feilds of: Name( string format) & Amount(Decimal format)   Dim Conn as String Conn="INSERT INTO testInsert.DBF VALUES ('shippers06','625.06')" rs.Open(Conn,db2) In this Coding, the VS2005 returms me an error of "DATA TYPE mismatch" I try to Convert the value 625.06 to Decimal but it just don't work... Please HELP a noobie ...Show All

  • SQL Server Log File Flush Training for Newby

    Sorry to ask such a basic question but I have inherited this DBA position and I have no SQL training... I have a log file that is 148GB (yes GB) but available space is 18GB. I am backing up to \\server\share temporarily but want to free up the space. How do I flush it I ran maintenance to shrink but not nuch success. It was not setup right initially, as the max size is 2,048,512 (MB). I'm guessing the initial dba was thinking it was KB. Anyway, I need to flush (or whatever it is called now) to reduce the size. We had BackupExec but they got rid of that for Symantec Backup Exec System Restore which backs up the whole server as an image so it does not backup and flush the logs. Any suggestions Thanks in advance. ...Show All

  • Visual Studio When will VS 2005 and VSS 6.0 work?

    Open vs 2005, select "pending checkin window" for about 10,000 files wait 45 min to 1 hour.. Thanks for your time.. "We suspect that the VB hot fix contains the bad Pending Checkin Window perf bug." See the thread ,problem is with RTM, hotfix did not make any real difference ( if it did, given the slow times then any change was not noticable). "2. Server->Configure..." You must have adiffernt program no sever->config option.. ...Show All

  • Windows Forms how to add a Remote Component as my custom prerequisites

    I can create a custom prerequisite for my msi file in my ClickOnce application. But I also need to pre-register a remote componet for my application. I could not find how. For this remote componet, I have a pair fils of xxx.VBR & xxx.TLB. Normally, I register it with a batch file with one line of code: clireg32 xxx.VBR -s appstage -t xxx.TLB -d Anyone know how to create this kind of componet for custom prerequisite package Thamks dgao ...Show All

  • Visual Studio 2008 (Pre-release) Error calling web service from xbap; works from standalone

    I have a web service that works fine from a standalone xaml app. Now I'm trying to call it from an xbap, but I get a n exception Request for the permission of type 'System.Net.WebPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. from what I've found so far, an xbap can't call to any site other than its original site. My web service is running on my machine (localhost). However, my xbap running in debug in the browser references the xbap in the file system, not through localhost. Could this be the problem If so, how do I get my xbap to run via IIS instead of the filesystem Take a look at this thread . The -DebugSecurityZoneURL may be helpful to induce VS in ...Show All

  • Visual C# Conditional References

    I probably named my thread wrong, but I didn't know what to call it. Basically, I'm making an application which interfaces with various media players. To do this, I reference and use each media player's COM library/interface. This all works fine, however, to use the COM the user must have the specific media player installed. So theoretically, at the moment, for someone to use my application they would have to have all media players supported by my program installed, this is a major downfall. So I was wondering if there was a way to conditionally 'reference' these COM interfaces, in such a way that I can ask the user which media player(s) he would like to support and then use those interfaces, therefore avoiding a problem ( Or I can also si ...Show All

  • Windows Search Technologies WDS 3.0 RTW gives error trying to index Outlook Express message store

    When WDS 3.0 RTW tries to index the Outlook Express message store, I am getting the pop-up error: "Outlook Express could not be started. The application was unable to open the Outlook Express message store. Your computer may be out of memory or your disk is full. Contact Microsoft support for further assistance. (0x80004005, 183)" I have plenty of memory and the disk is not full. Does this version index OE Any idea how to resolve this This problem is happening on both my home and work computers so this is not an isolated incident. They are both fully patched Windows XP SP2 machines. I have several email accounts configured in OE, two Hotmail and one IMAP. The indexer will start to process the OE ...Show All

  • SQL Server Installing Data Mining Web Controls

    Hello, I have SQL 2005 and Visual Studio 2005 and I’m trying to install the Data Mining Web Controls. I downloaded the SQL Samples and I’m following the instructions of the "ReadMe_Data_Mining_Web_Controls.htm" file, but when I try to install de data mining web controls the setup.exe does’nt create the folder "C:\Program Files\Microsoft.AnalysisServices.DataMiningHtmlViewers " and the folder "C:\Inetpub\wwwroot\aspnet_client\microsoft_analysisservices_datamininghtmlviewers ". Then, I don’t have the file "C:\Program Files\Microsoft.AnalysisServices.DataMiningHtmlViewers\Microsoft.AnalysisServices.DataMiningHTMLViewers.dll " for using the web controls. Can somebody help me Dunia ...Show All

©2008 Software Development Network