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

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

paradoxium

Member List

Corey C.
SHISHIR WAHI
Tess_H
ranadheer mac
Atif Amin
Justin-M
Andrew Buyan
Jamie Thomson
Jay McKinney
Santosh_DotNet
pu132
Talyrond
Dan Waters [MSFT]
22Pom
John24
Thomas LEBRUN
PugV
Ritesh Singh
moorelg
OmegaMan
Only Title

paradoxium's Q&A profile

  • SQL Server Request for the permission of type System.Net.Mail.SmtpPermission

    Hi all I have some problems with sending Mail over System.Net.Mail ... I have made a C# Class which sends mail, and it works fine. Now I have added this assembly to SQL Server 2005, I made the SQL function and so on. When I try to run it I get the following message: Msg 50000, Level 16, State 1, Procedure SendMail, Line 114 Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Would be very very happy for any comments !! Thanks and best regards Frank Uray Hi, how did you register the assembly in SQL Server (which security settings / safe/unsafe/external Access HTH, Jens K. Suessmeyer. --- http://www. ...Show All

  • Visual Studio Tools for Office VSTO2005SE Deployment for Excel 2007 Application Level Add-In

    Hello, I am having a big problem deploying my Excel 2007 Add-In. All the documentation and refernces I have been able to find have not helped at all. I am not sure why deployment has to be so difficult and it seems that there isn't a lot of documentation for VSTO2005SE out there. Here is the essence of the problem: I wrote an application level add-in for excell 2007 that goes out and connects to a DB2 database adds a new worksheet and then fills the data onto that new work sheet. The application will be installed on user machines and I don't want it attached to an .xls document. I want to be able to install the add-in into a group specific to tools developed to our department so the users can have a library of tools for them to use a ...Show All

  • .NET Development Command.Cancel - What is going on?

    Hi all, I have this strange problem. I am trying to implement query cancel support within my application. I have a typical 3-tier architecture with a client, an application server and a db server (SQL 2005). The application server responds to client requests for queries (we use .NET remoting and pass DataSets to the client). My server is Singleton and each client request is served by a different thread. In my client I issue a rather large query to the database server (via the application server) in a new thread, thus allowing for cancellation through a Cancel button (my UI thread is not blocked). If the user hits cancel I call the .Cancel() function of the SqlCommand (I obviously do this on the server). The query cancels and I am very h ...Show All

  • SharePoint Products and Technologies Disable Submit Button

    Hello and I'd like to know the way of disable the submit button after it is clicked, in other word, the form is already submitted. Is that anyway to do so Please tell me,Thanks a lot! Also, if you plan on having this displayed in a browser navigate to the Form Options window. Tools -> Form Options. Once there, make sure you are in the Browser category. Now uncheck Submit and any other options that you would like to remove. ...Show All

  • .NET Development Type of File

    Hi Guys, How can I extract the information of a file like 'Type of File' ex. Type of File: Microsoft Excel Worksheet. I am able to extract the other information like Last Access..using FileInfo. But I can't find the value for the said subject. Can you please give me a sample code 'coz I'm just new to Visual Basic 2005 Thanks in advance. you can read description of an extension in registry... this read folders description: Microsoft.Win32.Registry.GetValue( "HKEY_CLASSES_ROOT\Directory" , "" , "" ).ToString this read all files in a folder and give its description: For Each doc As String In IO.Directory.GetFiles( "Path" ) Dim s ...Show All

  • .NET Development problem in data logging from within HttpListener

    Hi friends, I have tried to host a web service using HttpListener of .NET 2.0 (with help from the article http://msdn.microsoft.com/msdnmag/issues/04/12/ServiceStation/default.aspx ). The server runs fine, accepts and responds to requests just fine. I'm using the synchronous model (GetContext). One of my requirements is to log the incoming data to a text file. For this I create a separate thread in the same namespace to send the data to via a message queue. This thread logs the data to file while it is being processed simultaneously. Data is written to the file correctly, the correct response is generated and sent to the client. Around 2 secs after this the server crashes with the exception - System.AppDomainUnloadedException: The ...Show All

  • SQL Server SQL Server Management Studio and Visual SourceSafe

    The develpment team where I work is using Visual Studio 2005, SQL Server 2005 and Team Fundation Server. We want to somehow track changes of the stored procedures. We could create a Solution/Project in the SQL Server Management Studio, add all stored procedures to it and add that Solution/Project to the SourceSafe but nothing will stop developers from directly altering stored procedures. Any ideas on how to prevent developers from making changes to the stored procedures directly Thanks. in SQL Server management studio, 1. right click on any specific stored procedures that you want to set restriction on. 2. Select property 3. Under "Select a page" pane, select "Permissions". And you can setup v ...Show All

  • Visual C++ Hello World code compiles succesfully but doesn't run

    I will apreciate if you can help me with my following trouble as I'm trying to find a solution for the last 2-3 days. I've got a simple hello world code (see below) and I'm trying to build an executable. For compiling and linking I'm using "cl -GX hellow.cpp" and the operation completes succesfully without errors. hellow.cpp: #include <iostream> using namespace std; int main() { cout << "hello world\n" ; return 0; } However, when I execute the derived executable the "hello world" text isn't displayed. Any clues why Note: I'm using Visual Studion 2003 .NET and the compiler is ver. 13.10.3077 for 80x86. Also, I've tested the code on another PC with the same software and works like a swe ...Show All

  • SQL Server "Class not registered" with RMO and x64 Windows

    I have a small .net application that uses RMO to synchronize a merge subscription. Everything works fine when I build with platform target = "Any CPU" on both x86 and x64 systems, but I get a "Class not registered" error on my x64 system when the application is built with platform target = "x86". Incase you are wondering I have to run this code under x86 because it is actually going to distributed in a dll and called from an x86 application. x64 System: Microsoft Windows Server 2003 R2 Enterprise x64 Edition Service Pack 1 Here is my code: { ServerConnection dbconn = new ServerConnection(publication_server); dbconn.LoginSecure = tru ...Show All

  • Visual Studio Team System Exception using TFS client in Web App

    Hi All we have a web application which communicates with TFS. This application creates new Work item on the server. We want to create the work item using the credentials of the user logged on to the web application. Therefore we use impersonation in the web app. The solution works fine until the windows profile of the current user exists on the server, but it crashes immediately if there isn't one (HKCU file is absent). I got the following exception: Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\Servers' is denied. System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\TeamFoundation\Servers' is denied. a ...Show All

  • Windows Forms Drag and Drop Label containing text into another panel

    Hi all, I was wondering if it is possible to do the following: I have a toolbar-like panel on the left of my form, on the right side of my form I have a larger panel containing nothing. In the toolbar are panels containing labels with text. I want to be able to drag such a panel to the panel on the right side and drop it there. I want it to be dropped on the exact location where I released the mouse button, that exact x-y position. Is this at all possible Any help would be appreciated. I have a large panel called pnlTarget, this contains smaller panels which in their turn contain richtextboxes or listviews. I tried to give the richtextboxes or ...Show All

  • Windows Forms Run an application after Install.

    Hi, I've created a setup project and add an Installer class to do my custom Action. When the installation is end i want to run my application : To do that I use the method Process.Start public override void Commit(IDictionary savedState) { base.Commit (savedState); string DirMain= System.Windows.Forms.Application.UserAppDataPath; DirMain = DirMain+"Hip\\Hip.exe"; System.Diagnostics.Process.Start(DirMain); } When I'm in a administrative windows account that run correctly but when i'm with a user with no privileges i've an error message of the JIT : ” JIT Debugging failed with the following error: Access is denied.” I search in the msdn and the solution is to add the user to the Debugger Users gro ...Show All

  • SQL Server Installation fails on Vista RTM

    Hi all! I couldn't manage to install SQL Server 2005 Express or Standart Edition on Windows Vista. The installation fails with the error message I pasted below: TITLE: Microsoft SQL Server 2005 Setup ------------------------------ SQL Server Setup failed to execute a command for server configuration. The error was [Microsoft][SQL Native Client][SQL Server]Windows NT user or group 'FUSION\SQLServer2005MSSQLUser$FUSION$MSSQLSERVER' not found. Check the name again.. Refer to the server error logs and Setup logs for detailed error information. For help, click: http://go.microsoft.com/fwlink LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=setup.rll&EvtID=29521&EvtType=lib%5codbc_statement.h ...Show All

  • Internet Explorer Development Script error invalid character using the WebBrowser control

    One of our applications was broken after installing IE7. We narrowed the problem down to the below: WebBrowser browser = new WebBrowser(); browser.DocumentText = "<script src=\"file://c:\test\foo.js\"></script><p>test</p>"; This code works fine under IE6, but when running on IE7 you get the error: Line: 2 Char:1 Error: Invalid Character Code: 0 URL: about:blank It doesn't matter what is in the foo.js file, it can be completely blank and you will get the error. If you replace the file://c:\test\foo.js with a valid http URL (Internet zone), it works fine. If you create a file with the contents and load it into the control using browser.Navigate() it also loads fine. So it seems related to ...Show All

  • Visual C# Delegate a function from a native code to C#

    Hi, One of my DLL ( which is native code) I am using in my project contains a function which calls a function in its parameter. [ DllImport ( "C:\\PCI-Dask.dll" )] private static extern AI_EventCallBack( int CardNumber, int mode, int EvewntType, int callbackAddr) How should I declare the DLL function and use it Thanks a lots for your answers... Crazy68aseric wrote: But I am quite lost in deleagtes types. You declare them with the delegate keyword, something like this delegate void Foo( int param1, string param2 ); Crazy68aseric wrote: Should I simply put IntPtr Callbackaddr as the parameter of the function Where do I say that it is a delegate t ...Show All

©2008 Software Development Network