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

Software Development Network >> duck thing's Q&A profile

duck thing

Member List

Can-Ann
Michael G. Emmons
Mike737Aviator
KentaroM
BlackCatBone
JeevesIndia
Klaxas
sqlguy12
Sandy Wood
cobain81
Paul Rob
Maheswar
lemonsito
Giber
Benjy
spelger
Xadja
Mark A. Richman
Hooper
dntino
Only Title

duck thing's Q&A profile

  • .NET Development How to specify which certificates are trusted when using https for web services

    Hi, I want to use https when consuming a web service created by creating an endpoint with ms sql server 2005 and specify PORTS=SSL when creating the endpoint. I figured out that I have to create and register a certificate for a particular ip/port. I did that with the tools httpcfg, makecert and certutil. But when trying to consume the web service in my project I got a problem that the certificate is issued by someone whom I don't trust (i am the author of the certificate). Can anyone tell me how to specify which certificates I trust Thanks, Anton You need to add the certificate in your Trusted Root Authority. See http://www. ...Show All

  • Windows Forms unzip & zip w/ SharpZipLib... plus ListBox Q?

    Hi all, [C#] I need to unzip a folder structure & save it to a location then zip it up again after the changes.  Is SharpZipLib the best option for the following. using ICSharpCode.SharpZipLib.Zip; FastZip fz = new FastZip();        fz.ExtractZip(zipFile, targetDirectory,""); ListBox question: So there may be a zipped directory with 2+ folders containing subfolders in it that has the file I need (foobar.xml...etc) ... how do I unzip these to a specific location (C:\WorkingFolder\) and add all the required files to the ListBox [WorkFolder] | Folder01   | SubFolder00     | SubFolder01        | SubFolder02    &n ...Show All

  • SQL Server Report Services Configuration Error

    Hello, I am a complete Newbie with SQL Server 2005. Can someone help with this problem or at least point me in the right directio for diagnosing it correctly. I'm learning the Standard SQL product on Windows XP Pro, and everything on my computer has the latest updates (from Windows Updates). I had previously installed SQL Express, but removed all products associated with that according to steps listed at Microsoft's site (pre-installation steps for SQL Server 2005 Standard, as they relate to the removal of SQLExpress). My problem is I can't run "Reporting Services Configuration". When I try to run it, the main window opens with "Report Server Installation Instance Selection" window, and immediately I get an ...Show All

  • Software Development for Windows Vista Missing Windows component

    Hello, On Vista RC2 without Flash, after I close my app, I get this message titled "Program Compatibility Assistant": ... "This program requires flash.ocx, which is no longer included in this version of Windows." I don't want this message to appear. My app detects whether Flash is installed or not. BOOL IsFlashInstalled() { SafeOleInit(); // return AfxGetThreadState()->m_bNeedTerm || AfxOleInit(); CLSID clsid = CFlashActiveXControlBase().GetClsid(); CComPtr<IClassFactory> pFactory; return SUCCEEDED(CoGetClassObject(clsid, CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER, NULL, IID_IClassFactory, (void**)&pFactory)); } If Flash is not installed, the function above properly returns FALSE, and Vis ...Show All

  • Windows Forms Closing child modal form after calculations in parent form is complete

    Hi, I was trying to show a modal form just before I began some calculations within my main form and then after it was done I wanted to close the modal form. But the modal form never closes and my main form remains disabled. Here's how I did it: private void button1_Click(object sender, EventArgs e) { ModalForm modalForm = new ModalForm(); modalForm.ShowModal(); ........ some calculations ........ modalForm.close(); } Can someone tell me how I can accomplish this in an efficient & secure manner> Thanks Hi, Just another thought...do you think it would be a good idea to show progress bar instead of model form to show for processing time Thank you, Bhanu. ...Show All

  • Visual Studio Team System Build fails with: The binary form of an ACE object is invalid

    I can't seem to get team builds to work at all. They fail with "The binary form of an ACE object is invalid" but, there's no indication of which ACL has an invalid ACE. Any ideas The complete log is: Build started 7/22/2006 8:51:35 PM. __________________________________________________ Project "E:\Checkin\JAMS\Checkin\BuildType\TFSBuild.proj" (EndToEndIteration target(s)): Target InitializeEndToEndIteration: UpdateBuildNumberDropLocation BuildNumber='Checkin_20060722.3' DropLocation='\\MVP\Cmn\Kits\Checkin\Checkin_20060722.3' C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets(165,5): error : The binary form of an ACE object is invalid. C:\Program Files\M ...Show All

  • Visual Studio 2008 (Pre-release) WindowsFormsHost and AllowsTransparency="True" conflict.

    Hi, I am having this issue while developing a WebBrowserApplication(with full trust) using .Net FX 3.0 June CTP. I am able to see the WindowsFormsHost hosted Workflow designer Control as long as I don't set AllowsTransparency of the Window to true. If I set AllowsTransparency of the window to true, the workflow designer disappears, though I'm able to see it's context menu on right clicking the area where it is supposed to have rendered. Ram. See my responses on this thread . ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Joysticks with XNA

    Before I start I already know that XNA has no joystick input support - but I'm using an xbox 360 styled joystick input with force feedback (so its exactly like the xbox 360 control) this is it: http://www.powerwave.com.au/index.php evnF=productImage&format=&title=Powerwave%20360%20Shape%20Controller%20-%20Carbon&id=2.195326&acode=APCPW2C3C And I want to know if anyone can help me get it working so when I debug a game in XNA I can use this controller I've bought instead of my keyboard. Or at least if anyone knows any software I can use that converts joystick input to keyboard so I can map the triggers on the controller to the keys that XNA uses. Thankyou for your time. ...Show All

  • SQL Server Management Studio: UNWANTED Firing of Triggers

    I have a trigger on a table that updates a 'date_modified' field anytime a row is changed. Like so : CREATE TRIGGER mytrigger ON mytable FOR UPDATE NOT FOR REPLICATION AS UPDATE mytable SET date_modified = GetDate() WHERE keyid = mytable.keyid When the table is opened in Management Studio and only ONE ITEM changed, the trigger fires as expected. BUT once the window is closed, M. Studio is firing the trigger for all rows. Does anyone know a way to prevent this I only want the trigger fired for the one row that was changed AND this includes when the table is viewed in M. Studio. thanks, Running SQL 2005. Don't you need to use the special tables Inserted/Deleted i.e. (note: n ...Show All

  • .NET Development 2.0 OracleClient + Oracle 8: oci exception (System.AccessViolationException: Attempted to read or write protected memory.)

    hi, From time to time we get an execption when we try to create an Oracle connection. Could anyone give an indication what might be wrong or how we can examine this problem... The 2.0 application is a batch application executing on a win2003 server. The DB Client is an OracleClient 8.1.7 client and the DB server is Oracle 8. We use the .NET 2.0 System.Data.OracleClient. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at System.Data.Common.UnsafeNativeMethods.OCIEnvCreate(IntPtr&#38; envhpp, MODE mode, IntPtr ctxp, IntPtr malocfp, IntPtr ralocfp, IntPtr mfreefp, UInt32 xtramemsz, IntPtr usrmempp) at System.Data.OracleClient.TracedNativeM ...Show All

  • Visual Studio When Sharing a folder containing a project, the .vspscc files go crazy, or duplicate

    Following a suggestion from the VSS Help, regarding ways of maintaing to separate code version for a project, eg a released version, and a developement  version, where fixes from a released version would also be merged into the development stream. I shared our main project folder, instead of just branching it, to save space, so that for bug fixes, we would just need to branch specified files. An addition necessary step was to branch the actual project files (.vcproj) along with the associated vspscc files. This seemed to be necessary for visual sudio to be able to work with these projects and use source control. When I tried to branch the vspscc files they seemed to duplicate themselves. E.G. They would continue to to maintain a ...Show All

  • Visual C# Using protectsection on a windowsservice during installutil.exe not working

    Thanks for reading... Has anyone protected an app.config section during a service installation I put some code to protect my connectionstrings inside my projectinstaller.cs and it is not executing. I checked my \bin\debug\*.config files and cleartext is still there after running installutil. What am I doing wrong using System; using System.Collections; using System.Configuration; using System.ComponentModel; using System.Configuration.Install; namespace MyService { /// <summary> /// Summary description for ProjectInstaller. /// </summary> [ RunInstaller ( true )] public class ProjectInstaller : System.Configuration.Install. Installer { private Syste ...Show All

  • Windows Forms Biringing a run-time created textBox in front of a treeView

    On my form I have a treeView having a contextMenuStrip. When I click an item on my contextMenuStrip I am creating a textBox with this code: TextBox entryBox = new TextBox (); entryBox.Left = ClickedX+200; entryBox.Top = ClickedY+100; entryBox.Visible = true ; Controls.Add(entryBox); and my TextBox creates just fine. But the thing is that when the coordinates of the textBox intersect with my treeView my textBox hides behind the treeView and I can not see the textBox; partially or fully. I have tried to write entryBox.BringtoFront(); but unfortunately still no change!!! How can I make my yexyBox appear above of all objects Regards. Add this code: entryBox.Name = "entryBox" ; ...Show All

  • Windows Forms Tooltip Owner Draw

     Just working on a customised tooltip and in the meanwhile i realised that, when isballoon property is set to true, also ownerdraw is set to true..interestingly the draw event is not firing!!!. what could be the reason.. is this by design or a bug Thanks for the reply. all that i am trying to do is, have a balloon tooltip and with some small image which can take me to a context menu plus some additional stuff. So, i tried by keeping isBallloon to True and also OwnerDraw to True and then writing the code under draw event assuming that balloon window type will be created on its own as i kept isBalloon to true and remaining stuff handling in draw event.. but unfortunately it is not firing....Can you ple ...Show All

  • Windows Search Technologies Why THIS FOLDER IS NOT INDEXED???

    I recently installed WDS 3.0 final release over WDS 2.65 on my work PC, running Windows XP SP2, I aslo installed the UNC Add-in, so I could index and search for files on other shared folders on my network. Now the problem is when I open a shared folder on my network that I have already indexed, it says in the bottom left corner in a red outlined box "This folder is not indexed." I have also made sure that everything has been indexed, when I click on Indexing Status it says Items left to scan: 0. I have re-installed WDS 3.0 and rebuilt the index. Please can you tell me what the problem is Yes I can find results, but I'm not sure how accurate they are due to the fact that it says "This folder ...Show All

©2008 Software Development Network